New-AzMLWorkspaceAmlComputeObject

Create an in-memory object for AmlCompute.

Syntax

New-AzMLWorkspaceAmlComputeObject
   [-Description <String>]
   [-DisableLocalAuth <Boolean>]
   [-ResourceId <String>]
   [-EnableNodePublicIP <Boolean>]
   [-IsolatedNetwork <Boolean>]
   [-OSType <OSType>]
   [-PropertyBag <IAny>]
   [-RemoteLoginPortPublicAccess <RemoteLoginPortPublicAccess>]
   [-ScaleMaxNodeCount <Int32>]
   [-ScaleMinNodeCount <Int32>]
   [-ScaleNodeIdleTimeBeforeScaleDown <TimeSpan>]
   [-SubnetId <String>]
   [-AdminUserName <String>]
   [-AdminUserPassword <String>]
   [-AdminUserSshPublicKey <String>]
   [-VMPriority <VMPriority>]
   [-VMSize <String>]
   [-VirtualMachineImageId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for AmlCompute.

Examples

Example 1: Create an in-memory object for AmlCompute

New-AzMLWorkspaceAmlComputeObject

Create an in-memory object for AmlCompute

Parameters

-AdminUserName

Name of the administrator user account which can be used to SSH to nodes.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AdminUserPassword

Password of the administrator user account.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AdminUserSshPublicKey

SSH public key of the administrator user account.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

The description of the Machine Learning compute.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableLocalAuth

Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnableNodePublicIP

Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsolatedNetwork

Network is isolated or not.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OSType

Compute OS Type.

Type:OSType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PropertyBag

A property bag containing additional properties.

Type:IAny
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoteLoginPortPublicAccess

State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled.

Type:RemoteLoginPortPublicAccess
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

ARM resource id of the underlying compute.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScaleMaxNodeCount

Max number of nodes to use.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScaleMinNodeCount

Min number of nodes to use.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScaleNodeIdleTimeBeforeScaleDown

Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format.

Type:TimeSpan
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubnetId

The ID of the resource.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VirtualMachineImageId

Virtual Machine image path.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMPriority

Virtual Machine priority.

Type:VMPriority
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMSize

Virtual Machine Size.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.AmlCompute