SecurityPolicyRuleMatcherConfigDestinationPortResponse.fromMap constructor

SecurityPolicyRuleMatcherConfigDestinationPortResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SecurityPolicyRuleMatcherConfigDestinationPortResponse.fromMap(Map<String, dynamic> map) {
  return SecurityPolicyRuleMatcherConfigDestinationPortResponse(
    ipProtocol: pulumi.Input.fromValue(map['ipProtocol'] as String),
    ports: pulumi.Input.fromValue((map['ports'] as List).cast<String>()),
  );
}