Skip to content

Commit 19044c1

Browse files
authored
Merge pull request #111832 from BethWilke/branch123
Fixing task 1707222
2 parents d9b5ba8 + 9c4372e commit 19044c1

13 files changed

+433
-471
lines changed

articles/automation/change-tracking-file-contents.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: View file content changes with Azure Automation
3-
description: Use the file content change feature of Change tracking to view the contents of a file that has changed.
3+
description: Use the file content change feature of Change Tracking to view the contents of a file that has changed.
44
services: automation
55
ms.subservice: change-inventory-management
66
ms.date: 07/03/2018
@@ -14,9 +14,9 @@ File content tracking allows you to view the contents of a file before and after
1414

1515
* A standard storage account using the Resource Manager deployment model is required for storing file content. Premium and classic deployment model storage accounts should not be used. For more information on storage accounts, see [About Azure storage accounts](../storage/common/storage-create-storage-account.md)
1616

17-
* The storage account used can only have 1 Automation Account connected.
17+
* The storage account used can only have 1 Automation account connected.
1818

19-
* [Change Tracking](automation-change-tracking.md) is enabled in your Automation Account.
19+
* [Change Tracking](automation-change-tracking.md) is enabled in your Automation account.
2020

2121
## Enable file content tracking
2222

@@ -38,19 +38,19 @@ File content tracking allows you to view the contents of a file before and after
3838

3939
The following steps walk you through turning on change tracking for a file:
4040

41-
1. On the **Edit Settings** page of **Change Tracking**, select either **Windows Files** or **Linux Files** tab, and click **Add**
41+
1. On the Edit Settings page of **Change Tracking**, select either the **Windows Files** or the **Linux Files** tab, and click **Add**
4242

43-
1. Fill out the information for the file path and select **True** under **Upload file content for all settings**. This setting enables file content tracking for that file path only.
43+
1. Fill out the information for the file path and select True under **Upload file content for all settings**. This setting enables file content tracking for that file path only.
4444

4545
![add a linux file](./media/change-tracking-file-contents/add-linux-file.png)
4646

4747
## Viewing the contents of a tracked file
4848

49-
1. Once a change has been detected for the file or a file in the path, it shows in the portal. Select the file change from the list of changes. The **Change details** pane is displayed.
49+
1. Once a change has been detected for the file or a file in the path, it shows in the portal. Select the file change from the list of changes. The Change details pane is displayed.
5050

5151
![list changes](./media/change-tracking-file-contents/change-list.png)
5252

53-
1. On the **Change details** page, you see the standard before and after file information, in the top left, click **View File Content Changes** to see the contents of the file.
53+
1. On the Change details pane, you see the standard before and after file information. Select **View File Content Changes** to see the contents of the file.
5454

5555
![change details](./media/change-tracking-file-contents/change-details.png)
5656

articles/automation/change-tracking.md

Lines changed: 135 additions & 140 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,46 @@
11
---
2-
title: Composing DSC Configurations in Azure Automation State Configuration (DSC) using Composite Resources
3-
description: Learn how to compose configurations using composite resources in Azure Automation State Configuration (DSC)
2+
title: Composing DSC configurations in Azure Automation State Configuration using composite resources
3+
description: Learn how to compose configurations using composite resources in Azure Automation State Configuration.
44
keywords: powershell dsc, desired state configuration, powershell dsc azure, composite resources
55
services: automation
66
ms.subservice: dsc
77
ms.date: 08/21/2018
88
ms.topic: conceptual
99
---
10-
# Composing DSC Configurations in Azure Automation State Configuration (DSC) using Composite Resources
10+
# Composing DSC configurations in Azure Automation State Configuration using composite resources
1111

