TlsRouteRouteDestinationResponse constructor

const TlsRouteRouteDestinationResponse({
  1. required Input<String> serviceName,
  2. required Input<int> weight,
})

Creates a new TlsRouteRouteDestinationResponse. serviceName The URL of a BackendService to route traffic to. weight Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.

Implementation

const TlsRouteRouteDestinationResponse({
  required this.serviceName,
  required this.weight,
});