toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'connectionPreference': connectionPreference,
'consumerAcceptLists': ?pulumi.Input.mapOptionalInputValue<List<ServiceAttachmentConsumerAcceptList>, List<Map<String, dynamic>>>(consumerAcceptLists, (value) => pulumi.Input.encodeList<ServiceAttachmentConsumerAcceptList, Map<String, dynamic>>(value, (value) => value.toMap())),
'consumerRejectLists': ?consumerRejectLists,
'deletionPolicy': ?deletionPolicy,
'description': ?description,
'domainNames': ?domainNames,
'enableProxyProtocol': enableProxyProtocol,
'name': ?name,
'natSubnets': natSubnets,
'project': ?project,
'propagatedConnectionLimit': ?propagatedConnectionLimit,
'reconcileConnections': ?reconcileConnections,
'region': ?region,
'sendPropagatedConnectionLimitIfZero': ?sendPropagatedConnectionLimitIfZero,
'showNatIps': ?showNatIps,
'targetService': targetService,
'tunnelingConfig': ?pulumi.Input.mapOptionalInputValue<ServiceAttachmentTunnelingConfig, Map<String, dynamic>>(tunnelingConfig, (value) => value.toMap()),
};
}