toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'balancingMode': balancingMode,
    'capacityScaler': capacityScaler,
    'customMetrics': pulumi.Input.mapInputValue<List<GetBackendServiceBackendCustomMetric>, List<Map<String, dynamic>>>(customMetrics, (value) => pulumi.Input.encodeList<GetBackendServiceBackendCustomMetric, Map<String, dynamic>>(value, (value) => value.toMap())),
    'description': description,
    'group': group,
    'maxConnections': maxConnections,
    'maxConnectionsPerEndpoint': maxConnectionsPerEndpoint,
    'maxConnectionsPerInstance': maxConnectionsPerInstance,
    'maxInFlightRequests': maxInFlightRequests,
    'maxInFlightRequestsPerEndpoint': maxInFlightRequestsPerEndpoint,
    'maxInFlightRequestsPerInstance': maxInFlightRequestsPerInstance,
    'maxRate': maxRate,
    'maxRatePerEndpoint': maxRatePerEndpoint,
    'maxRatePerInstance': maxRatePerInstance,
    'maxUtilization': maxUtilization,
    'preference': preference,
    'trafficDuration': trafficDuration,
  };
}