Test-AzsNameAvailability
Returns the avaialbility of the specified subscriptions resource type and name
Syntax
Test-AzsNameAvailability
-Name <String>
-ResourceType <String>
[<CommonParameters>]
Description
Returns the avaialbility of the specified subscriptions resource type and name
Examples
-------------------------- EXAMPLE 1 --------------------------
Test-AzsNameAvailability -ResourceType "Microsoft.Subscriptions.Admin/offers" -Name offername1
Returns the avaialbility of the specified subscriptions resource type and name
Parameters
-Name
The resource name to verify.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceType
The resource type to verify.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.AzureStack.Management.Subscriptions.Admin.Models.CheckNameAvailabilityResponse