GetServiceTraffic constructor

const GetServiceTraffic({
  1. required Input<int> percent,
  2. required Input<String> revision,
  3. required Input<String> tag,
  4. required Input<String> type,
})

Creates a new GetServiceTraffic. percent Specifies percent of the traffic to this Revision. This defaults to zero if unspecified. revision Revision to which to send this portion of traffic, if traffic allocation is by revision. tag Indicates a string to be part of the URI to exclusively reference this target. type The allocation type for this traffic target. Possible values: "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"

Implementation

const GetServiceTraffic({
  required this.percent,
  required this.revision,
  required this.tag,
  required this.type,
});