Class AmlCompute
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.Compute
-
- com.azure.resourcemanager.machinelearning.models.AmlCompute
-
public final class AmlCompute extends Compute
An Azure Machine Learning compute.
-
-
Constructor Summary
Constructors Constructor Description AmlCompute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmlComputeProperties
properties()
Get the properties property: Properties of AmlCompute.void
validate()
Validates the instance.AmlCompute
withDescription(String description)
Set the description property: The description of the Machine Learning compute.AmlCompute
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.AmlCompute
withProperties(AmlComputeProperties properties)
Set the properties property: Properties of AmlCompute.AmlCompute
withResourceId(String resourceId)
Set the resourceId property: ARM resource id of the underlying compute.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.Compute
computeLocation, createdOn, description, disableLocalAuth, isAttachedCompute, modifiedOn, provisioningErrors, provisioningState, resourceId
-
-
-
-
Method Detail
-
properties
public AmlComputeProperties properties()
Get the properties property: Properties of AmlCompute.- Returns:
- the properties value.
-
withProperties
public AmlCompute withProperties(AmlComputeProperties properties)
Set the properties property: Properties of AmlCompute.- Parameters:
properties
- the properties value to set.- Returns:
- the AmlCompute object itself.
-
withDescription
public AmlCompute withDescription(String description)
Set the description property: The description of the Machine Learning compute.- Overrides:
withDescription
in classCompute
- Parameters:
description
- the description value to set.- Returns:
- the Compute object itself.
-
withResourceId
public AmlCompute withResourceId(String resourceId)
Set the resourceId property: ARM resource id of the underlying compute.- Overrides:
withResourceId
in classCompute
- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the Compute object itself.
-
withDisableLocalAuth
public AmlCompute withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.- Overrides:
withDisableLocalAuth
in classCompute
- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the Compute object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classCompute
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-