It has been mentioned in other threads that all functions in AppSync UI are carried out by REST API.
I have looked at Appsync REST API V2.2.2 reference guide, and found some information but I am looking for REST API or AppSync CLI information on the following items:
Create service plan
Subscribe host file system (windows drives) to a service plan
Set mount options
Set number of copies
Assign external scripts to the service plan during desired phases
The reason I need this is for a customer who is planning to migrate from RM to AppSync where there are more than 700 jobs created on 3 or 4 different RM servers.
I tried a few different things with posting a service plan but without any luck.
Is there a sample xml payload available for posting a file system service plan?
I modified the exchange service plan example from the REST API guide to fit into file system but I am doing something wrong that the POST is failing with the following message:
I already tried this approach and it didn't work for me.
I created a test Service plan with all the required settings
Found its UID
Used the UID to get the plan details. The output is not what is required to create a new service plan. If you look at the sample Exchange plan XML data you will notice it has completely different format than the plan detail GET output.
If you are successful with your method please share either here or to me privately the following:
Your GET URL for plan details
Return output from above
What modification you make to it for posting
POST URL and body
As always, thank you for your efforts in helping with this.
Nbohari
14 Posts
3068
0
Posted April 1st, 2016 09:00
Thank you, I will look at these.