GetBackendServiceBackendCustomMetric.fromMap constructor

GetBackendServiceBackendCustomMetric.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetBackendServiceBackendCustomMetric.fromMap(Map<String, dynamic> map) {
  return GetBackendServiceBackendCustomMetric(
    dryRun: pulumi.Input.fromValue(map['dryRun'] as bool),
    maxUtilization: pulumi.Input.fromValue((map['maxUtilization'] as num).toDouble()),
    name: pulumi.Input.fromValue(map['name'] as String),
  );
}