Class OnlineEndpointDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.EndpointPropertiesBaseInner
-
- com.azure.resourcemanager.machinelearning.models.OnlineEndpointDetails
-
public final class OnlineEndpointDetails extends EndpointPropertiesBaseInner
Online endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description OnlineEndpointDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
compute()
Get the compute property: ARM resource ID of the compute if it exists.Map<String,Integer>
mirrorTraffic()
Get the mirrorTraffic property: Percentage of traffic to be mirrored to each deployment without using returned scoring.EndpointProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state for the endpoint.PublicNetworkAccessType
publicNetworkAccess()
Get the publicNetworkAccess property: Set to "Enabled" for endpoints that should allow public access when Private Link is enabled.Map<String,Integer>
traffic()
Get the traffic property: Percentage of traffic from endpoint to divert to each deployment.void
validate()
Validates the instance.OnlineEndpointDetails
withAuthMode(EndpointAuthMode authMode)
Set the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.OnlineEndpointDetails
withCompute(String compute)
Set the compute property: ARM resource ID of the compute if it exists.OnlineEndpointDetails
withDescription(String description)
Set the description property: Description of the inference endpoint.OnlineEndpointDetails
withKeys(EndpointAuthKeysInner keys)
Set the keys property: EndpointAuthKeys to set initially on an Endpoint.OnlineEndpointDetails
withMirrorTraffic(Map<String,Integer> mirrorTraffic)
Set the mirrorTraffic property: Percentage of traffic to be mirrored to each deployment without using returned scoring.OnlineEndpointDetails
withProperties(Map<String,String> properties)
Set the properties property: Property dictionary.OnlineEndpointDetails
withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
Set the publicNetworkAccess property: Set to "Enabled" for endpoints that should allow public access when Private Link is enabled.OnlineEndpointDetails
withTraffic(Map<String,Integer> traffic)
Set the traffic property: Percentage of traffic from endpoint to divert to each deployment.-
Methods inherited from class com.azure.resourcemanager.machinelearning.fluent.models.EndpointPropertiesBaseInner
authMode, description, keys, properties, scoringUri, swaggerUri
-
-
-
-
Method Detail
-
compute
public String compute()
Get the compute property: ARM resource ID of the compute if it exists. optional.- Returns:
- the compute value.
-
withCompute
public OnlineEndpointDetails withCompute(String compute)
Set the compute property: ARM resource ID of the compute if it exists. optional.- Parameters:
compute
- the compute value to set.- Returns:
- the OnlineEndpointDetails object itself.
-
mirrorTraffic
public Map<String,Integer> mirrorTraffic()
Get the mirrorTraffic property: Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.- Returns:
- the mirrorTraffic value.
-
withMirrorTraffic
public OnlineEndpointDetails withMirrorTraffic(Map<String,Integer> mirrorTraffic)
Set the mirrorTraffic property: Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.- Parameters:
mirrorTraffic
- the mirrorTraffic value to set.- Returns:
- the OnlineEndpointDetails object itself.
-
provisioningState
public EndpointProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the endpoint.- Returns:
- the provisioningState value.
-
publicNetworkAccess
public PublicNetworkAccessType publicNetworkAccess()
Get the publicNetworkAccess property: Set to "Enabled" for endpoints that should allow public access when Private Link is enabled.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public OnlineEndpointDetails withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
Set the publicNetworkAccess property: Set to "Enabled" for endpoints that should allow public access when Private Link is enabled.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the OnlineEndpointDetails object itself.
-
traffic
public Map<String,Integer> traffic()
Get the traffic property: Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.- Returns:
- the traffic value.
-
withTraffic
public OnlineEndpointDetails withTraffic(Map<String,Integer> traffic)
Set the traffic property: Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.- Parameters:
traffic
- the traffic value to set.- Returns:
- the OnlineEndpointDetails object itself.
-
withAuthMode
public OnlineEndpointDetails withAuthMode(EndpointAuthMode authMode)
Set the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.- Overrides:
withAuthMode
in classEndpointPropertiesBaseInner
- Parameters:
authMode
- the authMode value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
withDescription
public OnlineEndpointDetails withDescription(String description)
Set the description property: Description of the inference endpoint.- Overrides:
withDescription
in classEndpointPropertiesBaseInner
- Parameters:
description
- the description value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
withKeys
public OnlineEndpointDetails withKeys(EndpointAuthKeysInner keys)
Set the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.- Overrides:
withKeys
in classEndpointPropertiesBaseInner
- Parameters:
keys
- the keys value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
withProperties
public OnlineEndpointDetails withProperties(Map<String,String> properties)
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.- Overrides:
withProperties
in classEndpointPropertiesBaseInner
- Parameters:
properties
- the properties value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEndpointPropertiesBaseInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-