< Back

Get-AzureRmMediaServiceNameAvailability

Tue Jan 29, 2019 9:52 pm

NAME Get-AzureRmMediaServiceNameAvailability



SYNOPSIS

Checks whether a media service name is available. Media service names are globally unique.





SYNTAX

Get-AzureRmMediaServiceNameAvailability [-AccountName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmMediaServiceNameAvailability cmdlet checks whether a media service name is available. Media service names are globally unique.





PARAMETERS

-AccountName <String>

Specifies the name of the media service that this cmdlet gets.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Media.Models.PSCheckNameAvailabilityOutput







NOTES









Example 1: Check whether a Media Service name is available



PS C:\\>Get-AzureRmMediaServiceNameAvailability -AccountName "MediaService1"



This command checks if the name MediaService1 is available.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ailability

Get-AzureRmMediaService

New-AzureRmMediaService

Remove-AzureRmMediaService

Set-AzureRmMediaService