OnPremisesConfigurationResponse.fromMap constructor

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

Implementation

factory OnPremisesConfigurationResponse.fromMap(Map<String, dynamic> map) {
  return OnPremisesConfigurationResponse(
    caCertificate: pulumi.Input.fromValue(map['caCertificate'] as String),
    clientCertificate: pulumi.Input.fromValue(map['clientCertificate'] as String),
    clientKey: pulumi.Input.fromValue(map['clientKey'] as String),
    dumpFilePath: pulumi.Input.fromValue(map['dumpFilePath'] as String),
    hostPort: pulumi.Input.fromValue(map['hostPort'] as String),
    kind: pulumi.Input.fromValue(map['kind'] as String),
    password: pulumi.Input.fromValue(map['password'] as String),
    sourceInstance: pulumi.Input.fromValue(InstanceReferenceResponse.fromMap((map['sourceInstance']! as Map).cast<String, dynamic>())),
    username: pulumi.Input.fromValue(map['username'] as String),
  );
}