Skip to content

bgelens/HybridRunbookWorkerDsc

Repository files navigation

Build status dev: Build status

HybridRunbookWorkerDsc

This module contains resources to onboard or remove Hybrid Runbook Worker from an Automation Account and to reassign the Group membership if needed.

For this resource to work, the node on which this resource is used must already have the Microsoft Monitoring Agent installed. You should link an Automation Account to the OMS Workspace and add the Azure Automation Analytics solution.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

How to Contribute

If you would like to contribute to this repository, please read the DSC Resource Kit contributing guidelines.

Resources

  • HybridRunbookWorker Used for onboarding Hybrid Runbook Worker into Automation Account. Also governs the Group assignment and can be used to remove the worker from the Automation Account.
  • WaitForHybridRegistrationModule Used to wait for HybridRegistration module to be pushed to node by OMS.

HybridRunbookWorker

This resource is capable of:

  • Enabling Hybrid Runbook Worker if Microsoft Monitoring Agent is already installed.
  • Change the Hybrid Runbook Worker Group
  • Remove Hybrid Runbook Worker from Automation Account.

This resource contains the following properties:

  • Ensure: Ensures that the node is onboarded or removed from the Automation Account.
  • Endpoint: URI of the Automation Account.
  • Token: Credential containing the Automation Account primary or secondary key as a password.
  • GroupName: The Hybrid Runbook Worker Group for this worker to join.

WaitForHybridRegistrationModule

This resource is capable of:

  • Waiting for the HybridRegistration module to appear.

This resource contains the following properties:

  • IsSingleInstance: Specifies if the resource is a single instance, the value must be 'Yes'
  • RetryIntervalSec: Specifies amount of seconds between retries. Default 60 seconds.
  • RetryCount: Specifies amount of retries. Default 10 times.

Versions

Unreleased

  • Initial release with the following resources:
    • HybridRunbookWorker
    • WaitForHybridRegistrationModule

1.0.0.0

About

DSC Resources dealing with Automation Hybrid Runbook worker onboarding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •