Compute - List Keys

Machine Learning işlemle (depolama anahtarları, hizmet kimlik bilgileri vb.) ilgili gizli dizileri alır.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys?api-version=2023-10-01

URI Parametreleri

Name İçinde Gerekli Tür Description
computeName
path True

string

Azure Machine Learning işleminin adı.

resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

subscriptionId
path True

string

Hedef aboneliğin kimliği.

workspaceName
path True

string

Azure Machine Learning çalışma alanının adı.

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK ComputeSecrets:

Başarılı.

Other Status Codes

ErrorResponse

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

List AKS Compute Keys

Sample Request

POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123/listKeys?api-version=2023-10-01

Sample Response

{
  "computeType": "AKS",
  "userKubeConfig": "user kube config...",
  "adminKubeConfig": "admin kube config...",
  "imagePullSecretName": "the image pull secret name"
}

Tanımlar

Name Description
AksComputeSecrets

AKS tabanlı bir Machine Learning işlemle ilgili gizli diziler.

ComputeType

İşlem türü

DatabricksComputeSecrets

Databricks tabanlı bir Machine Learning işlemle ilgili gizli diziler.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

VirtualMachineSecrets

AKS tabanlı bir Machine Learning işlemle ilgili gizli diziler.

VirtualMachineSshCredentials

Sanal makine için kimlik bilgilerini Yönetici

AksComputeSecrets

AKS tabanlı bir Machine Learning işlemle ilgili gizli diziler.

Name Tür Description
adminKubeConfig

string

Kubernetes kümesine bağlanmak için kullanılabilecek kubeconfig dosyasının içeriği.

computeType string:

AKS

İşlem türü

imagePullSecretName

string

Görüntü kayıt defteri çekme gizli dizisi.

userKubeConfig

string

Kubernetes kümesine bağlanmak için kullanılabilecek kubeconfig dosyasının içeriği.

ComputeType

İşlem türü

Name Tür Description
AKS

string

AmlCompute

string

ComputeInstance

string

DataFactory

string

DataLakeAnalytics

string

Databricks

string

HDInsight

string

Kubernetes

string

SynapseSpark

string

VirtualMachine

string

DatabricksComputeSecrets

Databricks tabanlı bir Machine Learning işlemle ilgili gizli diziler.

Name Tür Description
computeType string:

Databricks

İşlem türü

databricksAccessToken

string

databricks hesabı için erişim belirteci.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorDetail

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

VirtualMachineSecrets

AKS tabanlı bir Machine Learning işlemle ilgili gizli diziler.

Name Tür Description
administratorAccount

VirtualMachineSshCredentials

Sanal makine için kimlik bilgilerini Yönetici.

computeType string:

VirtualMachine

İşlem türü

VirtualMachineSshCredentials

Sanal makine için kimlik bilgilerini Yönetici

Name Tür Description
password

string

Yönetici hesabının parolası

privateKeyData

string

Özel anahtar verileri

publicKeyData

string

Ortak anahtar verileri

username

string

Yönetici hesabının kullanıcı adı