You have the following Python function for creating Azure Cognitive Services resources programmatically. def create_resource (resource_name, kind, account_tier, location) : parameters = CognitiveServicesAccount(sku=Sku(name=account_tier), kind=kind, location=location, properties={}) result = client.accounts.create(resource_group_name, resource_name, parameters)
You need to call the function 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?
ArchMelody
Highly Voted 2 years, 5 months agoulloo
1 year, 11 months agoBhutani
Most Recent 1 week, 3 days agosyupwsh
1 month, 4 weeks agonanaw770
11 months, 1 week agoupliftinghut
1 year agodirgiklis
9 months, 1 week agosca88
1 year, 5 months agordemontis
1 year, 5 months agotrashbox
1 year, 6 months agobare
1 year, 6 months agozellck
1 year, 10 months agozellck
1 year, 10 months agozellck
1 year, 9 months agoPixelmate
1 year, 10 months agoPixelmate
1 year, 10 months agoziggy1117
1 year, 10 months agoap1234pa
2 years, 3 months agoSSJA
2 years, 4 months ago[Removed]
2 years, 7 months ago