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, 7 months agoulloo
2 years, 1 month agoBhutani
Most Recent 2 months agosyupwsh
3 months, 3 weeks agonanaw770
1 year agoupliftinghut
1 year, 1 month agodirgiklis
11 months agosca88
1 year, 7 months agordemontis
1 year, 7 months agotrashbox
1 year, 7 months agobare
1 year, 8 months agozellck
1 year, 12 months agozellck
1 year, 12 months agozellck
1 year, 11 months agoPixelmate
1 year, 12 months agoPixelmate
1 year, 12 months agoziggy1117
2 years agoap1234pa
2 years, 5 months agoSSJA
2 years, 6 months ago[Removed]
2 years, 9 months ago