toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'aaiEnabled': ?aaiEnabled,
    'adminEnabled': ?adminEnabled,
    'applicationAwareInterconnect': ?pulumi.Input.mapOptionalInputValue<InterconnectApplicationAwareInterconnect, Map<String, dynamic>>(applicationAwareInterconnect, (value) => value.toMap()),
    'customerName': ?customerName,
    'deletionPolicy': ?deletionPolicy,
    'description': ?description,
    'interconnectType': interconnectType,
    'labels': ?labels,
    'linkType': linkType,
    'location': location,
    'macsec': ?pulumi.Input.mapOptionalInputValue<InterconnectMacsec, Map<String, dynamic>>(macsec, (value) => value.toMap()),
    'macsecEnabled': ?macsecEnabled,
    'name': ?name,
    'nocContactEmail': ?nocContactEmail,
    'params': ?pulumi.Input.mapOptionalInputValue<InterconnectParams, Map<String, dynamic>>(params, (value) => value.toMap()),
    'project': ?project,
    'remoteLocation': ?remoteLocation,
    'requestedFeatures': ?requestedFeatures,
    'requestedLinkCount': requestedLinkCount,
  };
}