azurerm_iothub_dps_shared_access_policyNivis 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_nameresource_group_name
Optional arguments
enrollment_read(defaults tonull)enrollment_write(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)registration_read(defaults tonull)registration_write(defaults tonull)service_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
primary_connection_stringprimary_keysecondary_connection_stringsecondary_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.