Skip to content

Commit 557805b

Browse files
committed
minor edits
1 parent 242d07a commit 557805b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/automation/manage-runbooks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ As part of the core logic, most runbooks make calls to the remote systems. For e
224224
- Other web services
225225
- SQL Services
226226

227-
When the system that the runbooks are calling are busy, temporary unavailable or implementing throttling under load, the calls are vulnerable to have runtime errors. To build resiliency into the runbooks, you must implement the retry logic while making the calls so that the runbooks can handle a transient problem without failing.
227+
When the system (that the runbooks are calling) is busy, temporary unavailable or implementing throttling under load, the calls are vulnerable to have runtime errors. To build resiliency in the runbooks, you must implement the retry logic when making the calls so that the runbooks can handle a transient problem without failing.
228228

229229
For more information, refer [Retry pattern](https://learn.microsoft.com/azure/architecture/patterns/retry) and [General REST and retry guidelines](https://learn.microsoft.com/azure/architecture/best-practices/retry-service-specific#general-rest-and-retry-guidelines).
230230

@@ -235,7 +235,7 @@ $searchServiceURL = "https://$searchServiceName.search.windows.net"
235235
$resource = Get-AzureRmResource -ResourceType "Microsoft.Search/searchServices" -ResourceGroupName $searchResourceGroupName -ResourceName $searchServiceName -ApiVersion 2015-08-19
236236
$searchAPIKey = (Invoke-AzureRmResourceAction -Action listAdminKeys -ResourceId $resource.ResourceId -ApiVersion 2015-08-19 -Force).PrimaryKey
237237
```
238-
When you call `Invoke-AzureRmResourceAction`, transient failures are observed. In such scenario, we recommend that you implement the following basic pattern around the call to the cmdlet.
238+
When you call `Invoke-AzureRmResourceAction`, you may observe transient failures. In such scenario, we recommend that you implement the following basic pattern around the call to the cmdlet.
239239

240240
```powershell
241241
$searchServiceURL = "https://$searchServiceName.search.windows.net"
@@ -272,7 +272,7 @@ $resource = Get-AzureRmResource -ResourceType "Microsoft.Search/searchServices"
272272
273273
### Example 2 : If the runbook is making frequent remote calls
274274

275-
If the runbook is making frequent remote calls that it could experience transient runtime issues, then create a function that will implement this logic for each call that is made and pass the call to be made in as a script block to execute.
275+
If the runbook is making frequent remote calls that it could experience transient runtime issues, then create a function that implements the logic for each call that is made and pass the call to be made in as a script block to execute.
276276

277277
```powershell
278278
Function ResilientRemoteCall {

0 commit comments

Comments
 (0)