GetNetworkInsightsAnalysisForwardPathComponentAclRule.fromMap constructor
GetNetworkInsightsAnalysisForwardPathComponentAclRule.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNetworkInsightsAnalysisForwardPathComponentAclRule.fromMap(Map<String, dynamic> map) {
return GetNetworkInsightsAnalysisForwardPathComponentAclRule(
cidr: pulumi.Input.fromValue(map['cidr'] as String),
egress: pulumi.Input.fromValue(map['egress'] as bool),
portRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<GetNetworkInsightsAnalysisForwardPathComponentAclRulePortRange>(map['portRanges']!, (value) => GetNetworkInsightsAnalysisForwardPathComponentAclRulePortRange.fromMap((value as Map).cast<String, dynamic>()))),
protocol: pulumi.Input.fromValue(map['protocol'] as String),
ruleAction: pulumi.Input.fromValue(map['ruleAction'] as String),
ruleNumber: pulumi.Input.fromValue((map['ruleNumber'] as num).toInt()),
);
}