Get-AzPeeringAsn
지정된 구독에서 지정된 이름의 피어 ASN을 가져옵니다.
Syntax
Get-AzPeeringAsn
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPeeringAsn
-Name <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPeeringAsn
-InputObject <IPeeringIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
지정된 구독에서 지정된 이름의 피어 ASN을 가져옵니다.
예제
예제 1: PeerAsns 나열
Get-AzPeeringAsn
Name PeerName PropertiesPeerAsn ValidationState PeerContactDetail
---- -------- ----------------- --------------- -----------------
ContosoEdgeTest Contoso 65000 Approved {{…}}
구독에서 모든 피어 asns 나열
예제 2: 특정 PeerAsn 가져오기
Get-AzPeeringAsn -Name ContosoEdgeTest
Name PeerName PropertiesPeerAsn ValidationState PeerContactDetail
---- -------- ----------------- --------------- -----------------
ContosoEdgeTest Contoso 65000 Approved {{…}}
이름으로 피어 asn 가져오기
매개 변수
-DefaultProfile
DefaultProfile 매개 변수가 작동하지 않습니다. 다른 구독에 대해 cmdlet을 실행하는 경우 사용 가능한 경우 SubscriptionId 매개 변수를 사용합니다.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
생성할 ID 매개 변수는 INPUTOBJECT 속성에 대한 NOTES 섹션을 참조하고 해시 테이블을 만듭니다.
Type: | IPeeringIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
피어 ASN 이름입니다.
Type: | String |
Aliases: | PeerAsnName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Azure 구독 ID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |