RegionUrlMapPathMatcherPathRuleRouteActionRequestMirrorPolicy.fromMap constructor
RegionUrlMapPathMatcherPathRuleRouteActionRequestMirrorPolicy.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RegionUrlMapPathMatcherPathRuleRouteActionRequestMirrorPolicy.fromMap(Map<String, dynamic> map) {
return RegionUrlMapPathMatcherPathRuleRouteActionRequestMirrorPolicy(
backendService: pulumi.Input.fromValue(map['backendService'] as String),
mirrorPercent: (() { final guardedValue = map['mirrorPercent']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
);
}