InstanceArgs class

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

Constructors

InstanceArgs({Input<String>? authorizedNetwork, Input<String>? displayName, required Input<String> instanceId, Input<List<InstanceMessage>>? instanceMessages, Input<Map<String, String>>? labels, Input<String>? location, Input<GoogleCloudMemcacheV1MaintenancePolicy>? maintenancePolicy, Input<InstanceMemcacheVersion>? memcacheVersion, Input<String>? name, required Input<NodeConfig> nodeConfig, required Input<int> nodeCount, Input<MemcacheParameters>? parameters, Input<String>? project, Input<List<String>>? reservedIpRangeId, Input<List<String>>? zones})
Creates a new InstanceArgs. authorizedNetwork The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used. displayName User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters. instanceId Required. The logical name of the Memcached instance in the user project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the user project / location. If any of the above are not met, the API raises an invalid argument error. instanceMessages List of messages that describe the current state of the Memcached instance. labels Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources location Optional. maintenancePolicy The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule. memcacheVersion 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. name Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} Note: Memcached instances are managed and addressed at the regional level so location_id here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details. nodeConfig Configuration for Memcached nodes. nodeCount Number of nodes in the Memcached instance. parameters User defined parameters to apply to the memcached process on each node. project Optional. reservedIpRangeId Optional. Contains the id 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. zones Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
const
InstanceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

authorizedNetwork → Input<String>?
The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.
final
displayName → Input<String>?
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceId → Input<String>
Required. The logical name of the Memcached instance in the user project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the user project / location. If any of the above are not met, the API raises an invalid argument error.
final
instanceMessages → Input<List<InstanceMessage>>?
List of messages that describe the current state of the Memcached instance.
final
labels → Input<Map<String, String>>?
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
final
location → Input<String>?
final
maintenancePolicy → Input<GoogleCloudMemcacheV1MaintenancePolicy>?
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
final
memcacheVersion → Input<InstanceMemcacheVersion>?
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.
final
name → Input<String>?
Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} Note: Memcached instances are managed and addressed at the regional level so location_id here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.
final
nodeConfig → Input<NodeConfig>
Configuration for Memcached nodes.
final
nodeCount → Input<int>
Number of nodes in the Memcached instance.
final
parameters → Input<MemcacheParameters>?
User defined parameters to apply to the memcached process on each node.
final
project → Input<String>?
final
reservedIpRangeId → Input<List<String>>?
Optional. Contains the id 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 in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
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