ArmMachineLearningModelFactory.MachineLearningOnlineDeploymentProperties 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.
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.
- 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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro