Automating Deployment of custom vision object Detection Model across subscriptions

Pallavi M 0 Reputation points
2025-03-10T05:08:58.3266667+00:00

i have deployed a custom vision object Deyection model in my Custom Vision resource within my Azure subscription. Now i want to automate its deployment to another subscription.

Is it possible to acheive this using Azure Devops?if so what steps should i follow? Are there any other recommended approches, such as using ARM templates, Terraform, or Azure Cli.

Looking for guaidance on the best way to automate this process, Thanks in advance.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,223 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manas Mohanty 1,695 Reputation points Microsoft External Staff
    2025-03-12T11:01:31.26+00:00

    Hi Pallavi M

    Yes, it is possible to create Azure Cognitive Services through Devops pipeline with help of CLI commands as the pipeline .yaml includes CLI commands as actions.

    You can pull the templates from azure repo and use CLI commands as actions in pipeline yamls to create the resources

    Kindly check below documentation for ARM/CLI/Terraform deployment of Azure Resources.

    1. ARM template - We create a Json file and use CLI or Custom Template deployment links to create our resources
    2. CLI commands
    3. Terraform - Go through validate, init and apply stages to deploy the resources
    4. Bicep template - Similar to ARM templates

    We need to change Kind of Cognitive services (OpenAI, Face etc) and other details tier type or custom domain etc. to create cognitive resources with desired name and tier type.

    Reference document leveraging Azure Devops and Bicep template

    Hope it helps.

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.