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< ? labels, Input<String, String> ?>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< ? reservedIpRangeIds, Input<String> ?>List< ? zones})String> ?> -
Creates a new InstanceArgs.
authorizedNetworkThe full name of the GCE network to connect the instance to. If not provided,deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deletionProtectionWhether Terraform will be prevented from destroying the instance.displayNameA user-visible name for the instance.labelsResource labels to represent user-provided metadata.maintenancePolicyMaintenance policy for an instance.memcacheParametersUser-specified parameters for this memcache instance.memcacheVersionThe major version of Memcached software. If not provided, latest supported version will be used.nameThe resource name of the instance.nodeConfigConfiguration for memcache nodes.nodeCountNumber of nodes in the memcache instance.projectThe ID of the project in which the resource belongs.regionThe region of the Memcache instance. If it is not provided, the provider region is used.reservedIpRangeIdsContains the name of allocated IP address ranges associated withzonesZones where memcache nodes should be provisioned. If notconst -
InstanceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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 destroyorpulumi upwould 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, apulumi uporterraform destroythat 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