Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Automation/Automation/help/Get-AzAutomationWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Get-AzAutomationWebhook -RunbookName <String> [-ResourceGroupName] <String> [-Au

## DESCRIPTION
The **Get-AzAutomationWebhook** cmdlet gets webhooks.
To get specific webhooks, specify a webhook name or specify the name of an Azure Automation runbook to get the webhooks connected to it.
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>
**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**.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ PS C:\> $accessToken = ConvertTo-SecureString -String $token -AsPlainText -Force
PS C:\> New-AzAutomationSourceControl -ResourceGroupName "rg1" `
-AutomationAccountName "devAccount" `
-Name "VSTSNative" `
-RepoUrl "https://contoso.visualstudio.com/ContosoProduction/_versionControl" `
-RepoUrl "https://dev.azure.com/<accountname>/<adoprojectname>/_git/<repositoryname>" `
-SourceType "VsoTfvc" `
-FolderPath "/Runbooks" `
-AccessToken $accessToken

Name SourceType Branch FolderPath AutoSync PublishRunbook RepoUrl
---- ---------- ------ ---------- -------- -------------- -------
VSTSNative VsoTfvc /Runbooks True True https://contoso.visualstudio.com/ContosoProduc...
VSTSNative VsoTfvc /Runbooks True True https://dev.azure.com/<accountname>/<adopro...
```

### Example 2
Expand All @@ -55,15 +55,15 @@ PS C:\> $accessToken = ConvertTo-SecureString -String $token -AsPlainText -Force
PS C:\> New-AzAutomationSourceControl -ResourceGroupName "rg1" `
-AutomationAccountName "devAccount" `
-Name "VSTSGit" `
-RepoUrl "https://contoso.visualstudio.com/_git/Finance" `
-RepoUrl "https://dev.azure.com/<accountname>/<adoprojectname>/_git/<repositoryname>" `
-SourceType "VsoGit" `
-Branch "Development" `
-FolderPath "/" `
-AccessToken $accessToken

Name SourceType Branch FolderPath AutoSync PublishRunbook RepoUrl
---- ---------- ------ ---------- -------- -------------- -------
VSTSGit VsoGit Development / True True https://contoso.visualstudio.com/_git/Finan...
VSTSGit VsoGit Development / True True https://dev.azure.com/<accountname>/<adopro...
```

### Example 3
Expand Down