編輯

共用方式為


Get-AzPeeringRpUnbilledPrefix

Lists all of the RP unbilled prefixes for the specified peering

Syntax

Get-AzPeeringRpUnbilledPrefix
   -PeeringName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-Consolidate]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists all of the RP unbilled prefixes for the specified peering

Examples

Example 1: List all unbilled prefixes for a peering

Get-AzPeeringRpUnbilledPrefix -PeeringName DemoPeering -ResourceGroupName DemoRG

Prefix      AzureRegion PeerASN
------      ----------- -------
2.16.0.0/13 West US 2   65010
23.0.0.0/12 West US 2   65010
...

Lists all the unbilled prefixes for a peering

Parameters

-Consolidate

Flag to enable consolidation prefixes

Type:SwitchParameter
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

-PeeringName

The peering name.

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

-ResourceGroupName

The Azure resource group name.

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

IRpUnbilledPrefix