GetManagedRuleGroupRuleAction.fromMap constructor
GetManagedRuleGroupRuleAction.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetManagedRuleGroupRuleAction.fromMap(Map<String, dynamic> map) {
return GetManagedRuleGroupRuleAction(
allows: pulumi.Input.fromValue(pulumi.Input.decodeList<GetManagedRuleGroupRuleActionAllow>(map['allows']!, (value) => GetManagedRuleGroupRuleActionAllow.fromMap((value as Map).cast<String, dynamic>()))),
blocks: pulumi.Input.fromValue(pulumi.Input.decodeList<GetManagedRuleGroupRuleActionBlock>(map['blocks']!, (value) => GetManagedRuleGroupRuleActionBlock.fromMap((value as Map).cast<String, dynamic>()))),
captchas: pulumi.Input.fromValue(pulumi.Input.decodeList<GetManagedRuleGroupRuleActionCaptcha>(map['captchas']!, (value) => GetManagedRuleGroupRuleActionCaptcha.fromMap((value as Map).cast<String, dynamic>()))),
challenges: pulumi.Input.fromValue(pulumi.Input.decodeList<GetManagedRuleGroupRuleActionChallenge>(map['challenges']!, (value) => GetManagedRuleGroupRuleActionChallenge.fromMap((value as Map).cast<String, dynamic>()))),
counts: pulumi.Input.fromValue(pulumi.Input.decodeList<GetManagedRuleGroupRuleActionCount>(map['counts']!, (value) => GetManagedRuleGroupRuleActionCount.fromMap((value as Map).cast<String, dynamic>()))),
);
}