你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzMLWorkspaceVirtualMachineObject
为 VirtualMachine 创建内存中对象。
语法
New-AzMLWorkspaceVirtualMachineObject
[-Description <String>]
[-DisableLocalAuth <Boolean>]
[-ResourceId <String>]
[-Address <String>]
[-AdministratorAccountPassword <String>]
[-AdministratorAccountPrivateKeyData <String>]
[-AdministratorAccountPublicKeyData <String>]
[-AdministratorAccountUsername <String>]
[-IsNotebookInstanceCompute <Boolean>]
[-NotebookServerPort <Int32>]
[-Size <String>]
[-SshPort <Int32>]
[<CommonParameters>]
说明
为 VirtualMachine 创建内存中对象。
示例
示例 1:为 VirtualMachine 创建内存中对象
New-AzMLWorkspaceVirtualMachineObject
为 VirtualMachine 创建内存中对象
参数
-Address
虚拟机的公共 IP 地址。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-AdministratorAccountPassword
管理员帐户的密码。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-AdministratorAccountPrivateKeyData
私钥数据。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-AdministratorAccountPublicKeyData
公钥数据。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-AdministratorAccountUsername
管理员帐户的用户名。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Description
机器学习计算的说明。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DisableLocalAuth
选择退出本地身份验证,并确保客户只能仅使用 MSI 和 AAD 进行身份验证。
类型: | Boolean |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-IsNotebookInstanceCompute
指示此计算是否将用于运行笔记本。
类型: | Boolean |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-NotebookServerPort
为 ssh 连接打开笔记本服务器端口。
类型: | Int32 |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
基础计算的 ARM 资源 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Size
虚拟机大小。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SshPort
为 ssh 连接打开端口。
类型: | Int32 |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |