IWithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged.WithSsh(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the SSH public key. Each call to this method adds the given public key to the list of VM's public keys.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithLinuxCreateManagedOrUnmanaged WithSsh (string publicKey);
abstract member WithSsh : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithLinuxCreateManagedOrUnmanaged
Public Function WithSsh (publicKey As String) As IWithLinuxCreateManagedOrUnmanaged
Parameters
- publicKey
- String
The SSH public key in PEM format.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET