OnlineEndpointArgs

data class OnlineEndpointArgs(val authMode: Output<Either<String, EndpointAuthMode>>, val compute: Output<String>? = null, val description: Output<String>? = null, val keys: Output<EndpointAuthKeysArgs>? = null, val mirrorTraffic: Output<Map<String, Int>>? = null, val properties: Output<Map<String, String>>? = null, val publicNetworkAccess: Output<Either<String, PublicNetworkAccessType>>? = null, val traffic: Output<Map<String, Int>>? = null) : ConvertibleToJava<OnlineEndpointArgs>

Online endpoint configuration

Constructors

Link copied to clipboard
constructor(authMode: Output<Either<String, EndpointAuthMode>>, compute: Output<String>? = null, description: Output<String>? = null, keys: Output<EndpointAuthKeysArgs>? = null, mirrorTraffic: Output<Map<String, Int>>? = null, properties: Output<Map<String, String>>? = null, publicNetworkAccess: Output<Either<String, PublicNetworkAccessType>>? = null, traffic: Output<Map<String, Int>>? = null)

Properties

Link copied to clipboard
val authMode: Output<Either<String, EndpointAuthMode>>

Required The authentication method for invoking the endpoint (data plane operation). Use 'Key' for key-based authentication. Use 'AMLToken' for Azure Machine Learning token-based authentication. Use 'AADToken' for Microsoft Entra token-based authentication.

Link copied to clipboard
val compute: Output<String>? = null

ARM resource ID of the compute if it exists. optional

Link copied to clipboard
val description: Output<String>? = null

Description of the inference endpoint.

Link copied to clipboard
val keys: Output<EndpointAuthKeysArgs>? = null

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

Link copied to clipboard
val mirrorTraffic: Output<Map<String, Int>>? = null

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

Link copied to clipboard
val properties: Output<Map<String, String>>? = null

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

Link copied to clipboard
val publicNetworkAccess: Output<Either<String, PublicNetworkAccessType>>? = null

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

Link copied to clipboard
val traffic: Output<Map<String, Int>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): OnlineEndpointArgs