Class EndpointPropertiesBaseInner
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.EndpointPropertiesBaseInner
-
- Direct Known Subclasses:
BatchEndpointDetails
,OnlineEndpointDetails
public class EndpointPropertiesBaseInner extends Object
Inference Endpoint base definition.
-
-
Constructor Summary
Constructors Constructor Description EndpointPropertiesBaseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointAuthMode
authMode()
Get the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.String
description()
Get the description property: Description of the inference endpoint.EndpointAuthKeysInner
keys()
Get the keys property: EndpointAuthKeys to set initially on an Endpoint.Map<String,String>
properties()
Get the properties property: Property dictionary.String
scoringUri()
Get the scoringUri property: Endpoint URI.String
swaggerUri()
Get the swaggerUri property: Endpoint Swagger URI.void
validate()
Validates the instance.EndpointPropertiesBaseInner
withAuthMode(EndpointAuthMode authMode)
Set the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.EndpointPropertiesBaseInner
withDescription(String description)
Set the description property: Description of the inference endpoint.EndpointPropertiesBaseInner
withKeys(EndpointAuthKeysInner keys)
Set the keys property: EndpointAuthKeys to set initially on an Endpoint.EndpointPropertiesBaseInner
withProperties(Map<String,String> properties)
Set the properties property: Property dictionary.
-
-
-
Method Detail
-
authMode
public EndpointAuthMode authMode()
Get 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.- Returns:
- the authMode value.
-
withAuthMode
public EndpointPropertiesBaseInner 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.- Parameters:
authMode
- the authMode value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
description
public String description()
Get the description property: Description of the inference endpoint.- Returns:
- the description value.
-
withDescription
public EndpointPropertiesBaseInner withDescription(String description)
Set the description property: Description of the inference endpoint.- Parameters:
description
- the description value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
keys
public EndpointAuthKeysInner keys()
Get 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.- Returns:
- the keys value.
-
withKeys
public EndpointPropertiesBaseInner 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.- Parameters:
keys
- the keys value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
properties
public Map<String,String> properties()
Get the properties property: Property dictionary. Properties can be added, but not removed or altered.- Returns:
- the properties value.
-
withProperties
public EndpointPropertiesBaseInner withProperties(Map<String,String> properties)
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.- Parameters:
properties
- the properties value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
scoringUri
public String scoringUri()
Get the scoringUri property: Endpoint URI.- Returns:
- the scoringUri value.
-
swaggerUri
public String swaggerUri()
Get the swaggerUri property: Endpoint Swagger URI.- Returns:
- the swaggerUri value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-