ProtectConfig class

ProtectConfig defines the flags needed to enable/disable features for the Protect API.

Constructors

ProtectConfig({Input<WorkloadConfig>? workloadConfig, Input<ProtectConfigWorkloadVulnerabilityMode>? workloadVulnerabilityMode})
Creates a new ProtectConfig. workloadConfig WorkloadConfig defines which actions are enabled for a cluster's workload configurations. workloadVulnerabilityMode Sets which mode to use for Protect workload vulnerability scanning feature.
const
ProtectConfig.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
workloadConfig → Input<WorkloadConfig>?
WorkloadConfig defines which actions are enabled for a cluster's workload configurations.
final
workloadVulnerabilityMode → Input<ProtectConfigWorkloadVulnerabilityMode>?
Sets which mode to use for Protect workload vulnerability scanning feature.
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