Test-AzPeeringServiceProviderAvailability
Checks if the peering service provider is present within 1000 miles of customer's location
Syntax
Test-AzPeeringServiceProviderAvailability
[-SubscriptionId <String>]
[-PeeringServiceLocation <String>]
[-PeeringServiceProvider <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Test-AzPeeringServiceProviderAvailability
[-SubscriptionId <String>]
-CheckServiceProviderAvailabilityInput <ICheckServiceProviderAvailabilityInput>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Test-AzPeeringServiceProviderAvailability
-InputObject <IPeeringIdentity>
[-PeeringServiceLocation <String>]
[-PeeringServiceProvider <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Test-AzPeeringServiceProviderAvailability
-InputObject <IPeeringIdentity>
-CheckServiceProviderAvailabilityInput <ICheckServiceProviderAvailabilityInput>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Checks if the peering service provider is present within 1000 miles of customer's location
Examples
Example 1: Check if provider is available at a location
$providerAvailability = New-AzPeeringCheckServiceProviderAvailabilityInputObject -PeeringServiceLocation Osaka -PeeringServiceProvider IIJ
Test-AzPeeringServiceProviderAvailability -CheckServiceProviderAvailabilityInput $providerAvailability
"Available"
Check whether the given provider is available at the given location
Parameters
-CheckServiceProviderAvailabilityInput
Class for CheckServiceProviderAvailabilityInput To construct, see NOTES section for CHECKSERVICEPROVIDERAVAILABILITYINPUT properties and create a hash table.
Type: | ICheckServiceProviderAvailabilityInput |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
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 |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IPeeringIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PeeringServiceLocation
Gets or sets the peering service location.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PeeringServiceProvider
Gets or sets the peering service provider.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
ICheckServiceProviderAvailabilityInput
Outputs
Azure PowerShell