SourceState class
Input properties used for looking up and filtering Source resources.
Constructors
-
SourceState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? displayName, Input<int?> ? errorFrameCount, Input<String?> ? location, Input<bool?> ? managed, Input<String?> ? name, Input<int?> ? pendingFrameCount, Input<int?> ? priority, Input<String?> ? project, Input<String?> ? sourceId, Input<String?> ? state, Input<String?> ? type, Input<String?> ? updateTime}) -
Creates a new SourceState.
createTimeThe timestamp when the source was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionFree-text description.displayNameUser-friendly display name.errorFrameCountThe number of frames that were reported by the source and contained errors.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.managedIftrue, the source is managed by other service(s).nameThe full name of the source.pendingFrameCountNumber of frames that are still being processed.priorityThe information confidence of the source.projectThe ID of the project in which the resource belongs.sourceIdUser specified ID for the source. It will become the last component of thestateThe state of the source.typeData source type.updateTimeThe timestamp when the source was last updated.const -
SourceState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
The timestamp when the source was created.
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?> ? -
Free-text description.
final
-
displayName
→ Input<
String?> ? -
User-friendly display name.
final
-
errorFrameCount
→ Input<
int?> ? -
The number of frames that were reported by the source and contained errors.
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 -
managed
→ Input<
bool?> ? -
If
true, the source is managed by other service(s).final -
name
→ Input<
String?> ? -
The full name of the source.
final
-
pendingFrameCount
→ Input<
int?> ? -
Number of frames that are still being processed.
final
-
priority
→ Input<
int?> ? -
The information confidence of the source.
The higher the value, the higher the confidence.
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
-
sourceId
→ Input<
String?> ? -
User specified ID for the source. It will become the last component of the
source name. The ID must be unique within the project, must conform with
RFC-1034, is restricted to lower-cased letters, and has a maximum
length of 63 characters. The ID must match the
regular expression:
a-z?.final -
state
→ Input<
String?> ? -
The state of the source.
Possible values:
ACTIVE
DELETING
INVALID
final
-
type
→ Input<
String?> ? -
Data source type.
Possible values:
SOURCE_TYPE_UNKNOWN
SOURCE_TYPE_UPLOAD
SOURCE_TYPE_GUEST_OS_SCAN
SOURCE_TYPE_INVENTORY_SCAN
SOURCE_TYPE_CUSTOM
SOURCE_TYPE_DISCOVERY_CLIENT
final
-
updateTime
→ Input<
String?> ? -
The timestamp when the source 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