< Back

Test-AzureRmContainerRegistryWebhook

Tue Jan 29, 2019 9:41 pm

NAME Test-AzureRmContainerRegistryWebhook



SYNOPSIS

Triggers a webhook ping event.





SYNTAX

Test-AzureRmContainerRegistryWebhook [-Name] <String> [-ResourceGroupName] <String> [-RegistryName] <String> [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]



Test-AzureRmContainerRegistryWebhook [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]



Test-AzureRmContainerRegistryWebhook [-DefaultProfile <IAzureContextContainer>] -Webhook <PSContainerRegistryWebhook> [<CommonParameters>]





DESCRIPTION

The Test-AzureRmContainerRegistryWebhook cmdlet triggers a webhook ping event.





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



-Name <String>

Webhook Name.



Required? true

Position? 0

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? True (ByValue)

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

Microsoft.Azure.Commands.ContainerRegistry.PSContainerRegistryWebhook

System.String





OUTPUTS

Microsoft.Azure.Management.ContainerRegistry.Models.EventInfo







NOTES









Example 1: Triggers a webhook ping event.



PS C:\\> Test-AzureRmContainerRegistryWebhook -ResourceGroupName "MyResourceGroup" -RegistryName "MyRegistry" -Name "webhook001"



Id

--

c5950af0-c8d0-4924-9873-1ba7da5cbf83



Triggers a webhook ping event.







RELATED LINKS

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

New-AzureRmContainerRegistryWebhook

Get-AzureRmContainerRegistryWebhook

Update-AzureRmContainerRegistryWebhook

Remove-AzureRmContainerRegistryWebhook