DsvmProvisioningConfiguration Class

Represents configuration parameters for provisioning DsvmCompute targets.

Use the provisioning_configuration method of the DsvmCompute class to specify provisioning configuration.

Create a configuration object for provisioning a DSVM target.

Inheritance
DsvmProvisioningConfiguration

Constructor

DsvmProvisioningConfiguration(vm_size='', ssh_port=None, location=None)

Parameters

Name Description
vm_size
Required
str

Specifies the size of the VM to provision. More details can be found here: https://aka.ms/azureml-vm-details. If not specified, defaults to Standard_DS3_v2.

ssh_port
str

The SSH port to open on the VM.

Default value: None
location
str

The location to provision the cluster in. If not specified, will default to workspace location. Available regions for different desired VM sizes can be found here: https://azure.microsoft.com/global-infrastructure/services/?regions=all&products=virtual-machines

Default value: None
vm_size
Required
str

Specifies the size of the VM to provision. More details can be found here: https://aka.ms/azureml-vm-details. If not specified, defaults to Standard_DS3_v2.

ssh_port
Required
str

The SSH port to open on the VM.

location
Required
str

The location to provision the cluster in. If not specified, will default to workspace location. Available regions for different desired VM sizes can be found here: https://azure.microsoft.com/global-infrastructure/services/?regions=all&products=virtual-machines

Methods

validate_configuration

Check that the specified configuration values are valid.

Raises a ComputeTargetException if validation fails.

validate_configuration

Check that the specified configuration values are valid.

Raises a ComputeTargetException if validation fails.

validate_configuration()

Exceptions

Type Description