latestSwagger 2.02026-07-13182056.9 KB

7130f4901d56

NameAvailability

Checks that the Video Indexer account name is valid and is not already in use.

post/subscriptions/{subscriptionId}/providers/Microsoft.VideoIndexer/checkNameAvailability

Parameters

../../../../../common-types/resource-management/v1/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref
../../../../../common-types/resource-management/v1/types.json#/components/parameters/ApiVersionParameter — unresolved $ref

Request body

namestring required

The VideoIndexer account name.

type'Microsoft.VideoIndexer/accounts' required

The type of resource, Microsoft.VideoIndexer/accounts

Response

OK - Operation to check the Video Indexer account name availability was successful. Ok does not indicate the name is available, the body of the response does.

nameAvailableboolean

Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken.

reason'AlreadyExists'

Gets the reason that a Video Indexer account name could not be used. The Reason element is only returned if NameAvailable is false.

messagestring

Gets an error message explaining the Reason value in more detail.