Sdílet prostřednictvím


ArmMachineLearningModelFactory.AmlComputeProperties Method

Definition

Initializes a new instance of AmlComputeProperties.

public static Azure.ResourceManager.MachineLearning.Models.AmlComputeProperties AmlComputeProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningOSType? osType = default, string vmSize = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningVmPriority? vmPriority = default, string virtualMachineImageId = default, bool? isolatedNetwork = default, Azure.ResourceManager.MachineLearning.Models.AmlComputeScaleSettings scaleSettings = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningUserAccountCredentials userAccountCredentials = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningRemoteLoginPortPublicAccess? remoteLoginPortPublicAccess = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningAllocationState? allocationState = default, DateTimeOffset? allocationStateTransitionOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.MachineLearningError> errors = default, int? currentNodeCount = default, int? targetNodeCount = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningNodeStateCounts nodeStateCounts = default, bool? enableNodePublicIP = default, BinaryData propertyBag = default);
static member AmlComputeProperties : Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningOSType> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningVmPriority> * string * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.AmlComputeScaleSettings * Azure.ResourceManager.MachineLearning.Models.MachineLearningUserAccountCredentials * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningRemoteLoginPortPublicAccess> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningAllocationState> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.MachineLearning.Models.MachineLearningError> * Nullable<int> * Nullable<int> * Azure.ResourceManager.MachineLearning.Models.MachineLearningNodeStateCounts * Nullable<bool> * BinaryData -> Azure.ResourceManager.MachineLearning.Models.AmlComputeProperties
Public Shared Function AmlComputeProperties (Optional osType As Nullable(Of MachineLearningOSType) = Nothing, Optional vmSize As String = Nothing, Optional vmPriority As Nullable(Of MachineLearningVmPriority) = Nothing, Optional virtualMachineImageId As String = Nothing, Optional isolatedNetwork As Nullable(Of Boolean) = Nothing, Optional scaleSettings As AmlComputeScaleSettings = Nothing, Optional userAccountCredentials As MachineLearningUserAccountCredentials = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional remoteLoginPortPublicAccess As Nullable(Of MachineLearningRemoteLoginPortPublicAccess) = Nothing, Optional allocationState As Nullable(Of MachineLearningAllocationState) = Nothing, Optional allocationStateTransitionOn As Nullable(Of DateTimeOffset) = Nothing, Optional errors As IEnumerable(Of MachineLearningError) = Nothing, Optional currentNodeCount As Nullable(Of Integer) = Nothing, Optional targetNodeCount As Nullable(Of Integer) = Nothing, Optional nodeStateCounts As MachineLearningNodeStateCounts = Nothing, Optional enableNodePublicIP As Nullable(Of Boolean) = Nothing, Optional propertyBag As BinaryData = Nothing) As AmlComputeProperties

Parameters

osType
Nullable<MachineLearningOSType>

Compute OS Type.

vmSize
String

Virtual Machine Size.

vmPriority
Nullable<MachineLearningVmPriority>

Virtual Machine priority.

virtualMachineImageId
String

Virtual Machine image for AML Compute - windows only.

isolatedNetwork
Nullable<Boolean>

Network is isolated or not.

scaleSettings
AmlComputeScaleSettings

Scale settings for AML Compute.

userAccountCredentials
MachineLearningUserAccountCredentials

Credentials for an administrator user account that will be created on each compute node.

subnetId
ResourceIdentifier

Virtual network subnet resource ID the compute nodes belong to.

remoteLoginPortPublicAccess
Nullable<MachineLearningRemoteLoginPortPublicAccess>

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.

allocationState
Nullable<MachineLearningAllocationState>

Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.

allocationStateTransitionOn
Nullable<DateTimeOffset>

The time at which the compute entered its current allocation state.

errors
IEnumerable<MachineLearningError>

Collection of errors encountered by various compute nodes during node setup.

currentNodeCount
Nullable<Int32>

The number of compute nodes currently assigned to the compute.

targetNodeCount
Nullable<Int32>

The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.

nodeStateCounts
MachineLearningNodeStateCounts

Counts of various node states on the compute.

enableNodePublicIP
Nullable<Boolean>

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.

propertyBag
BinaryData

A property bag containing additional properties.

Returns

A new AmlComputeProperties instance for mocking.

Applies to