編集

次の方法で共有


Get-AzEventGridTopicType

Get information about a topic type.

Syntax

Get-AzEventGridTopicType
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]
Get-AzEventGridTopicType
   -Name <String>
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]
Get-AzEventGridTopicType
   -InputObject <IEventGridIdentity>
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]

Description

Get information about a topic type.

Examples

Example 1: List information about topic type.

Get-AzEventGridTopicType

Name                                            ResourceGroupName
----                                            -----------------
Microsoft.Eventhub.Namespaces
......
Microsoft.EventGrid.Namespaces

List information about topic type.

Example 2: Get information about a topic type.

Get-AzEventGridTopicType -Name Microsoft.EventGrid.Namespaces

Name                           ResourceGroupName
----                           -----------------
Microsoft.EventGrid.Namespaces

Get information about a topic type.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter

Type:IEventGridIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of the topic type.

Type:String
Aliases:TopicTypeName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns true when the command succeeds

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IEventGridIdentity

Outputs

ITopicTypeInfo