This is a dedicated watch page for a single video.
You have the following C# method for creating Azure AI service resources programmatically. static void create_resource ( CognitiveServicesManagementClient client , string resource_name , string kind , string account_tier , string location ) { CognitiveServicesAccount parameters = new CognitiveServicesAccount ( null , null , kind , location , resource_name , new CognitiveServicesAccountProperties (), new Sku ( account_tier )); var result = client . Accounts . Create ( resource_group_name , account_tier , parameters ); } You need to call the method to create a free Azure resource in the West US Azure region. The resource will be used to generate captions of images automatically. Which code should you use?