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, withNewDataDiskFromImagewithAvailabilityZonebeginCreatecreate, createAsyncnamewithTag, withTagswithOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGBwithSize, withSizewithExistingStorageAccount, withNewStorageAccount, withNewStorageAccountwithExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfacedefineNewExtensionwithPlan, withPromotionalPlanwithBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticswithLowPriority, withLowPriority, withPriority, withSpotPriority, withSpotPrioritywithMaxPricewithSystemAssignedManagedServiceIdentitywithExistingUserAssignedManagedServiceIdentity, 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 © 2020 Microsoft Corporation. All rights reserved.