Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class Deployment.
Deployment contains a collection of YAML files (This collection is also known as package) that can to applied on an orchestration cluster (GKE cluster with TNA addons) or a workload cluster.
Generated from protobuf message google.cloud.telcoautomation.v1.Deployment
Namespace
Google \ Cloud \ TelcoAutomation \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the deployment.
↳ revision_id
string
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
↳ source_blueprint_revision
string
Required. The blueprint revision from which this deployment was created.
↳ revision_create_time
↳ state
int
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
↳ display_name
string
Optional. Human readable name of a Deployment.
↳ repository
string
Output only. Name of the repository where the deployment package files are stored.
↳ files
array< Google\Cloud\TelcoAutomation\V1\File
>
Optional. Files present in a deployment. When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
↳ create_time
↳ update_time
↳ source_provider
string
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
↳ workload_cluster
string
Optional. Immutable. The WorkloadCluster on which to create the Deployment.
↳ deployment_level
int
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
↳ rollback_support
bool
Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
getName
The name of the deployment.
string
setName
The name of the deployment.
var
string
$this
getRevisionId
Output only. Immutable. The revision ID of the deployment.
A new revision is committed whenever a change in deployment is applied.
string
setRevisionId
Output only. Immutable. The revision ID of the deployment.
A new revision is committed whenever a change in deployment is applied.
var
string
$this
getSourceBlueprintRevision
Required. The blueprint revision from which this deployment was created.
string
setSourceBlueprintRevision
Required. The blueprint revision from which this deployment was created.
var
string
$this
getRevisionCreateTime
Output only. The timestamp that the revision was created.
hasRevisionCreateTime
clearRevisionCreateTime
setRevisionCreateTime
Output only. The timestamp that the revision was created.
$this
getState
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
int
setState
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
var
int
$this
getDisplayName
Optional. Human readable name of a Deployment.
string
setDisplayName
Optional. Human readable name of a Deployment.
var
string
$this
getRepository
Output only. Name of the repository where the deployment package files are stored.
string
setRepository
Output only. Name of the repository where the deployment package files are stored.
var
string
$this
getFiles
Optional. Files present in a deployment.
When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
setFiles
Optional. Files present in a deployment.
When invoking UpdateDeployment API, only the modified files should be included in this. Files that are not included in the update of a deployment will not be changed.
$this
getLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
setLabels
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
$this
getCreateTime
Output only. Deployment creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Deployment creation time.
$this
getUpdateTime
Output only. The timestamp when the deployment was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the deployment was updated.
$this
getSourceProvider
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
string
setSourceProvider
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
var
string
$this
getWorkloadCluster
Optional. Immutable. The WorkloadCluster on which to create the Deployment.
string
setWorkloadCluster
Optional. Immutable. The WorkloadCluster on which to create the Deployment.
var
string
$this
getDeploymentLevel
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
int
setDeploymentLevel
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
var
int
$this
getRollbackSupport
Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
bool
setRollbackSupport
Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
var
bool
$this