azurerm_iothub_dps_shared_access_policy

Nivis Nix constructor for the azurerm_iothub_dps_shared_access_policy resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  iothub_dps_name,
  resource_group_name,
  enrollment_read ? null,
  enrollment_write ? null,
  id ? null,
  cfg_name ? null,
  registration_read ? null,
  registration_write ? null,
  service_config ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • iothub_dps_name
  • resource_group_name
Optional arguments
  • enrollment_read (defaults to null)
  • enrollment_write (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • registration_read (defaults to null)
  • registration_write (defaults to null)
  • service_config (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • primary_connection_string
  • primary_key
  • secondary_connection_string
  • secondary_key
Example
azurerm_iothub_dps_shared_access_policy {
  name = "iothub_dps_shared_access_policy";
  iothub_dps_name = …;  # required
  resource_group_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.