Class Compute
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.Compute
-
- Direct Known Subclasses:
Aks
,AmlCompute
,ComputeInstance
,Databricks
,DataFactory
,DataLakeAnalytics
,HDInsight
,Kubernetes
,SynapseSpark
,VirtualMachine
public class Compute extends Object
Machine Learning compute object.
-
-
Constructor Summary
Constructors Constructor Description Compute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
computeLocation()
Get the computeLocation property: Location for the underlying compute.OffsetDateTime
createdOn()
Get the createdOn property: The time at which the compute was created.String
description()
Get the description property: The description of the Machine Learning compute.Boolean
disableLocalAuth()
Get the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.Boolean
isAttachedCompute()
Get the isAttachedCompute property: Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.OffsetDateTime
modifiedOn()
Get the modifiedOn property: The time at which the compute was last modified.List<com.azure.core.management.exception.ManagementError>
provisioningErrors()
Get the provisioningErrors property: Errors during provisioning.ProvisioningState
provisioningState()
Get the provisioningState property: The provision state of the cluster.String
resourceId()
Get the resourceId property: ARM resource id of the underlying compute.void
validate()
Validates the instance.Compute
withDescription(String description)
Set the description property: The description of the Machine Learning compute.Compute
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.Compute
withResourceId(String resourceId)
Set the resourceId property: ARM resource id of the underlying compute.
-
-
-
Method Detail
-
computeLocation
public String computeLocation()
Get the computeLocation property: Location for the underlying compute.- Returns:
- the computeLocation value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.- Returns:
- the provisioningState value.
-
description
public String description()
Get the description property: The description of the Machine Learning compute.- Returns:
- the description value.
-
withDescription
public Compute withDescription(String description)
Set the description property: The description of the Machine Learning compute.- Parameters:
description
- the description value to set.- Returns:
- the Compute object itself.
-
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: The time at which the compute was created.- Returns:
- the createdOn value.
-
modifiedOn
public OffsetDateTime modifiedOn()
Get the modifiedOn property: The time at which the compute was last modified.- Returns:
- the modifiedOn value.
-
resourceId
public String resourceId()
Get the resourceId property: ARM resource id of the underlying compute.- Returns:
- the resourceId value.
-
withResourceId
public Compute withResourceId(String resourceId)
Set the resourceId property: ARM resource id of the underlying compute.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the Compute object itself.
-
provisioningErrors
public List<com.azure.core.management.exception.ManagementError> provisioningErrors()
Get the provisioningErrors property: Errors during provisioning.- Returns:
- the provisioningErrors value.
-
isAttachedCompute
public Boolean isAttachedCompute()
Get the isAttachedCompute property: Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.- Returns:
- the isAttachedCompute value.
-
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
public Compute withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the Compute object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-