external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.EventGrid.dll-Help.xml |
Az.EventGrid |
2.0.0 |
Gets the shared access keys used to publish events to an Event Grid topic.
Get-AzEventGridTopicKey [-ResourceGroupName] <String> [-Name] <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzEventGridTopicKey [-InputObject] <PSTopic> [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventGridTopicKey [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Gets the shared access keys used to publish events to an Event Grid topic.
Get-AzEventGridTopicKey -ResourceGroup MyResourceGroupName -Name Topic1
Gets the shared access keys of Event Grid topic `Topic1` in resource group `MyResourceGroupName`.
Get-AzEventGridTopic -ResourceGroup MyResourceGroupName -Name Topic1 | Get-AzEventGridTopicKey
Gets the shared access keys of Event Grid topic `Topic1` in resource group `MyResourceGroupName`.
The credentials, account, tenant, and subscription used for communication with azure
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
EventGrid Topic object.
Type: Microsoft.Azure.Commands.EventGrid.Models.PSTopic
Parameter Sets: TopicInputObjectParameterSet
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
EventGrid Topic Name.
Type: System.String
Parameter Sets: TopicNameParameterSet
Aliases: TopicName
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Resource Group Name.
Type: System.String
Parameter Sets: TopicNameParameterSet
Aliases: ResourceGroup
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Resource Identifier representing the Event Grid Topic.
Type: System.String
Parameter Sets: ResourceIdEventSubscriptionParameterSet
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.