Web Services - List Keys
取得指定 Web 服務的存取金鑰。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/listKeys?api-version=2016-05-01-preview
URI 參數
| 名稱 | 位於 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string |
Web 服務所在的資源群組名稱。 |
|
subscription
|
path | True |
string |
Azure 訂閱識別碼。 |
|
web
|
path | True |
string |
Web 服務的名稱。 |
|
api-version
|
query | True |
string |
要使用的 Microsoft.MachineLearning 資源提供者 API 版本。 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK |
成功。 Media Types: "application/json", "text/json" |
定義
WebServiceKeys
Web 服務呼叫的存取金鑰。
| 名稱 | 類型 | Description |
|---|---|---|
| primary |
string |
主要存取金鑰。 |
| secondary |
string |
次要存取金鑰。 |