DataFactory Class

public final class DataFactory
extends Compute

A DataFactory compute.

Constructor Summary

Constructor Description
DataFactory()

Creates an instance of DataFactory class.

Method Summary

Modifier and Type Method and Description
ComputeType computeType()

Get the computeType property: The type of compute.

OffsetDateTime createdOn()

Get the createdOn property: The time at which the compute was created.

static DataFactory fromJson(JsonReader jsonReader)

Reads an instance of DataFactory from the JsonReader.

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<ManagementError> provisioningErrors()

Get the provisioningErrors property: Errors during provisioning.

ProvisioningState provisioningState()

Get the provisioningState property: The provision state of the cluster.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataFactory withComputeLocation(String computeLocation)

Set the computeLocation property: Location for the underlying compute.

DataFactory withDescription(String description)

Set the description property: The description of the Machine Learning compute.

DataFactory withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.

DataFactory withResourceId(String resourceId)

Set the resourceId property: ARM resource id of the underlying compute.

Methods inherited from Compute

Methods inherited from java.lang.Object

Constructor Details

DataFactory

public DataFactory()

Creates an instance of DataFactory class.

Method Details

computeType

public ComputeType computeType()

Get the computeType property: The type of compute.

Overrides:

DataFactory.computeType()

Returns:

the computeType value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: The time at which the compute was created.

Overrides:

DataFactory.createdOn()

Returns:

the createdOn value.

fromJson

public static DataFactory fromJson(JsonReader jsonReader)

Reads an instance of DataFactory from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataFactory 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 DataFactory.

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:

DataFactory.isAttachedCompute()

Returns:

the isAttachedCompute value.

modifiedOn

public OffsetDateTime modifiedOn()

Get the modifiedOn property: The time at which the compute was last modified.

Overrides:

DataFactory.modifiedOn()

Returns:

the modifiedOn value.

provisioningErrors

public List<ManagementError> provisioningErrors()

Get the provisioningErrors property: Errors during provisioning.

Overrides:

DataFactory.provisioningErrors()

Returns:

the provisioningErrors value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.

Overrides:

DataFactory.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataFactory.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataFactory.validate()

withComputeLocation

public DataFactory withComputeLocation(String computeLocation)

Set the computeLocation property: Location for the underlying compute.

Overrides:

DataFactory.withComputeLocation(String computeLocation)

Parameters:

computeLocation

withDescription

public DataFactory withDescription(String description)

Set the description property: The description of the Machine Learning compute.

Overrides:

DataFactory.withDescription(String description)

Parameters:

description

withDisableLocalAuth

public DataFactory 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:

DataFactory.withDisableLocalAuth(Boolean disableLocalAuth)

Parameters:

disableLocalAuth

withResourceId

public DataFactory withResourceId(String resourceId)

Set the resourceId property: ARM resource id of the underlying compute.

Overrides:

DataFactory.withResourceId(String resourceId)

Parameters:

resourceId

Applies to