We recommend using Azure Native.
azure.iot.IotHubDps
Explore with Pulumi AI
Manages an IotHub Device Provisioning Service.
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: "West Europe",
});
const exampleIotHubDps = new azure.iot.IotHubDps("example", {
    name: "example",
    resourceGroupName: example.name,
    location: example.location,
    allocationPolicy: "Hashed",
    sku: {
        name: "S1",
        capacity: 1,
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_iot_hub_dps = azure.iot.IotHubDps("example",
    name="example",
    resource_group_name=example.name,
    location=example.location,
    allocation_policy="Hashed",
    sku={
        "name": "S1",
        "capacity": 1,
    })
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("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = iot.NewIotHubDps(ctx, "example", &iot.IotHubDpsArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AllocationPolicy:  pulumi.String("Hashed"),
			Sku: &iot.IotHubDpsSkuArgs{
				Name:     pulumi.String("S1"),
				Capacity: pulumi.Int(1),
			},
		})
		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 = "West Europe",
    });
    var exampleIotHubDps = new Azure.Iot.IotHubDps("example", new()
    {
        Name = "example",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AllocationPolicy = "Hashed",
        Sku = new Azure.Iot.Inputs.IotHubDpsSkuArgs
        {
            Name = "S1",
            Capacity = 1,
        },
    });
});
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.IotHubDps;
import com.pulumi.azure.iot.IotHubDpsArgs;
import com.pulumi.azure.iot.inputs.IotHubDpsSkuArgs;
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("West Europe")
            .build());
        var exampleIotHubDps = new IotHubDps("exampleIotHubDps", IotHubDpsArgs.builder()
            .name("example")
            .resourceGroupName(example.name())
            .location(example.location())
            .allocationPolicy("Hashed")
            .sku(IotHubDpsSkuArgs.builder()
                .name("S1")
                .capacity("1")
                .build())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleIotHubDps:
    type: azure:iot:IotHubDps
    name: example
    properties:
      name: example
      resourceGroupName: ${example.name}
      location: ${example.location}
      allocationPolicy: Hashed
      sku:
        name: S1
        capacity: '1'
Create IotHubDps Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotHubDps(name: string, args: IotHubDpsArgs, opts?: CustomResourceOptions);@overload
def IotHubDps(resource_name: str,
              args: IotHubDpsArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def IotHubDps(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              sku: Optional[IotHubDpsSkuArgs] = None,
              allocation_policy: Optional[str] = None,
              data_residency_enabled: Optional[bool] = None,
              ip_filter_rules: Optional[Sequence[IotHubDpsIpFilterRuleArgs]] = None,
              linked_hubs: Optional[Sequence[IotHubDpsLinkedHubArgs]] = None,
              location: Optional[str] = None,
              name: Optional[str] = None,
              public_network_access_enabled: Optional[bool] = None,
              tags: Optional[Mapping[str, str]] = None)func NewIotHubDps(ctx *Context, name string, args IotHubDpsArgs, opts ...ResourceOption) (*IotHubDps, error)public IotHubDps(string name, IotHubDpsArgs args, CustomResourceOptions? opts = null)
public IotHubDps(String name, IotHubDpsArgs args)
public IotHubDps(String name, IotHubDpsArgs args, CustomResourceOptions options)
type: azure:iot:IotHubDps
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 IotHubDpsArgs
- 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 IotHubDpsArgs
- 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 IotHubDpsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotHubDpsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotHubDpsArgs
- 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 iotHubDpsResource = new Azure.Iot.IotHubDps("iotHubDpsResource", new()
{
    ResourceGroupName = "string",
    Sku = new Azure.Iot.Inputs.IotHubDpsSkuArgs
    {
        Capacity = 0,
        Name = "string",
    },
    AllocationPolicy = "string",
    DataResidencyEnabled = false,
    IpFilterRules = new[]
    {
        new Azure.Iot.Inputs.IotHubDpsIpFilterRuleArgs
        {
            Action = "string",
            IpMask = "string",
            Name = "string",
            Target = "string",
        },
    },
    LinkedHubs = new[]
    {
        new Azure.Iot.Inputs.IotHubDpsLinkedHubArgs
        {
            ConnectionString = "string",
            Location = "string",
            AllocationWeight = 0,
            ApplyAllocationPolicy = false,
            Hostname = "string",
        },
    },
    Location = "string",
    Name = "string",
    PublicNetworkAccessEnabled = false,
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := iot.NewIotHubDps(ctx, "iotHubDpsResource", &iot.IotHubDpsArgs{
	ResourceGroupName: pulumi.String("string"),
	Sku: &iot.IotHubDpsSkuArgs{
		Capacity: pulumi.Int(0),
		Name:     pulumi.String("string"),
	},
	AllocationPolicy:     pulumi.String("string"),
	DataResidencyEnabled: pulumi.Bool(false),
	IpFilterRules: iot.IotHubDpsIpFilterRuleArray{
		&iot.IotHubDpsIpFilterRuleArgs{
			Action: pulumi.String("string"),
			IpMask: pulumi.String("string"),
			Name:   pulumi.String("string"),
			Target: pulumi.String("string"),
		},
	},
	LinkedHubs: iot.IotHubDpsLinkedHubArray{
		&iot.IotHubDpsLinkedHubArgs{
			ConnectionString:      pulumi.String("string"),
			Location:              pulumi.String("string"),
			AllocationWeight:      pulumi.Int(0),
			ApplyAllocationPolicy: pulumi.Bool(false),
			Hostname:              pulumi.String("string"),
		},
	},
	Location:                   pulumi.String("string"),
	Name:                       pulumi.String("string"),
	PublicNetworkAccessEnabled: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var iotHubDpsResource = new IotHubDps("iotHubDpsResource", IotHubDpsArgs.builder()
    .resourceGroupName("string")
    .sku(IotHubDpsSkuArgs.builder()
        .capacity(0)
        .name("string")
        .build())
    .allocationPolicy("string")
    .dataResidencyEnabled(false)
    .ipFilterRules(IotHubDpsIpFilterRuleArgs.builder()
        .action("string")
        .ipMask("string")
        .name("string")
        .target("string")
        .build())
    .linkedHubs(IotHubDpsLinkedHubArgs.builder()
        .connectionString("string")
        .location("string")
        .allocationWeight(0)
        .applyAllocationPolicy(false)
        .hostname("string")
        .build())
    .location("string")
    .name("string")
    .publicNetworkAccessEnabled(false)
    .tags(Map.of("string", "string"))
    .build());
iot_hub_dps_resource = azure.iot.IotHubDps("iotHubDpsResource",
    resource_group_name="string",
    sku={
        "capacity": 0,
        "name": "string",
    },
    allocation_policy="string",
    data_residency_enabled=False,
    ip_filter_rules=[{
        "action": "string",
        "ip_mask": "string",
        "name": "string",
        "target": "string",
    }],
    linked_hubs=[{
        "connection_string": "string",
        "location": "string",
        "allocation_weight": 0,
        "apply_allocation_policy": False,
        "hostname": "string",
    }],
    location="string",
    name="string",
    public_network_access_enabled=False,
    tags={
        "string": "string",
    })
const iotHubDpsResource = new azure.iot.IotHubDps("iotHubDpsResource", {
    resourceGroupName: "string",
    sku: {
        capacity: 0,
        name: "string",
    },
    allocationPolicy: "string",
    dataResidencyEnabled: false,
    ipFilterRules: [{
        action: "string",
        ipMask: "string",
        name: "string",
        target: "string",
    }],
    linkedHubs: [{
        connectionString: "string",
        location: "string",
        allocationWeight: 0,
        applyAllocationPolicy: false,
        hostname: "string",
    }],
    location: "string",
    name: "string",
    publicNetworkAccessEnabled: false,
    tags: {
        string: "string",
    },
});
type: azure:iot:IotHubDps
properties:
    allocationPolicy: string
    dataResidencyEnabled: false
    ipFilterRules:
        - action: string
          ipMask: string
          name: string
          target: string
    linkedHubs:
        - allocationWeight: 0
          applyAllocationPolicy: false
          connectionString: string
          hostname: string
          location: string
    location: string
    name: string
    publicNetworkAccessEnabled: false
    resourceGroupName: string
    sku:
        capacity: 0
        name: string
    tags:
        string: string
IotHubDps 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 IotHubDps resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- Sku
IotHub Dps Sku 
- A skublock as defined below.
- AllocationPolicy string
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- DataResidency boolEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- IpFilter List<IotRules Hub Dps Ip Filter Rule> 
- An ip_filter_ruleblock as defined below.
- LinkedHubs List<IotHub Dps Linked Hub> 
- A linked_hubblock as defined below.
- Location string
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- PublicNetwork boolAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ResourceGroup stringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- Sku
IotHub Dps Sku Args 
- A skublock as defined below.
- AllocationPolicy string
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- DataResidency boolEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- IpFilter []IotRules Hub Dps Ip Filter Rule Args 
- An ip_filter_ruleblock as defined below.
- LinkedHubs []IotHub Dps Linked Hub Args 
- A linked_hubblock as defined below.
- Location string
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- PublicNetwork boolAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- map[string]string
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- sku
IotHub Dps Sku 
- A skublock as defined below.
- allocationPolicy String
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- dataResidency BooleanEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- ipFilter List<IotRules Hub Dps Ip Filter Rule> 
- An ip_filter_ruleblock as defined below.
- linkedHubs List<IotHub Dps Linked Hub> 
- A linked_hubblock as defined below.
- location String
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- publicNetwork BooleanAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- Map<String,String>
- A mapping of tags to assign to the resource.
- resourceGroup stringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- sku
IotHub Dps Sku 
- A skublock as defined below.
- allocationPolicy string
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- dataResidency booleanEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- ipFilter IotRules Hub Dps Ip Filter Rule[] 
- An ip_filter_ruleblock as defined below.
- linkedHubs IotHub Dps Linked Hub[] 
- A linked_hubblock as defined below.
- location string
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- publicNetwork booleanAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- resource_group_ strname 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- sku
IotHub Dps Sku Args 
- A skublock as defined below.
- allocation_policy str
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- data_residency_ boolenabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- ip_filter_ Sequence[Iotrules Hub Dps Ip Filter Rule Args] 
- An ip_filter_ruleblock as defined below.
- linked_hubs Sequence[IotHub Dps Linked Hub Args] 
- A linked_hubblock as defined below.
- location str
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- public_network_ boolaccess_ enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- sku Property Map
- A skublock as defined below.
- allocationPolicy String
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- dataResidency BooleanEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- ipFilter List<Property Map>Rules 
- An ip_filter_ruleblock as defined below.
- linkedHubs List<Property Map>
- A linked_hubblock as defined below.
- location String
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- publicNetwork BooleanAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the IotHubDps resource produces the following output properties:
- DeviceProvisioning stringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- Id string
- The provider-assigned unique ID for this managed resource.
- IdScope string
- The unique identifier of the IoT Device Provisioning Service.
- ServiceOperations stringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- DeviceProvisioning stringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- Id string
- The provider-assigned unique ID for this managed resource.
- IdScope string
- The unique identifier of the IoT Device Provisioning Service.
- ServiceOperations stringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- deviceProvisioning StringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- id String
- The provider-assigned unique ID for this managed resource.
- idScope String
- The unique identifier of the IoT Device Provisioning Service.
- serviceOperations StringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- deviceProvisioning stringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- id string
- The provider-assigned unique ID for this managed resource.
- idScope string
- The unique identifier of the IoT Device Provisioning Service.
- serviceOperations stringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- device_provisioning_ strhost_ name 
- The device endpoint of the IoT Device Provisioning Service.
- id str
- The provider-assigned unique ID for this managed resource.
- id_scope str
- The unique identifier of the IoT Device Provisioning Service.
- service_operations_ strhost_ name 
- The service endpoint of the IoT Device Provisioning Service.
- deviceProvisioning StringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- id String
- The provider-assigned unique ID for this managed resource.
- idScope String
- The unique identifier of the IoT Device Provisioning Service.
- serviceOperations StringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
Look up Existing IotHubDps Resource
Get an existing IotHubDps 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?: IotHubDpsState, opts?: CustomResourceOptions): IotHubDps@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allocation_policy: Optional[str] = None,
        data_residency_enabled: Optional[bool] = None,
        device_provisioning_host_name: Optional[str] = None,
        id_scope: Optional[str] = None,
        ip_filter_rules: Optional[Sequence[IotHubDpsIpFilterRuleArgs]] = None,
        linked_hubs: Optional[Sequence[IotHubDpsLinkedHubArgs]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        public_network_access_enabled: Optional[bool] = None,
        resource_group_name: Optional[str] = None,
        service_operations_host_name: Optional[str] = None,
        sku: Optional[IotHubDpsSkuArgs] = None,
        tags: Optional[Mapping[str, str]] = None) -> IotHubDpsfunc GetIotHubDps(ctx *Context, name string, id IDInput, state *IotHubDpsState, opts ...ResourceOption) (*IotHubDps, error)public static IotHubDps Get(string name, Input<string> id, IotHubDpsState? state, CustomResourceOptions? opts = null)public static IotHubDps get(String name, Output<String> id, IotHubDpsState state, CustomResourceOptions options)resources:  _:    type: azure:iot:IotHubDps    get:      id: ${id}- 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.
- AllocationPolicy string
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- DataResidency boolEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- DeviceProvisioning stringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- IdScope string
- The unique identifier of the IoT Device Provisioning Service.
- IpFilter List<IotRules Hub Dps Ip Filter Rule> 
- An ip_filter_ruleblock as defined below.
- LinkedHubs List<IotHub Dps Linked Hub> 
- A linked_hubblock as defined below.
- Location string
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- PublicNetwork boolAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- ResourceGroup stringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- ServiceOperations stringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- Sku
IotHub Dps Sku 
- A skublock as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- AllocationPolicy string
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- DataResidency boolEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- DeviceProvisioning stringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- IdScope string
- The unique identifier of the IoT Device Provisioning Service.
- IpFilter []IotRules Hub Dps Ip Filter Rule Args 
- An ip_filter_ruleblock as defined below.
- LinkedHubs []IotHub Dps Linked Hub Args 
- A linked_hubblock as defined below.
- Location string
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- PublicNetwork boolAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- ResourceGroup stringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- ServiceOperations stringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- Sku
IotHub Dps Sku Args 
- A skublock as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- allocationPolicy String
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- dataResidency BooleanEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- deviceProvisioning StringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- idScope String
- The unique identifier of the IoT Device Provisioning Service.
- ipFilter List<IotRules Hub Dps Ip Filter Rule> 
- An ip_filter_ruleblock as defined below.
- linkedHubs List<IotHub Dps Linked Hub> 
- A linked_hubblock as defined below.
- location String
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- publicNetwork BooleanAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- resourceGroup StringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- serviceOperations StringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- sku
IotHub Dps Sku 
- A skublock as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- allocationPolicy string
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- dataResidency booleanEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- deviceProvisioning stringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- idScope string
- The unique identifier of the IoT Device Provisioning Service.
- ipFilter IotRules Hub Dps Ip Filter Rule[] 
- An ip_filter_ruleblock as defined below.
- linkedHubs IotHub Dps Linked Hub[] 
- A linked_hubblock as defined below.
- location string
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- publicNetwork booleanAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- resourceGroup stringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- serviceOperations stringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- sku
IotHub Dps Sku 
- A skublock as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- allocation_policy str
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- data_residency_ boolenabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- device_provisioning_ strhost_ name 
- The device endpoint of the IoT Device Provisioning Service.
- id_scope str
- The unique identifier of the IoT Device Provisioning Service.
- ip_filter_ Sequence[Iotrules Hub Dps Ip Filter Rule Args] 
- An ip_filter_ruleblock as defined below.
- linked_hubs Sequence[IotHub Dps Linked Hub Args] 
- A linked_hubblock as defined below.
- location str
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- public_network_ boolaccess_ enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- resource_group_ strname 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- service_operations_ strhost_ name 
- The service endpoint of the IoT Device Provisioning Service.
- sku
IotHub Dps Sku Args 
- A skublock as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- allocationPolicy String
- The allocation policy of the IoT Device Provisioning Service (Hashed,GeoLatencyorStatic). Defaults toHashed.
- dataResidency BooleanEnabled 
- Specifies if the IoT Device Provisioning Service has data residency and disaster recovery enabled. Defaults to false. Changing this forces a new resource to be created.
- deviceProvisioning StringHost Name 
- The device endpoint of the IoT Device Provisioning Service.
- idScope String
- The unique identifier of the IoT Device Provisioning Service.
- ipFilter List<Property Map>Rules 
- An ip_filter_ruleblock as defined below.
- linkedHubs List<Property Map>
- A linked_hubblock as defined below.
- location String
- Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Iot Device Provisioning Service resource. Changing this forces a new resource to be created.
- publicNetwork BooleanAccess Enabled 
- Whether requests from Public Network are allowed. Defaults to true.
- resourceGroup StringName 
- The name of the resource group under which the Iot Device Provisioning Service resource has to be created. Changing this forces a new resource to be created.
- serviceOperations StringHost Name 
- The service endpoint of the IoT Device Provisioning Service.
- sku Property Map
- A skublock as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
IotHubDpsIpFilterRule, IotHubDpsIpFilterRuleArgs            
- Action string
- The desired action for requests captured by this rule. Possible values are Accept,Reject
- IpMask string
- The IP address range in CIDR notation for the rule.
- Name string
- The name of the filter.
- Target string
- Target for requests captured by this rule. Possible values are all,deviceApiandserviceApi.
- Action string
- The desired action for requests captured by this rule. Possible values are Accept,Reject
- IpMask string
- The IP address range in CIDR notation for the rule.
- Name string
- The name of the filter.
- Target string
- Target for requests captured by this rule. Possible values are all,deviceApiandserviceApi.
- action String
- The desired action for requests captured by this rule. Possible values are Accept,Reject
- ipMask String
- The IP address range in CIDR notation for the rule.
- name String
- The name of the filter.
- target String
- Target for requests captured by this rule. Possible values are all,deviceApiandserviceApi.
- action string
- The desired action for requests captured by this rule. Possible values are Accept,Reject
- ipMask string
- The IP address range in CIDR notation for the rule.
- name string
- The name of the filter.
- target string
- Target for requests captured by this rule. Possible values are all,deviceApiandserviceApi.
- action String
- The desired action for requests captured by this rule. Possible values are Accept,Reject
- ipMask String
- The IP address range in CIDR notation for the rule.
- name String
- The name of the filter.
- target String
- Target for requests captured by this rule. Possible values are all,deviceApiandserviceApi.
IotHubDpsLinkedHub, IotHubDpsLinkedHubArgs          
- ConnectionString string
- The connection string to connect to the IoT Hub.
- Location string
- The location of the IoT hub.
- AllocationWeight int
- The weight applied to the IoT Hub. Defaults to 1.
- ApplyAllocation boolPolicy 
- Determines whether to apply allocation policies to the IoT Hub. Defaults to true.
- Hostname string
- The IoT Hub hostname.
- ConnectionString string
- The connection string to connect to the IoT Hub.
- Location string
- The location of the IoT hub.
- AllocationWeight int
- The weight applied to the IoT Hub. Defaults to 1.
- ApplyAllocation boolPolicy 
- Determines whether to apply allocation policies to the IoT Hub. Defaults to true.
- Hostname string
- The IoT Hub hostname.
- connectionString String
- The connection string to connect to the IoT Hub.
- location String
- The location of the IoT hub.
- allocationWeight Integer
- The weight applied to the IoT Hub. Defaults to 1.
- applyAllocation BooleanPolicy 
- Determines whether to apply allocation policies to the IoT Hub. Defaults to true.
- hostname String
- The IoT Hub hostname.
- connectionString string
- The connection string to connect to the IoT Hub.
- location string
- The location of the IoT hub.
- allocationWeight number
- The weight applied to the IoT Hub. Defaults to 1.
- applyAllocation booleanPolicy 
- Determines whether to apply allocation policies to the IoT Hub. Defaults to true.
- hostname string
- The IoT Hub hostname.
- connection_string str
- The connection string to connect to the IoT Hub.
- location str
- The location of the IoT hub.
- allocation_weight int
- The weight applied to the IoT Hub. Defaults to 1.
- apply_allocation_ boolpolicy 
- Determines whether to apply allocation policies to the IoT Hub. Defaults to true.
- hostname str
- The IoT Hub hostname.
- connectionString String
- The connection string to connect to the IoT Hub.
- location String
- The location of the IoT hub.
- allocationWeight Number
- The weight applied to the IoT Hub. Defaults to 1.
- applyAllocation BooleanPolicy 
- Determines whether to apply allocation policies to the IoT Hub. Defaults to true.
- hostname String
- The IoT Hub hostname.
IotHubDpsSku, IotHubDpsSkuArgs        
Import
IoT Device Provisioning Service can be imported using the resource id, e.g.
$ pulumi import azure:iot/iotHubDps:IotHubDps example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Devices/provisioningServices/example
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 azurermTerraform Provider.