AiPersistentResourcePscInterfaceConfig.fromMap constructor
AiPersistentResourcePscInterfaceConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory AiPersistentResourcePscInterfaceConfig.fromMap(Map<String, dynamic> map) {
return AiPersistentResourcePscInterfaceConfig(
dnsPeeringConfigs: (() { final guardedValue = map['dnsPeeringConfigs']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<AiPersistentResourcePscInterfaceConfigDnsPeeringConfig>(guardedValue, (value) => AiPersistentResourcePscInterfaceConfigDnsPeeringConfig.fromMap((value as Map).cast<String, dynamic>()))); })(),
networkAttachment: (() { final guardedValue = map['networkAttachment']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}