Sdílet prostřednictvím


ArmMachineLearningModelFactory.MachineLearningOnlineEndpointProperties Method

Definition

Initializes a new instance of MachineLearningOnlineEndpointProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineEndpointProperties MachineLearningOnlineEndpointProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode authMode = default, string description = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys keys = default, System.Collections.Generic.IDictionary<string,string> properties = default, Uri scoringUri = default, Uri swaggerUri = default, string compute = default, System.Collections.Generic.IDictionary<string,int> mirrorTraffic = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProvisioningState? provisioningState = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningPublicNetworkAccessType? publicNetworkAccess = default, System.Collections.Generic.IDictionary<string,int> traffic = default);
static member MachineLearningOnlineEndpointProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys * System.Collections.Generic.IDictionary<string, string> * Uri * Uri * string * System.Collections.Generic.IDictionary<string, int> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProvisioningState> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningPublicNetworkAccessType> * System.Collections.Generic.IDictionary<string, int> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineEndpointProperties
Public Shared Function MachineLearningOnlineEndpointProperties (Optional authMode As MachineLearningEndpointAuthMode = Nothing, Optional description As String = Nothing, Optional keys As MachineLearningEndpointAuthKeys = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional scoringUri As Uri = Nothing, Optional swaggerUri As Uri = Nothing, Optional compute As String = Nothing, Optional mirrorTraffic As IDictionary(Of String, Integer) = Nothing, Optional provisioningState As Nullable(Of MachineLearningEndpointProvisioningState) = Nothing, Optional publicNetworkAccess As Nullable(Of MachineLearningPublicNetworkAccessType) = Nothing, Optional traffic As IDictionary(Of String, Integer) = Nothing) As MachineLearningOnlineEndpointProperties

Parameters

authMode
MachineLearningEndpointAuthMode

[Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.

description
String

Description of the inference endpoint.

keys
MachineLearningEndpointAuthKeys

EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.

properties
IDictionary<String,String>

Property dictionary. Properties can be added, but not removed or altered.

scoringUri
Uri

Endpoint URI.

swaggerUri
Uri

Endpoint Swagger URI.

compute
String

ARM resource ID of the compute if it exists. optional

mirrorTraffic
IDictionary<String,Int32>

Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.

provisioningState
Nullable<MachineLearningEndpointProvisioningState>

Provisioning state for the endpoint.

publicNetworkAccess
Nullable<MachineLearningPublicNetworkAccessType>

Set to "Enabled" for endpoints that should allow public access when Private Link is enabled.

traffic
IDictionary<String,Int32>

Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.

Returns

A new MachineLearningOnlineEndpointProperties instance for mocking.

Applies to