Edit

Share via


Get-AzPeeringCdnPrefix

This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.

Lists all of the advertised prefixes for the specified peering location

Syntax

Default (Default)

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.

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

-PeeringLocation

The peering location.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:True
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

ICdnPeeringPrefix