Class BatchEndpointProperties
java.lang.Object
com.azure.resourcemanager.machinelearning.fluent.models.EndpointPropertiesBaseInner
com.azure.resourcemanager.machinelearning.models.BatchEndpointProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EndpointPropertiesBaseInner>
Batch endpoint configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BatchEndpointProperties class. -
Method Summary
Modifier and TypeMethodDescriptiondefaults()Get the defaults property: Default values for Batch Endpoint.static BatchEndpointPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BatchEndpointProperties from the JsonReader.Get the provisioningState property: Provisioning state for the endpoint.Get the scoringUri property: Endpoint URI.Get the swaggerUri property: Endpoint Swagger URI.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAuthMode(EndpointAuthMode authMode) Set the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.withDefaults(BatchEndpointDefaults defaults) Set the defaults property: Default values for Batch Endpoint.withDescription(String description) Set the description property: Description of the inference endpoint.Set the keys property: EndpointAuthKeys to set initially on an Endpoint.withProperties(Map<String, String> properties) Set the properties property: Property dictionary.Methods inherited from class com.azure.resourcemanager.machinelearning.fluent.models.EndpointPropertiesBaseInner
authMode, description, keys, propertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BatchEndpointProperties
public BatchEndpointProperties()Creates an instance of BatchEndpointProperties class.
-
-
Method Details
-
defaults
Get the defaults property: Default values for Batch Endpoint.- Returns:
- the defaults value.
-
withDefaults
Set the defaults property: Default values for Batch Endpoint.- Parameters:
defaults- the defaults value to set.- Returns:
- the BatchEndpointProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state for the endpoint.- Returns:
- the provisioningState value.
-
scoringUri
Get the scoringUri property: Endpoint URI.- Overrides:
scoringUriin classEndpointPropertiesBaseInner- Returns:
- the scoringUri value.
-
swaggerUri
Get the swaggerUri property: Endpoint Swagger URI.- Overrides:
swaggerUriin classEndpointPropertiesBaseInner- Returns:
- the swaggerUri value.
-
withDescription
Set the description property: Description of the inference endpoint.- Overrides:
withDescriptionin classEndpointPropertiesBaseInner- Parameters:
description- the description value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
withProperties
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.- Overrides:
withPropertiesin classEndpointPropertiesBaseInner- Parameters:
properties- the properties value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
withAuthMode
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:
withAuthModein classEndpointPropertiesBaseInner- Parameters:
authMode- the authMode value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
withKeys
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:
withKeysin classEndpointPropertiesBaseInner- Parameters:
keys- the keys value to set.- Returns:
- the EndpointPropertiesBaseInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classEndpointPropertiesBaseInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EndpointPropertiesBaseInner>- Overrides:
toJsonin classEndpointPropertiesBaseInner- Throws:
IOException
-
fromJson
public static BatchEndpointProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BatchEndpointProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BatchEndpointProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the BatchEndpointProperties.
-