toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'bgp': bgp.toMap(),
    'bgpPeers': pulumi.Input.encodeList<RouterBgpPeerResponse, Map<String, dynamic>>(bgpPeers, (value) => value.toMap()),
    'creationTimestamp': creationTimestamp,
    'description': description,
    'encryptedInterconnectRouter': encryptedInterconnectRouter,
    'interfaces': pulumi.Input.encodeList<RouterInterfaceResponse, Map<String, dynamic>>(interfaces, (value) => value.toMap()),
    'kind': kind,
    'md5AuthenticationKeys': pulumi.Input.encodeList<RouterMd5AuthenticationKeyResponse, Map<String, dynamic>>(md5AuthenticationKeys, (value) => value.toMap()),
    'name': name,
    'nats': pulumi.Input.encodeList<RouterNatResponse, Map<String, dynamic>>(nats, (value) => value.toMap()),
    'network': network,
    'region': region,
    'selfLink': selfLink,
    'selfLinkWithId': selfLinkWithId,
  };
}