ArmAutomationModelFactory.AgentRegistration Method
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 AgentRegistration.
public static Azure.ResourceManager.Automation.Models.AgentRegistration AgentRegistration (string dscMetaConfiguration = default, Uri endpoint = default, Azure.ResourceManager.Automation.Models.AgentRegistrationKeys keys = default, Azure.Core.ResourceIdentifier id = default);
static member AgentRegistration : string * Uri * Azure.ResourceManager.Automation.Models.AgentRegistrationKeys * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Automation.Models.AgentRegistration
Public Shared Function AgentRegistration (Optional dscMetaConfiguration As String = Nothing, Optional endpoint As Uri = Nothing, Optional keys As AgentRegistrationKeys = Nothing, Optional id As ResourceIdentifier = Nothing) As AgentRegistration
Parameters
- dscMetaConfiguration
- String
Gets or sets the dsc meta configuration.
- endpoint
- Uri
Gets or sets the dsc server endpoint.
Gets or sets the agent registration keys.
Gets or sets the id.
Returns
A new AgentRegistration instance for mocking.