A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like structure.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "annotations": { string: string, ... }, "state": enum ( |
| Fields | |
|---|---|
name |
Identifier. The name of the deployment group. Format: 'projects/{projectId}/locations/{location}/deploymentGroups/{deploymentGroup}'. |
createTime |
Output only. Time when the deployment group was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Time when the deployment group was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Optional. User-defined metadata for the deployment group. An object containing a list of |
annotations |
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployment group during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. An object containing a list of |
state |
Output only. Current state of the deployment group. |
stateDescription |
Output only. Additional information regarding the current state. |
deploymentUnits[] |
The deployment units of the deployment group in a DAG like structure. When a deployment group is being provisioned, the deployment units are deployed in a DAG order. The provided units must be in a DAG order, otherwise an error will be returned. |
provisioningState |
Output only. The provisioning state of the deployment group. |
provisioningStateDescription |
Output only. Additional information regarding the current provisioning state. |
provisioningError |
Output only. The error status of the deployment group provisioning or deprovisioning. |
DeploymentUnit
A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a provisionDeploymentRequest.
| JSON representation |
|---|
{ "id": string, "dependencies": [ string ], "deployment": string } |
| Fields | |
|---|---|
id |
The id of the deployment unit. Must be unique within the deployment group. |
dependencies[] |
Required. The IDs of the deployment units within the deployment group that this unit depends on. |
deployment |
Optional. The name of the deployment to be provisioned. Format: 'projects/{projectId}/locations/{location}/deployments/{deployment}'. |