public static interface VirtualMachine.DefinitionStages.WithLinuxCreate extends VirtualMachine.DefinitionStages.WithCreate
Creatable.create()), but also allows
for any other optional settings to be specified.| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithLinuxCreate |
withSsh(String publicKey)
Specifies the SSH public key.
|
create, createAsync, createAsync, namekeywithTag, withTagswithPasswordwithOsDiskCaching, withOsDiskEncryptionSettings, withOsDiskName, withOsDiskSizeInGb, withOsDiskVhdLocationwithSize, withSizewithExistingStorageAccount, withNewStorageAccount, withNewStorageAccountdefineExistingDataDisk, defineNewDataDisk, withExistingDataDisk, withNewDataDiskwithExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfacedefineNewExtensionVirtualMachine.DefinitionStages.WithLinuxCreate withSsh(String publicKey)
Each call to this method adds the given public key to the list of VM's public keys.
publicKey - the SSH public key in PEM format./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/