VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateUnmanaged Interface
public interface WithLinuxCreateUnmanaged extends VirtualMachineScaleSet.DefinitionStages.WithUnmanagedCreate
The stage of a Linux virtual machine scale set 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 the SSH public key. Each call to this method adds the given public key to the list of VM's public keys. |
Inherited Members
Creatable<T>.create()
Creatable<T>.createAsync(final ServiceCallback<T> callback)
Creatable<T>.createAsync()
VirtualMachineScaleSet.DefinitionStages.WithExtension.defineNewExtension(String name)
Indexable.key()
HasName.name()
VirtualMachineScaleSet.DefinitionStages.WithCapacity.withCapacity(int capacity)
VirtualMachineScaleSet.DefinitionStages.WithComputerNamePrefix.withComputerNamePrefix(String namePrefix)
VirtualMachineScaleSet.DefinitionStages.WithCustomData.withCustomData(String base64EncodedCustomData)
VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount)
VirtualMachineScaleSet.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity()
VirtualMachineScaleSet.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort)
VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name)
VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable)
VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType)
VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings.withOSDiskName(String name)
VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withoutOverProvisioning()
VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withOverProvision(boolean enabled)
VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withOverProvisioning()
Resource.DefinitionWithTags<T>.withTag(String key, String value)
Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags)
VirtualMachineScaleSet.DefinitionStages.WithUpgradePolicy.withUpgradeMode(UpgradeMode upgradeMode)
Method Details
withSsh
public WithLinuxCreateUnmanaged 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
- an SSH public key in the PEM format.
Returns:
the next stage of the definition
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java