Skip to content

Latest commit

 

History

History
122 lines (93 loc) · 2.94 KB

Get-AzPeeringLocation.md

File metadata and controls

122 lines (93 loc) · 2.94 KB
external help file Module Name online version schema
Az.Peering-help.xml
Az.Peering
2.0.0

Get-AzPeeringLocation

SYNOPSIS

Lists all of the available peering locations for the specified kind of peering.

SYNTAX

Get-AzPeeringLocation [-SubscriptionId <String[]>] -Kind <PeeringLocationsKind>
 [-DirectPeeringType <PeeringLocationsDirectPeeringType>] [-DefaultProfile <PSObject>]
 [<CommonParameters>]

DESCRIPTION

Lists all of the available peering locations for the specified kind of peering.

EXAMPLES

Example 1: Get all direct peering locations

Get-AzPeeringLocation -Kind Direct
Get-AzPeeringLocation -Kind Direct

Name             Country AzureRegion         Kind
----             ------- -----------         ----
Amsterdam        NL      West Europe         Direct
Ashburn          US      East US             Direct
Athens           GR      France Central      Direct
Atlanta          US      East US 2           Direct
Auckland         NZ      Australia East      Direct
Barcelona        ES      France Central      Direct
Berlin           DE      West Europe         Direct
...

Gets all peering locations for direct peers

PARAMETERS

-DefaultProfile

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

Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential

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

-DirectPeeringType

The type of direct peering.

Type: Microsoft.Azure.PowerShell.Cmdlets.Peering.Support.PeeringLocationsDirectPeeringType
Parameter Sets: (All)
Aliases:

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

-Kind

The kind of the peering.

Type: Microsoft.Azure.PowerShell.Cmdlets.Peering.Support.PeeringLocationsKind
Parameter Sets: (All)
Aliases:

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

-SubscriptionId

The Azure subscription ID.

Type: System.String[]
Parameter Sets: (All)
Aliases:

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

CommonParameters

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

INPUTS

OUTPUTS

Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IPeeringLocation

NOTES

RELATED LINKS