google_apphub_workloadNivis Nix constructor for the google_apphub_workload resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
application_id,
discovered_workload,
location,
workload_id,
deletion_policy ? null,
description ? null,
display_name ? null,
id ? null,
project ? null,
attributes ? null,
timeouts ? null,
overrides ? {}
}Required arguments
application_iddiscovered_workloadlocationworkload_id
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)display_name(defaults tonull)id(defaults tonull)project(defaults tonull)attributes(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timenamestateuidupdate_timeworkload_propertiesworkload_reference
Example
google_apphub_workload {
name = "apphub_workload";
application_id = …; # required
discovered_workload = …; # required
location = …; # required
workload_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.