Skip to content

Commit f1e6360

Browse files
Azure Automation documentation update for Get-AzAutomationWebhook and New-AzAutomationSourceControl (#14154)
* Updating documentation * Adding new line and adding bold emphasis
1 parent 44d48af commit f1e6360

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/Automation/Automation/help/Get-AzAutomationWebhook.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Get-AzAutomationWebhook -RunbookName <String> [-ResourceGroupName] <String> [-Au
3333

3434
## DESCRIPTION
3535
The **Get-AzAutomationWebhook** cmdlet gets webhooks.
36-
To get specific webhooks, specify a webhook name or specify the name of an Azure Automation runbook to get the webhooks connected to it.
36+
To get specific webhooks, specify a webhook name or specify the name of an Azure Automation runbook to get the webhooks connected to it.<br>
37+
**Note:** The WebhookUri is returned as empty string due to security concerns. Please make sure to save the webhook URL that **New-AzAutomationWebhook** cmdlet returns, because it cannot be retrieved by using **Get-AzAutomationWebhook**.
3738

3839
## EXAMPLES
3940

src/Automation/Automation/help/New-AzAutomationSourceControl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ PS C:\> $accessToken = ConvertTo-SecureString -String $token -AsPlainText -Force
3434
PS C:\> New-AzAutomationSourceControl -ResourceGroupName "rg1" `
3535
-AutomationAccountName "devAccount" `
3636
-Name "VSTSNative" `
37-
-RepoUrl "https://contoso.visualstudio.com/ContosoProduction/_versionControl" `
37+
-RepoUrl "https://dev.azure.com/<accountname>/<adoprojectname>/_git/<repositoryname>" `
3838
-SourceType "VsoTfvc" `
3939
-FolderPath "/Runbooks" `
4040
-AccessToken $accessToken
4141
4242
Name SourceType Branch FolderPath AutoSync PublishRunbook RepoUrl
4343
---- ---------- ------ ---------- -------- -------------- -------
44-
VSTSNative VsoTfvc /Runbooks True True https://contoso.visualstudio.com/ContosoProduc...
44+
VSTSNative VsoTfvc /Runbooks True True https://dev.azure.com/<accountname>/<adopro...
4545
```
4646

4747
### Example 2
@@ -55,15 +55,15 @@ PS C:\> $accessToken = ConvertTo-SecureString -String $token -AsPlainText -Force
5555
PS C:\> New-AzAutomationSourceControl -ResourceGroupName "rg1" `
5656
-AutomationAccountName "devAccount" `
5757
-Name "VSTSGit" `
58-
-RepoUrl "https://contoso.visualstudio.com/_git/Finance" `
58+
-RepoUrl "https://dev.azure.com/<accountname>/<adoprojectname>/_git/<repositoryname>" `
5959
-SourceType "VsoGit" `
6060
-Branch "Development" `
6161
-FolderPath "/" `
6262
-AccessToken $accessToken
6363
6464
Name SourceType Branch FolderPath AutoSync PublishRunbook RepoUrl
6565
---- ---------- ------ ---------- -------- -------------- -------
66-
VSTSGit VsoGit Development / True True https://contoso.visualstudio.com/_git/Finan...
66+
VSTSGit VsoGit Development / True True https://dev.azure.com/<accountname>/<adopro...
6767
```
6868

6969
### Example 3

0 commit comments

Comments
 (0)