toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'destinationPorts': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort>, List<Map<String, dynamic>>>(destinationPorts, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestinationPort, Map<String, dynamic>>(value, (value) => value.toMap())),
'destinations': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination>, List<Map<String, dynamic>>>(destinations, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesDestination, Map<String, dynamic>>(value, (value) => value.toMap())),
'protocols': ?protocols,
'sourcePorts': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort>, List<Map<String, dynamic>>>(sourcePorts, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSourcePort, Map<String, dynamic>>(value, (value) => value.toMap())),
'sources': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource>, List<Map<String, dynamic>>>(sources, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesSource, Map<String, dynamic>>(value, (value) => value.toMap())),
'tcpFlags': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag>, List<Map<String, dynamic>>>(tcpFlags, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionMatchAttributesTcpFlag, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}