ServiceState class
Input properties used for looking up and filtering Service resources.
Constructors
-
ServiceState({Input<
String?> ? deletionPolicy, Input<Map< ? metadata, Input<String, String> ?>String?> ? name, Input<String?> ? namespace, Input<String?> ? serviceId}) -
Creates a new ServiceState.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.metadataMetadata for the service. This data can be consumednameThe resource name for the service in thenamespaceThe resource name of the namespace this service will belong to.serviceIdThe Resource ID must be 1-63 characters long, including digits,const -
ServiceState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Input<
Map< ?String, String> ?> -
Metadata for the service. This data can be consumed
by service clients. The entire metadata dictionary may contain
up to 2000 characters, spread across all key-value pairs.
Metadata that goes beyond any these limits will be rejected.
final
-
name
→ Input<
String?> ? -
The resource name for the service in the
format
projects/*/locations/*/namespaces/*/services/*.final -
namespace
→ Input<
String?> ? -
The resource name of the namespace this service will belong to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceId
→ Input<
String?> ? -
The Resource ID must be 1-63 characters long, including digits,
lowercase letters or the hyphen character.
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