Compute - List Keys
Machine Learning コンピューティング (ストレージ キー、サービス資格情報など) に関連するシークレットを取得します。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys?api-version=2025-09-01
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
compute
|
path | True |
string |
Azure Machine Learning コンピューティングの名前。 |
|
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 | ComputeSecrets: |
成功。 |
| Other Status Codes |
操作が失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| user_impersonation | ユーザー アカウントを偽装する |
例
List AKS Compute Keys
要求のサンプル
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123/listKeys?api-version=2025-09-01
応答のサンプル
{
"computeType": "AKS",
"userKubeConfig": "user kube config...",
"adminKubeConfig": "admin kube config...",
"imagePullSecretName": "the image pull secret name"
}
定義
| 名前 | 説明 |
|---|---|
|
Aks |
AKS に基づく Machine Learning コンピューティングに関連するシークレット。 |
|
Compute |
コンピューティングの種類 |
|
Databricks |
Databricks に基づく Machine Learning コンピューティングに関連するシークレット。 |
|
Error |
リソース管理エラーの追加情報。 |
|
Error |
エラーの詳細。 |
|
Error |
エラー応答 |
|
Virtual |
AKS に基づく Machine Learning コンピューティングに関連するシークレット。 |
|
Virtual |
仮想マシンの管理者資格情報 |
AksComputeSecrets
AKS に基づく Machine Learning コンピューティングに関連するシークレット。
| 名前 | 型 | 説明 |
|---|---|---|
| adminKubeConfig |
string |
Kubernetesクラスタへの接続に使用できるkubeconfigファイルの内容。 |
| computeType |
string:
AKS |
コンピューティングの種類 |
| imagePullSecretName |
string |
イメージレジストリプルシークレット。 |
| userKubeConfig |
string |
Kubernetesクラスタへの接続に使用できるkubeconfigファイルの内容。 |
ComputeType
コンピューティングの種類
| 値 | 説明 |
|---|---|
| AKS | |
| Kubernetes | |
| AmlCompute | |
| ComputeInstance | |
| DataFactory | |
| VirtualMachine | |
| HDInsight | |
| Databricks | |
| DataLakeAnalytics | |
| SynapseSpark |
DatabricksComputeSecrets
Databricks に基づく Machine Learning コンピューティングに関連するシークレット。
| 名前 | 型 | 説明 |
|---|---|---|
| computeType |
string:
Databricks |
コンピューティングの種類 |
| databricksAccessToken |
string |
Databricks アカウントのアクセス トークン。 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
| 名前 | 型 | 説明 |
|---|---|---|
| info |
object |
追加情報。 |
| type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalInfo |
エラーの追加情報。 |
|
| code |
string |
エラー コード。 |
| details |
エラーの詳細。 |
|
| message |
string |
エラー メッセージ。 |
| target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
VirtualMachineSecrets
AKS に基づく Machine Learning コンピューティングに関連するシークレット。
| 名前 | 型 | 説明 |
|---|---|---|
| administratorAccount |
仮想マシンの管理者資格情報。 |
|
| computeType |
string:
Virtual |
コンピューティングの種類 |
VirtualMachineSshCredentials
仮想マシンの管理者資格情報
| 名前 | 型 | 説明 |
|---|---|---|
| password |
string |
管理者アカウントのパスワード |
| privateKeyData |
string |
秘密キー データ |
| publicKeyData |
string |
公開キー データ |
| username |
string |
管理者アカウントのユーザー名 |