Workload Args
Workload represents a binary deployment (such as Managed Instance Groups (MIGs), GKE deployments, etc.) that performs the smallest logical subset of business functionality. It registers identified workload to the Application.
Example Usage
Import
Workload can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/applications/{{application_id}}/workloads/{{workload_id}}
{{project}}/{{location}}/{{application_id}}/{{workload_id}}
{{location}}/{{application_id}}/{{workload_id}}
When using thepulumi import
command, Workload can be imported using one of the formats above. For example:
$ pulumi import gcp:apphub/workload:Workload default projects/{{project}}/locations/{{location}}/applications/{{application_id}}/workloads/{{workload_id}}
$ pulumi import gcp:apphub/workload:Workload default {{project}}/{{location}}/{{application_id}}/{{workload_id}}
$ pulumi import gcp:apphub/workload:Workload default {{location}}/{{application_id}}/{{workload_id}}
Constructors
Properties
Part of parent
. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}
Consumer provided attributes. Structure is documented below.
User-defined description of a Workload.
Immutable. The resource name of the original discovered workload.
User-defined name for the Workload.
The Workload identifier.