AmlComputeSshSettings 類別
用來存取 AML 計算目標的 SSH 設定。
設定 AmlComputeSshSettings 物件。
from azure.ai.ml.entities import AmlComputeSshSettings
ssh_settings = AmlComputeSshSettings(
admin_username="azureuser",
ssh_key_value="ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXYZ administrator@MININT-2023",
admin_password="password123",
)
- 繼承
-
builtins.objectAmlComputeSshSettings
建構函式
AmlComputeSshSettings(*, admin_username: str, admin_password: str | None = None, ssh_key_value: str | None = None)
參數
Keyword-Only Parameters
- admin_username
必要
- admin_password
必要
- ssh_key_value
必要