Edit

Share via


Get-AzPeeringServiceLocation

Lists all of the available locations for peering service.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The Azure subscription ID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IPeeringServiceLocation