Infrastructure Manager v1 API - Class Revision (1.3.0)

public sealed class Revision : IMessage<Revision>, IEquatable<Revision>, IDeepCloneable<Revision>, IBufferMessage, IMessage

Reference documentation and code samples for the Infrastructure Manager v1 API class Revision.

A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.

Inheritance

object > Revision

Namespace

Google.Cloud.Config.V1

Assembly

Google.Cloud.Config.V1.dll

Constructors

Revision()

public Revision()

Revision(Revision)

public Revision(Revision other)
Parameter
NameDescription
otherRevision

Properties

Action

public Revision.Types.Action Action { get; set; }

Output only. The action which created this revision

Property Value
TypeDescription
RevisionTypesAction

ApplyResults

public ApplyResults ApplyResults { get; set; }

Output only. Outputs and artifacts from applying a deployment.

Property Value
TypeDescription
ApplyResults

BlueprintCase

public Revision.BlueprintOneofCase BlueprintCase { get; }
Property Value
TypeDescription
RevisionBlueprintOneofCase

Build

public string Build { get; set; }

Output only. Cloud Build instance UUID associated with this revision.

Property Value
TypeDescription
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time when the revision was created.

Property Value
TypeDescription
Timestamp

ErrorCode

public Revision.Types.ErrorCode ErrorCode { get; set; }

Output only. Code describing any errors that may have occurred.

Property Value
TypeDescription
RevisionTypesErrorCode

ErrorLogs

public string ErrorLogs { get; set; }

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

Property Value
TypeDescription
string

ImportExistingResources

public bool ImportExistingResources { get; set; }

Output only. 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.

Property Value
TypeDescription
bool

Logs

public string Logs { get; set; }

Output only. Location of Revision operation logs in gs://{bucket}/{object} format.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

Property Value
TypeDescription
string

QuotaValidation

public QuotaValidation QuotaValidation { get; set; }

Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

Property Value
TypeDescription
QuotaValidation

QuotaValidationResults

public string QuotaValidationResults { get; set; }

Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: gs://{bucket}/{object}.

Property Value
TypeDescription
string

RevisionName

public RevisionName RevisionName { get; set; }

RevisionName-typed view over the Name resource name property.

Property Value
TypeDescription
RevisionName

ServiceAccount

public string ServiceAccount { get; set; }

Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

Property Value
TypeDescription
string

ServiceAccountAsServiceAccountName

public ServiceAccountName ServiceAccountAsServiceAccountName { get; set; }

ServiceAccountName-typed view over the ServiceAccount resource name property.

Property Value
TypeDescription
ServiceAccountName

State

public Revision.Types.State State { get; set; }

Output only. Current state of the revision.

Property Value
TypeDescription
RevisionTypesState

StateDetail

public string StateDetail { get; set; }

Output only. Additional info regarding the current state.

Property Value
TypeDescription
string

TerraformBlueprint

public TerraformBlueprint TerraformBlueprint { get; set; }

Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

Property Value
TypeDescription
TerraformBlueprint

TfErrors

public RepeatedField<TerraformError> TfErrors { get; }

Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

Property Value
TypeDescription
RepeatedFieldTerraformError

TfVersion

public string TfVersion { get; set; }

Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

Property Value
TypeDescription
string

TfVersionConstraint

public string TfVersionConstraint { get; set; }

Output only. The user-specified Terraform version constraint. Example: "=1.3.10".

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time when the revision was last modified.

Property Value
TypeDescription
Timestamp

WorkerPool

public string WorkerPool { get; set; }

Output only. 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.

Property Value
TypeDescription
string

WorkerPoolAsWorkerPoolName

public WorkerPoolName WorkerPoolAsWorkerPoolName { get; set; }

WorkerPoolName-typed view over the WorkerPool resource name property.

Property Value
TypeDescription
WorkerPoolName