DatastoreState class
Input properties used for looking up and filtering Datastore resources.
Constructors
-
DatastoreState({Input<
List< ? clusters, Input<String> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? location, Input<String?> ? name, Input<DatastoreNfsDatastore?> ? nfsDatastore, Input<String?> ? project, Input<String?> ? state, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new DatastoreState.
clustersClusters to which the datastore is attached.createTimeCreation time of this resource.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-provided description for this datastorelocationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.nameThe user-provided identifier of the datastore to be created.nfsDatastoreThe NFS datastore configuration.projectThe ID of the project in which the resource belongs.stateThe state of the Datastore.uidSystem-generated unique identifier for the resource.updateTimeLast update time of this resource.const -
DatastoreState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clusters
→ Input<
List< ?String> ?> -
Clusters to which the datastore is attached.
final
-
createTime
→ Input<
String?> ? -
Creation time of this resource.
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
-
description
→ Input<
String?> ? -
User-provided description for this datastore
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
name
→ Input<
String?> ? -
The user-provided identifier of the datastore to be created.
This identifier must be unique among each
Datastorewithin the parent and becomes the final token in the name URI. The identifier must meet the following requirements:final -
nfsDatastore
→ Input<
DatastoreNfsDatastore?> ? -
The NFS datastore configuration.
Structure is documented below.
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
The state of the Datastore.
Possible values:
CREATING
ACTIVE
UPDATING
DELETING
SOFT_DELETING
SOFT_DELETED
final
-
uid
→ Input<
String?> ? -
System-generated unique identifier for the resource.
final
-
updateTime
→ Input<
String?> ? -
Last update time of this resource.
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