Share via


ArmAutomationModelFactory.AutomationKey Method

Definition

Initializes a new instance of AutomationKey.

public static Azure.ResourceManager.Automation.Models.AutomationKey AutomationKey (Azure.ResourceManager.Automation.Models.AutomationKeyName? keyName = default, Azure.ResourceManager.Automation.Models.AutomationKeyPermission? permissions = default, string value = default);
static member AutomationKey : Nullable<Azure.ResourceManager.Automation.Models.AutomationKeyName> * Nullable<Azure.ResourceManager.Automation.Models.AutomationKeyPermission> * string -> Azure.ResourceManager.Automation.Models.AutomationKey
Public Shared Function AutomationKey (Optional keyName As Nullable(Of AutomationKeyName) = Nothing, Optional permissions As Nullable(Of AutomationKeyPermission) = Nothing, Optional value As String = Nothing) As AutomationKey

Parameters

keyName
Nullable<AutomationKeyName>

Automation key name.

permissions
Nullable<AutomationKeyPermission>

Automation key permissions.

value
String

Value of the Automation Key used for registration.

Returns

A new AutomationKey instance for mocking.

Applies to