Get-AzEventGridTopicKey
Event Grid 토픽에 이벤트를 게시하는 데 사용되는 공유 액세스 키를 가져옵니다.
Syntax
Get-AzEventGridTopicKey
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventGridTopicKey
[-InputObject] <PSTopic>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventGridTopicKey
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Event Grid 토픽에 이벤트를 게시하는 데 사용되는 공유 액세스 키를 가져옵니다.
예제
예 1
Get-AzEventGridTopicKey -ResourceGroup MyResourceGroupName -Name Topic1
리소스 그룹 'MyResourceGroupName'에서 Event Grid 토픽 'Topic1'의 공유 액세스 키를 가져옵니다.
예제 2
Get-AzEventGridTopic -ResourceGroup MyResourceGroupName -Name Topic1 | Get-AzEventGridTopicKey
리소스 그룹 'MyResourceGroupName'에서 Event Grid 토픽 'Topic1'의 공유 액세스 키를 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독
형식: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
기본값: | None |
필수: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
EventGrid Topic 개체입니다.
형식: | PSTopic |
Position: | 0 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
EventGrid 토픽 이름입니다.
형식: | String |
Aliases: | TopicName |
Position: | 1 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
리소스 그룹 이름.
형식: | String |
Aliases: | ResourceGroup |
Position: | 0 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
Event Grid 토픽을 나타내는 리소스 식별자입니다.
형식: | String |
Position: | 0 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |