Class HDInsight
java.lang.Object
com.azure.resourcemanager.machinelearning.models.Compute
com.azure.resourcemanager.machinelearning.models.HDInsight
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Compute>
A HDInsight compute.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the computeType property: The type of compute.Get the createdOn property: The time at which the compute was created.static HDInsightfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HDInsight from the JsonReader.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.Get the modifiedOn property: The time at which the compute was last modified.Get the properties property: HDInsight compute properties.List<com.azure.core.management.exception.ManagementError>Get the provisioningErrors property: Errors during provisioning.Get the provisioningState property: The provision state of the cluster.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withComputeLocation(String computeLocation) Set the computeLocation property: Location for the underlying compute.withDescription(String description) Set the description property: The description of the Machine Learning 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.withProperties(HDInsightProperties properties) Set the properties property: HDInsight compute properties.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, description, disableLocalAuth, resourceIdMethods 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
-
HDInsight
public HDInsight()Creates an instance of HDInsight class.
-
-
Method Details
-
computeType
Get the computeType property: The type of compute.- Overrides:
computeTypein classCompute- Returns:
- the computeType value.
-
properties
Get the properties property: HDInsight compute properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: HDInsight compute properties.- Parameters:
properties- the properties value to set.- Returns:
- the HDInsight object itself.
-
provisioningState
Get the provisioningState property: The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.- Overrides:
provisioningStatein classCompute- Returns:
- the provisioningState value.
-
createdOn
Get the createdOn property: The time at which the compute was created. -
modifiedOn
Get the modifiedOn property: The time at which the compute was last modified.- Overrides:
modifiedOnin classCompute- Returns:
- the modifiedOn value.
-
provisioningErrors
Get the provisioningErrors property: Errors during provisioning.- Overrides:
provisioningErrorsin classCompute- Returns:
- the provisioningErrors value.
-
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.- Overrides:
isAttachedComputein classCompute- Returns:
- the isAttachedCompute value.
-
withComputeLocation
Set the computeLocation property: Location for the underlying compute.- Overrides:
withComputeLocationin classCompute- Parameters:
computeLocation- the computeLocation value to set.- Returns:
- the Compute object itself.
-
withDescription
Set the description property: The description of the Machine Learning compute.- Overrides:
withDescriptionin classCompute- Parameters:
description- the description value to set.- Returns:
- the Compute object itself.
-
withResourceId
Set the resourceId property: ARM resource id of the underlying compute.- Overrides:
withResourceIdin classCompute- Parameters:
resourceId- the resourceId value to set.- Returns:
- the Compute object itself.
-
withDisableLocalAuth
Set the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.- Overrides:
withDisableLocalAuthin classCompute- Parameters:
disableLocalAuth- the disableLocalAuth value to set.- Returns:
- the Compute object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCompute- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Compute>- Overrides:
toJsonin classCompute- Throws:
IOException
-
fromJson
Reads an instance of HDInsight from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HDInsight if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the HDInsight.
-