Skip to contents

If region is supported, this function returns the region. If not supported, throws a warning message.

Usage

ms_region(region = conrad::region)

Arguments

region

Subscription region for API key. For more info, see https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/regions

Value

Character vector of region

Examples

if (FALSE) { # interactive()
# Check if westus is supported
ms_region(region = "westus")
# Check if eastus is supported
ms_region(region = "eastus")
}