< Back

Get-AzureRmContainerRegistryWebhookEvent

Tue Jan 29, 2019 9:40 pm

NAME Get-AzureRmContainerRegistryWebhookEvent



SYNOPSIS

Gets events of a container registry webhook.





SYNTAX

Get-AzureRmContainerRegistryWebhookEvent [-ResourceGroupName] <String> [-RegistryName] <String> [-DefaultProfile <IAzureContextContainer>]

-WebhookName <String> [<CommonParameters>]



Get-AzureRmContainerRegistryWebhookEvent [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]



Get-AzureRmContainerRegistryWebhookEvent [-DefaultProfile <IAzureContextContainer>] -Webhook <PSContainerRegistryWebhook> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmContainerRegistryWebhookEvent cmdlet lists all the events of a webhook.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RegistryName <String>

Container Registry Name.



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

The container registry Webhook resource id



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Webhook <PSContainerRegistryWebhook>

Container Registry Object.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WebhookName <String>

Webhook Name.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

System.Collections.Generic.IList`1[[Microsoft.Azure.Commands.ContainerRegistry.PSContainerRegistryWebhookEvent,

Microsoft.Azure.Commands.ContainerRegistry, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]







NOTES









Example 1: Gets all the events of a webhook.



PS C:\\>Get-AzureRmContainerRegistryWebhookEvent -ResourceGroupName mattacrtest001 -RegistryName premium001 -Name 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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... credential

New-AzureRmContainerRegistryWebhook

Get-AzureRmContainerRegistryWebhook

Update-AzureRmContainerRegistryWebhook

Remove-AzureRmContainerRegistryWebhook

Test-AzureRmContainerRegistryWebhook