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