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()),
    'availableFeatures': ?availableFeatures,
    'circuitInfos': ?pulumi.Input.mapOptionalInputValue<List<InterconnectCircuitInfo>, List<Map<String, dynamic>>>(circuitInfos, (value) => pulumi.Input.encodeList<InterconnectCircuitInfo, Map<String, dynamic>>(value, (value) => value.toMap())),
    'creationTimestamp': ?creationTimestamp,
    'customerName': ?customerName,
    'deletionPolicy': ?deletionPolicy,
    'description': ?description,
    'effectiveLabels': ?effectiveLabels,
    'effectiveLocation': ?effectiveLocation,
    'expectedOutages': ?pulumi.Input.mapOptionalInputValue<List<InterconnectExpectedOutage>, List<Map<String, dynamic>>>(expectedOutages, (value) => pulumi.Input.encodeList<InterconnectExpectedOutage, Map<String, dynamic>>(value, (value) => value.toMap())),
    'googleIpAddress': ?googleIpAddress,
    'googleReferenceId': ?googleReferenceId,
    'interconnectAttachments': ?interconnectAttachments,
    'interconnectGroups': ?interconnectGroups,
    'interconnectType': ?interconnectType,
    'labelFingerprint': ?labelFingerprint,
    'labels': ?labels,
    'linkType': ?linkType,
    'location': ?location,
    'macsec': ?pulumi.Input.mapOptionalInputValue<InterconnectMacsec, Map<String, dynamic>>(macsec, (value) => value.toMap()),
    'macsecEnabled': ?macsecEnabled,
    'name': ?name,
    'nocContactEmail': ?nocContactEmail,
    'operationalStatus': ?operationalStatus,
    'params': ?pulumi.Input.mapOptionalInputValue<InterconnectParams, Map<String, dynamic>>(params, (value) => value.toMap()),
    'peerIpAddress': ?peerIpAddress,
    'project': ?project,
    'provisionedLinkCount': ?provisionedLinkCount,
    'pulumiLabels': ?pulumiLabels,
    'remoteLocation': ?remoteLocation,
    'requestedFeatures': ?requestedFeatures,
    'requestedLinkCount': ?requestedLinkCount,
    'satisfiesPzs': ?satisfiesPzs,
    'state': ?state,
    'wireGroups': ?wireGroups,
  };
}