ArmNetworkCloudModelFactory.AdministratorConfiguration Method

Definition

public static Azure.ResourceManager.NetworkCloud.Models.AdministratorConfiguration AdministratorConfiguration(string adminUsername = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudSshPublicKey> sshPublicKeys = default);
static member AdministratorConfiguration : string * seq<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudSshPublicKey> -> Azure.ResourceManager.NetworkCloud.Models.AdministratorConfiguration
Public Shared Function AdministratorConfiguration (Optional adminUsername As String = Nothing, Optional sshPublicKeys As IEnumerable(Of NetworkCloudSshPublicKey) = Nothing) As AdministratorConfiguration

Parameters

adminUsername
String

The user name for the administrator that will be applied to the operating systems that run Kubernetes nodes. If not supplied, a user name will be chosen by the service.

sshPublicKeys
IEnumerable<NetworkCloudSshPublicKey>

The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.

Returns

A new AdministratorConfiguration instance for mocking.

Applies to