12-
When a resource needs to be managed with more than a single desired state configuration (DSC)
13-
configuration, the best path is to use [composite
14-
resources](/powershell/scripting/dsc/resources/authoringresourcecomposite). A composite resource is a nested and
15-
parameterized configuration being used as a DSC resource within another configuration. This allows
16-
the creation of complex configurations while allowing the underlying composite resources
17-
(parameterized configurations) to be individually managed and built.
12+
When you need to manage resource with more than a single desired state configuration (DSC), the best path is to use [composite resources](/powershell/scripting/dsc/resources/authoringresourcecomposite). A composite resource is a nested and parameterized configuration being used as a DSC resource within another configuration. Use of composite resources allows you to create complex configurations while allowing the underlying composite resources to be individually managed and built.
1813

19-
Azure Automation enables the [import and compilation of composite
20-
resources](automation-dsc-compile.md).
21-
Once composite resources have been
22-
imported into your Automation account, you are able to use the **Compose configuration** experience
23-
in the **State Configuration (DSC)** page.
14+
Azure Automation enables the [import and compilation of composite resources](automation-dsc-compile.md). Once you've imported composite resources into your Automation account, you can use Azure Automation State Configuration through the **State Configuration (DSC** feature in the Azure portal.
2415

2516
## Composing a configuration from composite resources
2617

2718
Before you can assign a configuration made from composite resources in the Azure portal, you must
28-
compose it. This can be done using **Compose configuration** on the **State Configuration (DSC)**
29-
page while on either the **Configurations** or **Compiled configurations** tabs.
19+
compose the configuration. Composition uses **Compose configuration** on the State Configuration (DSC)
20+
page while on either the **Configurations** or the **Compiled configurations** tab.
3021

