Skip to content

Data Source: azurermIothubDps

Use this data source to access information about an existing IotHub Device Provisioning Service.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.dataAzurermIothubDps.DataAzurermIothubDps(this, "example", {
  name: "iot_hub_dps_test",
  resource_group_name: "iothub_dps_rg",
});

Argument Reference

The following arguments are supported:

  • name - Specifies the name of the Iot Device Provisioning Service resource.

  • resourceGroupName - The name of the resource group under which the Iot Device Provisioning Service is located in.

Attributes Reference

The following attributes are exported:

  • id - The ID of the IoT Device Provisioning Service.

  • location - Specifies the supported Azure location where the IoT Device Provisioning Service exists.

  • allocationPolicy - The allocation policy of the IoT Device Provisioning Service.

  • deviceProvisioningHostName - The device endpoint of the IoT Device Provisioning Service.

  • idScope - The unique identifier of the IoT Device Provisioning Service.

  • serviceOperationsHostName - The service endpoint of the IoT Device Provisioning Service.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the IoT Hub Device Provisioning Service.