Reference documentation and code samples for the Telco Automation V1 API class Google::Cloud::TelcoAutomation::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Deployment creation time.
#deployment_level
def deployment_level() -> ::Google::Cloud::TelcoAutomation::V1::DeploymentLevel
Returns
- (::Google::Cloud::TelcoAutomation::V1::DeploymentLevel) — Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Human readable name of a Deployment.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Human readable name of a Deployment.
Returns
- (::String) — Optional. Human readable name of a Deployment.
#files
def files() -> ::Array<::Google::Cloud::TelcoAutomation::V1::File>
Returns
- (::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.
#files=
def files=(value) -> ::Array<::Google::Cloud::TelcoAutomation::V1::File>
Parameter
- value (::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.
Returns
- (::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
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
#name
def name() -> ::String
Returns
- (::String) — The name of the deployment.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the deployment.
Returns
- (::String) — The name of the deployment.
#repository
def repository() -> ::String
Returns
- (::String) — Output only. Name of the repository where the deployment package files are stored.
#revision_create_time
def revision_create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp that the revision was created.
#revision_id
def revision_id() -> ::String
Returns
- (::String) — Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
#rollback_support
def rollback_support() -> ::Boolean
Returns
- (::Boolean) — Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
#source_blueprint_revision
def source_blueprint_revision() -> ::String
Returns
- (::String) — Required. The blueprint revision from which this deployment was created.
#source_blueprint_revision=
def source_blueprint_revision=(value) -> ::String
Parameter
- value (::String) — Required. The blueprint revision from which this deployment was created.
Returns
- (::String) — Required. The blueprint revision from which this deployment was created.
#source_provider
def source_provider() -> ::String
Returns
- (::String) — Output only. Source provider is the author of a public blueprint, from which this deployment is created.
#state
def state() -> ::Google::Cloud::TelcoAutomation::V1::Deployment::State
Returns
- (::Google::Cloud::TelcoAutomation::V1::Deployment::State) — Output only. State of the deployment (DRAFT, APPLIED, DELETING).
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the deployment was updated.
#workload_cluster
def workload_cluster() -> ::String
Returns
- (::String) — 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.
#workload_cluster=
def workload_cluster=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.