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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.iot.IotHubDeviceUpdateAccount

Explore with Pulumi AI

Manages an IoT Hub Device Update Account.

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,
    identity: {
        type: "SystemAssigned",
    },
    tags: {
        key: "value",
    },
});
Copy
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,
    identity={
        "type": "SystemAssigned",
    },
    tags={
        "key": "value",
    })
Copy
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/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
		}
		_, err = iot.NewIotHubDeviceUpdateAccount(ctx, "example", &iot.IotHubDeviceUpdateAccountArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Identity: &iot.IotHubDeviceUpdateAccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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,
        Identity = new Azure.Iot.Inputs.IotHubDeviceUpdateAccountIdentityArgs
        {
            Type = "SystemAssigned",
        },
        Tags = 
        {
            { "key", "value" },
        },
    });

});
Copy
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.inputs.IotHubDeviceUpdateAccountIdentityArgs;
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())
            .identity(IotHubDeviceUpdateAccountIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .tags(Map.of("key", "value"))
            .build());

    }
}
Copy
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}
      identity:
        type: SystemAssigned
      tags:
        key: value
Copy

Create IotHubDeviceUpdateAccount Resource

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

Constructor syntax

new IotHubDeviceUpdateAccount(name: string, args: IotHubDeviceUpdateAccountArgs, opts?: CustomResourceOptions);
@overload
def IotHubDeviceUpdateAccount(resource_name: str,
                              args: IotHubDeviceUpdateAccountArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def IotHubDeviceUpdateAccount(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              resource_group_name: Optional[str] = None,
                              identity: Optional[IotHubDeviceUpdateAccountIdentityArgs] = None,
                              location: Optional[str] = None,
                              name: Optional[str] = None,
                              public_network_access_enabled: Optional[bool] = None,
                              sku: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None)
func NewIotHubDeviceUpdateAccount(ctx *Context, name string, args IotHubDeviceUpdateAccountArgs, opts ...ResourceOption) (*IotHubDeviceUpdateAccount, error)
public IotHubDeviceUpdateAccount(string name, IotHubDeviceUpdateAccountArgs args, CustomResourceOptions? opts = null)
public IotHubDeviceUpdateAccount(String name, IotHubDeviceUpdateAccountArgs args)
public IotHubDeviceUpdateAccount(String name, IotHubDeviceUpdateAccountArgs args, CustomResourceOptions options)
type: azure:iot:IotHubDeviceUpdateAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IotHubDeviceUpdateAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IotHubDeviceUpdateAccountArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IotHubDeviceUpdateAccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IotHubDeviceUpdateAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IotHubDeviceUpdateAccountArgs
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 iotHubDeviceUpdateAccountResource = new Azure.Iot.IotHubDeviceUpdateAccount("iotHubDeviceUpdateAccountResource", new()
{
    ResourceGroupName = "string",
    Identity = new Azure.Iot.Inputs.IotHubDeviceUpdateAccountIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Location = "string",
    Name = "string",
    PublicNetworkAccessEnabled = false,
    Sku = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := iot.NewIotHubDeviceUpdateAccount(ctx, "iotHubDeviceUpdateAccountResource", &iot.IotHubDeviceUpdateAccountArgs{
	ResourceGroupName: pulumi.String("string"),
	Identity: &iot.IotHubDeviceUpdateAccountIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Location:                   pulumi.String("string"),
	Name:                       pulumi.String("string"),
	PublicNetworkAccessEnabled: pulumi.Bool(false),
	Sku:                        pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var iotHubDeviceUpdateAccountResource = new IotHubDeviceUpdateAccount("iotHubDeviceUpdateAccountResource", IotHubDeviceUpdateAccountArgs.builder()
    .resourceGroupName("string")
    .identity(IotHubDeviceUpdateAccountIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .location("string")
    .name("string")
    .publicNetworkAccessEnabled(false)
    .sku("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
iot_hub_device_update_account_resource = azure.iot.IotHubDeviceUpdateAccount("iotHubDeviceUpdateAccountResource",
    resource_group_name="string",
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    location="string",
    name="string",
    public_network_access_enabled=False,
    sku="string",
    tags={
        "string": "string",
    })
Copy
const iotHubDeviceUpdateAccountResource = new azure.iot.IotHubDeviceUpdateAccount("iotHubDeviceUpdateAccountResource", {
    resourceGroupName: "string",
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    location: "string",
    name: "string",
    publicNetworkAccessEnabled: false,
    sku: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure:iot:IotHubDeviceUpdateAccount
properties:
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    location: string
    name: string
    publicNetworkAccessEnabled: false
    resourceGroupName: string
    sku: string
    tags:
        string: string
Copy

IotHubDeviceUpdateAccount 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 IotHubDeviceUpdateAccount resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Identity IotHubDeviceUpdateAccountIdentity
An identity block as defined below.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
PublicNetworkAccessEnabled bool
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
Sku Changes to this property will trigger replacement. string
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Identity IotHubDeviceUpdateAccountIdentityArgs
An identity block as defined below.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
PublicNetworkAccessEnabled bool
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
Sku Changes to this property will trigger replacement. string
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
identity IotHubDeviceUpdateAccountIdentity
An identity block as defined below.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
publicNetworkAccessEnabled Boolean
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
sku Changes to this property will trigger replacement. String
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
identity IotHubDeviceUpdateAccountIdentity
An identity block as defined below.
location Changes to this property will trigger replacement. string
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
publicNetworkAccessEnabled boolean
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
sku Changes to this property will trigger replacement. string
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
identity IotHubDeviceUpdateAccountIdentityArgs
An identity block as defined below.
location Changes to this property will trigger replacement. str
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
public_network_access_enabled bool
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
sku Changes to this property will trigger replacement. str
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
identity Property Map
An identity block as defined below.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
publicNetworkAccessEnabled Boolean
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
sku Changes to this property will trigger replacement. String
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.

Outputs

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

HostName string
The API host name of the IoT Hub Device Update Account.
Id string
The provider-assigned unique ID for this managed resource.
HostName string
The API host name of the IoT Hub Device Update Account.
Id string
The provider-assigned unique ID for this managed resource.
hostName String
The API host name of the IoT Hub Device Update Account.
id String
The provider-assigned unique ID for this managed resource.
hostName string
The API host name of the IoT Hub Device Update Account.
id string
The provider-assigned unique ID for this managed resource.
host_name str
The API host name of the IoT Hub Device Update Account.
id str
The provider-assigned unique ID for this managed resource.
hostName String
The API host name of the IoT Hub Device Update Account.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing IotHubDeviceUpdateAccount Resource

Get an existing IotHubDeviceUpdateAccount 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?: IotHubDeviceUpdateAccountState, opts?: CustomResourceOptions): IotHubDeviceUpdateAccount
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        host_name: Optional[str] = None,
        identity: Optional[IotHubDeviceUpdateAccountIdentityArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        public_network_access_enabled: Optional[bool] = None,
        resource_group_name: Optional[str] = None,
        sku: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> IotHubDeviceUpdateAccount
func GetIotHubDeviceUpdateAccount(ctx *Context, name string, id IDInput, state *IotHubDeviceUpdateAccountState, opts ...ResourceOption) (*IotHubDeviceUpdateAccount, error)
public static IotHubDeviceUpdateAccount Get(string name, Input<string> id, IotHubDeviceUpdateAccountState? state, CustomResourceOptions? opts = null)
public static IotHubDeviceUpdateAccount get(String name, Output<String> id, IotHubDeviceUpdateAccountState state, CustomResourceOptions options)
resources:  _:    type: azure:iot:IotHubDeviceUpdateAccount    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
HostName string
The API host name of the IoT Hub Device Update Account.
Identity IotHubDeviceUpdateAccountIdentity
An identity block as defined below.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
PublicNetworkAccessEnabled bool
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Sku Changes to this property will trigger replacement. string
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
HostName string
The API host name of the IoT Hub Device Update Account.
Identity IotHubDeviceUpdateAccountIdentityArgs
An identity block as defined below.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
PublicNetworkAccessEnabled bool
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
Sku Changes to this property will trigger replacement. string
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
hostName String
The API host name of the IoT Hub Device Update Account.
identity IotHubDeviceUpdateAccountIdentity
An identity block as defined below.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
publicNetworkAccessEnabled Boolean
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
sku Changes to this property will trigger replacement. String
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
hostName string
The API host name of the IoT Hub Device Update Account.
identity IotHubDeviceUpdateAccountIdentity
An identity block as defined below.
location Changes to this property will trigger replacement. string
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
publicNetworkAccessEnabled boolean
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
resourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
sku Changes to this property will trigger replacement. string
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
host_name str
The API host name of the IoT Hub Device Update Account.
identity IotHubDeviceUpdateAccountIdentityArgs
An identity block as defined below.
location Changes to this property will trigger replacement. str
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
public_network_access_enabled bool
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
resource_group_name Changes to this property will trigger replacement. str
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
sku Changes to this property will trigger replacement. str
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.
hostName String
The API host name of the IoT Hub Device Update Account.
identity Property Map
An identity block as defined below.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this IoT Hub Device Update Account. Changing this forces a new resource to be created.
publicNetworkAccessEnabled Boolean
Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are true and false. Defaults to true.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the name of the Resource Group where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
sku Changes to this property will trigger replacement. String
Sku of the IoT Hub Device Update Account. Possible values are Free and Standard. Defaults to Standard. 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 Account.

Supporting Types

IotHubDeviceUpdateAccountIdentity
, IotHubDeviceUpdateAccountIdentityArgs

Type This property is required. string
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
IdentityIds List<string>

A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

PrincipalId string
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
TenantId string
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
Type This property is required. string
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
IdentityIds []string

A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

PrincipalId string
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
TenantId string
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
type This property is required. String
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
identityIds List<String>

A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principalId String
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
tenantId String
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
type This property is required. string
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
identityIds string[]

A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principalId string
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
tenantId string
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
type This property is required. str
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
identity_ids Sequence[str]

A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principal_id str
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
tenant_id str
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
type This property is required. String
Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
identityIds List<String>

A list of User Assigned Managed Identity IDs to be assigned to this IoT Hub Device Update Account.

NOTE: This is required when type is set to UserAssigned or SystemAssigned, UserAssigned.

principalId String
The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
tenantId String
The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.

Import

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

$ pulumi import azure:iot/iotHubDeviceUpdateAccount:IotHubDeviceUpdateAccount example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DeviceUpdate/accounts/account1
Copy

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.