ContainerServiceLinuxProfile Constructor
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.
Initializes a new instance of ContainerServiceLinuxProfile.
public ContainerServiceLinuxProfile(string adminUsername, System.Collections.Generic.IList<Azure.ResourceManager.ContainerService.Models.ContainerServiceSshPublicKey> sshPublicKeys);
new Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile : string * System.Collections.Generic.IList<Azure.ResourceManager.ContainerService.Models.ContainerServiceSshPublicKey> -> Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile
Public Sub New (adminUsername As String, sshPublicKeys As IList(Of ContainerServiceSshPublicKey))
Parameters
- adminUsername
- String
The administrator username to use for Linux VMs.
- sshPublicKeys
- IList<ContainerServiceSshPublicKey>
The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
Exceptions
adminUsername or sshPublicKeys is null.