WorkloadState constructor

const WorkloadState({
  1. Input<String?>? applicationId,
  2. Input<WorkloadAttributes?>? attributes,
  3. Input<String?>? createTime,
  4. Input<String?>? deletionPolicy,
  5. Input<String?>? description,
  6. Input<String?>? discoveredWorkload,
  7. Input<String?>? displayName,
  8. Input<String?>? location,
  9. Input<String?>? name,
  10. Input<String?>? project,
  11. Input<String?>? state,
  12. Input<String?>? uid,
  13. Input<String?>? updateTime,
  14. Input<String?>? workloadId,
  15. Input<List<WorkloadWorkloadProperty>?>? workloadProperties,
  16. Input<List<WorkloadWorkloadReference>?>? workloadReferences,
})

Creates a new WorkloadState. 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. createTime Output only. Create time. 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} name Identifier. The resource name of the Workload. Format:"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}" project The ID of the project in which the resource belongs. state Output only. Workload state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING DETACHED uid Output only. A universally unique identifier (UUID) for the Workload in the UUID4 format. updateTime Output only. Update time. workloadId The Workload identifier. workloadProperties Properties of an underlying compute resource represented by the Workload. workloadReferences Reference of an underlying compute resource represented by the Workload.

Implementation

const WorkloadState({
  this.applicationId,
  this.attributes,
  this.createTime,
  this.deletionPolicy,
  this.description,
  this.discoveredWorkload,
  this.displayName,
  this.location,
  this.name,
  this.project,
  this.state,
  this.uid,
  this.updateTime,
  this.workloadId,
  this.workloadProperties,
  this.workloadReferences,
});