Class Deployment
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
Implements
Inherited Members
Namespace: Google.Apis.Config.v1.Data
Assembly: Google.Apis.Config.v1.dll
Syntax
public class Deployment : IDirectResponseSchema
Properties
Annotations
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
ArtifactsGcsBucket
Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format:
gs://{bucket}/{folder}
A default bucket will be bootstrapped if the field is not set or empty. Default
bucket format: gs://--blueprint-config
Constraints: - The bucket needs to be in the same project as the
deployment - The path cannot be within the path of gcs_source
- The field cannot be updated, including
changing its presence
Declaration
[JsonProperty("artifactsGcsBucket")]
public virtual string ArtifactsGcsBucket { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time when the deployment was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DeleteBuild
Output only. Cloud Build instance UUID associated with deleting this deployment.
Declaration
[JsonProperty("deleteBuild")]
public virtual string DeleteBuild { get; set; }
Property Value
Type | Description |
---|---|
string |
DeleteLogs
Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment.
Format: gs://{bucket}/{object}
.
Declaration
[JsonProperty("deleteLogs")]
public virtual string DeleteLogs { get; set; }
Property Value
Type | Description |
---|---|
string |
DeleteResults
Output only. Location of artifacts from a DeleteDeployment operation.
Declaration
[JsonProperty("deleteResults")]
public virtual ApplyResults DeleteResults { get; set; }
Property Value
Type | Description |
---|---|
ApplyResults |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ErrorCode
Output only. Error code describing errors that may have occurred.
Declaration
[JsonProperty("errorCode")]
public virtual string ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ErrorLogs
Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}
.
Declaration
[JsonProperty("errorLogs")]
public virtual string ErrorLogs { get; set; }
Property Value
Type | Description |
---|---|
string |
ImportExistingResources
By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.
Declaration
[JsonProperty("importExistingResources")]
public virtual bool? ImportExistingResources { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Labels
User-defined metadata for the deployment.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
LatestRevision
Output only. Revision name that was most recently applied. Format:
projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}
Declaration
[JsonProperty("latestRevision")]
public virtual string LatestRevision { get; set; }
Property Value
Type | Description |
---|---|
string |
LockState
Output only. Current lock state of the deployment.
Declaration
[JsonProperty("lockState")]
public virtual string LockState { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{deployment}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
QuotaValidation
Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
Declaration
[JsonProperty("quotaValidation")]
public virtual string QuotaValidation { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccount
Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format:
projects/{projectID}/serviceAccounts/{serviceAccount}
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. Current state of the deployment.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
StateDetail
Output only. Additional information regarding the current state.
Declaration
[JsonProperty("stateDetail")]
public virtual string StateDetail { get; set; }
Property Value
Type | Description |
---|---|
string |
TerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
Declaration
[JsonProperty("terraformBlueprint")]
public virtual TerraformBlueprint TerraformBlueprint { get; set; }
Property Value
Type | Description |
---|---|
TerraformBlueprint |
TfErrors
Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see
delete_results
and error_logs
for full details.
Declaration
[JsonProperty("tfErrors")]
public virtual IList<TerraformError> TfErrors { get; set; }
Property Value
Type | Description |
---|---|
IList<TerraformError> |
TfVersion
Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
Declaration
[JsonProperty("tfVersion")]
public virtual string TfVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
TfVersionConstraint
Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
Declaration
[JsonProperty("tfVersionConstraint")]
public virtual string TfVersionConstraint { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Time when the deployment was last modified.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
WorkerPool
Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute.
Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}
. If this field is unspecified,
the default Cloud Build worker pool will be used.
Declaration
[JsonProperty("workerPool")]
public virtual string WorkerPool { get; set; }
Property Value
Type | Description |
---|---|
string |