Editar

Compartilhar via


Get-AzPeeringCdnPrefix

Lists all of the advertised prefixes for the specified peering location

Syntax

Get-AzPeeringCdnPrefix
   [-SubscriptionId <String[]>]
   -PeeringLocation <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists all of the advertised prefixes for the specified peering location

Examples

Example 1: Get Cdn prefixes

Get-AzPeeringCdnPrefix -PeeringLocation Seattle

Prefix          AzureRegion AzureService IsPrimaryRegion BgpCommunity
------          ----------- ------------ --------------- ------------
20.157.110.0/24 West US 2   AzureCompute True            8069:51026
20.157.118.0/24 West US 2   AzureCompute True            8069:51026
20.157.125.0/24 West US 2   AzureCompute True            8069:51026
20.157.180.0/24 West US 2   AzureStorage True            8069:52026
20.157.25.0/24  West US 2   AzureCompute True            8069:51026
20.157.50.0/23  West US 2   AzureStorage True            8069:52026
20.47.120.0/23  West US 2   AzureCompute True            8069:51026
20.47.62.0/23   West US 2   AzureStorage True            8069:52026

Get all cdn prefixes for subscription

Parameters

-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

-PeeringLocation

The peering location.

Type:String
Position:Named
Default value:None
Required:True
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

ICdnPeeringPrefix