ComputeInstance Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. Compute - com.
azure. resourcemanager. machinelearning. models. ComputeInstance
- com.
- com.
public final class ComputeInstance
extends Compute
An Azure Machine Learning compute instance.
Constructor Summary
| Constructor | Description |
|---|---|
| ComputeInstance() |
Creates an instance of Compute |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Compute |
computeType()
Get the compute |
|
Offset |
createdOn()
Get the created |
|
static
Compute |
fromJson(JsonReader jsonReader)
Reads an instance of Compute |
| Boolean |
isAttachedCompute()
Get the is |
|
Offset |
modifiedOn()
Get the modified |
|
Compute |
properties()
Get the properties property: Properties of Compute |
|
List<Management |
provisioningErrors()
Get the provisioning |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Compute |
withComputeLocation(String computeLocation)
Set the compute |
|
Compute |
withDescription(String description)
Set the description property: The description of the Machine Learning compute. |
|
Compute |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Compute |
withProperties(ComputeInstanceProperties properties)
Set the properties property: Properties of Compute |
|
Compute |
withResourceId(String resourceId)
Set the resource |
Methods inherited from Compute
Methods inherited from java.lang.Object
Constructor Details
ComputeInstance
public ComputeInstance()
Creates an instance of ComputeInstance class.
Method Details
computeType
public ComputeType computeType()
Get the computeType property: The type of compute.
Overrides:
ComputeInstance.computeType()Returns:
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: The time at which the compute was created.
Overrides:
ComputeInstance.createdOn()Returns:
fromJson
public static ComputeInstance fromJson(JsonReader jsonReader)
Reads an instance of ComputeInstance from the JsonReader.
Parameters:
Returns:
Throws:
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.
Overrides:
ComputeInstance.isAttachedCompute()Returns:
modifiedOn
public OffsetDateTime modifiedOn()
Get the modifiedOn property: The time at which the compute was last modified.
Overrides:
ComputeInstance.modifiedOn()Returns:
properties
public ComputeInstanceProperties properties()
Get the properties property: Properties of ComputeInstance.
Returns:
provisioningErrors
public List<ManagementError> provisioningErrors()
Get the provisioningErrors property: Errors during provisioning.
Overrides:
ComputeInstance.provisioningErrors()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.
Overrides:
ComputeInstance.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ComputeInstance.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ComputeInstance.validate()withComputeLocation
public ComputeInstance withComputeLocation(String computeLocation)
Set the computeLocation property: Location for the underlying compute.
Overrides:
ComputeInstance.withComputeLocation(String computeLocation)Parameters:
withDescription
public ComputeInstance withDescription(String description)
Set the description property: The description of the Machine Learning compute.
Overrides:
ComputeInstance.withDescription(String description)Parameters:
withDisableLocalAuth
public ComputeInstance 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:
ComputeInstance.withDisableLocalAuth(Boolean disableLocalAuth)Parameters:
withProperties
public ComputeInstance withProperties(ComputeInstanceProperties properties)
Set the properties property: Properties of ComputeInstance.
Parameters:
Returns:
withResourceId
public ComputeInstance withResourceId(String resourceId)
Set the resourceId property: ARM resource id of the underlying compute.
Overrides:
ComputeInstance.withResourceId(String resourceId)Parameters: