[英]Unable to create PostgreSQL server with Azure CLI
我正在嘗試使用以下命令創建一個 PosgreSQL 服務器
az postgres server create --resource-group MyResourceGroup --name testdbxxxyyyzzz_743569812 --location westeurope --admin-user postgres --admin-password postgres --sku-name B_Gen5_1
我看到這條消息
Checking the existence of the resource group 'MyResourceGroup'...
Resource group 'MyResourceGroup' exists ? : True
The server name 'testdbxxxyyyzzz_743569812' already exists.Please re-run command with some other server name.
我嘗試使用的任何名稱都會發生這種情況。 我做錯了什么,或者至少可以幫助我進一步調查這個問題? Azure CLI 是否有任何詳細模式?
已解決:服務器名稱只能包含小寫字母、數字和連字符(-)字符,將名稱更改為“testdbxxxyyyzzz743569812”后一切正常。 該消息完全具有誤導性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.