SecurityProfileCustomMirroringProfile.fromMap constructor
SecurityProfileCustomMirroringProfile.fromMap(
- Map<String, dynamic> map
)
Implementation
factory SecurityProfileCustomMirroringProfile.fromMap(Map<String, dynamic> map) {
return SecurityProfileCustomMirroringProfile(
mirroringDeploymentGroups: (() { final guardedValue = map['mirroringDeploymentGroups']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
mirroringEndpointGroup: pulumi.Input.fromValue(map['mirroringEndpointGroup'] as String),
mirroringEndpointGroupType: (() { final guardedValue = map['mirroringEndpointGroupType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}