external help file | Module Name | online version | schema |
---|---|---|---|
Az.Peering-help.xml |
Az.Peering |
2.0.0 |
Validates an existing registered prefix with the specified name under the given subscription, resource group and peering.
Test-AzPeeringRegisteredPrefix -Name <String> -PeeringName <String> -ResourceGroupName <String>
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Test-AzPeeringRegisteredPrefix -InputObject <IPeeringIdentity> [-DefaultProfile <PSObject>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Validates an existing registered prefix with the specified name under the given subscription, resource group and peering.
Test-AzPeeringRegisteredPrefix -Name accessibilityTesting2 -PeeringName DemoPeering -ResourceGroupName DemoRG
Name Prefix PeeringServicePrefixKey PrefixValidationState ProvisioningState
---- ------ ----------------------- --------------------- -----------------
accessibilityTesting2 240.0.1.0/24 249aa0dd-6177-4105-94fe-dfefcbf5ab48 Pending Succeeded
Tests the validity of the given registered prefix (shown in prefix validation state)
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
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.IPeeringIdentity
Parameter Sets: ValidateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The name of the registered prefix.
Type: System.String
Parameter Sets: Validate
Aliases: RegisteredPrefixName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the peering.
Type: System.String
Parameter Sets: Validate
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the resource group.
Type: System.String
Parameter Sets: Validate
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Azure subscription ID.
Type: System.String
Parameter Sets: Validate
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.