public sealed class Deployment : IMessage<Deployment>, IEquatable<Deployment>, IDeepCloneable<Deployment>, IBufferMessage, IMessage
Reference documentation and code samples for the Telco Automation v1 API 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.
Implements
IMessageDeployment, IEquatableDeployment, IDeepCloneableDeployment, IBufferMessage, IMessageNamespace
Google.Cloud.TelcoAutomation.V1Assembly
Google.Cloud.TelcoAutomation.V1.dll
Constructors
Deployment()
public Deployment()
Deployment(Deployment)
public Deployment(Deployment other)
Parameter | |
---|---|
Name | Description |
other |
Deployment |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Deployment creation time.
Property Value | |
---|---|
Type | Description |
Timestamp |
DeploymentLevel
public DeploymentLevel DeploymentLevel { get; set; }
Output only. Attributes to where the deployment can inflict changes. The value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
Property Value | |
---|---|
Type | Description |
DeploymentLevel |
DeploymentName
public DeploymentName DeploymentName { get; set; }
DeploymentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DeploymentName |
DisplayName
public string DisplayName { get; set; }
Optional. Human readable name of a Deployment.
Property Value | |
---|---|
Type | Description |
string |
Files
public RepeatedField<File> Files { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldFile |
Labels
public MapField<string, string> Labels { get; }
Optional. Labels are key-value attributes that can be set on a deployment resource by the user.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
The name of the deployment.
Property Value | |
---|---|
Type | Description |
string |
Repository
public string Repository { get; set; }
Output only. Name of the repository where the deployment package files are stored.
Property Value | |
---|---|
Type | Description |
string |
RevisionCreateTime
public Timestamp RevisionCreateTime { get; set; }
Output only. The timestamp that the revision was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
RevisionId
public string RevisionId { get; set; }
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever a change in deployment is applied.
Property Value | |
---|---|
Type | Description |
string |
RollbackSupport
public bool RollbackSupport { get; set; }
Output only. Indicates if the deployment can be rolled back, exported from public blueprint.
Property Value | |
---|---|
Type | Description |
bool |
SourceBlueprintRevision
public string SourceBlueprintRevision { get; set; }
Required. The blueprint revision from which this deployment was created.
Property Value | |
---|---|
Type | Description |
string |
SourceProvider
public string SourceProvider { get; set; }
Output only. Source provider is the author of a public blueprint, from which this deployment is created.
Property Value | |
---|---|
Type | Description |
string |
State
public Deployment.Types.State State { get; set; }
Output only. State of the deployment (DRAFT, APPLIED, DELETING).
Property Value | |
---|---|
Type | Description |
DeploymentTypesState |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The timestamp when the deployment was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
WorkloadCluster
public string WorkloadCluster { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |