toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allowConflictingSubnetworks': allowConflictingSubnetworks,
    'asPaths': pulumi.Input.encodeList<RouteAsPathResponse, Map<String, dynamic>>(asPaths, (value) => value.toMap()),
    'creationTimestamp': creationTimestamp,
    'description': description,
    'destRange': destRange,
    'ilbRouteBehaviorOnUnhealthy': ilbRouteBehaviorOnUnhealthy,
    'kind': kind,
    'name': name,
    'network': network,
    'nextHopGateway': nextHopGateway,
    'nextHopHub': nextHopHub,
    'nextHopIlb': nextHopIlb,
    'nextHopInstance': nextHopInstance,
    'nextHopInterRegionCost': nextHopInterRegionCost,
    'nextHopInterconnectAttachment': nextHopInterconnectAttachment,
    'nextHopIp': nextHopIp,
    'nextHopMed': nextHopMed,
    'nextHopNetwork': nextHopNetwork,
    'nextHopOrigin': nextHopOrigin,
    'nextHopPeering': nextHopPeering,
    'nextHopVpnTunnel': nextHopVpnTunnel,
    'priority': priority,
    'routeStatus': routeStatus,
    'routeType': routeType,
    'selfLink': selfLink,
    'selfLinkWithId': selfLinkWithId,
    'tags': tags,
    'warnings': pulumi.Input.encodeList<RouteWarningsItemResponse, Map<String, dynamic>>(warnings, (value) => value.toMap()),
  };
}