» Data Source: azurerm_iothub_shared_access_policy

Use this data source to access information about an existing IotHub Shared Access Policy

» Example Usage

data "azurerm_iothub_shared_access_policy" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  iothub_name         = azurerm_iothub.example.name
}

» Argument Reference

The following arguments are supported:

  • name - Specifies the name of the IotHub Shared Access Policy resource.

  • resource_group_name - The name of the resource group under which the IotHub Shared Access Policy resource has to be created.

  • iothub_name - The name of the IoTHub to which this Shared Access Policy belongs.

» Attributes Reference

The following attributes are exported:

» Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the IotHub Shared Access Policy.