Share via


ModelPackageInput(PackageInputType, PackageInputPathBase) Constructor

Definition

Initializes a new instance of ModelPackageInput.

public ModelPackageInput (Azure.ResourceManager.MachineLearning.Models.PackageInputType inputType, Azure.ResourceManager.MachineLearning.Models.PackageInputPathBase path);
new Azure.ResourceManager.MachineLearning.Models.ModelPackageInput : Azure.ResourceManager.MachineLearning.Models.PackageInputType * Azure.ResourceManager.MachineLearning.Models.PackageInputPathBase -> Azure.ResourceManager.MachineLearning.Models.ModelPackageInput
Public Sub New (inputType As PackageInputType, path As PackageInputPathBase)

Parameters

inputType
PackageInputType

[Required] Type of the input included in the target image.

path
PackageInputPathBase

[Required] Location of the input. Please note PackageInputPathBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include PackageInputPathId, PackageInputPathVersion and PackageInputPathUri.

Exceptions

path is null.

Applies to