Get-AzContainerRegistryWebhook
Gets the properties of the specified webhook.
Syntax
Get-AzContainerRegistryWebhook
-RegistryName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzContainerRegistryWebhook
-RegistryName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzContainerRegistryWebhook
-InputObject <IContainerRegistryIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzContainerRegistryWebhook
-Registry <IRegistry>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the properties of the specified webhook.
Examples
Example 1: Gets a container registry webhook.
Get-AzContainerRegistryWebhook -ResourceGroupName "MyResourceGroup" -RegistryName "RegistryExample" -Name "webhook001"
Name Location Status Scope ProvisioningState
---- -------- ------ ----- -----------------
webhook001 eastus2 enabled Succeeded
Gets a container registry webhook.
Example 2: Get all the webhooks of a container registry
Get-AzContainerRegistryWebhook -ResourceGroupName "MyResourceGroup" -RegistryName "RegistryExample"
Name Location Status Scope ProvisioningState
---- -------- ------ ----- -----------------
webhook001 eastus2 enabled Succeeded
webhook002 eastus2 enabled Succeeded
webhook003 eastus enabled foo:* Succeeded
Get all the webhooks of a container registry
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IContainerRegistryIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the webhook.
Type: | String |
Aliases: | WebhookName, ResourceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Registry
The Registry Object. To construct, see NOTES section for REGISTRY properties and create a hash table.
Type: | IRegistry |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RegistryName
The name of the container registry.
Type: | String |
Aliases: | ContainerRegistryName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription. The value must be an UUID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell