public static interface VirtualMachine.DefinitionStages.WithLinuxCreateManaged extends VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithLinuxCreateManaged |
withSsh(String publicKey)
Specifies the SSH public key.
|
withComputerName, withCustomDatawithDataDiskDefaultCachingType, withDataDiskDefaultStorageAccountType, withOSDiskStorageAccountTypewithExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDiskFromImage, withNewDataDiskFromImage, withNewDataDiskFromImagewithAvailabilityZonecreate, createAsync, createAsynckeynamewithTag, withTagswithOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB, withOSDiskSizeInGBwithSize, withSizewithExistingStorageAccount, withNewStorageAccount, withNewStorageAccountwithExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfacedefineNewExtensionwithPlan, withPromotionalPlanwithBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticswithSystemAssignedManagedServiceIdentitywithExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentitywithLicenseTypeVirtualMachine.DefinitionStages.WithLinuxCreateManaged 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 © 2019. All rights reserved.