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< ? effectiveLabels, Input<String, String> ?>Map< ? labels, Input<String, String> ?>InstanceMaintenancePolicy?> ? maintenancePolicy, Input<List< ? maintenanceSchedules, Input<InstanceMaintenanceSchedule> ?>String?> ? memcacheFullVersion, Input<List< ? memcacheNodes, Input<InstanceMemcacheNode> ?>InstanceMemcacheParameters?> ? memcacheParameters, Input<String?> ? memcacheVersion, Input<String?> ? name, Input<InstanceNodeConfig?> ? nodeConfig, Input<int?> ? nodeCount, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? region, Input<List< ? reservedIpRangeIds, Input<String> ?>List< ? zones})String> ?> -
Creates a new InstanceState.
authorizedNetworkThe full name of the GCE network to connect the instance to. If not provided,createTimeCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deletionProtectionWhether Terraform will be prevented from destroying the instance.discoveryEndpointEndpoint for Discovery APIdisplayNameA user-visible name for the instance.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.labelsResource labels to represent user-provided metadata.maintenancePolicyMaintenance policy for an instance.maintenanceSchedulesOutput only. Published maintenance schedule.memcacheFullVersionThe full version of memcached server running on this instance.memcacheNodesAdditional information about the instance state, if available.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.pulumiLabelsThe combination of labels configured directly on the resourceregionThe 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 -
InstanceState.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
-
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 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 -
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