Compartilhar via


ArmMachineLearningModelFactory.MachineLearningKubernetesOnlineDeployment Method

Definition

Overloads

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

Initializes a new instance of MachineLearningKubernetesOnlineDeployment.

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

Initializes a new instance of MachineLearningKubernetesOnlineDeployment.

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

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningKubernetesOnlineDeployment.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningKubernetesOnlineDeployment MachineLearningKubernetesOnlineDeployment (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, Azure.ResourceManager.MachineLearning.Models.MachineLearningContainerResourceRequirements containerResourceRequirements = default);
static member MachineLearningKubernetesOnlineDeployment : 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.MachineLearningContainerResourceRequirements -> Azure.ResourceManager.MachineLearning.Models.MachineLearningKubernetesOnlineDeployment
Public Shared Function MachineLearningKubernetesOnlineDeployment (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, Optional containerResourceRequirements As MachineLearningContainerResourceRequirements = Nothing) As MachineLearningKubernetesOnlineDeployment

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.

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.

containerResourceRequirements
MachineLearningContainerResourceRequirements

The resource requirements for the container (cpu and memory).

Returns

A new MachineLearningKubernetesOnlineDeployment instance for mocking.

Applies to

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

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningKubernetesOnlineDeployment.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningKubernetesOnlineDeployment MachineLearningKubernetesOnlineDeployment (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, Azure.ResourceManager.MachineLearning.Models.MachineLearningContainerResourceRequirements containerResourceRequirements = default);
static member MachineLearningKubernetesOnlineDeployment : 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.MachineLearningContainerResourceRequirements -> Azure.ResourceManager.MachineLearning.Models.MachineLearningKubernetesOnlineDeployment
Public Shared Function MachineLearningKubernetesOnlineDeployment (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, Optional containerResourceRequirements As MachineLearningContainerResourceRequirements = Nothing) As MachineLearningKubernetesOnlineDeployment

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.

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.

containerResourceRequirements
MachineLearningContainerResourceRequirements

The resource requirements for the container (cpu and memory).

Returns

A new MachineLearningKubernetesOnlineDeployment instance for mocking.

Applies to