Share via


Key Constructors

Definition

Overloads

Key()

Initializes a new instance of the Key class.

Key(String, String, String)

Initializes a new instance of the Key class.

Key()

Initializes a new instance of the Key class.

public Key ();
Public Sub New ()

Applies to

Key(String, String, String)

Initializes a new instance of the Key class.

public Key (string keyName = default, string permissions = default, string value = default);
new Microsoft.Azure.Management.Automation.Models.Key : string * string * string -> Microsoft.Azure.Management.Automation.Models.Key
Public Sub New (Optional keyName As String = Nothing, Optional permissions As String = Nothing, Optional value As String = Nothing)

Parameters

keyName
String

Automation key name. Possible values include: 'Primary', 'Secondary'

permissions
String

Automation key permissions. Possible values include: 'Read', 'Full'

value
String

Value of the Automation Key used for registration.

Applies to