TemplateState class
Input properties used for looking up and filtering Template resources.
Constructors
-
TemplateState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>TemplateFilterConfig?> ? filterConfig, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? templateId, Input<TemplateTemplateMetadata?> ? templateMetadata, Input<String?> ? updateTime}) -
Creates a new TemplateState.
createTimeCreate time stampdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.filterConfigFilters configuration.labelsLabels as key value pairslocationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.nameIdentifier. name of resourceprojectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcetemplateIdId of the requesting objecttemplateMetadataMessage describing TemplateMetadataupdateTimeUpdate time stampconst -
TemplateState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
Create time stamp
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
-
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
-
filterConfig
→ Input<
TemplateFilterConfig?> ? -
Filters configuration.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
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?> ? -
Identifier. name of resource
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
templateId
→ Input<
String?> ? -
Id of the requesting object
If auto-generating Id server-side, remove this field and
templateId from the methodSignature of Create RPC
final
-
templateMetadata
→ Input<
TemplateTemplateMetadata?> ? -
Message describing TemplateMetadata
Structure is documented below.
final
-
updateTime
→ Input<
String?> ? -
Update time stamp
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