Serverless Endpoints - List Keys
キーベースの認証を使用してエンドポイントの EndpointAuthKeys を一覧表示します。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}/listKeys?api-version=2025-04-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
name
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ |
サーバーレス エンドポイント名。 |
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前は大文字と小文字が区別されます。 |
subscription
|
path | True |
string minLength: 1 |
ターゲット サブスクリプションの ID。 |
workspace
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ |
Azure Machine Learning ワークスペースの名前。 |
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
成功 |
|
Other Status Codes |
エラー |
例
ListKeys Workspace Serverless Endpoint.
要求のサンプル
POST https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/serverlessEndpoints/string/listKeys?api-version=2025-04-01
応答のサンプル
{
"primaryKey": "string",
"secondaryKey": "string"
}
定義
名前 | 説明 |
---|---|
Endpoint |
エンドポイント認証のキー。 |
Error |
リソース管理エラーの追加情報。 |
Error |
エラーの詳細。 |
Error |
エラー応答 |
EndpointAuthKeys
エンドポイント認証のキー。
名前 | 型 | 説明 |
---|---|---|
primaryKey |
string |
主キー。 |
secondaryKey |
string |
セカンダリ キー。 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
error |
エラー オブジェクト。 |