GetAlertPolicyArgs.fromMap constructor

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

Implementation

factory GetAlertPolicyArgs.fromMap(Map<String, dynamic> map) {
  return GetAlertPolicyArgs(
    alertPolicyId: pulumi.Input.fromValue(map['alertPolicyId'] as String),
    project: (() { final guardedValue = map['project']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}