I want to create a gcloud SQL database from the command line. I have tried the following:
gcloud beta sql instances create <name> --region us-east1 --project <project-name> --activation-policy=ALWAYS
After it's done, in the console I see a first generation SQL instance was created. Is there a way to create a 2nd generation Cloud SQL instance without entering the web console?