Compartilhar via


ArmMachineLearningModelFactory.MachineLearningOnlineDeploymentProperties Method

Definition

Overloads

MachineLearningOnlineDeploymentProperties(MachineLearningCodeConfiguration, String, String, IDictionary<String,String>, IDictionary<String, String>, Nullable<Boolean>, DataCollector, Nullable<MachineLearningEgressPublicNetworkAccessType>, String, String, MachineLearningProbeSettings, String, String, Nullable<MachineLearningDeploymentProvisioningState>, MachineLearningProbeSettings, MachineLearningOnlineRequestSettings, MachineLearningOnlineScaleSettings)

Initializes a new instance of MachineLearningOnlineDeploymentProperties.

MachineLearningOnlineDeploymentProperties(String, IDictionary<String, String>, MachineLearningCodeConfiguration, String, IDictionary<String, String>, String, MachineLearningOnlineScaleSettings, MachineLearningOnlineRequestSettings, String, Nullable<Boolean>, MachineLearningProbeSettings, MachineLearningProbeSettings, Nullable<MachineLearningDeploymentProvisioningState>, String, String, Nullable<MachineLearningEgressPublicNetworkAccessType>, DataCollector)

Initializes a new instance of MachineLearningOnlineDeploymentProperties.

MachineLearningOnlineDeploymentProperties(MachineLearningCodeConfiguration, String, String, IDictionary<String,String>, IDictionary<String, String>, Nullable<Boolean>, DataCollector, Nullable<MachineLearningEgressPublicNetworkAccessType>, String, String, MachineLearningProbeSettings, String, String, Nullable<MachineLearningDeploymentProvisioningState>, MachineLearningProbeSettings, MachineLearningOnlineRequestSettings, MachineLearningOnlineScaleSettings)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningOnlineDeploymentProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineDeploymentProperties MachineLearningOnlineDeploymentProperties (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 endpointComputeType = "Unknown", 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 MachineLearningOnlineDeploymentProperties : 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 * 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.MachineLearningOnlineDeploymentProperties
Public Shared Function MachineLearningOnlineDeploymentProperties (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 endpointComputeType As String = "Unknown", 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 MachineLearningOnlineDeploymentProperties

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.

appInsightsEnabled
Nullable<Boolean>

If true, enables Application Insights logging.

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.

endpointComputeType
String

[Required] The compute type of the endpoint.

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 MachineLearningOnlineDeploymentProperties instance for mocking.

Applies to

MachineLearningOnlineDeploymentProperties(String, IDictionary<String, String>, MachineLearningCodeConfiguration, String, IDictionary<String, String>, String, MachineLearningOnlineScaleSettings, MachineLearningOnlineRequestSettings, String, Nullable<Boolean>, MachineLearningProbeSettings, MachineLearningProbeSettings, Nullable<MachineLearningDeploymentProvisioningState>, String, String, Nullable<MachineLearningEgressPublicNetworkAccessType>, DataCollector)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningOnlineDeploymentProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineDeploymentProperties MachineLearningOnlineDeploymentProperties (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, string endpointComputeType = 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 MachineLearningOnlineDeploymentProperties : string * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration * string * System.Collections.Generic.IDictionary<string, 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.MachineLearningOnlineDeploymentProperties
Public Shared Function MachineLearningOnlineDeploymentProperties (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 endpointComputeType As 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 MachineLearningOnlineDeploymentProperties

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.

endpointComputeType
String

[Required] The compute type of the endpoint.

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.

appInsightsEnabled
Nullable<Boolean>

If true, enables Application Insights logging.

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 MachineLearningOnlineDeploymentProperties instance for mocking.

Applies to