InstanceConfigState class
Input properties used for looking up and filtering InstanceConfig resources.
Constructors
-
InstanceConfigState({Input<
String?> ? baseConfig, Input<String?> ? configType, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? effectiveLabels, Input<String, String> ?>Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>List< ? replicas})InstanceConfigReplica> ?> -
Creates a new InstanceConfigState.
baseConfigBase configuration name, e.g. nam3, based on which this configuration is created.configTypeOutput only. Whether this instance config is a Google or User Managed Configuration.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameThe name of this instance configuration as it appears in UIs.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.labelsAn object containing a list of "key": value pairs.nameA unique identifier for the instance configuration. Values are of theprojectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcereplicasThe geographic placement of nodes in this instance configuration and their replication properties.const -
InstanceConfigState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
baseConfig
→ Input<
String?> ? -
Base configuration name, e.g. nam3, based on which this configuration is created.
Only set for user managed configurations.
baseConfig must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration.
final
-
configType
→ Input<
String?> ? -
Output only. Whether this instance config is a Google or User Managed Configuration.
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
-
displayName
→ Input<
String?> ? -
The name of this instance configuration as it appears in UIs.
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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
final
-
name
→ Input<
String?> ? -
A unique identifier for the instance configuration. Values are of the
form projects/<project>/instanceConfigs/
-a-z0-9*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
-
replicas
→ Input<
List< ?InstanceConfigReplica> ?> -
The geographic placement of nodes in this instance configuration and their replication properties.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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