InstanceConfigArgs class

The set of arguments for InstanceConfig. The set of arguments for InstanceConfig.

Constructors

InstanceConfigArgs({Input<String?>? baseConfig, Input<String?>? deletionPolicy, required Input<String> displayName, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? project, required Input<List<InstanceConfigReplica>> replicas})
Creates a new InstanceConfigArgs. baseConfig Base configuration name, e.g. nam3, based on which this configuration is created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. displayName The name of this instance configuration as it appears in UIs. labels An object containing a list of "key": value pairs. name A unique identifier for the instance configuration. Values are of the project The ID of the project in which the resource belongs. replicas The geographic placement of nodes in this instance configuration and their replication properties.
const
InstanceConfigArgs.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
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
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
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