PreventionDiscoveryConfigState class
Input properties used for looking up and filtering PreventionDiscoveryConfig resources.
Constructors
-
PreventionDiscoveryConfigState({Input<
List< ? actions, Input<PreventionDiscoveryConfigAction> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<List< ? errors, Input<PreventionDiscoveryConfigError> ?>List< ? inspectTemplates, Input<String> ?>String?> ? lastRunTime, Input<String?> ? location, Input<String?> ? name, Input<PreventionDiscoveryConfigOrgConfig?> ? orgConfig, Input<PreventionDiscoveryConfigOtherCloudStartingLocation?> ? otherCloudStartingLocation, Input<String?> ? parent, Input<String?> ? status, Input<List< ? targets, Input<PreventionDiscoveryConfigTarget> ?>String?> ? updateTime}) -
Creates a new PreventionDiscoveryConfigState.
actionsActions to execute at the completion of scanningcreateTimeOutput only. The creation timestamp of a DiscoveryConfig.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameDisplay Name (max 1000 Chars)errorsOutput only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.inspectTemplatesDetection logic for profile generationlastRunTimeOutput only. The timestamp of the last time this config was executedlocationLocation to create the discovery config in.nameUnique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.orgConfigA nested object resource.otherCloudStartingLocationA nested object resource.parentThe parent of the discovery config in any of the following formats:statusRequired. A status for this configurationtargetsTarget to match against for determining what to scan and how frequentlyupdateTimeOutput only. The last update timestamp of a DiscoveryConfig.const -
PreventionDiscoveryConfigState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
actions
→ Input<
List< ?PreventionDiscoveryConfigAction> ?> -
Actions to execute at the completion of scanning
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
Output only. The creation timestamp of a DiscoveryConfig.
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
-
displayName
→ Input<
String?> ? -
Display Name (max 1000 Chars)
final
-
errors
→ Input<
List< ?PreventionDiscoveryConfigError> ?> -
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inspectTemplates
→ Input<
List< ?String> ?> -
Detection logic for profile generation
final
-
lastRunTime
→ Input<
String?> ? -
Output only. The timestamp of the last time this config was executed
final
-
location
→ Input<
String?> ? -
Location to create the discovery config in.
final
-
name
→ Input<
String?> ? -
Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
final
-
orgConfig
→ Input<
PreventionDiscoveryConfigOrgConfig?> ? -
A nested object resource.
Structure is documented below.
final
-
otherCloudStartingLocation
→ Input<
PreventionDiscoveryConfigOtherCloudStartingLocation?> ? -
A nested object resource.
Structure is documented below.
final
-
parent
→ Input<
String?> ? -
The parent of the discovery config in any of the following formats:
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Input<
String?> ? -
Required. A status for this configuration
Possible values are:
RUNNING,PAUSED.final -
targets
→ Input<
List< ?PreventionDiscoveryConfigTarget> ?> -
Target to match against for determining what to scan and how frequently
Structure is documented below.
final
-
updateTime
→ Input<
String?> ? -
Output only. The last update timestamp of a DiscoveryConfig.
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