< Back
Get-AzureRmEventGridTopicKey
Post
NAME Get-AzureRmEventGridTopicKey
SYNOPSIS
Gets the shared access keys used to publish events to an Event Grid topic.
SYNTAX
Get-AzureRmEventGridTopicKey [-InputObject] <PSTopic> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmEventGridTopicKey [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmEventGridTopicKey [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
Gets the shared access keys used to publish events to an Event Grid topic.
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
-InputObject <PSTopic>
EventGrid Topic object.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
EventGrid Topic Name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceId <String>
Resource Identifier representing the Event Grid Topic.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys
NOTES
Example 1
PS C:\\> Get-AzureRmEventGridTopicKey -ResourceGroup MyResourceGroupName -Name Topic1
Gets the shared access keys of Event Grid topic `Topic1` in resource group `MyResourceGroupName`.
Example 2
PS C:\\> Get-AzureRmEventGridTopic -ResourceGroup MyResourceGroupName -Name Topic1 | Get-AzureRmEventGridTopicKey
Gets the shared access keys of Event Grid topic `Topic1` in resource group `MyResourceGroupName`.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... idtopickey
SYNOPSIS
Gets the shared access keys used to publish events to an Event Grid topic.
SYNTAX
Get-AzureRmEventGridTopicKey [-InputObject] <PSTopic> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmEventGridTopicKey [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzureRmEventGridTopicKey [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
Gets the shared access keys used to publish events to an Event Grid topic.
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
-InputObject <PSTopic>
EventGrid Topic object.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
EventGrid Topic Name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceId <String>
Resource Identifier representing the Event Grid Topic.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
Microsoft.Azure.Management.EventGrid.Models.TopicSharedAccessKeys
NOTES
Example 1
PS C:\\> Get-AzureRmEventGridTopicKey -ResourceGroup MyResourceGroupName -Name Topic1
Gets the shared access keys of Event Grid topic `Topic1` in resource group `MyResourceGroupName`.
Example 2
PS C:\\> Get-AzureRmEventGridTopic -ResourceGroup MyResourceGroupName -Name Topic1 | Get-AzureRmEventGridTopicKey
Gets the shared access keys of Event Grid topic `Topic1` in resource group `MyResourceGroupName`.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... idtopickey