toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'applianceMappings': ?pulumi.Input.mapOptionalInputValue<List<InterconnectAttachmentL2ForwardingApplianceMapping>, List<Map<String, dynamic>>>(applianceMappings, (value) => pulumi.Input.encodeList<InterconnectAttachmentL2ForwardingApplianceMapping, Map<String, dynamic>>(value, (value) => value.toMap())),
    'defaultApplianceIpAddress': ?defaultApplianceIpAddress,
    'geneveHeader': ?pulumi.Input.mapOptionalInputValue<InterconnectAttachmentL2ForwardingGeneveHeader, Map<String, dynamic>>(geneveHeader, (value) => value.toMap()),
    'network': ?network,
    'tunnelEndpointIpAddress': ?tunnelEndpointIpAddress,
  };
}