WorkloadArgs constructor

const WorkloadArgs({
  1. required Input<String> applicationId,
  2. Input<WorkloadAttributes?>? attributes,
  3. Input<String?>? deletionPolicy,
  4. Input<String?>? description,
  5. required Input<String> discoveredWorkload,
  6. Input<String?>? displayName,
  7. required Input<String> location,
  8. Input<String?>? project,
  9. 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,
});