Editar

Compartilhar via


Get-AzPeeringServiceLocation

Lists all of the available locations for peering service.

Syntax

Get-AzPeeringServiceLocation
   [-SubscriptionId <String[]>]
   [-Country <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists all of the available locations for peering service.

Examples

Example 1: List all peering service locations

Get-AzPeeringServiceLocation

Name                            State                           Country        AzureRegion
----                            -----                           -------        -----------
Obwalden                        Obwalden                        Switzerland    France Central
Sankt Gallen                    Sankt Gallen                    Switzerland    France Central
Schaffhausen                    Schaffhausen                    Switzerland    France Central
Schwyz                          Schwyz                          Switzerland    France Central
Solothurn                       Solothurn                       Switzerland    France Central
Thurgau                         Thurgau                         Switzerland    France Central
Ticino                          Ticino                          Switzerland    France Central
Uri                             Uri                             Switzerland    France Central
Valais                          Valais                          Switzerland    France Central
Vaud                            Vaud                            Switzerland    France Central
Zug                             Zug                             Switzerland    France Central
Zurich                          Zurich                          Switzerland    France Central
Aberdeen City                   Aberdeen City                   United Kingdom UK West
Angus                           Angus                           United Kingdom UK West
Antrim and Newtownabbey         Antrim and Newtownabbey         United Kingdom North Europe
Ards and North Down             Ards and North Down             United Kingdom North Europe
Argyll and Bute                 Argyll and Bute                 United Kingdom North Europe
Armagh, Banbridge and Craigavon Armagh, Banbridge and Craigavon United Kingdom North Europe
Barking and Dagenham            Barking and Dagenham            United Kingdom UK South
...

Retrieves all peering service locations

Example 2: List all peering service

Get-AzPeeringServiceLocation -Country Japan

Name      State     Country AzureRegion
----      -----     ------- -----------
Aichi     Aichi     Japan   Japan West
Akita     Akita     Japan   Japan East
Aomori    Aomori    Japan   Japan East
Chiba     Chiba     Japan   Japan East
Ehime     Ehime     Japan   Japan West
Fukui     Fukui     Japan   Japan West
Fukuoka   Fukuoka   Japan   Japan West
Fukushima Fukushima Japan   Japan East
Gifu      Gifu      Japan   Japan West
Gunma     Gunma     Japan   Japan East
Hiroshima Hiroshima Japan   Japan West
Hyogo     Hyogo     Japan   Japan West
Ibaraki   Ibaraki   Japan   Japan East
Ishikawa  Ishikawa  Japan   Japan West
...

Retrieves all peering service locations for a specific country

Parameters

-Country

The country of interest, in which the locations are to be present.

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

-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

-SubscriptionId

The Azure subscription ID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IPeeringServiceLocation