toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'balancingMode': ?balancingMode,
    'capacityScaler': ?capacityScaler,
    'customMetrics': ?pulumi.Input.mapOptionalInputValue<List<BackendServiceBackendCustomMetric>, List<Map<String, dynamic>>>(customMetrics, (value) => pulumi.Input.encodeList<BackendServiceBackendCustomMetric, 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,
  };
}