InstanceArgs

data class InstanceArgs(val authorizedNetwork: Output<String>? = null, val displayName: Output<String>? = null, val instanceId: Output<String>? = null, val instanceMessages: Output<List<InstanceMessageArgs>>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val maintenancePolicy: Output<GoogleCloudMemcacheV1beta2MaintenancePolicyArgs>? = null, val memcacheVersion: Output<InstanceMemcacheVersion>? = null, val name: Output<String>? = null, val nodeConfig: Output<NodeConfigArgs>? = null, val nodeCount: Output<Int>? = null, val parameters: Output<MemcacheParametersArgs>? = null, val project: Output<String>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<InstanceArgs>

Creates a new Instance in a given location.

Constructors

Link copied to clipboard
fun InstanceArgs(authorizedNetwork: Output<String>? = null, displayName: Output<String>? = null, instanceId: Output<String>? = null, instanceMessages: Output<List<InstanceMessageArgs>>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, maintenancePolicy: Output<GoogleCloudMemcacheV1beta2MaintenancePolicyArgs>? = null, memcacheVersion: Output<InstanceMemcacheVersion>? = null, name: Output<String>? = null, nodeConfig: Output<NodeConfigArgs>? = null, nodeCount: Output<Int>? = null, parameters: Output<MemcacheParametersArgs>? = null, project: Output<String>? = null, zones: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs

Properties

Link copied to clipboard
val authorizedNetwork: Output<String>? = null

The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.

Link copied to clipboard
val displayName: Output<String>? = null

User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.

Link copied to clipboard
val instanceId: Output<String>? = null

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.

Link copied to clipboard

List of messages that describe the current state of the Memcached instance.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard

The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.

Link copied to clipboard

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.

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard
val nodeConfig: Output<NodeConfigArgs>? = null

Configuration for Memcached nodes.

Link copied to clipboard
val nodeCount: Output<Int>? = null

Number of nodes in the Memcached instance.

Link copied to clipboard
val parameters: Output<MemcacheParametersArgs>? = null

User defined parameters to apply to the memcached process on each node.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val zones: Output<List<String>>? = null

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.