Creates a check on the entity with the specified attributes. The
'details' parameter should be a dict with the keys as the option name,
and the value as the desired setting.
If the 'test_only' parameter is True, then the check is not created;
instead, the check is run and the results of the test run returned. If
'include_debug' is True, additional debug information is returned.
According to the current Cloud Monitoring docs:
"Currently debug information is only available for the
remote.http check and includes the response body."
等价于
raxmon-checks-test
的方法是使用create_check
并传入test_only=True
。此时没有直接等价于raxmon-checks-test-existing
以下是
create_check
方法中提供的docstring:create_check
的文档可以在https://github.com/rackspace/pyrax/blob/master/docs/cloud_monitoring.md#create-the-check找到,尽管它们目前缺少关于test_only
的信息。你知道吗相关问题 更多 >
编程相关推荐