AutomationState class
Input properties used for looking up and filtering Automation resources.
Constructors
-
AutomationState({Input<
Map< ? annotations, Input<String, String> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? deliveryPipeline, Input<String?> ? description, Input<Map< ? effectiveAnnotations, Input<String, String> ?>Map< ? effectiveLabels, Input<String, String> ?>String?> ? etag, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>List< ? rules, Input<AutomationRule> ?>AutomationSelector?> ? selector, Input<String?> ? serviceAccount, Input<bool?> ? suspended, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new AutomationState.
annotationsOptional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.createTimeOutput only. Time at which the automation was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deliveryPipelineThe deliveryPipeline for the resourcedescriptionOptional. Description of theAutomation. Max length is 255 characters.effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.etagOptional. The weak etag of theAutomationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.labelsOptional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.locationThe location for the resourcenameName of theAutomation.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcerulesRequired. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.selectorRequired. Selected resources to which the automation will be applied.serviceAccountRequired. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.suspendedOptional. When Suspended, automation is deactivated from execution.uidOutput only. Unique identifier of theAutomation.updateTimeOutput only. Time at which the automation was updated.const -
AutomationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (
/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the fieldeffectiveAnnotationsfor all of the annotations present on the resource.final -
createTime
→ Input<
String?> ? -
Output only. Time at which the automation was created.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
deliveryPipeline
→ Input<
String?> ? -
The deliveryPipeline for the resource
final
-
description
→ Input<
String?> ? -
Optional. Description of the
Automation. Max length is 255 characters.final -
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
etag
→ Input<
String?> ? -
Optional. The weak etag of the
Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String?> ? -
The location for the resource
final
-
name
→ Input<
String?> ? -
Name of the
Automation.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
rules
→ Input<
List< ?AutomationRule> ?> -
Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selector
→ Input<
AutomationSelector?> ? -
Required. Selected resources to which the automation will be applied.
Structure is documented below.
final
-
serviceAccount
→ Input<
String?> ? -
Required. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
final
-
suspended
→ Input<
bool?> ? -
Optional. When Suspended, automation is deactivated from execution.
final
-
uid
→ Input<
String?> ? -
Output only. Unique identifier of the
Automation.final -
updateTime
→ Input<
String?> ? -
Output only. Time at which the automation was updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited