Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class HydratedDeployment.
A collection of kubernetes yaml files which are deployed on a Workload Cluster. Hydrated Deployments are created by TNA intent based automation.
Generated from protobuf message google.cloud.telcoautomation.v1.HydratedDeployment
Namespace
Google \ Cloud \ TelcoAutomation \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The name of the hydrated deployment. |
↳ state |
int
Output only. State of the hydrated deployment (DRAFT, APPLIED). |
↳ files |
array<File>
Optional. File contents of a hydrated deployment. When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed. |
↳ workload_cluster |
string
Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on. |
getName
Output only. The name of the hydrated deployment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. The name of the hydrated deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. State of the hydrated deployment (DRAFT, APPLIED).
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. State of the hydrated deployment (DRAFT, APPLIED).
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFiles
Optional. File contents of a hydrated deployment.
When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFiles
Optional. File contents of a hydrated deployment.
When invoking UpdateHydratedBlueprint API, only the modified files should be included in this. Files that are not included in the update of a hydrated deployment will not be changed.
| Parameter | |
|---|---|
| Name | Description |
var |
array<File>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWorkloadCluster
Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.
| Returns | |
|---|---|
| Type | Description |
string |
|
setWorkloadCluster
Output only. WorkloadCluster identifies which workload cluster will the hydrated deployment will be deployed on.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|