InstanceArgs class

The set of arguments for Instance. The set of arguments for Instance.

Constructors

InstanceArgs({Input<String?>? authorizedNetwork, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? displayName, Input<Map<String, String>?>? labels, Input<InstanceMaintenancePolicy?>? maintenancePolicy, Input<InstanceMemcacheParameters?>? memcacheParameters, Input<String?>? memcacheVersion, Input<String?>? name, required Input<InstanceNodeConfig> nodeConfig, required Input<int> nodeCount, Input<String?>? project, Input<String?>? region, Input<List<String>?>? reservedIpRangeIds, Input<List<String>?>? zones})
Creates a new InstanceArgs. authorizedNetwork The full name of the GCE network to connect the instance to. If not provided, deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the instance. displayName A user-visible name for the instance. labels Resource labels to represent user-provided metadata. maintenancePolicy Maintenance policy for an instance. memcacheParameters User-specified parameters for this memcache instance. memcacheVersion The major version of Memcached software. If not provided, latest supported version will be used. name The resource name of the instance. nodeConfig Configuration for memcache nodes. nodeCount Number of nodes in the memcache instance. project The ID of the project in which the resource belongs. region The region of the Memcache instance. If it is not provided, the provider region is used. reservedIpRangeIds Contains the name of allocated IP address ranges associated with zones Zones where memcache nodes should be provisioned. If not
const
InstanceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

authorizedNetwork → Input<String?>?
The full name of the GCE network to connect the instance to. If not provided, 'default' will be used.
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
deletionProtection → Input<bool?>?
Whether Terraform will be prevented from destroying the instance. When a terraform destroy or pulumi up would delete the instance, the command will fail if this field is not set to false in Terraform state. When the field is set to true or unset in Terraform state, a pulumi up or terraform destroy that would delete the instance will fail. When the field is set to false, deleting the instance is allowed.
final
displayName → Input<String?>?
A user-visible name for the instance.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Resource labels to represent user-provided metadata.
final
maintenancePolicy → Input<InstanceMaintenancePolicy?>?
Maintenance policy for an instance. Structure is documented below.
final
memcacheParameters → Input<InstanceMemcacheParameters?>?
User-specified parameters for this memcache instance. Structure is documented below.
final
memcacheVersion → Input<String?>?
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version. Default value is MEMCACHE_1_5. Possible values are: MEMCACHE_1_5, MEMCACHE_1_6_15.
final
name → Input<String?>?
The resource name of the instance.
final
nodeConfig → Input<InstanceNodeConfig>
Configuration for memcache nodes. Structure is documented below.
final
nodeCount → Input<int>
Number of nodes in the memcache instance.
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
region → Input<String?>?
The region of the Memcache instance. If it is not provided, the provider region is used.
final
reservedIpRangeIds → Input<List<String>?>?
Contains the name of allocated IP address ranges associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zones → Input<List<String>?>?
Zones where memcache nodes should be provisioned. If not provided, all zones will be used.
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