Get-AzContainerRegistryWebhookEvent
Gets events of a container registry webhook.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzContainerRegistryWebhookEvent
[-WebhookName] <String>
[-ResourceGroupName] <String>
[-RegistryName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzContainerRegistryWebhookEvent
-Webhook <PSContainerRegistryWebhook>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzContainerRegistryWebhookEvent
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzContainerRegistryWebhookEvent cmdlet lists all the events of a webhook.
Examples
Example 1: Gets all the events of a webhook.
Get-AzContainerRegistryWebhookEvent -ResourceGroupName mattacrtest001 -RegistryName premium001 -WebhookName webhook001
Webhook service Uri: http://www.bing.com/
ID Action Timestamp Response
StatusCode
-- ------ --------- ----------
3c6281b6-47cd-4129-948b-4036780236f0 ping 11/17/2017 5:10:09 PM 200
70f1d41d-15fe-4251-87b6-43c32a91eae7 ping 11/17/2017 6:56:23 AM 200
5d25556b-32d0-4377-8031-d8ba7a263d6a ping 11/17/2017 6:27:41 AM 200
c1e7d8aa-9f1b-447c-9583-2a58b7f81026 ping 11/17/2017 12:09:41 AM 200
eb4aa503-0d14-4f25-8ae5-33cce9a8fd50 ping 11/16/2017 11:35:03 PM 200
85a93d7f-3923-4ec5-bb8e-9ded5b6549c1 ping 11/17/2017 5:10:09 PM 200
9e3c8b5f-e0ee-47cf-9727-df1c8d45a497 ping 11/17/2017 6:56:23 AM 200
2d0ce294-9b59-4f5c-953a-47f2b270526f ping 11/17/2017 6:27:41 AM 200
Gets all the events of a webhook.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-RegistryName
Container Registry Name.
| Type: | String |
| Aliases: | ContainerRegistryName |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-ResourceGroupName
Resource Group Name.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-ResourceId
The container registry Webhook resource id
| Type: | String |
| Aliases: | Id |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
-Webhook
Container Registry Object.
| Type: | PSContainerRegistryWebhook |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-WebhookName
Webhook Name.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Outputs
PSContainerRegistryWebhookEvent