azurerm_dedicated_hostNivis Nix constructor for the azurerm_dedicated_host 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,
dedicated_host_group_id,
location,
platform_fault_domain,
sku_name,
auto_replace_on_failure ? null,
id ? null,
license_type ? null,
cfg_name ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
dedicated_host_group_idlocationplatform_fault_domainsku_name
Optional arguments
auto_replace_on_failure(defaults tonull)id(defaults tonull)license_type(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_dedicated_host {
name = "dedicated_host";
dedicated_host_group_id = …; # required
location = …; # required
platform_fault_domain = …; # required
sku_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.