code: func ParseAzureEnvironment(cloudName string) (*azure.Environment, error) {
  	var env azure.Environment
  	var err error
  	if cloudName == "" {
  		env = azure.PublicCloud
  	} else {
  		env, err = azure.EnvironmentFromName(cloudName)
  	}
  	return &env, err
  }
docs: // ParseAzureEnvironment returns azure environment by name