Class VirtualMachine


  • public final class VirtualMachine
    extends Compute
    A Machine Learning compute based on Azure Virtual Machines.
    • Constructor Detail

      • VirtualMachine

        public VirtualMachine()
    • Method Detail

      • properties

        public VirtualMachineSchemaProperties properties()
        Get the properties property: The properties property.
        Returns:
        the properties value.
      • withProperties

        public VirtualMachine withProperties​(VirtualMachineSchemaProperties properties)
        Set the properties property: The properties property.
        Parameters:
        properties - the properties value to set.
        Returns:
        the VirtualMachine object itself.
      • withDescription

        public VirtualMachine withDescription​(String description)
        Set the description property: The description of the Machine Learning compute.
        Overrides:
        withDescription in class Compute
        Parameters:
        description - the description value to set.
        Returns:
        the Compute object itself.
      • withResourceId

        public VirtualMachine withResourceId​(String resourceId)
        Set the resourceId property: ARM resource id of the underlying compute.
        Overrides:
        withResourceId in class Compute
        Parameters:
        resourceId - the resourceId value to set.
        Returns:
        the Compute object itself.
      • 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:
        withDisableLocalAuth in class Compute
        Parameters:
        disableLocalAuth - the disableLocalAuth value to set.
        Returns:
        the Compute object itself.