Get-AzExpressRoutePortAuthorization
ExpressRoutePort yetkilendirmeleri hakkında bilgi alır.
Syntax
Get-AzExpressRoutePortAuthorization
[-Name <String>]
-ExpressRoutePortObject <PSExpressRoutePort>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzExpressRoutePortAuthorization cmdlet'i bir ExpressRoutePort'a atanan yetkilendirmeler hakkında bilgi alır. ExpressRoutePort'un sahibi, ExpressRoutePort'ta (farklı bir sahiple) bağlantı hattını oluşturmak için ExpressRoute bağlantı hattı sahibi tarafından kullanılabilecek bir yetkilendirme anahtarı oluşturan bu yetkilendirmeleri oluşturabilir. Tek bir ExpressRoutePort yetkilendirmesi ile yalnızca bir bağlantı hattı oluşturulabilir. Yetkilendirme anahtarları ve yetkilendirme hakkındaki diğer bilgiler, Get-AzExpressRoutePortAuthorization çalıştırılarak istediğiniz zaman görüntülenebilir.
Örnekler
Örnek 1
$ERPort = Get-AzExpressRoutePort -Name "ContosoPort" -ResourceGroupName "ContosoResourceGroup"
Name : ContosoPort
ResourceGroupName : ContosoResourceGroup
Location : westcentralus
Id : /subscriptions/62364504-2406-418e-971c-05822ff72fad/resourceGroups/ContosoResourceGroup/pr
oviders/Microsoft.Network/expressRoutePorts/ContosoPort
Etag : W/"cf987288-013e-40bf-a2aa-b29d017e7b7f"
ResourceGuid : 4c0e5cdb-79e1-4cb8-a430-0ce9b24472ca
ProvisioningState : Succeeded
PeeringLocation : Area51-ERDirect
BandwidthInGbps : 100
ProvisionedBandwidthInGbps : 0
Encapsulation : QinQ
Mtu : 1500
EtherType : 0x8100
AllocationDate : Thursday, March 31, 2022
Identity : null
Links : [
{
"Name": "link1",
"Etag": "W/\"cf987288-013e-40bf-a2aa-b29d017e7b7f\"",
"Id": "/subscriptions/62364504-2406-418e-971c-05822ff72fad/resourceGroups/ContosoResou
rceGroup/providers/Microsoft.Network/expressRoutePorts/ContosoPort/links/link1",
"RouterName": "a51-test-06gmr-cis-3",
"InterfaceName": "HundredGigE15/15/19",
"PatchPanelId": "PP:0123:1110201 - Port 42",
"RackId": "A51 02050-0123-L",
"ConnectorType": "LC",
"AdminState": "Disabled",
"ProvisioningState": "Succeeded",
"MacSecConfig": {
"SciState": "Disabled",
"Cipher": "GcmAes128"
}
},
{
"Name": "link2",
"Etag": "W/\"cf987288-013e-40bf-a2aa-b29d017e7b7f\"",
"Id": "/subscriptions/62364504-2406-418e-971c-05822ff72fad/resourceGroups/ContosoResou
rceGroup/providers/Microsoft.Network/expressRoutePorts/ContosoPort/links/link2",
"RouterName": "a51-test-06gmr-cis-4",
"InterfaceName": "HundredGigE15/15/19",
"PatchPanelId": "2050:0124:1110854 - Port 42",
"RackId": "A51 02050-0124-L",
"ConnectorType": "LC",
"AdminState": "Disabled",
"ProvisioningState": "Succeeded",
"MacSecConfig": {
"SciState": "Disabled",
"Cipher": "GcmAes128"
}
}
]
Circuits : []
Get-AzExpressRoutePortAuthorization -ExpressRoutePortObject $ERPort
Name : ContosoPortAuthorization
Id : /subscriptions/62364504-2406-418e-971c-05822ff72fad/resourceGroups/ContosoResourceGroup/provid
ers/Microsoft.Network/expressRoutePorts/ContosoPort/authorizations/ContosoPortAuthorization
Etag : W/"36ccc199-c371-4d19-88cc-90d51bfe7ea9"
AuthorizationKey : 10d01cd7-0b67-4c44-88ca-51e7effa452d
AuthorizationUseStatus : Available
ProvisioningState : Succeeded
CircuitResourceUri :
Bu komutlar bir ExpressRoutePort ile ilişkili tüm ExpressRoute yetkilendirmeleri hakkında bilgi döndürür. İlk komut Get-AzExpressRoutePort cmdlet'ini kullanarak ContosoPort adlı bir ExpressRoutePort nesnesi başvurusu oluşturur; bu nesne başvurusu $ERPort değişkeninde depolanır. İkinci komut, ContosoPort ile ilişkili yetkilendirmeler hakkında bilgi döndürmek için bu nesne başvurusunu ve Get-AzExpressRoutePortAuthorization cmdlet'ini kullanır. ContosoPort ile ilişkilendirilmiş belirli bir yetkilendirme için bu komutla yetkilendirmenin adını da belirtebilirsiniz.
Parametreler
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpressRoutePortObject
ExpressRoutePort Nesnesi
Type: | PSExpressRoutePort |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Bu cmdlet'in aldığı ExpressRoutePort yetkilendirmesinin adını belirtir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Girişler
Çıkışlar
PSExpressRoutePortAuthorization
İlişkili Bağlantılar
Azure PowerShell
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin