InstanceArgs constructor
- Input<
String?> ? authorizedNetwork, - Input<
String?> ? deletionPolicy, - Input<
bool?> ? deletionProtection, - Input<
String?> ? displayName, - Input<
Map< ? labels,String, String> ?> - 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< ? reservedIpRangeIds,String> ?> - Input<
List< ? zones,String> ?>
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
Implementation
const InstanceArgs({
this.authorizedNetwork,
this.deletionPolicy,
this.deletionProtection,
this.displayName,
this.labels,
this.maintenancePolicy,
this.memcacheParameters,
this.memcacheVersion,
this.name,
required this.nodeConfig,
required this.nodeCount,
this.project,
this.region,
this.reservedIpRangeIds,
this.zones,
});