Class Blueprint (0.2.4)

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

A Blueprint contains a collection of kubernetes resources in the form of YAML files. The file contents of a blueprint are collectively known as package. A blueprint can be a) imported from TNA's public catalog b) modified as per a user's need c) proposed and approved. On approval, a revision of blueprint is created which can be used to create a deployment on Orchestration or Workload Cluster.

Attributes

Name Description
name str
The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @ character.
revision_id str
Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.
source_blueprint str
Required. Immutable. The public blueprint ID from which this blueprint was created.
revision_create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp that the revision was created.
approval_state google.cloud.telcoautomation_v1alpha1.types.Blueprint.ApprovalState
Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
display_name str
Optional. Human readable name of a Blueprint.
repository str
Output only. Name of the repository where the blueprint files are stored.
files MutableSequence[google.cloud.telcoautomation_v1alpha1.types.File]
Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.
labels MutableMapping[str, str]
Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Blueprint creation time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the blueprint was updated.
source_provider str
Output only. Source provider is the author of a public blueprint, from which this blueprint is created.
deployment_level google.cloud.telcoautomation_v1alpha1.types.DeploymentLevel
Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
rollback_support bool
Output only. Indicates if the deployment created from this blueprint can be rolled back.

Classes

ApprovalState

ApprovalState(value)

Approval state indicates the state of a Blueprint in its approval lifecycle.

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.