Share via


ArmMachineLearningModelFactory.MachineLearningEndpointProperties Method

Definition

Overloads

MachineLearningEndpointProperties(MachineLearningEndpointAuthMode, String, MachineLearningEndpointAuthKeys, IDictionary<String,String>, Uri, Uri)

Initializes a new instance of MachineLearningEndpointProperties.

MachineLearningEndpointProperties(String, IDictionary<String,String>, Uri, Uri, MachineLearningEndpointAuthMode, MachineLearningEndpointAuthKeys)

Initializes a new instance of MachineLearningEndpointProperties.

MachineLearningEndpointProperties(MachineLearningEndpointAuthMode, String, MachineLearningEndpointAuthKeys, IDictionary<String,String>, Uri, Uri)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningEndpointProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProperties MachineLearningEndpointProperties (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);
static member MachineLearningEndpointProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys * System.Collections.Generic.IDictionary<string, string> * Uri * Uri -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProperties
Public Shared Function MachineLearningEndpointProperties (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) As MachineLearningEndpointProperties

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.

Returns

A new MachineLearningEndpointProperties instance for mocking.

Applies to

MachineLearningEndpointProperties(String, IDictionary<String,String>, Uri, Uri, MachineLearningEndpointAuthMode, MachineLearningEndpointAuthKeys)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningEndpointProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProperties MachineLearningEndpointProperties (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);
static member MachineLearningEndpointProperties : string * System.Collections.Generic.IDictionary<string, string> * Uri * Uri * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthMode * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProperties
Public Shared Function MachineLearningEndpointProperties (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) As MachineLearningEndpointProperties

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.

Returns

A new MachineLearningEndpointProperties instance for mocking.

Applies to