EndpointConfigurationShadowProductionVariantManagedInstanceScaling.fromMap constructor
EndpointConfigurationShadowProductionVariantManagedInstanceScaling.fromMap()
Implementation
factory EndpointConfigurationShadowProductionVariantManagedInstanceScaling.fromMap(Map<String, dynamic> map) {
return EndpointConfigurationShadowProductionVariantManagedInstanceScaling(
maxInstanceCount: (() { final guardedValue = map['maxInstanceCount']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
minInstanceCount: (() { final guardedValue = map['minInstanceCount']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
status: (() { final guardedValue = map['status']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}