AssetState class
Input properties used for looking up and filtering Asset resources.
Constructors
-
AssetState({Input<
String?> ? createTime, Input<String?> ? dataplexZone, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<AssetDiscoverySpec?> ? discoverySpec, Input<List< ? discoveryStatuses, Input<AssetDiscoveryStatus> ?>String?> ? displayName, Input<Map< ? effectiveLabels, Input<String, String> ?>Map< ? labels, Input<String, String> ?>String?> ? lake, Input<String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>AssetResourceSpec?> ? resourceSpec, Input<List< ? resourceStatuses, Input<AssetResourceStatus> ?>List< ? securityStatuses, Input<AssetSecurityStatus> ?>String?> ? state, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new AssetState.
createTimeOutput only. The time when the asset was created.dataplexZoneThe zone for the resourcedeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionOptional. Description of the asset.discoverySpecRequired. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.discoveryStatusesOutput only. Status of the discovery feature applied to data referenced by this asset.displayNameOptional. User friendly display name.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.labelsOptional. User defined labels for the asset.lakeThe lake for the resourcelocationThe location for the resourcenameThe name of the asset.projectThe project for the resourcepulumiLabelsThe combination of labels configured directly on the resource and default labels configured on the provider.resourceSpecRequired. Immutable. Specification of the resource that is referenced by this asset.resourceStatusesOutput only. Status of the resource referenced by this asset.securityStatusesOutput only. Status of the security policy applied to resource referenced by this asset.stateOutput only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIREDuidOutput only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.updateTimeOutput only. The time when the asset was last updated.const -
AssetState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
Output only. The time when the asset was created.
final
-
dataplexZone
→ Input<
String?> ? -
The zone for the 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?> ? -
Optional. Description of the asset.
final
-
discoverySpec
→ Input<
AssetDiscoverySpec?> ? -
Required. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
final
-
discoveryStatuses
→ Input<
List< ?AssetDiscoveryStatus> ?> -
Output only. Status of the discovery feature applied to data referenced by this asset.
final
-
displayName
→ Input<
String?> ? -
Optional. User friendly display name.
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> ?> -
Optional. User defined labels for the asset.
final
-
lake
→ Input<
String?> ? -
The lake for the resource
final
-
location
→ Input<
String?> ? -
The location for the resource
final
-
name
→ Input<
String?> ? -
The name of the asset.
final
-
project
→ Input<
String?> ? -
The project for the resource
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource and default labels configured on the provider.
final
-
resourceSpec
→ Input<
AssetResourceSpec?> ? -
Required. Immutable. Specification of the resource that is referenced by this asset.
final
-
resourceStatuses
→ Input<
List< ?AssetResourceStatus> ?> -
Output only. Status of the resource referenced by this asset.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityStatuses
→ Input<
List< ?AssetSecurityStatus> ?> -
Output only. Status of the security policy applied to resource referenced by this asset.
final
-
state
→ Input<
String?> ? -
Output only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
final
-
uid
→ Input<
String?> ? -
Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.
final
-
updateTime
→ Input<
String?> ? -
Output only. The time when the asset was last updated.
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