WorkloadArgs constructor
- required Input<
String> applicationId, - Input<
WorkloadAttributes?> ? attributes, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - required Input<
String> discoveredWorkload, - Input<
String?> ? displayName, - required Input<
String> location, - Input<
String?> ? project, - required Input<
String> workloadId,
Creates a new WorkloadArgs.
applicationId Part of parent. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}
attributes Consumer provided attributes.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description User-defined description of a Workload.
discoveredWorkload Immutable. The resource name of the original discovered workload.
displayName User-defined name for the Workload.
location Part of parent. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}
project The ID of the project in which the resource belongs.
workloadId The Workload identifier.
Implementation
const WorkloadArgs({
required this.applicationId,
this.attributes,
this.deletionPolicy,
this.description,
required this.discoveredWorkload,
this.displayName,
required this.location,
this.project,
required this.workloadId,
});