Class BatchEndpointDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.EndpointPropertiesBaseInner
-
- com.azure.resourcemanager.machinelearning.models.BatchEndpointDetails
-
public final class BatchEndpointDetails extends EndpointPropertiesBaseInner
Batch endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description BatchEndpointDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchEndpointDefaults
defaults()
Get the defaults property: Default values for Batch Endpoint.EndpointProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state for the endpoint.void
validate()
Validates the instance.BatchEndpointDetails
withAuthMode(EndpointAuthMode authMode)
Set the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.BatchEndpointDetails
withDefaults(BatchEndpointDefaults defaults)
Set the defaults property: Default values for Batch Endpoint.BatchEndpointDetails
withDescription(String description)
Set the description property: Description of the inference endpoint.BatchEndpointDetails
withKeys(EndpointAuthKeysInner keys)
Set the keys property: EndpointAuthKeys to set initially on an Endpoint.BatchEndpointDetails
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, properties, scoringUri, swaggerUri
-
-
-
-
Method Detail
-
defaults
public BatchEndpointDefaults defaults()
Get the defaults property: Default values for Batch Endpoint.- Returns:
- the defaults value.
-
withDefaults
public BatchEndpointDetails withDefaults(BatchEndpointDefaults defaults)
Set the defaults property: Default values for Batch Endpoint.- Parameters:
defaults
- the defaults value to set.- Returns:
- the BatchEndpointDetails object itself.
-
provisioningState
public EndpointProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the endpoint.- Returns:
- the provisioningState value.
-
withAuthMode
public BatchEndpointDetails 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 BatchEndpointDetails 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 BatchEndpointDetails 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 BatchEndpointDetails 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.
-
-