In this case, you don't have a published version yet because you just created the runbook. When you publish a runbook, you overwrite the existing published version with the draft version. You need to publish it before you can run it in production. The runbook that you created is still in draft mode. In this case, you should see Hello World.Ĭlose the Test pane to return to the canvas. When the runbook job completes, its output is displayed. It changes to Starting when a worker claims the job, and then Running when the runbook actually starts running. The job status starts as Queued, indicating that it's waiting for a runbook worker in the cloud to become available. This option should be the only enabled option.Ī runbook job is created and its status displayed. When you test a runbook, you run its draft version and view its output interactively. Test the runbookīefore you publish the runbook to make it available in production, you want to test it to make sure that it works properly. Now you add a simple command to print the text Hello World. Select Create to create the runbook and open the textual editor. Select Python 3.8 for the Runtime version. Give the runbook the name MyFirstRunbook-Python. Select Create a runbook to create a new runbook. Select Runbooks under Process Automation to open the list of runbooks. You can verify that by viewing the Identity resource under Account Settings. You should also have a managed identity enabled that's mentioned in the prerequisites. Most of those assets are the modules that are automatically included in a new Automation account. The Automation account page gives you a quick view of the resources in this account. In the Azure portal, open your Automation account. You start by creating a simple runbook that outputs the text Hello World. During this tutorial, you'll start and stop this machine, so it shouldn't be a production VM. A managed identity is automatically created for you when you create the Automation account.Īn Azure virtual machine. If you don't have one yet, you can activate your MSDN subscriber benefits or sign up for a free account.Īn Automation account to hold the runbook and authenticate to Azure resources using Managed Identities.
0 Comments
Leave a Reply. |