static void create_resource (CognitiveServicesManagementClient client, string resource name, strīng 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) ; }