1. Packages
  2. Azure Classic
  3. API Docs
  4. iot
  5. IotHubDeviceUpdateInstance

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.iot.IotHubDeviceUpdateInstance

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an IoT Hub Device Update Instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "East US",
    });
    const exampleIotHubDeviceUpdateAccount = new azure.iot.IotHubDeviceUpdateAccount("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
    });
    const exampleIoTHub = new azure.iot.IoTHub("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
        sku: {
            name: "S1",
            capacity: 1,
        },
    });
    const exampleAccount = new azure.storage.Account("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
        accountTier: "Standard",
        accountReplicationType: "LRS",
    });
    const exampleIotHubDeviceUpdateInstance = new azure.iot.IotHubDeviceUpdateInstance("example", {
        name: "example",
        deviceUpdateAccountId: exampleIotHubDeviceUpdateAccount.id,
        iothubId: exampleIoTHub.id,
        diagnosticEnabled: true,
        diagnosticStorageAccount: {
            connectionString: exampleAccount.primaryConnectionString,
            id: exampleAccount.id,
        },
        tags: {
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="East US")
    example_iot_hub_device_update_account = azure.iot.IotHubDeviceUpdateAccount("example",
        name="example",
        resource_group_name=example.name,
        location=example.location)
    example_io_t_hub = azure.iot.IoTHub("example",
        name="example",
        resource_group_name=example.name,
        location=example.location,
        sku={
            "name": "S1",
            "capacity": 1,
        })
    example_account = azure.storage.Account("example",
        name="example",
        resource_group_name=example.name,
        location=example.location,
        account_tier="Standard",
        account_replication_type="LRS")
    example_iot_hub_device_update_instance = azure.iot.IotHubDeviceUpdateInstance("example",
        name="example",
        device_update_account_id=example_iot_hub_device_update_account.id,
        iothub_id=example_io_t_hub.id,
        diagnostic_enabled=True,
        diagnostic_storage_account={
            "connection_string": example_account.primary_connection_string,
            "id": example_account.id,
        },
        tags={
            "key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("East US"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleIotHubDeviceUpdateAccount, err := iot.NewIotHubDeviceUpdateAccount(ctx, "example", &iot.IotHubDeviceUpdateAccountArgs{
    			Name:              pulumi.String("example"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{
    			Name:              pulumi.String("example"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			Sku: &iot.IoTHubSkuArgs{
    				Name:     pulumi.String("S1"),
    				Capacity: pulumi.Int(1),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
    			Name:                   pulumi.String("example"),
    			ResourceGroupName:      example.Name,
    			Location:               example.Location,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("LRS"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = iot.NewIotHubDeviceUpdateInstance(ctx, "example", &iot.IotHubDeviceUpdateInstanceArgs{
    			Name:                  pulumi.String("example"),
    			DeviceUpdateAccountId: exampleIotHubDeviceUpdateAccount.ID(),
    			IothubId:              exampleIoTHub.ID(),
    			DiagnosticEnabled:     pulumi.Bool(true),
    			DiagnosticStorageAccount: &iot.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs{
    				ConnectionString: exampleAccount.PrimaryConnectionString,
    				Id:               exampleAccount.ID(),
    			},
    			Tags: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "East US",
        });
    
        var exampleIotHubDeviceUpdateAccount = new Azure.Iot.IotHubDeviceUpdateAccount("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
        });
    
        var exampleIoTHub = new Azure.Iot.IoTHub("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
            Sku = new Azure.Iot.Inputs.IoTHubSkuArgs
            {
                Name = "S1",
                Capacity = 1,
            },
        });
    
        var exampleAccount = new Azure.Storage.Account("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
            AccountTier = "Standard",
            AccountReplicationType = "LRS",
        });
    
        var exampleIotHubDeviceUpdateInstance = new Azure.Iot.IotHubDeviceUpdateInstance("example", new()
        {
            Name = "example",
            DeviceUpdateAccountId = exampleIotHubDeviceUpdateAccount.Id,
            IothubId = exampleIoTHub.Id,
            DiagnosticEnabled = true,
            DiagnosticStorageAccount = new Azure.Iot.Inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
            {
                ConnectionString = exampleAccount.PrimaryConnectionString,
                Id = exampleAccount.Id,
            },
            Tags = 
            {
                { "key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.iot.IotHubDeviceUpdateAccount;
    import com.pulumi.azure.iot.IotHubDeviceUpdateAccountArgs;
    import com.pulumi.azure.iot.IoTHub;
    import com.pulumi.azure.iot.IoTHubArgs;
    import com.pulumi.azure.iot.inputs.IoTHubSkuArgs;
    import com.pulumi.azure.storage.Account;
    import com.pulumi.azure.storage.AccountArgs;
    import com.pulumi.azure.iot.IotHubDeviceUpdateInstance;
    import com.pulumi.azure.iot.IotHubDeviceUpdateInstanceArgs;
    import com.pulumi.azure.iot.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("East US")
                .build());
    
            var exampleIotHubDeviceUpdateAccount = new IotHubDeviceUpdateAccount("exampleIotHubDeviceUpdateAccount", IotHubDeviceUpdateAccountArgs.builder()
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .build());
    
            var exampleIoTHub = new IoTHub("exampleIoTHub", IoTHubArgs.builder()
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .sku(IoTHubSkuArgs.builder()
                    .name("S1")
                    .capacity("1")
                    .build())
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .accountTier("Standard")
                .accountReplicationType("LRS")
                .build());
    
            var exampleIotHubDeviceUpdateInstance = new IotHubDeviceUpdateInstance("exampleIotHubDeviceUpdateInstance", IotHubDeviceUpdateInstanceArgs.builder()
                .name("example")
                .deviceUpdateAccountId(exampleIotHubDeviceUpdateAccount.id())
                .iothubId(exampleIoTHub.id())
                .diagnosticEnabled(true)
                .diagnosticStorageAccount(IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs.builder()
                    .connectionString(exampleAccount.primaryConnectionString())
                    .id(exampleAccount.id())
                    .build())
                .tags(Map.of("key", "value"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: East US
      exampleIotHubDeviceUpdateAccount:
        type: azure:iot:IotHubDeviceUpdateAccount
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
      exampleIoTHub:
        type: azure:iot:IoTHub
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
          sku:
            name: S1
            capacity: '1'
      exampleAccount:
        type: azure:storage:Account
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
          accountTier: Standard
          accountReplicationType: LRS
      exampleIotHubDeviceUpdateInstance:
        type: azure:iot:IotHubDeviceUpdateInstance
        name: example
        properties:
          name: example
          deviceUpdateAccountId: ${exampleIotHubDeviceUpdateAccount.id}
          iothubId: ${exampleIoTHub.id}
          diagnosticEnabled: true
          diagnosticStorageAccount:
            connectionString: ${exampleAccount.primaryConnectionString}
            id: ${exampleAccount.id}
          tags:
            key: value
    

    Create IotHubDeviceUpdateInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IotHubDeviceUpdateInstance(name: string, args: IotHubDeviceUpdateInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def IotHubDeviceUpdateInstance(resource_name: str,
                                   args: IotHubDeviceUpdateInstanceArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def IotHubDeviceUpdateInstance(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   device_update_account_id: Optional[str] = None,
                                   iothub_id: Optional[str] = None,
                                   diagnostic_enabled: Optional[bool] = None,
                                   diagnostic_storage_account: Optional[IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs] = None,
                                   name: Optional[str] = None,
                                   tags: Optional[Mapping[str, str]] = None)
    func NewIotHubDeviceUpdateInstance(ctx *Context, name string, args IotHubDeviceUpdateInstanceArgs, opts ...ResourceOption) (*IotHubDeviceUpdateInstance, error)
    public IotHubDeviceUpdateInstance(string name, IotHubDeviceUpdateInstanceArgs args, CustomResourceOptions? opts = null)
    public IotHubDeviceUpdateInstance(String name, IotHubDeviceUpdateInstanceArgs args)
    public IotHubDeviceUpdateInstance(String name, IotHubDeviceUpdateInstanceArgs args, CustomResourceOptions options)
    
    type: azure:iot:IotHubDeviceUpdateInstance
    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 IotHubDeviceUpdateInstanceArgs
    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 IotHubDeviceUpdateInstanceArgs
    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 IotHubDeviceUpdateInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IotHubDeviceUpdateInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IotHubDeviceUpdateInstanceArgs
    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 iotHubDeviceUpdateInstanceResource = new Azure.Iot.IotHubDeviceUpdateInstance("iotHubDeviceUpdateInstanceResource", new()
    {
        DeviceUpdateAccountId = "string",
        IothubId = "string",
        DiagnosticEnabled = false,
        DiagnosticStorageAccount = new Azure.Iot.Inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
        {
            ConnectionString = "string",
            Id = "string",
        },
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := iot.NewIotHubDeviceUpdateInstance(ctx, "iotHubDeviceUpdateInstanceResource", &iot.IotHubDeviceUpdateInstanceArgs{
    	DeviceUpdateAccountId: pulumi.String("string"),
    	IothubId:              pulumi.String("string"),
    	DiagnosticEnabled:     pulumi.Bool(false),
    	DiagnosticStorageAccount: &iot.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs{
    		ConnectionString: pulumi.String("string"),
    		Id:               pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var iotHubDeviceUpdateInstanceResource = new IotHubDeviceUpdateInstance("iotHubDeviceUpdateInstanceResource", IotHubDeviceUpdateInstanceArgs.builder()
        .deviceUpdateAccountId("string")
        .iothubId("string")
        .diagnosticEnabled(false)
        .diagnosticStorageAccount(IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs.builder()
            .connectionString("string")
            .id("string")
            .build())
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    iot_hub_device_update_instance_resource = azure.iot.IotHubDeviceUpdateInstance("iotHubDeviceUpdateInstanceResource",
        device_update_account_id="string",
        iothub_id="string",
        diagnostic_enabled=False,
        diagnostic_storage_account={
            "connection_string": "string",
            "id": "string",
        },
        name="string",
        tags={
            "string": "string",
        })
    
    const iotHubDeviceUpdateInstanceResource = new azure.iot.IotHubDeviceUpdateInstance("iotHubDeviceUpdateInstanceResource", {
        deviceUpdateAccountId: "string",
        iothubId: "string",
        diagnosticEnabled: false,
        diagnosticStorageAccount: {
            connectionString: "string",
            id: "string",
        },
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:iot:IotHubDeviceUpdateInstance
    properties:
        deviceUpdateAccountId: string
        diagnosticEnabled: false
        diagnosticStorageAccount:
            connectionString: string
            id: string
        iothubId: string
        name: string
        tags:
            string: string
    

    IotHubDeviceUpdateInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IotHubDeviceUpdateInstance resource accepts the following input properties:

    DeviceUpdateAccountId string
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    IothubId string
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    DiagnosticEnabled bool
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccount
    A diagnostic_storage_account block as defined below.
    Name string
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    DeviceUpdateAccountId string
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    IothubId string
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    DiagnosticEnabled bool
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
    A diagnostic_storage_account block as defined below.
    Name string
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    deviceUpdateAccountId String
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    iothubId String
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    diagnosticEnabled Boolean
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccount
    A diagnostic_storage_account block as defined below.
    name String
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    deviceUpdateAccountId string
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    iothubId string
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    diagnosticEnabled boolean
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccount
    A diagnostic_storage_account block as defined below.
    name string
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    device_update_account_id str
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    iothub_id str
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    diagnostic_enabled bool
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnostic_storage_account IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
    A diagnostic_storage_account block as defined below.
    name str
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    deviceUpdateAccountId String
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    iothubId String
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    diagnosticEnabled Boolean
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnosticStorageAccount Property Map
    A diagnostic_storage_account block as defined below.
    name String
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IotHubDeviceUpdateInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IotHubDeviceUpdateInstance Resource

    Get an existing IotHubDeviceUpdateInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IotHubDeviceUpdateInstanceState, opts?: CustomResourceOptions): IotHubDeviceUpdateInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            device_update_account_id: Optional[str] = None,
            diagnostic_enabled: Optional[bool] = None,
            diagnostic_storage_account: Optional[IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs] = None,
            iothub_id: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> IotHubDeviceUpdateInstance
    func GetIotHubDeviceUpdateInstance(ctx *Context, name string, id IDInput, state *IotHubDeviceUpdateInstanceState, opts ...ResourceOption) (*IotHubDeviceUpdateInstance, error)
    public static IotHubDeviceUpdateInstance Get(string name, Input<string> id, IotHubDeviceUpdateInstanceState? state, CustomResourceOptions? opts = null)
    public static IotHubDeviceUpdateInstance get(String name, Output<String> id, IotHubDeviceUpdateInstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DeviceUpdateAccountId string
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    DiagnosticEnabled bool
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccount
    A diagnostic_storage_account block as defined below.
    IothubId string
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    Name string
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    DeviceUpdateAccountId string
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    DiagnosticEnabled bool
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    DiagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
    A diagnostic_storage_account block as defined below.
    IothubId string
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    Name string
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    deviceUpdateAccountId String
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    diagnosticEnabled Boolean
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccount
    A diagnostic_storage_account block as defined below.
    iothubId String
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    name String
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    deviceUpdateAccountId string
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    diagnosticEnabled boolean
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnosticStorageAccount IotHubDeviceUpdateInstanceDiagnosticStorageAccount
    A diagnostic_storage_account block as defined below.
    iothubId string
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    name string
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    device_update_account_id str
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    diagnostic_enabled bool
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnostic_storage_account IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs
    A diagnostic_storage_account block as defined below.
    iothub_id str
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    name str
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.
    deviceUpdateAccountId String
    Specifies the ID of the IoT Hub Device Update Account where the IoT Hub Device Update Instance exists. Changing this forces a new resource to be created.
    diagnosticEnabled Boolean
    Whether the diagnostic log collection is enabled. Possible values are true and false. Defaults to false.
    diagnosticStorageAccount Property Map
    A diagnostic_storage_account block as defined below.
    iothubId String
    Specifies the ID of the IoT Hub associated with the IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    name String
    Specifies the name which should be used for this IoT Hub Device Update Instance. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the IoT Hub Device Update Instance.

    Supporting Types

    IotHubDeviceUpdateInstanceDiagnosticStorageAccount, IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs

    ConnectionString string
    Connection String of the Diagnostic Storage Account.
    Id string
    Resource ID of the Diagnostic Storage Account.
    ConnectionString string
    Connection String of the Diagnostic Storage Account.
    Id string
    Resource ID of the Diagnostic Storage Account.
    connectionString String
    Connection String of the Diagnostic Storage Account.
    id String
    Resource ID of the Diagnostic Storage Account.
    connectionString string
    Connection String of the Diagnostic Storage Account.
    id string
    Resource ID of the Diagnostic Storage Account.
    connection_string str
    Connection String of the Diagnostic Storage Account.
    id str
    Resource ID of the Diagnostic Storage Account.
    connectionString String
    Connection String of the Diagnostic Storage Account.
    id String
    Resource ID of the Diagnostic Storage Account.

    Import

    IoT Hub Device Update Instance can be imported using the resource id, e.g.

    $ pulumi import azure:iot/iotHubDeviceUpdateInstance:IotHubDeviceUpdateInstance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DeviceUpdate/accounts/account1/instances/instance1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi