Softlayer API 使用 SoftLayer_Ticket with subjectId 所需的信息
Softlayer API information needed on using SoftLayer_Ticket with subjectId
我在 how to create a ticket via the Softlayer API 上找到了一个例子:
我找到了 the documentation on the SoftLayer_Ticket
data type:
我找不到的是 subjectId
类型可以使用的 "internal identifiers" 列表。在上面的示例中,subjectId: 1121
创建了硬件防火墙问题 (ID 1121) 的票证,但我不知道在哪里可以找到其他问题的正确 subjectId
。有人可以告诉我在哪里看吗?
获取主题 ID 的代码在同一个示例中:
import SoftLayer
from pprint import pprint as pp
client = SoftLayer.Client()
subjects = client['Ticket_Subject'].getAllObjects()
pp(subjects)
这里是方法的文档:
http://sldn.softlayer.com/reference/services/SoftLayer_Ticket_Subject
http://sldn.softlayer.com/reference/services/SoftLayer_Ticket_Subject/getAllObjects
此致
我在 how to create a ticket via the Softlayer API 上找到了一个例子:
我找到了 the documentation on the SoftLayer_Ticket
data type:
我找不到的是 subjectId
类型可以使用的 "internal identifiers" 列表。在上面的示例中,subjectId: 1121
创建了硬件防火墙问题 (ID 1121) 的票证,但我不知道在哪里可以找到其他问题的正确 subjectId
。有人可以告诉我在哪里看吗?
获取主题 ID 的代码在同一个示例中:
import SoftLayer
from pprint import pprint as pp
client = SoftLayer.Client()
subjects = client['Ticket_Subject'].getAllObjects()
pp(subjects)
这里是方法的文档:
http://sldn.softlayer.com/reference/services/SoftLayer_Ticket_Subject http://sldn.softlayer.com/reference/services/SoftLayer_Ticket_Subject/getAllObjects
此致