We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation is very limited. Is it even possible to make updates using the SDK. I am trying to work out how to silence specific alerts .
The text was updated successfully, but these errors were encountered:
You have to use the 'set' method. There is a (very brief indeed) example in the README file.
Example to set an application instance name:
from dfs_sdk.scaffold import get_api api = get_api() ai = api.app_instances.list()[0] print "App instance name: ", ai['name'] print "App instance UUID: ", ai['uuid'] ai.set(name = "new_name") ai = api.app_instances.get(ai['uuid']) print "App instance name: ", ai['name']
from dfs_sdk.scaffold import get_api
api = get_api()
ai = api.app_instances.list()[0]
print "App instance name: ", ai['name']
print "App instance UUID: ", ai['uuid']
ai.set(name = "new_name")
ai = api.app_instances.get(ai['uuid'])
Output:
App instance name: ai_name App instance UUID: 56e69c9c-642c-4fbc-b4ec-40444b0e261d App instance name: new_name
Sorry, something went wrong.
Thanks for the help
No branches or pull requests
The documentation is very limited.
Is it even possible to make updates using the SDK.
I am trying to work out how to silence specific alerts .
The text was updated successfully, but these errors were encountered: