Interface VirtualMachine.DefinitionStages.WithAvailabilitySet

    • Method Detail

      • withNewAvailabilitySet

        VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet​(String name)
        Specifies the name of a new availability set to associate with the virtual machine.
        Parameters:
        name - the name of an availability set
        Returns:
        the next stage of the definition
      • withNewAvailabilitySet

        VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet​(Creatable<AvailabilitySet> creatable)
        Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.
        Parameters:
        creatable - a creatable availability set definition
        Returns:
        the next stage of the definition
      • withExistingAvailabilitySet

        VirtualMachine.DefinitionStages.WithCreate withExistingAvailabilitySet​(AvailabilitySet availabilitySet)
        Specifies an existing availability set to associate with the virtual machine.
        Parameters:
        availabilitySet - an existing availability set
        Returns:
        the next stage of the definition