You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/automation-update-azure-modules.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,28 +11,28 @@ ms.topic: conceptual
11
11
12
12
To update the Azure modules in your Automation account you need to use the [Update Azure modules runbook](https://github.com/Microsoft/AzureAutomation-Account-Modules-Update), which is available as open source. To start using the **Update-AutomationAzureModulesForAccount** runbook to update your Azure modules, download it from the [Update Azure modules runbook repository](https://github.com/Microsoft/AzureAutomation-Account-Modules-Update) on GitHub. You can then import it into your Automation account or run it as a script. To learn how to import a runbook in your Automation account, see [Import a runbook](manage-runbooks.md#importing-a-runbook).
13
13
14
-
The most common AzureRM PowerShell modules are provided by default in each Automation account. The Azure team updates the Azure modules regularly, therefore to keep up to date you will want to use the [Update-AutomationAzureModulesForAccount](https://github.com/Microsoft/AzureAutomation-Account-Modules-Update) runbook to update the modules in your Automation accounts.
14
+
The most common PowerShell modules are provided by default in each Automation account. The Azure team updates the Azure modules regularly. Therefore, to keep the modules in your Automation accounts up to date, you should use the [Update-AutomationAzureModulesForAccount](https://github.com/Microsoft/AzureAutomation-Account-Modules-Update) runbook.
15
15
16
-
Because modules are updated regularly by the product group, changes can occur with the included cmdlets. This action may negatively impact your runbooks depending on the type of change, such as renaming a parameter or deprecating a cmdlet entirely.
16
+
Because modules are updated regularly by the product group, changes can occur with the included cmdlets. These changes, for example, renaming a parameter or deprecating a cmdlet entirely, can negatively affect your runbooks.
17
17
18
-
To avoid impacting your runbooks and the processes they automate, test and validate before proceeding. If you don't have a dedicated Automation account intended for this purpose, consider creating one so that you can test many different scenarios during the development of your runbooks. This testing should include iterative changes such as updating the PowerShell modules.
18
+
To avoid impacting your runbooks and the processes they automate, test and validate before proceeding. If you don't have a dedicated Automation account intended for this purpose, consider creating one so that you can test many different scenarios during the development of your runbooks. This testing should include iterative changes, such as updating the PowerShell modules.
19
19
20
20
If you develop your scripts locally, it's recommended to have the same module versions locally that you have in your Automation account when testing to ensure you'll receive the same results. After the results are validated and you've applied any changes required, you can move the changes to production.
21
21
22
22
> [!NOTE]
23
23
> A new Automation account might not contain the latest modules.
24
24
25
25
> [!NOTE]
26
-
> You will not be able to delete global modules - modules that Automation provides out of the box.
26
+
> You will not be able to delete global modules, which are modules that Automation provides out of the box.
27
27
28
28
>[!NOTE]
29
29
>This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see [Introducing the new Azure PowerShell Az module](https://docs.microsoft.com/powershell/azure/new-azureps-module-az?view=azps-3.5.0). For Az module installation instructions on your Hybrid Runbook Worker, see [Install the Azure PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-3.5.0).
30
30
31
31
## Considerations
32
32
33
-
The following are some considerations to take into account when using this process to update your Azure Modules:
33
+
The following are some considerations to take into account when using this article to update your Azure Modules:
34
34
35
-
* The runbook described in this article supports updating the Azure, AzureRM, and Az modules by default. Review the [Update Azure modules runbook README](https://github.com/microsoft/AzureAutomation-Account-Modules-Update/blob/master/README.md) for more information on updating Az.Automation modules with this runbook. There are additional important factors that you need to take into account when using the `Az` modules in your Automation account. To learn more, see [Using Az modules in your Automation account](az-modules.md).
35
+
* The runbook described in this article supports updating the Azure, AzureRM, and Az modules by default. Review the [Update Azure modules runbook README](https://github.com/microsoft/AzureAutomation-Account-Modules-Update/blob/master/README.md) for more information on updating Az.Automation modules with this runbook. There are additional important factors that you need to take into account when using the Az modules in your Automation account. To learn more, see [Using Az modules in your Automation account](az-modules.md).
36
36
37
37
* Before starting this runbook, make sure your Automation account has an [Azure Run As account credential](manage-runas-account.md) created.
Copy file name to clipboardExpand all lines: articles/automation/automation-update-management-deploy-template.md
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@ ms.subservice: update-management
6
6
ms.topic: conceptual
7
7
author: mgoedtel
8
8
ms.author: magoedte
9
-
ms.date: 04/15/2020
10
-
9
+
ms.date: 03/30/2020
11
10
---
12
11
13
12
# Onboard Update Management solution using Azure Resource Manager template
@@ -16,19 +15,19 @@ You can use [Azure Resource Manager templates](../azure-resource-manager/templat
16
15
17
16
* Creation of a Azure Monitor Log Analytics workspace.
18
17
* Creation of an Azure Automation account.
19
-
*Links the Automation account to the Log Analytics workspace if not already linked.
20
-
*Onboard the Azure Automation Update Management solution
18
+
*Linking the Automation account to the Log Analytics workspace, if not already linked.
19
+
*Onboarding the Azure Automation Update Management solution.
21
20
22
21
The template does not automate the onboarding of one or more Azure or non-Azure VMs.
23
22
24
-
>[!NOTE]
25
-
>Creation of the Automation Run As account is not supported when using an Azure Resource Manager template. To create a Run As account manually from the portal or with PowerShell, see [Manage Run As account](manage-runas-account.md).
23
+
If you already have a Log Analytics workspace and Automation account deployed in a supported region in your subscription, they are not linked. The workspace doesn't already have the Update Management solution deployed. Using this template successfully creates the link and deploys the Update Management solution.
26
24
27
-
If you already have a Log Analytics workspace and Automation account deployed in a supported region in your subscription, they are not linked, and the workspace doesn't already have the Update Management solution deployed, using this template successfully creates the link and deploys the Update Management solution.
25
+
>[!NOTE]
26
+
>This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see [Introducing the new Azure PowerShell Az module](https://docs.microsoft.com/powershell/azure/new-azureps-module-az?view=azps-3.5.0). For Az module installation instructions on your Hybrid Runbook Worker, see [Install the Azure PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-3.5.0). For your Automation account, you can update your modules to the latest version using [How to update Azure PowerShell modules in Azure Automation](automation-update-azure-modules.md).
28
27
29
28
## API versions
30
29
31
-
The following table lists the API version for the resources used in this example.
30
+
The following table lists the API versions for the resources used in this template.
32
31
33
32
| Resource | Resource type | API version |
34
33
|:---|:---|:---|
@@ -38,18 +37,18 @@ The following table lists the API version for the resources used in this example
38
37
39
38
## Before using the template
40
39
41
-
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell Az module. Run `Get-Module -ListAvailable Az` to find the version. If you need to upgrade, see [Install the Azure PowerShell module](/powershell/azure/install-az-ps). If you are running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure. With Azure PowerShell, deployment uses [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment).
40
+
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell Az module. Run `Get-Module -ListAvailable Az` to find the version. If you need to upgrade, see [Install the Azure PowerShell module](/powershell/azure/install-az-ps). If you are running PowerShell locally, you also need to run [Connect-AzAccount](https://docs.microsoft.com/powershell/module/az.accounts/connect-azaccount?view=azps-3.7.0) to create a connection with Azure. With Azure PowerShell, deployment uses [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment).
42
41
43
42
If you choose to install and use the CLI locally, this article requires that you are running the Azure CLI version 2.1.0 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest). With Azure CLI, this deployment uses [az group deployment create](https://docs.microsoft.com/cli/azure/group/deployment?view=azure-cli-latest#az-group-deployment-create).
44
43
45
44
The JSON template is configured to prompt you for:
46
45
47
46
* The name of the workspace
48
-
* The region to create the workspace in
47
+
* The region in which to create the workspace
49
48
* The name of the Automation account
50
-
* The region to create the account in
49
+
* The region in which to create the account
51
50
52
-
The JSON template specifies a default value for the other parameters that would likely be used as a standard configuration in your environment. You can store the template in an Azure storage account for shared access in your organization. For further information about working with templates, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md).
51
+
The JSON template specifies a default value for the other parameters that are likely to be used for a standard configuration in your environment. You can store the template in an Azure storage account for shared access in your organization. For further information about working with templates, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md).
53
52
54
53
The following parameters in the template are set with a default value for the Log Analytics workspace:
55
54
@@ -58,11 +57,11 @@ The following parameters in the template are set with a default value for the Lo
58
57
* capacity reservation - defaults to 100 GB
59
58
60
59
>[!WARNING]
61
-
>If creating or configuring a Log Analytics workspace in a subscription that has opted into the new April 2018 pricing model, the only valid Log Analytics pricing tier is **PerGB2018**.
60
+
>If creating or configuring a Log Analytics workspace in a subscription that has opted into the April 2018 pricing model, the only valid Log Analytics pricing tier is **PerGB2018**.
62
61
>
63
62
64
63
>[!NOTE]
65
-
>Before using this template, review [additional details](../azure-monitor/platform/template-workspace-configuration.md#create-a-log-analytics-workspace) to fully understand workspace configuration options such as access control mode, pricing tier, retention, and capacity reservation level. If you are new to Azure Monitor logs and have not deployed a workspace already, you should review the [workspace design](../azure-monitor/platform/design-logs-deployment.md) guidance to learn about access control, and an understanding of the design implementation strategies we recommend for your organization.
64
+
>Before using this template, review [additional details](../azure-monitor/platform/template-workspace-configuration.md#create-a-log-analytics-workspace) to fully understand workspace configuration options, such as access control mode, pricing tier, retention, and capacity reservation level. If you are new to Azure Monitor logs and have not deployed a workspace already, you should review the [workspace design](../azure-monitor/platform/design-logs-deployment.md) guidance to learn about access control, and understand the design implementation strategies we recommend for your organization.
66
65
67
66
## Deploy template
68
67
@@ -213,7 +212,7 @@ The following parameters in the template are set with a default value for the Lo
213
212
"sku": {
214
213
"name": "Basic"
215
214
}
216
-
}
215
+
},
217
216
},
218
217
{
219
218
"apiVersion": "2015-11-01-preview",
@@ -234,7 +233,7 @@ The following parameters in the template are set with a default value for the Lo
234
233
235
234
2. Edit the template to meet your requirements. Consider creating a [Resource Manager parameters file](../azure-resource-manager/templates/parameter-files.md) instead of passing parameters as inline values.
236
235
237
-
3. Save this file as deployUMSolutiontemplate.json to a local folder.
236
+
3. Save this file to a local folder as **deployUMSolutiontemplate.json**.
238
237
239
238
4. You are ready to deploy this template. You can use either PowerShell or the Azure CLI. When you're prompted for a workspace and Automation account name, provide a name that is globally unique across all Azure subscriptions.
title: Use dynamic groups with Azure Update Management
2
+
title: Use dynamic groups with Azure Automation Update Management
3
3
description: This article describes how dynamic groups work with Azure Automation Update Management.
4
4
services: automation
5
5
ms.subservice: update-management
@@ -8,11 +8,11 @@ ms.topic: conceptual
8
8
---
9
9
# Use dynamic groups with Update Management
10
10
11
-
Update Management provides the ability to target a dynamic group of Azure or non-Azure VMs for update deployments. These groupsare evaluated at deployment time so you do not have to edit your deployment to add machines.
11
+
Update Management allows you to target a dynamic group of Azure or non-Azure VMs for update deployments. These groups, defined by queries, are evaluated at deployment time so that you don't have to edit your deployment to add machines.
12
12
13
13
## Azure machines
14
14
15
-
These groups are defined by a query, when an update deployment begins, the members of that group are evaluated. Dynamic groups do not work with classic VMs. When defining your query, the following items can be used together to populate the dynamic group:
15
+
Dynamic groups do not work with classic VMs. When defining your query, the following items can be used together to populate a dynamic group:
16
16
17
17
* Subscription
18
18
* Resource groups
@@ -21,16 +21,16 @@ These groups are defined by a query, when an update deployment begins, the membe
To preview the results of a dynamic group, click the **Preview** button. This preview shows the group membership at that time, in this example, we are searching for machines with the tag **Role** is equal to**BackendServer**. If more machines have this tag added, they will be added to any future deployments against that group.
24
+
To preview the results of a dynamic group, click **Preview**. The preview shows the group membership at the current time. In the example, we're searching for machines having the tag `Role` for the group**BackendServer**. If more machines have this tag added, they are added to any future deployments against that group.
For non-Azure machines, saved searches also referred to as computer groups, are used to create the dynamic group. To learn how to create a saved search, see [Creating a computer group](../azure-monitor/platform/computer-groups.md#creating-a-computer-group). Once your group is created you can select it from the list of saved searches. Click **Preview** to preview the computers in the saved search at that time.
30
+
For non-Azure machines, saved searches, also referred to as computer groups, are used to create the dynamic group. To learn how to create a saved search, see [Creating a computer group](../azure-monitor/platform/computer-groups.md#creating-a-computer-group). Once your group is created, you can select it from the list of saved searches. Click **Preview** to preview the computers in the saved search at that time.
0 commit comments