InstanceState class

Input properties used for looking up and filtering Instance resources.

Constructors

InstanceState({Input<String?>? authorizedNetwork, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? discoveryEndpoint, Input<String?>? displayName, Input<Map<String, String>?>? effectiveLabels, Input<Map<String, String>?>? labels, Input<InstanceMaintenancePolicy?>? maintenancePolicy, Input<List<InstanceMaintenanceSchedule>?>? maintenanceSchedules, Input<String?>? memcacheFullVersion, Input<List<InstanceMemcacheNode>?>? memcacheNodes, Input<InstanceMemcacheParameters?>? memcacheParameters, Input<String?>? memcacheVersion, Input<String?>? name, Input<InstanceNodeConfig?>? nodeConfig, Input<int?>? nodeCount, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? region, Input<List<String>?>? reservedIpRangeIds, Input<List<String>?>? zones})
Creates a new InstanceState. authorizedNetwork The full name of the GCE network to connect the instance to. If not provided, createTime Creation timestamp in RFC3339 text format. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the instance. discoveryEndpoint Endpoint for Discovery API displayName A user-visible name for the instance. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. labels Resource labels to represent user-provided metadata. maintenancePolicy Maintenance policy for an instance. maintenanceSchedules Output only. Published maintenance schedule. memcacheFullVersion The full version of memcached server running on this instance. memcacheNodes Additional information about the instance state, if available. 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. pulumiLabels The combination of labels configured directly on the resource 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
InstanceState.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
createTime → Input<String?>?
Creation timestamp in RFC3339 text format.
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
discoveryEndpoint → Input<String?>?
Endpoint for Discovery API
final
displayName → Input<String?>?
A user-visible name for the instance.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
maintenanceSchedules → Input<List<InstanceMaintenanceSchedule>?>?
Output only. Published maintenance schedule. Structure is documented below.
final
memcacheFullVersion → Input<String?>?
The full version of memcached server running on this instance.
final
memcacheNodes → Input<List<InstanceMemcacheNode>?>?
Additional information about the instance state, if available. 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
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
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