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-runbook-types.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,13 @@ Take into account the following considerations when determining which type to us
31
31
PowerShell runbooks are based on Windows PowerShell. You directly edit the code of the runbook using the text editor in the Azure portal. You can also use any offline text editor and [import the runbook](manage-runbooks.md) into Azure Automation.
32
32
33
33
The PowerShell version is determined by the **Runtime version** specified (that is version 7.2 (preview), 7.1 (preview) or 5.1). The Azure Automation service supports the latest PowerShell runtime.
34
-
35
-
The same Azure sandbox and Hybrid Runbook Worker can execute **PowerShell 5.1** and **PowerShell 7.1 (preview)** runbooks side by side.
34
+
35
+
The same Azure sandbox and Hybrid Runbook Worker can execute **PowerShell 5.1** and **PowerShell 7.1 (preview)** runbooks side by side.
36
36
37
37
> [!NOTE]
38
-
> - Currently, PowerShell 7.2 (preview) runtime version is supported in five regions for Cloud jobs only: West Central US, East US, South Africa North, North Europe, Australia Southeast
39
-
> - At the time of runbook execution, if you select **Runtime Version** as **7.1 (preview)**, PowerShell modules targeting 7.1 (preview) runtime version are used and if you select **Runtime Version** as **5.1**, PowerShell modules targeting 5.1 runtime version are used. This applies for PowerShell 7.2 (preview) modules and runbooks.
40
-
38
+
> - Currently, PowerShell 7.2 (preview) runtime version is supported in five regions for Cloud jobs only: West Central US, East US, South Africa North, North Europe, Australia Southeast
39
+
> - At the time of runbook execution, if you select **Runtime Version** as **7.1 (preview)**, PowerShell modules targeting 7.1 (preview) runtime version are used and if you select **Runtime Version** as **5.1**, PowerShell modules targeting 5.1 runtime version are used. This applies for PowerShell 7.2 (preview) modules and runbooks.
40
+
41
41
Ensure that you select the right Runtime Version for modules.
42
42
43
43
For example : if you are executing a runbook for a SharePoint automation scenario in **Runtime version***7.1 (preview)*, then import the module in **Runtime version****7.1 (preview)**; if you are executing a runbook for a SharePoint automation scenario in **Runtime version****5.1**, then import the module in **Runtime version***5.1*. In this case, you would see two entries for the module, one for **Runtime Version****7.1(preview)** and other for **5.1**.
@@ -80,27 +80,27 @@ The following are the current limitations and known issues with PowerShell runbo
80
80
**Limitations**
81
81
82
82
- You must be familiar with PowerShell scripting.
83
-
- The Azure Automation internal PowerShell cmdlets are not supported on a Linux Hybrid Runbook Worker. You must import the `automationassets` module at the beginning of your Python runbook to access the Automation account shared resources (assets) functions.
83
+
- The Azure Automation internal PowerShell cmdlets are not supported on a Linux Hybrid Runbook Worker. You must import the `automationassets` module at the beginning of your Python runbook to access the Automation account shared resources (assets) functions.
84
84
- For the PowerShell 7 runtime version, the module activities are not extracted for the imported modules.
85
85
-*PSCredential* runbook parameter type is not supported in PowerShell 7 runtime version.
86
-
- PowerShell 7.x does not support workflows. See [this](/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.1#powershell-workflow&preserve-view=true) for more details.
86
+
- PowerShell 7.x does not support workflows. See [this](/powershell/scripting/whats-new/differences-from-windows-powershell#powershell-workflow) for more details.
87
87
- PowerShell 7.x currently does not support signed runbooks.
88
88
- Source control integration doesn't support PowerShell 7.1 (preview) Also, PowerShell 7.1 (preview) runbooks in source control gets created in Automation account as Runtime 5.1.
89
89
90
90
**Known issues**
91
91
92
-
- Executing child scripts using `.\child-runbook.ps1` is not supported in this preview.
92
+
- Executing child scripts using `.\child-runbook.ps1` is not supported in this preview.
93
93
**Workaround**: Use `Start-AutomationRunbook` (internal cmdlet) or `Start-AzAutomationRunbook` (from *Az.Automation* module) to start another runbook from parent runbook.
94
-
- Runbook properties defining logging preference is not supported in PowerShell 7 runtime.
94
+
- Runbook properties defining logging preference is not supported in PowerShell 7 runtime.
95
95
**Workaround**: Explicitly set the preference at the start of the runbook as below -
96
96
```
97
97
$VerbosePreference = "Continue"
98
98
99
99
$ProgressPreference = "Continue"
100
100
```
101
-
- Avoid importing `Az.Accounts` module to version 2.4.0 version for PowerShell 7 runtime as there can be an unexpected behavior using this version in Azure Automation.
101
+
- Avoid importing `Az.Accounts` module to version 2.4.0 version for PowerShell 7 runtime as there can be an unexpected behavior using this version in Azure Automation.
102
102
- You might encounter formatting problems with error output streams for the job running in PowerShell 7 runtime.
103
-
- When you import a PowerShell 7.1 module that’s dependent on other modules, you may find that the import button is gray even when PowerShell 7.1 version of the dependent module is installed. For example, Az.Compute version 4.20.0, has a dependency on Az.Accounts being >= 2.6.0. This issue occurs when an equivalent dependent module in PowerShell 5.1 doesn't meet the version requirements. For example, 5.1 version of Az.Accounts was < 2.6.0.
103
+
- When you import a PowerShell 7.1 module that's dependent on other modules, you may find that the import button is gray even when PowerShell 7.1 version of the dependent module is installed. For example, Az.Compute version 4.20.0, has a dependency on Az.Accounts being >= 2.6.0. This issue occurs when an equivalent dependent module in PowerShell 5.1 doesn't meet the version requirements. For example, 5.1 version of Az.Accounts was < 2.6.0.
104
104
- When you start PowerShell 7 runbook using the webhook, it auto-converts the webhook input parameter to an invalid JSON.
105
105
106
106
@@ -114,20 +114,20 @@ The following are the current limitations and known issues with PowerShell runbo
114
114
- You must be familiar with PowerShell scripting.
115
115
- For the PowerShell 7 runtime version, the module activities are not extracted for the imported modules.
116
116
-*PSCredential* runbook parameter type is not supported in PowerShell 7 runtime version.
117
-
- PowerShell 7.x does not support workflows. See [this](/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.1#powershell-workflow&preserve-view=true) for more details.
117
+
- PowerShell 7.x does not support workflows. See [this](/powershell/scripting/whats-new/differences-from-windows-powershell#powershell-workflow) for more details.
118
118
- PowerShell 7.x currently does not support signed runbooks.
119
119
- Source control integration doesn't support PowerShell 7.2 (preview). Also, PowerShell 7.2 (preview) runbooks in source control gets created in Automation account as Runtime 5.1.
120
-
- Currently, only cloud jobs are supported for PowerShell 7.2 (preview) runtime versions.
121
-
- Logging job operations to the Log Analytics workspace through linked workspace or diagnostics settings are not supported.
122
-
- Currently, PowerShell 7.2 (preview) runbooks are only supported from Azure portal. Rest API and PowerShell is not supported.
120
+
- Currently, only cloud jobs are supported for PowerShell 7.2 (preview) runtime versions.
121
+
- Logging job operations to the Log Analytics workspace through linked workspace or diagnostics settings are not supported.
122
+
- Currently, PowerShell 7.2 (preview) runbooks are only supported from Azure portal. Rest API and PowerShell is not supported.
123
123
- Az module 8.3.0 is installed by default and cannot be managed at the automation account level. Use custom modules to override the Az module to the desired version.
124
124
- The imported PowerShell 7.2 (preview) module would be validated during job execution. Ensure that all dependencies for the selected module are also imported for successful job execution.
125
125
126
126
**Known issues**
127
127
128
-
- Executing child scripts using `.\child-runbook.ps1` is not supported in this preview.
128
+
- Executing child scripts using `.\child-runbook.ps1` is not supported in this preview.
129
129
**Workaround**: Use `Start-AutomationRunbook` (internal cmdlet) or `Start-AzAutomationRunbook` (from *Az.Automation* module) to start another runbook from parent runbook.
130
-
- Runbook properties defining logging preference is not supported in PowerShell 7 runtime.
130
+
- Runbook properties defining logging preference is not supported in PowerShell 7 runtime.
131
131
**Workaround**: Explicitly set the preference at the start of the runbook as below -
132
132
```
133
133
$VerbosePreference = "Continue"
@@ -138,7 +138,7 @@ The following are the current limitations and known issues with PowerShell runbo
138
138
139
139
## PowerShell Workflow runbooks
140
140
141
-
PowerShell Workflow runbooks are text runbooks based on [Windows PowerShell Workflow](automation-powershell-workflow.md). You directly edit the code of the runbook using the text editor in the Azure portal. You can also use any offline text editor and [import the runbook](manage-runbooks.md) into Azure Automation.
141
+
PowerShell Workflow runbooks are text runbooks based on [Windows PowerShell Workflow](automation-powershell-workflow.md). You directly edit the code of the runbook using the text editor in the Azure portal. You can also use any offline text editor and [import the runbook](manage-runbooks.md) into Azure Automation.
142
142
143
143
> [!NOTE]
144
144
> PowerShell 7.1 (preview) and PowerShell 7.2 (preview) do not support Workflow runbooks.
@@ -162,23 +162,23 @@ PowerShell Workflow runbooks are text runbooks based on [Windows PowerShell Work
162
162
163
163
Python runbooks compile under Python 2, Python 3.8 (preview) and Python 3.10 (preview). You can directly edit the code of the runbook using the text editor in the Azure portal. You can also use an offline text editor and [import the runbook](manage-runbooks.md) into Azure Automation.
164
164
165
-
* Python 3.10 (preview) runbooks are currently supported in five regions for cloud jobs only:
165
+
* Python 3.10 (preview) runbooks are currently supported in five regions for cloud jobs only:
166
166
- West Central US
167
167
- East US
168
168
- South Africa North
169
169
- North Europe
170
-
- Australia Southeast
170
+
- Australia Southeast
171
171
172
172
### Advantages
173
173
174
174
> [!NOTE]
175
175
> Importing a Python package may take several minutes.
176
-
176
+
177
177
- Uses the robust Python libraries.
178
178
- Can run in Azure or on Hybrid Runbook Workers.
179
179
- For Python 2, Windows Hybrid Runbook Workers are supported with [python 2.7](https://www.python.org/downloads/release/latest/python2) installed.
180
-
- For Python 3.8 (preview) Cloud Jobs, Python 3.8 (preview) version is supported. Scripts and packages from any 3.x version might work if the code is compatible across different versions.
181
-
- For Python 3.8 (preview) Hybrid jobs on Windows machines, you can choose to install any 3.x version you may want to use.
180
+
- For Python 3.8 (preview) Cloud Jobs, Python 3.8 (preview) version is supported. Scripts and packages from any 3.x version might work if the code is compatible across different versions.
181
+
- For Python 3.8 (preview) Hybrid jobs on Windows machines, you can choose to install any 3.x version you may want to use.
182
182
- For Python 3.8 (preview) Hybrid jobs on Linux machines, we depend on the Python 3 version installed on the machine to run DSC OMSConfig and the Linux Hybrid Worker. Different versions should work if there are no breaking changes in method signatures or contracts between versions of Python 3.
183
183
184
184
@@ -200,7 +200,7 @@ Following are the limitations of Python runbooks
200
200
- You must be familiar with Python scripting.
201
201
- For Python 3.8 (preview) modules, use wheel files targeting cp38-amd64.
202
202
- To use third-party libraries, you must [import the packages](python-packages.md) into the Automation account.
203
-
- Using **Start-AutomationRunbook** cmdlet in PowerShell/PowerShell Workflow to start a Python 3.8 (preview) runbook (preview) doesn't work. You can use **Start-AzAutomationRunbook** cmdlet from Az.Automation module or **Start-AzureRmAutomationRunbook** cmdlet from AzureRm.Automation module to work around this limitation.
203
+
- Using **Start-AutomationRunbook** cmdlet in PowerShell/PowerShell Workflow to start a Python 3.8 (preview) runbook (preview) doesn't work. You can use **Start-AzAutomationRunbook** cmdlet from Az.Automation module or **Start-AzureRmAutomationRunbook** cmdlet from AzureRm.Automation module to work around this limitation.
204
204
- Azure Automation doesn't support **sys.stderr**.
205
205
- The Python **automationassets** package is not available on pypi.org, so it's not available for import onto a Windows machine.
206
206
@@ -209,7 +209,7 @@ Following are the limitations of Python runbooks
209
209
**Limitations**
210
210
211
211
- For Python 3.10 (preview) modules, currently, only the wheel files targeting cp310 Linux OS are supported. [Learn more](./python-3-packages.md)
212
-
- Currently, only cloud jobs are supported for Python 3.10 (preview) runtime versions.
212
+
- Currently, only cloud jobs are supported for Python 3.10 (preview) runtime versions.
213
213
- Custom packages for Python 3.10 (preview) are only validated during job runtime. Job is expected to fail if the package is not compatible in the runtime or if required dependencies of packages are not imported into automation account.
214
214
- Currently, Python 3.10 (preview) runbooks are only supported from Azure portal. Rest API and PowerShell is not supported.
215
215
@@ -250,7 +250,7 @@ You can create and edit graphical and graphical PowerShell Workflow runbooks usi
250
250
251
251
* Can't create or edit outside the Azure portal.
252
252
* Might require a code activity containing PowerShell code to execute complex logic.
253
-
* Can't convert to one of the [text formats](automation-runbook-types.md), nor can you convert a text runbook to graphical format.
253
+
* Can't convert to one of the [text formats](automation-runbook-types.md), nor can you convert a text runbook to graphical format.
254
254
* Can't view or directly edit PowerShell code that the graphical workflow creates. You can view the code you create in any code activities.
255
255
* Can't run runbooks on a Linux Hybrid Runbook Worker. See [Automate resources in your datacenter or cloud by using Hybrid Runbook Worker](automation-hybrid-runbook-worker.md).
Copy file name to clipboardExpand all lines: articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-csharp.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,11 @@ Create and assign persistent environment variables for your key and endpoint.
@@ -216,7 +216,7 @@ Next we call the client's `DetectEntireSeriesAsync` method with the `DetectReque
216
216
217
217
## Clean up resources
218
218
219
-
If you want to clean up and remove an Anomaly Detector resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. You also may want to consider [deleting the environment variables](/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.2#using-the-environment-provider-and-item-cmdlets&preserve-view=true) you created if you no longer intend to use them.
219
+
If you want to clean up and remove an Anomaly Detector resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. You also may want to consider [deleting the environment variables](/powershell/module/microsoft.powershell.core/about/about_environment_variables#using-the-environment-provider-and-item-cmdlets) you created if you no longer intend to use them.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-javascript.md
@@ -211,7 +211,7 @@ In the code above, we call the Anomaly Detector API to detect anomalies through
211
211
212
212
## Clean up resources
213
213
214
-
If you want to clean up and remove an Anomaly Detector resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. You also may want to consider [deleting the environment variables](/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.2#using-the-environment-provider-and-item-cmdlets&preserve-view=true) you created if you no longer intend to use them.
214
+
If you want to clean up and remove an Anomaly Detector resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. You also may want to consider [deleting the environment variables](/powershell/module/microsoft.powershell.core/about/about_environment_variables#using-the-environment-provider-and-item-cmdlets) you created if you no longer intend to use them.
0 commit comments