Lezen in het Engels

Delen via


VirtualMachine.DefinitionStages.WithLinuxCreateManaged Interface

Implements

public static interface VirtualMachine.DefinitionStages.WithLinuxCreateManaged
extends 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 Summary

Modifier and Type Method and Description
abstract WithLinuxCreateManaged withSsh(String publicKey)

Specifies the SSH public key.

Method Details

withSsh

public abstract VirtualMachine.DefinitionStages.WithLinuxCreateManaged withSsh(String publicKey)

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

Applies to

Azure SDK for Java

Latest