RolloutKindState class
Input properties used for looking up and filtering RolloutKind resources.
Constructors
-
RolloutKindState({Input<
Map< ? annotations, Input<String, String> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<Map< ? effectiveAnnotations, Input<String, String> ?>Map< ? effectiveLabels, Input<String, String> ?>RolloutKindErrorBudget?> ? errorBudget, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? rolloutKindId, Input<String?> ? rolloutOrchestrationStrategy, Input<String?> ? uid, Input<String?> ? unitFilter, Input<String?> ? unitKind, Input<String?> ? updateTime, Input<String?> ? updateUnitKindStrategy}) -
Creates a new RolloutKindState.
annotationsAnnotations is an unstructured key-value map stored with a resource thatcreateTimeThe timestamp when the resource was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.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.errorBudgetThe configuration for error budget. If the number of failed units exceedslabelsThe labels on the resource, which can be used for categorization.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.nameIdentifier. The resource name (full URI of the resource) following the standard namingprojectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcerolloutKindIdThe ID value for the new rollout kind.rolloutOrchestrationStrategyThe strategy used for executing a Rollout. This is a required field.uidThe unique identifier of the resource. UID is unique in the timeunitFilterCEL(https://github.com/google/cel-spec) formatted filter string againstunitKindUnitKind that this rollout kind corresponds to. Rollouts stemming from thisupdateTimeThe timestamp when the resource was last updated. AnyupdateUnitKindStrategyThe config for updating the unit kind. By default, the unit kind will beconst -
RolloutKindState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effectiveAnnotationsfor all of the annotations present on the resource.final -
createTime
→ Input<
String?> ? -
The timestamp when the resource 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
-
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
-
errorBudget
→ Input<
RolloutKindErrorBudget?> ? -
The configuration for error budget. If the number of failed units exceeds
max(allowed_count, allowedRatio * total_units), the rollout will be paused.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
name
→ Input<
String?> ? -
Identifier. The resource name (full URI of the resource) following the standard naming
scheme:
"projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
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
-
rolloutKindId
→ Input<
String?> ? -
The ID value for the new rollout kind.
final
-
rolloutOrchestrationStrategy
→ Input<
String?> ? -
The strategy used for executing a Rollout. This is a required field.
There are two supported values strategies which are used to control a rollout.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uid
→ Input<
String?> ? -
The unique identifier of the resource. UID is unique in the time
and space for this resource within the scope of the service. It is
typically generated by the server on successful creation of a resource
and must not be changed. UID is used to uniquely identify resources
with resource name reuses. This should be a UUID4.
final
-
unitFilter
→ Input<
String?> ? -
CEL(https://github.com/google/cel-spec) formatted filter string against
Unit. The filter will be applied to determine the eligible unit population.
This filter can only reduce, but not expand the scope of the rollout.
final
-
unitKind
→ Input<
String?> ? -
UnitKind that this rollout kind corresponds to. Rollouts stemming from this
rollout kind will target the units of this unit kind. In other words, this
defines the population of target units to be upgraded by rollouts.
final
-
updateTime
→ Input<
String?> ? -
The timestamp when the resource was last updated. Any
change to the resource made by users must refresh this value.
Changes to a resource made by the service should refresh this value.
final
-
updateUnitKindStrategy
→ Input<
String?> ? -
The config for updating the unit kind. By default, the unit kind will be
updated on the rollout start.
Possible values:
UPDATE_UNIT_KIND_STRATEGY_ON_START
UPDATE_UNIT_KIND_STRATEGY_NEVER
Possible values are:
UPDATE_UNIT_KIND_STRATEGY_ON_START,UPDATE_UNIT_KIND_STRATEGY_NEVER.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