BackendResponse.fromMap constructor

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

Implementation

factory BackendResponse.fromMap(Map<String, dynamic> map) {
  return BackendResponse(
    balancingMode: pulumi.Input.fromValue(map['balancingMode'] as String),
    capacityScaler: pulumi.Input.fromValue(map['capacityScaler'] as double),
    description: pulumi.Input.fromValue(map['description'] as String),
    failover: pulumi.Input.fromValue(map['failover'] as bool),
    group: pulumi.Input.fromValue(map['group'] as String),
    maxConnections: pulumi.Input.fromValue(map['maxConnections'] as int),
    maxConnectionsPerEndpoint: pulumi.Input.fromValue(map['maxConnectionsPerEndpoint'] as int),
    maxConnectionsPerInstance: pulumi.Input.fromValue(map['maxConnectionsPerInstance'] as int),
    maxRate: pulumi.Input.fromValue(map['maxRate'] as int),
    maxRatePerEndpoint: pulumi.Input.fromValue(map['maxRatePerEndpoint'] as double),
    maxRatePerInstance: pulumi.Input.fromValue(map['maxRatePerInstance'] as double),
    maxUtilization: pulumi.Input.fromValue(map['maxUtilization'] as double),
    preference: pulumi.Input.fromValue(map['preference'] as String),
  );
}