Interface VirtualMachine.DefinitionStages.WithLinuxCreateManaged

All Superinterfaces:
Creatable<VirtualMachine>, HasName, Indexable, Resource.DefinitionWithTags<VirtualMachine.DefinitionStages.WithCreate>, VirtualMachine.DefinitionStages.WithAvailabilitySet, VirtualMachine.DefinitionStages.WithAvailabilityZone, VirtualMachine.DefinitionStages.WithBillingProfile, VirtualMachine.DefinitionStages.WithBootDiagnostics, VirtualMachine.DefinitionStages.WithCreate, VirtualMachine.DefinitionStages.WithExtension, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged, VirtualMachine.DefinitionStages.WithLicenseType, VirtualMachine.DefinitionStages.WithManagedCreate, VirtualMachine.DefinitionStages.WithManagedDataDisk, VirtualMachine.DefinitionStages.WithOSDiskSettings, VirtualMachine.DefinitionStages.WithPlan, VirtualMachine.DefinitionStages.WithPriority, VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface, VirtualMachine.DefinitionStages.WithStorageAccount, VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity, VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity, VirtualMachine.DefinitionStages.WithVMSize
All Known Subinterfaces:
VirtualMachine.DefinitionManaged
Enclosing interface:
VirtualMachine.DefinitionStages

public static interface VirtualMachine.DefinitionStages.WithLinuxCreateManaged extends VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged
The stage of a Linux virtual machine definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.
  • Method Details

    • withSsh

      Specifies the SSH public key.

      Each call to this method adds the given public key to the list of VM's public keys.

      Parameters:
      publicKey - the SSH public key in PEM format.
      Returns:
      the stage representing creatable Linux VM definition