We recommend using Azure Native.
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",
},
});
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=azure.iot.IotHubDeviceUpdateAccountIdentityArgs(
type="SystemAssigned",
),
tags={
"key": "value",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
})
}
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" },
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args IotHubDeviceUpdateAccountArgs
- 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 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 string
- The unique name of the resource.
- args IotHubDeviceUpdateAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotHubDeviceUpdateAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
},
});
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"),
},
})
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());
iot_hub_device_update_account_resource = azure.iot.IotHubDeviceUpdateAccount("iotHubDeviceUpdateAccountResource",
resource_group_name="string",
identity=azure.iot.IotHubDeviceUpdateAccountIdentityArgs(
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",
})
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",
},
});
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
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
The IotHubDeviceUpdateAccount resource accepts the following input properties:
- Resource
Group stringName - 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
Iot
Hub Device Update Account Identity - An
identity
block as defined below. - Location string
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- Name string
- 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 boolAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - Sku string
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Dictionary<string, string>
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- Resource
Group stringName - 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
Iot
Hub Device Update Account Identity Args - An
identity
block as defined below. - Location string
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- Name string
- 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 boolAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - Sku string
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - map[string]string
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- resource
Group StringName - 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
Iot
Hub Device Update Account Identity - An
identity
block as defined below. - location String
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name String
- 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 BooleanAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - sku String
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Map<String,String>
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- resource
Group stringName - 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
Iot
Hub Device Update Account Identity - An
identity
block as defined below. - location string
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name string
- 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 booleanAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - sku string
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - {[key: string]: string}
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- resource_
group_ strname - 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
Iot
Hub Device Update Account Identity Args - An
identity
block as defined below. - location str
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name 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_ boolaccess_ enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - sku str
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Mapping[str, str]
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- resource
Group StringName - 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 String
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name String
- 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 BooleanAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - sku String
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - 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:
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)
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.
- Host
Name string - The API host name of the IoT Hub Device Update Account.
- Identity
Iot
Hub Device Update Account Identity - An
identity
block as defined below. - Location string
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- Name string
- 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 boolAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - Resource
Group stringName - 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 string
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Dictionary<string, string>
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- Host
Name string - The API host name of the IoT Hub Device Update Account.
- Identity
Iot
Hub Device Update Account Identity Args - An
identity
block as defined below. - Location string
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- Name string
- 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 boolAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - Resource
Group stringName - 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 string
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - map[string]string
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- host
Name String - The API host name of the IoT Hub Device Update Account.
- identity
Iot
Hub Device Update Account Identity - An
identity
block as defined below. - location String
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name String
- 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 BooleanAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - resource
Group StringName - 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 String
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Map<String,String>
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- host
Name string - The API host name of the IoT Hub Device Update Account.
- identity
Iot
Hub Device Update Account Identity - An
identity
block as defined below. - location string
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name string
- 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 booleanAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - resource
Group stringName - 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 string
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - {[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
Iot
Hub Device Update Account Identity Args - An
identity
block as defined below. - location str
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name 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_ boolaccess_ enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - resource_
group_ strname - 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 str
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Mapping[str, str]
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
- host
Name String - The API host name of the IoT Hub Device Update Account.
- identity Property Map
- An
identity
block as defined below. - location String
- Specifies the Azure Region where the IoT Hub Device Update Account should exist. Changing this forces a new resource to be created.
- name String
- 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 BooleanAccess Enabled - Specifies whether the public network access is enabled for the IoT Hub Device Update Account. Possible values are
true
andfalse
. Defaults totrue
. - resource
Group StringName - 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 String
- Sku of the IoT Hub Device Update Account. Possible values are
Free
andStandard
. Defaults toStandard
. Changing this forces a new resource to be created. - Map<String>
- A mapping of tags which should be assigned to the IoT Hub Device Update Account.
Supporting Types
IotHubDeviceUpdateAccountIdentity, IotHubDeviceUpdateAccountIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are
SystemAssigned
,UserAssigned
andSystemAssigned, UserAssigned
(to enable both). - Identity
Ids 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 toUserAssigned
orSystemAssigned, UserAssigned
.- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are
SystemAssigned
,UserAssigned
andSystemAssigned, UserAssigned
(to enable both). - Identity
Ids []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 toUserAssigned
orSystemAssigned, UserAssigned
.- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- type String
- Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are
SystemAssigned
,UserAssigned
andSystemAssigned, UserAssigned
(to enable both). - identity
Ids 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 toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- type string
- Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are
SystemAssigned
,UserAssigned
andSystemAssigned, UserAssigned
(to enable both). - identity
Ids 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 toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- type str
- Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are
SystemAssigned
,UserAssigned
andSystemAssigned, 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 toUserAssigned
orSystemAssigned, 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 String
- Specifies the type of Managed Service Identity that should be configured on this IoT Hub Device Update Account. Possible values are
SystemAssigned
,UserAssigned
andSystemAssigned, UserAssigned
(to enable both). - identity
Ids 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 toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this IoT Hub Device Update Account.
- tenant
Id 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
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.