Get-AzEventGridTopicType
Gets the details about the topic types supported by Azure Event Grid.
Syntax
Get-AzEventGridTopicType
[-Name <String>]
[-IncludeEventTypeData]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Gets the details of topic types supported by Azure Event Grid. If a topic type name is specified, details about that topic type are returned. If a topic type name is not specified, details about all topic types are returned. If IncludeEventTypes is specified, information about event types supported by each topic type is included in the response.
Examples
Example 1
Get-AzEventGridTopicType
Gets a list of the topic types.
Example 2
Get-AzEventGridTopicType -Name "Microsoft.Storage.StorageAccounts"
Gets information about the StorageAccounts topic type.
Example 3
Get-AzEventGridTopicType -Name "Microsoft.Storage.StorageAccounts" -IncludeEventTypeData
Gets information about the StorageAccounts topic type, including the event types supported by StorageAccounts.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IncludeEventTypeData
If specified, the response will include the event types supported by a topic type.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
EventGrid Topic Type Name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for