Get-AzEventGridDomainKey
Lekéri az események Event Grid-tartományban való közzétételéhez használt közös hozzáférési kulcsokat.
Syntax
Get-AzEventGridDomainKey
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventGridDomainKey
[-DomainObject] <PSDomain>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventGridDomainKey
[-DomainResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Lekéri az események Event Grid-tartományban való közzétételéhez használt közös hozzáférési kulcsokat.
Példák
1. példa
Lekéri a "Domain1" Event Grid-tartomány közös hozzáférési kulcsait a "MyResourceGroupName" erőforráscsoportban.
Get-AzEventGridDomainKey -ResourceGroup MyResourceGroupName -Name Domain1
Key1 Key2
---- ----
<Key1 value> <Key 2 value>
2. példa
Lekéri a "Domain1" Event Grid-tartomány közös hozzáférési kulcsait a "MyResourceGroupName" erőforráscsoportban.
Get-AzEventGridDomain -ResourceGroup MyResourceGroupName -Name Domain1 | Get-AzEventGridDomainKey
Key1 Key2
---- ----
<Key1 value> <Key 2 value>
Paraméterek
-DefaultProfile
Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DomainObject
EventGrid Domain objektum.
Type: | PSDomain |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DomainResourceId
Az Event Grid-tartományt képviselő erőforrás-azonosító.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
EventGrid tartománynév.
Type: | String |
Aliases: | DomainName |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Az erőforráscsoport neve.
Type: | String |
Aliases: | ResourceGroup |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Bevitelek
Kimenetek
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: