GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRule.fromMap constructor
GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRule.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRule.fromMap(Map<String, dynamic> map) {
return GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRule(
cidr: pulumi.Input.fromValue(map['cidr'] as String),
direction: pulumi.Input.fromValue(map['direction'] as String),
portRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRange>(map['portRanges']!, (value) => GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRange.fromMap((value as Map).cast<String, dynamic>()))),
prefixListId: pulumi.Input.fromValue(map['prefixListId'] as String),
protocol: pulumi.Input.fromValue(map['protocol'] as String),
securityGroupId: pulumi.Input.fromValue(map['securityGroupId'] as String),
);
}