SecurityPolicyRuleNetworkMatcherResponseComputeV1.fromMap constructor
SecurityPolicyRuleNetworkMatcherResponseComputeV1.fromMap(
- Map<String, dynamic> map
)
Implementation
factory SecurityPolicyRuleNetworkMatcherResponseComputeV1.fromMap(Map<String, dynamic> map) {
return SecurityPolicyRuleNetworkMatcherResponseComputeV1(
destIpRanges: pulumi.Input.fromValue((map['destIpRanges'] as List).cast<String>()),
destPorts: pulumi.Input.fromValue((map['destPorts'] as List).cast<String>()),
ipProtocols: pulumi.Input.fromValue((map['ipProtocols'] as List).cast<String>()),
srcAsns: pulumi.Input.fromValue((map['srcAsns'] as List).cast<int>()),
srcIpRanges: pulumi.Input.fromValue((map['srcIpRanges'] as List).cast<String>()),
srcPorts: pulumi.Input.fromValue((map['srcPorts'] as List).cast<String>()),
srcRegionCodes: pulumi.Input.fromValue((map['srcRegionCodes'] as List).cast<String>()),
userDefinedFields: pulumi.Input.fromValue(pulumi.Input.decodeList<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseComputeV1>(map['userDefinedFields']!, (value) => SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseComputeV1.fromMap((value as Map).cast<String, dynamic>()))),
);
}