Yaml Pipeline environmnet variable schema reding through resp api

Durgaprasad Kinthada 1 Reputation point
2020-08-05T11:47:37.913+00:00

Hi Team,

Trying to read environment variable from yaml schema through rest api. But its creating environment in environments tab in azure devops project. But while reading through api its not displaying any information regarding environment.

Below section in yaml schema

environment:
name: VMenv
resourceType: VirtualMachine
tags: web1

I want to declare environment type also in yaml schema and read from rest api is there any option available to declare custom text like Preprodeploytype ,Predevdeploy type.

My requirement is to declare environment type and environment in yaml schema and read from api

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. krish-gh 2,331 Reputation points Moderator
    2020-08-05T13:11:46.443+00:00

    @Durgaprasad Kinthada , DevOps is not yet supported in Q&A, please ask your question in developer community https://developercommunity.visualstudio.com/spaces/21/index.html

    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.