Ask a Question

How to clone virtual service using command line or through API

prashantha
New Contributor

How to clone virtual service using command line or through API

Hello,

     We can clone virtual service by right click on virtual service and click clone virtual service. But i want to clone it for multiple environment.  How can i clone virtual service using command line or through api. 

 

Thanks,

2 REPLIES 2
nmrao
Community Hero

Re: How to clone virtual service using command line or through API

Have you looked at the available APIs?
What do you change in the cloned service? host name or port? Is it possible to use property expansion?


Regards,
Rao.
prashantha
New Contributor

Re: How to clone virtual service using command line or through API

I didn't find any APIs to do this task.  After we clone we will change port for another environment and deploy to virtual server.  We want to automate this whenever we setup new environment.

Can you elaborate on property expansion?  

cancel
Showing results for 
Search instead for 
Did you mean: