ModelPackageContent(InferencingServer, String) Constructor

Definition

Initializes a new instance of ModelPackageContent.

public ModelPackageContent (Azure.ResourceManager.MachineLearning.Models.InferencingServer inferencingServer, string targetEnvironmentId);
new Azure.ResourceManager.MachineLearning.Models.ModelPackageContent : Azure.ResourceManager.MachineLearning.Models.InferencingServer * string -> Azure.ResourceManager.MachineLearning.Models.ModelPackageContent
Public Sub New (inferencingServer As InferencingServer, targetEnvironmentId As String)

Parameters

inferencingServer
InferencingServer

[Required] Inferencing server configurations. Please note InferencingServer 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 AzureMLBatchInferencingServer, AzureMLOnlineInferencingServer, CustomInferencingServer and TritonInferencingServer.

targetEnvironmentId
String

[Required] Arm ID of the target environment to be created by package operation.

Exceptions

inferencingServer or targetEnvironmentId is null.

Applies to