Class Deployment (0.2.6)

Deployment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
name str
The name of the deployment.
revision_id str
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
source_blueprint_revision str
Required. The blueprint revision from which this deployment was created.
revision_create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp that the revision was created.
state google.cloud.telcoautomation_v1.types.Deployment.State
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
display_name str
Optional. Human readable name of a Deployment.
repository str
Output only. Name of the repository where the deployment package files are stored.
files MutableSequence[google.cloud.telcoautomation_v1.types.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 MutableMapping[str, str]
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Deployment creation time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the deployment was updated.
source_provider str
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
workload_cluster str
Optional. Immutable. The WorkloadCluster on which to create the Deployment. This field should only be passed when the deployment_level of the source blueprint specifies deployments on workload clusters e.g. WORKLOAD_CLUSTER_DEPLOYMENT.
deployment_level google.cloud.telcoautomation_v1.types.DeploymentLevel
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.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

State defines which state the current deployment is in.