GetBackendServiceTlsSetting.fromMap constructor

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

Implementation

factory GetBackendServiceTlsSetting.fromMap(Map<String, dynamic> map) {
  return GetBackendServiceTlsSetting(
    authenticationConfig: pulumi.Input.fromValue(map['authenticationConfig'] as String),
    sni: pulumi.Input.fromValue(map['sni'] as String),
    subjectAltNames: pulumi.Input.fromValue(pulumi.Input.decodeList<GetBackendServiceTlsSettingSubjectAltName>(map['subjectAltNames']!, (value) => GetBackendServiceTlsSettingSubjectAltName.fromMap((value as Map).cast<String, dynamic>()))),
  );
}