ArmMachineLearningModelFactory.MachineLearningManagedOnlineDeployment Method
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.
Overloads
MachineLearningManagedOnlineDeployment(MachineLearningCodeConfiguration, String, String, IDictionary<String,String>, IDictionary<String, String>, Nullable<Boolean>, DataCollector, Nullable<MachineLearningEgressPublicNetworkAccessType>, String, MachineLearningProbeSettings, String, String, Nullable<MachineLearningDeploymentProvisioningState>, MachineLearningProbeSettings, MachineLearningOnlineRequestSettings, MachineLearningOnlineScaleSettings)
Initializes a new instance of MachineLearningManagedOnlineDeployment.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningManagedOnlineDeployment MachineLearningManagedOnlineDeployment (Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration codeConfiguration = default, string description = default, string environmentId = default, System.Collections.Generic.IDictionary<string,string> environmentVariables = default, System.Collections.Generic.IDictionary<string,string> properties = default, bool? appInsightsEnabled = default, Azure.ResourceManager.MachineLearning.Models.DataCollector dataCollector = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEgressPublicNetworkAccessType? egressPublicNetworkAccess = default, string instanceType = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings livenessProbe = default, string model = default, string modelMountPath = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentProvisioningState? provisioningState = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings readinessProbe = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineRequestSettings requestSettings = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineScaleSettings scaleSettings = default);
static member MachineLearningManagedOnlineDeployment : Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.DataCollector * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningEgressPublicNetworkAccessType> * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentProvisioningState> * Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings * Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineRequestSettings * Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineScaleSettings -> Azure.ResourceManager.MachineLearning.Models.MachineLearningManagedOnlineDeployment
Public Shared Function MachineLearningManagedOnlineDeployment (Optional codeConfiguration As MachineLearningCodeConfiguration = Nothing, Optional description As String = Nothing, Optional environmentId As String = Nothing, Optional environmentVariables As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional appInsightsEnabled As Nullable(Of Boolean) = Nothing, Optional dataCollector As DataCollector = Nothing, Optional egressPublicNetworkAccess As Nullable(Of MachineLearningEgressPublicNetworkAccessType) = Nothing, Optional instanceType As String = Nothing, Optional livenessProbe As MachineLearningProbeSettings = Nothing, Optional model As String = Nothing, Optional modelMountPath As String = Nothing, Optional provisioningState As Nullable(Of MachineLearningDeploymentProvisioningState) = Nothing, Optional readinessProbe As MachineLearningProbeSettings = Nothing, Optional requestSettings As MachineLearningOnlineRequestSettings = Nothing, Optional scaleSettings As MachineLearningOnlineScaleSettings = Nothing) As MachineLearningManagedOnlineDeployment
Parameters
- codeConfiguration
- MachineLearningCodeConfiguration
Code configuration for the endpoint deployment.
- description
- String
Description of the endpoint deployment.
- environmentId
- String
ARM resource ID of the environment specification for the endpoint deployment.
- environmentVariables
- IDictionary<String,String>
Environment variables configuration for the deployment.
- properties
- IDictionary<String,String>
Property dictionary. Properties can be added, but not removed or altered.
- dataCollector
- DataCollector
The mdc configuration, we disable mdc when it's null.
- egressPublicNetworkAccess
- Nullable<MachineLearningEgressPublicNetworkAccessType>
If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.
- instanceType
- String
Compute instance type.
- livenessProbe
- MachineLearningProbeSettings
Liveness probe monitors the health of the container regularly.
- model
- String
The URI path to the model.
- modelMountPath
- String
The path to mount the model in custom container.
- provisioningState
- Nullable<MachineLearningDeploymentProvisioningState>
Provisioning state for the endpoint deployment.
- readinessProbe
- MachineLearningProbeSettings
Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.
- requestSettings
- MachineLearningOnlineRequestSettings
Request settings for the deployment.
- scaleSettings
- MachineLearningOnlineScaleSettings
Scale settings for the deployment. If it is null or not provided, it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment and to DefaultScaleSettings for ManagedOnlineDeployment. Please note MachineLearningOnlineScaleSettings 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 MachineLearningDefaultScaleSettings and MachineLearningTargetUtilizationScaleSettings.
Returns
A new MachineLearningManagedOnlineDeployment instance for mocking.
Applies to
MachineLearningManagedOnlineDeployment(String, IDictionary<String, String>, MachineLearningCodeConfiguration, String, IDictionary<String, String>, MachineLearningOnlineScaleSettings, MachineLearningOnlineRequestSettings, String, Nullable<Boolean>, MachineLearningProbeSettings, MachineLearningProbeSettings, Nullable<MachineLearningDeploymentProvisioningState>, String, String, Nullable<MachineLearningEgressPublicNetworkAccessType>, DataCollector)
Initializes a new instance of MachineLearningManagedOnlineDeployment.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningManagedOnlineDeployment MachineLearningManagedOnlineDeployment (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration codeConfiguration = default, string environmentId = default, System.Collections.Generic.IDictionary<string,string> environmentVariables = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineScaleSettings scaleSettings = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineRequestSettings requestSettings = default, string modelMountPath = default, bool? appInsightsEnabled = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings livenessProbe = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings readinessProbe = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentProvisioningState? provisioningState = default, string instanceType = default, string model = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEgressPublicNetworkAccessType? egressPublicNetworkAccess = default, Azure.ResourceManager.MachineLearning.Models.DataCollector dataCollector = default);
static member MachineLearningManagedOnlineDeployment : string * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration * string * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineScaleSettings * Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineRequestSettings * string * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings * Azure.ResourceManager.MachineLearning.Models.MachineLearningProbeSettings * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentProvisioningState> * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningEgressPublicNetworkAccessType> * Azure.ResourceManager.MachineLearning.Models.DataCollector -> Azure.ResourceManager.MachineLearning.Models.MachineLearningManagedOnlineDeployment
Public Shared Function MachineLearningManagedOnlineDeployment (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional codeConfiguration As MachineLearningCodeConfiguration = Nothing, Optional environmentId As String = Nothing, Optional environmentVariables As IDictionary(Of String, String) = Nothing, Optional scaleSettings As MachineLearningOnlineScaleSettings = Nothing, Optional requestSettings As MachineLearningOnlineRequestSettings = Nothing, Optional modelMountPath As String = Nothing, Optional appInsightsEnabled As Nullable(Of Boolean) = Nothing, Optional livenessProbe As MachineLearningProbeSettings = Nothing, Optional readinessProbe As MachineLearningProbeSettings = Nothing, Optional provisioningState As Nullable(Of MachineLearningDeploymentProvisioningState) = Nothing, Optional instanceType As String = Nothing, Optional model As String = Nothing, Optional egressPublicNetworkAccess As Nullable(Of MachineLearningEgressPublicNetworkAccessType) = Nothing, Optional dataCollector As DataCollector = Nothing) As MachineLearningManagedOnlineDeployment
Parameters
- description
- String
Description of the endpoint deployment.
- properties
- IDictionary<String,String>
Property dictionary. Properties can be added, but not removed or altered.
- codeConfiguration
- MachineLearningCodeConfiguration
Code configuration for the endpoint deployment.
- environmentId
- String
ARM resource ID or AssetId of the environment specification for the endpoint deployment.
- environmentVariables
- IDictionary<String,String>
Environment variables configuration for the deployment.
- scaleSettings
- MachineLearningOnlineScaleSettings
Scale settings for the deployment. If it is null or not provided, it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment and to DefaultScaleSettings for ManagedOnlineDeployment. Please note MachineLearningOnlineScaleSettings 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 MachineLearningDefaultScaleSettings and MachineLearningTargetUtilizationScaleSettings.
- requestSettings
- MachineLearningOnlineRequestSettings
Request settings for the deployment.
- modelMountPath
- String
The path to mount the model in custom container.
- livenessProbe
- MachineLearningProbeSettings
Liveness probe monitors the health of the container regularly.
- readinessProbe
- MachineLearningProbeSettings
Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.
- provisioningState
- Nullable<MachineLearningDeploymentProvisioningState>
Provisioning state for the endpoint deployment.
- instanceType
- String
Compute instance type.
- model
- String
The URI path to the model.
- egressPublicNetworkAccess
- Nullable<MachineLearningEgressPublicNetworkAccessType>
If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.
- dataCollector
- DataCollector
The mdc configuration, we disable mdc when it's null.
Returns
A new MachineLearningManagedOnlineDeployment instance for mocking.
Applies to
Azure SDK for .NET