VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged Interface
public interface WithLinuxCreateUnmanaged extends VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged
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 |
---|---|
Virtual |
withSsh(String publicKey)
Specifies an SSH public key. |
Inherited Members
Creatable<T>.create()
Creatable<T>.createAsync(final ServiceCallback<T> callback)
Creatable<T>.createAsync()
VirtualMachine.DefinitionStages.WithExtension.defineNewExtension(String name)
VirtualMachine.DefinitionStages.WithUnmanagedDataDisk.defineUnmanagedDataDisk(String name)
Indexable.key()
HasName.name()
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics()
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(Creatable<StorageAccount> creatable)
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(StorageAccount storageAccount)
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(String storageAccountBlobEndpointUri)
VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged.withComputerName(String computerName)
VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged.withCustomData(String base64EncodedCustomData)
VirtualMachine.DefinitionStages.WithAvailabilitySet.withExistingAvailabilitySet(AvailabilitySet availabilitySet)
VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withExistingSecondaryNetworkInterface(NetworkInterface networkInterface)
VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount)
VirtualMachine.DefinitionStages.WithUnmanagedDataDisk.withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
VirtualMachine.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity()
VirtualMachine.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort)
VirtualMachine.DefinitionStages.WithAvailabilitySet.withNewAvailabilitySet(String name)
VirtualMachine.DefinitionStages.WithAvailabilitySet.withNewAvailabilitySet(Creatable<AvailabilitySet> creatable)
VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable)
VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name)
VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable)
VirtualMachine.DefinitionStages.WithUnmanagedDataDisk.withNewUnmanagedDataDisk(Integer sizeInGB)
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType)
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskName(String name)
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskSizeInGB(Integer size)
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskSizeInGB(int size)
VirtualMachine.DefinitionStages.WithUnmanagedCreate.withOSDiskVhdLocation(String containerName, String vhdName)
VirtualMachine.DefinitionStages.WithPlan.withPlan(PurchasePlan plan)
VirtualMachine.DefinitionStages.WithPlan.withPromotionalPlan(PurchasePlan plan, String promotionCode)
VirtualMachine.DefinitionStages.WithVMSize.withSize(String sizeName)
VirtualMachine.DefinitionStages.WithVMSize.withSize(VirtualMachineSizeTypes size)
Resource.DefinitionWithTags<T>.withTag(String key, String value)
Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags)
Method Details
withSsh
public WithLinuxCreateUnmanaged withSsh(String publicKey)
Specifies an SSH public key.
Parameters:
publicKey
- an SSH public key in the PEM format.
Returns:
the next stage of the definition
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de