ModelPackageContent(InferencingServer, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET