SourceArgs class
The set of arguments for Source. The set of arguments for Source.
Constructors
-
SourceArgs({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? displayName, required Input<String> location, Input<bool?> ? managed, Input<int?> ? priority, Input<String?> ? project, required Input<String> sourceId, Input<String?> ? type}) -
Creates a new SourceArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionFree-text description.displayNameUser-friendly display name.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).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 thetypeData source type.const -
SourceArgs.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
-
description
→ Input<
String?> ? -
Free-text description.
final
-
displayName
→ Input<
String?> ? -
User-friendly display name.
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 -
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 -
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
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