3122
1. Sign in to the [Azure portal](https://portal.azure.com).
3223
1. On the left, click **All resources** and then the name of your Automation account.
33-
1. On the **Automation account** page, select **State configuration (DSC)** under **Configuration Management**.
34-
1. On the **State configuration (DSC)** page, click either the **Configurations** or **Compiled configurations** tab, then click **Compose configuration** in the menu at the top of the page.
35-
1. On the **Basics** step, provide the new configuration name (required) and click anywhere on the row of each composite resource that you want to include in your new configuration, then click **Next** or click the **Source code** step. For the following steps, we selected **PSExecutionPolicy** and **RenameAndDomainJoin** composite resources.
24+
1. On the Automation account page, select **State configuration (DSC)** under **Configuration Management**.
25+
1. On the State configuration (DSC) page, click either the **Configurations** or the **Compiled configurations** tab, then click **Compose configuration** in the menu at the top of the page.
26+
1. On the **Basics** step, provide the new configuration name (required) and click anywhere on the row of each composite resource that you want to include in your new configuration, then click **Next** or click the **Source code** step. For the following steps, we selected `PSExecutionPolicy` and `RenameAndDomainJoin` composite resources.
3627
![Screenshot of the basics step of the compose configuration page](./media/compose-configurationwithcompositeresources/compose-configuration-basics.png)
3728
1. The **Source code** step shows what the composed configuration of the selected composite resources looks like. You can see the merging of all parameters and how they are passed to the composite resource. When you are done reviewing the new source code, click **Next** or click the **Parameters** step.
3829
![Screenshot of the source code step of the compose configuration page](./media/compose-configurationwithcompositeresources/compose-configuration-sourcecode.png)
39-
1. On the **Parameters** step, the parameter that each composite resource has is exposed so that they can be provided. If a parameter has a description, it is displayed next to the parameter field. If a field is a **PSCredential** type parameter, the drop-down to configure provides a list of **Credential** objects in the current Automation account. A **+ Add a credential** option is also available. Once all required parameters have been provided, click **Save and compile**.
30+
1. On the **Parameters** step, the parameter for each composite resource is exposed so that values can be provided. If a parameter has a description, it is displayed next to the parameter field. If a parameter is of `PSCredential` type, the dropdown provides a list of **Credential** objects in the current Automation account. A **+ Add a credential** option is also available. Once all required parameters have been provided, click **Save and compile**.
4031
![Screenshot of the parameters step of the compose configuration page](./media/compose-configurationwithcompositeresources/compose-configuration-parameters.png)
4132

4233
Once the new configuration is saved, it is submitted for compilation. Status of the
4334
compilation job can be viewed like any imported configuration. For more information, see [Viewing a
4435
compilation job](automation-dsc-getting-started.md#viewing-a-compilation-job).
4536

46-
When compilation has completed successfully, the new configuration appears in the **Compiled
47-
configurations** tab. Once it is visible in this tab, it can be assigned to a managed node using
48-
the steps in [Reassigning a node to a different node
49-
configuration](automation-dsc-getting-started.md#reassigning-a-node-to-a-different-node-configuration).
37+
When compilation has completed successfully, the new configuration appears in the **Compiled configurations** tab. Then you can assign the configuration to a managed node, using the steps in [Reassigning a node to a different node configuration](automation-dsc-getting-started.md#reassigning-a-node-to-a-different-node-configuration).
5038

5139
## Next steps
5240

53-
- To get started, see [Getting started with Azure Automation State Configuration](automation-dsc-getting-started.md)
54-
- To learn how to onboard nodes, see [Onboarding machines for management by Azure Automation State Configuration](automation-dsc-onboarding.md)
55-
- To learn about compiling DSC configurations so that you can assign them to target nodes, see [Compiling configurations in Azure Automation State Configuration](automation-dsc-compile.md)
56-
- For PowerShell cmdlet reference, see [Azure Automation State Configuration cmdlets](/powershell/module/azurerm.automation/#automation)
57-
- For pricing information, see [Azure Automation State Configuration pricing](https://azure.microsoft.com/pricing/details/automation/)
58-
- To see an example of using Azure Automation State Configuration in a continuous deployment pipeline, see [Continuous Deployment Using Azure Automation State Configuration and Chocolatey](automation-dsc-cd-chocolatey.md)
41+
- To get started, see [Getting started with Azure Automation State Configuration](automation-dsc-getting-started.md).
42+
- To learn how to onboard nodes, see [Onboarding machines for management by Azure Automation State Configuration](automation-dsc-onboarding.md).
43+
- To learn about compiling DSC configurations so that you can assign them to target nodes, see [Compiling configurations in Azure Automation State Configuration](automation-dsc-compile.md).
44+
- For PowerShell cmdlet reference, see [Azure Automation State Configuration cmdlets](/powershell/module/azurerm.automation/#automation).
45+
- For pricing information, see [Azure Automation State Configuration pricing](https://azure.microsoft.com/pricing/details/automation/).
46+
- To see an example of using Azure Automation State Configuration in a continuous deployment pipeline, see [Continuous Deployment Using Azure Automation State Configuration and Chocolatey](automation-dsc-cd-chocolatey.md).

articles/automation/graphical-runbook-sdk.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
2-
title: Overview of the Azure Automation Grpahical runbook SDK
3-
description: This article describes how to use the Azure Automation Graphical Runbook SDK
2+
title: Use the Azure Automation graphical runbook SDK
3+
description: This article describes how to use the Azure Automation graphical runbook SDK.
44
services: automation
55
ms.subservice: process-automation
66
ms.date: 07/20/2018
77
ms.topic: conceptual
88
---
9-
# Use the Azure Automation Graphical runbook SDK
109

11-
[Graphical runbooks](automation-graphical-authoring-intro.md) are runbooks that help manage the complexities of the underlying Windows PowerShell or PowerShell Workflow code. The Microsoft Azure Automation Graphical Authoring SDK enables developers to create and edit Graphical Runbooks for use with the Azure Automation service. The following code snippets show the basic flow of creating a graphical runbook from your code.
10+
# Use the Azure Automation graphical runbook SDK
1211

13-
## Pre-requisites
12+
[Graphical runbooks](automation-graphical-authoring-intro.md) help manage the complexities of the underlying Windows PowerShell or PowerShell Workflow code. The Microsoft Azure Automation graphical authoring SDK enables developers to create and edit graphical runbooks for use with Azure Automation. This article describes basic steps in creating a graphical runbook from your code.
1413

15-
To start, import the `Microsoft.Azure.Automation.GraphicalRunbook.Model` package into your project.
14+
## Prerequisites
15+
16+
Import the `Microsoft.Azure.Automation.GraphicalRunbook.Model` package into your project.
1617

1718
## Create a runbook object instance
1819

@@ -83,7 +84,7 @@ var initializeRunbookVariable = runbook.AddActivity(
8384
});
8485
```
8586

86-
Activities are implemented by the following classes in the `Orchestrator.GraphRunbook.Model` namespace:
87+
Activities are implemented by the following classes in the `Orchestrator.GraphRunbook.Model` namespace.
8788

8889
|Class |Activity |
8990
|---------|---------|
@@ -93,9 +94,9 @@ Activities are implemented by the following classes in the `Orchestrator.GraphRu
9394
|WorkflowScriptActivity | Executes a block of PowerShell or PowerShell Workflow code (depending on the runbook type) in the context of the runbook. This is a powerful tool, but do not overuse it: the UI will show this script block as text; the execution engine will treat the provided block as a black box, and will make no attempts to analyze its content, except for a basic syntax check. If you just need to invoke a single PowerShell command, prefer CommandActivity. |
9495

9596
> [!NOTE]
96-
> Do not derive your own activities from the provided classes: Azure Automation will not be able to use runbooks with custom activity types.
97+
> Don't derive your own activities from the provided classes. Azure Automation can't use runbooks with custom activity types.
9798
98-
CommandActivity and InvokeRunbookActivity parameters must be provided as value descriptors, not direct values. Value descriptors specify how the actual parameter values should be produced. The following value descriptors are currently provided:
99+
You must provide `CommandActivity` and `InvokeRunbookActivity` parameters as value descriptors, not direct values. Value descriptors specify how to produce the actual parameter values. The following value descriptors are currently provided:
99100

100101

101102
|Descriptor |Definition |
@@ -109,7 +110,7 @@ CommandActivity and InvokeRunbookActivity parameters must be provided as value d
109110
|PowerShellExpressionValueDescriptor | Specifies a free-form PowerShell expression that will be evaluated just before invoking the activity. <br/>This is a powerful tool, but do not overuse it: the UI will show this expression as text; the execution engine will treat the provided block as a black box, and will make no attempts to analyze its content, except for a basic syntax check. When possible, prefer more specific value descriptors. |
110111

111112
> [!NOTE]
112-
> Do not derive your own value descriptors from the provided classes: Azure Automation will not be able to use runbooks with custom value descriptor types.
113+
> Don't derive your own value descriptors from the provided classes. Azure Automation can't use runbooks with custom value descriptor types.
113114
114115
Instantiate links connecting activities and add them to the runbook:
115116

@@ -130,10 +131,9 @@ Use `Orchestrator.GraphRunbook.Model.Serialization.RunbookSerializer` to seriali
130131
var serialized = RunbookSerializer.Serialize(runbook);
131132
```
132133

133-
This string can be saved to a file with the **.graphrunbook** extension, and this file can be imported into Azure Automation.
134-
The serialized format may change in the future versions of `Orchestrator.GraphRunbook.Model.dll`. We promise backward compatibility: any runbook serialized with an older version of `Orchestrator.GraphRunbook.Model.dll` can be deserialized by any newer version. Forward compatibility is not guaranteed: a runbook serialized with a newer version may not be deserializable by older versions.
134+
You can save this string to a file with the **.graphrunbook** extension. The corresponding runbook can be imported into Azure Automation.
135+
The serialized format might change in the future versions of `Orchestrator.GraphRunbook.Model.dll`. We promise backward compatibility: any runbook serialized with an older version of `Orchestrator.GraphRunbook.Model.dll` can be deserialized by any newer version. Forward compatibility is not guaranteed: a runbook serialized with a newer version may not be deserializable by older versions.
135136

136137
## Next steps
137138

138-
To learn more about Graphical Runbooks in Azure Automation, see [Graphical Authoring introduction](automation-graphical-authoring-intro.md)
139-
139+
To learn more about graphical runbooks in Azure Automation, see [Graphical authoring introduction](automation-graphical-authoring-intro.md).

0 commit comments

Comments
 (0)