export enum DisplayCloudId { DO = 'do' , GCP = 'gcp' } export function getCloudIcon ( id ) { switch ( id ) { case DisplayCloudId . DO : return 'images/do_white_logo.svg' ; case DisplayCloudId . GCP : return 'images/gcp-logo.svg' ; default : return null ; } } export function getCloudName ( id ) { switch ( id ) { case DisplayCloudId . DO : return 'DigitalOcean' ; case DisplayCloudId . GCP : return 'Google Cloud Platform' ; default : return null ; } }