共用方式為


ArmAutomationModelFactory.AgentRegistrationKeys(String, String) Method

Definition

Initializes a new instance of AgentRegistrationKeys.

public static Azure.ResourceManager.Automation.Models.AgentRegistrationKeys AgentRegistrationKeys (string primary = default, string secondary = default);
static member AgentRegistrationKeys : string * string -> Azure.ResourceManager.Automation.Models.AgentRegistrationKeys
Public Shared Function AgentRegistrationKeys (Optional primary As String = Nothing, Optional secondary As String = Nothing) As AgentRegistrationKeys

Parameters

primary
String

Gets or sets the primary key.

secondary
String

Gets or sets the secondary key.

Returns

A new AgentRegistrationKeys instance for mocking.

Applies to