Compartilhar via


ArmMachineLearningModelFactory.MachineLearningOnlineEndpointProperties Method

Definition

Overloads

MachineLearningOnlineEndpointProperties(MachineLearningEndpointAuthMode, String, MachineLearningEndpointAuthKeys, IDictionary<String, String>, Uri, Uri, String, IDictionary<String,Int32>, Nullable<MachineLearningEndpointProvisioningState>, Nullable<MachineLearningPublicNetworkAccessType>, IDictionary<String, Int32>)

Initializes a new instance of MachineLearningOnlineEndpointProperties.

MachineLearningOnlineEndpointProperties(String, IDictionary<String, String>, Uri, Uri, MachineLearningEndpointAuthMode, MachineLearningEndpointAuthKeys, Nullable<MachineLearningEndpointProvisioningState>, String, Nullable<MachineLearningPublicNetworkAccessType>, IDictionary<String,Int32>, IDictionary<String,Int32>)

Initializes a new instance of MachineLearningOnlineEndpointProperties.

MachineLearningOnlineEndpointProperties(MachineLearningEndpointAuthMode, String, MachineLearningEndpointAuthKeys, IDictionary<String, String>, Uri, Uri, String, IDictionary<String,Int32>, Nullable<MachineLearningEndpointProvisioningState>, Nullable<MachineLearningPublicNetworkAccessType>, IDictionary<String, Int32>)

Source:
ArmMachineLearningModelFactory.cs

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

MachineLearningOnlineEndpointProperties(String, IDictionary<String, String>, Uri, Uri, MachineLearningEndpointAuthMode, MachineLearningEndpointAuthKeys, Nullable<MachineLearningEndpointProvisioningState>, String, Nullable<MachineLearningPublicNetworkAccessType>, IDictionary<String,Int32>, IDictionary<String,Int32>)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningOnlineEndpointProperties.

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

Parameters

description
String

Description of the inference endpoint.

properties
IDictionary<String,String>

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

scoringUri
Uri

Endpoint URI.

swaggerUri
Uri

Endpoint Swagger URI.

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.

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.

provisioningState
Nullable<MachineLearningEndpointProvisioningState>

Provisioning state for the endpoint.

compute
String

ARM resource ID of the compute if it exists. optional

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.

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.

Returns

A new MachineLearningOnlineEndpointProperties instance for mocking.

Applies to