创建支持案例
如果您在使用IBM Cloud® 时遇到问题,可以使用 支持中心创建支持案例。 使用基本、高级或高级 支持计划 的用户可以通过附加特定资源或产品来创建技术支持案例,以确保案例能更快地转给正确的支持工程师。 这样可以更高效、更有效地解决问题。
如果您的账户已停用或无法访问您的账户,您可以填写 创建账户、登录或账单申请表 来创建支持案例。
您还可以针对与访问(IAM)、计费和使用、账户、发票或销售查询相关的问题创建支持案例。 可用的支持类型取决于账户的支持级别。 您的支持计划还决定了您可以为支持案例指定的严重程度。 有关更多信息,请参阅案例严重性和响应时间。
拥有 Lite 账户的用户也可以创建支持案例,但仅限于与访问(IAM)、计费和使用、账户、发票或销售查询相关的问题。 IBM Cloud文档和 Stack Overflow 为提供免费支持的 Lite 账户提供技术支持。
默认情况下,账户用户没有权限创建、更新、搜索或查看案例。 账户所有者必须通过分配 Identity and Access Management (IAM) 访问策略为用户提供访问权限。 有关更多信息,请参阅分配用于处理支持案例的用户访问权。
创建支持案例
完成以下步骤创建支持案例:
作为经典基础架构用户,您可能熟悉支持凭单。 在 IBM Cloud 中,支持票据现在称为支持案例。
-
从 "IBM Cloud控制台菜单栏,点击 "帮助图标 '
> '支持中心。
-
从“联系支持”部分单击“创建案例”。
-
选择问题类别。
-
选择与您的问题关系最密切的主题和相关子主题,然后单击下一步。
-
填写必填字段。
为确保安全,请勿在案例回复中包含任何个人信息、敏感数据或设备或服务凭据。 例如,不要包含密码、API 密钥、机密或信用卡信息。
-
Optional:
- 附加文件和资源,以提供有关您遇到的问题的更多详细信息。
- 如果您想让您账户中的用户了解案件的最新情况,请使用联系人观察列表添加他们。 有关为用户分配账户访问权限的更多信息,请参阅 将用户添加到案件管理访问组。
- 选择“向我发送有关此案例更新的电子邮件”以接收支持案例通知。
-
单击下一步,查看案件摘要,然后单击提交案件。 在收到案件的电子邮件验证后,请按照说明就问题进行进一步沟通。
创建支持案例后,您可以在 "管理案例 "页面 上查看其进展情况。
IBM 支持案例也可以在云控制台和 IBM 支持门户中打开。 这些案例只能在 IBM 支持门户中进行管理,访问权限也在 IBM 支持门户中进行控制。 有关访问权限的更多信息,请参阅 管理您的支持帐户访问权限。
使用 API 创建支持案例
如以下请求示例所示,您可以通过调用案例管理 API 以编程方式打开支持案例。 有关 API 的更多信息,请参阅 案例管理。
curl --location --request POST 'support-center.cloud.ibm.com/case-management/v1/cases' --header 'Content-Type: application/json' --header 'Content-Type: text/plain' --data-raw '{ "type": "technical",
"subject": "Case subject",
"description": "Case description",
"severity":4,
"offering": {
"name": "Cloud Object Storage",
"type": {
"group": "crn_service_name",
"key": "cloud-object-storage",
"kind": "service",
"id": "dff97f5c-bc5e-4455-b470-411c3edbe49c"
}
},
"resources": [
{
"crn": "crn:v1:staging:public:cloud-object-storage:global:a/2dded3de4a4d4a098ebd0998be5cc845:723a59c4-9338-43fe-9dc4-e4a87cc78c8e::",
"note": "Resource note"
}
]
}'
OfferingType offeringType = new OfferingType.Builder()
.group(OfferingType.Group.CRN_SERVICE_NAME)
.key("cloud-object-storage")
.build();
Offering offeringPayload = new Offering.Builder()
.name("Cloud Object Storage")
.type(offeringType)
.build();
CreateCaseOptions createCaseOptions = new CreateCaseOptions.Builder()
.type("technical")
.subject("Example technical case")
.description("This is an example case description. This is where the problem would be described.")
.offering(offeringPayload)
.severity(4)
.build();
Response<Case> response = service.createCase(createCaseOptions).execute();
Case xCase = response.getResult();
System.out.println(xCase);
const offeringType = {
group: 'crn_service_name',
key: 'cloud-object-storage',
};
const offeringPayload = {
name: 'Cloud Object Storage',
type: offeringType,
};
const params = {
type: 'technical',
subject: 'Example technical case',
description: 'This is an example case description. This is where the problem would be described.',
offering: offeringPayload,
severity: 4,
};
caseManagementService.createCase(params)
.then(res => {
caseNumber = res.result.number
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err)
});
offering_type = OfferingType(
group='crn_service_name',
key='cloud-object-storage'
)
offering_payload = Offering(
name='Cloud Object Storage',
type=offering_type
)
case = case_management_service.create_case(
type='technical',
subject='Example technical case',
description='This is an example case description. This is where the problem would be described.',
offering=offering_payload,
severity=4,
).get_result()
print(json.dumps(case, indent=2))
offeringType, _ := caseManagementService.NewOfferingType(
casemanagementv1.OfferingTypeGroupCRNServiceNameConst,
"cloud-object-storage",
)
offeringPayload, _ := caseManagementService.NewOffering(
"Cloud Object Storage",
offeringType,
)
createCaseOptions := caseManagementService.NewCreateCaseOptions(
"technical",
"Example technical case",
"This is an example case description. This is where the problem would be described.",
)
createCaseOptions.SetSeverity(4)
createCaseOptions.SetOffering(offeringPayload)
caseVar, response, err := caseManagementService.CreateCase(createCaseOptions)
if err != nil {
panic(err)
}
b, _ := json.MarshalIndent(caseVar, "", " ")
fmt.Println(string(b))
使用 API 将资源添加到支持案例中
如以下示例请求所示,您可以使用 API 以编程方式将资源添加到支持案例中。 有关详细信息,请参阅 案例管理 API 参考。
curl -X PUT '/case-management/v1/cases/{case_number}/resources' -H 'Authorization: TOKEN' -d '{
"crn": "296878",
"note": "This resource does not work"
}'
AddResourceOptions addResourceOptions = new AddResourceOptions.Builder()
.caseNumber(caseNumber)
.crn(resourceCrn)
.note("This resource is the service that is having the problem.")
.build();
Response<Resource> response = service.addResource(addResourceOptions).execute();
Resource resource = response.getResult();
System.out.println(resource);
const params = {
caseNumber: caseNumber,
crn: resourceCrn,
note: 'This resource is the service that is having the problem.',
};
caseManagementService.addResource(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err)
});
resource = case_management_service.add_resource(
case_number=case_number,
crn=resource_crn,
note='This resource is the service that is having the problem.',
).get_result()
print(json.dumps(resource, indent=2))
addResourceOptions := caseManagementService.NewAddResourceOptions(
caseNumber,
)
addResourceOptions.SetCRN(resourceCRN)
addResourceOptions.SetNote("This resource is the service that is having the problem.")
resource, response, err := caseManagementService.AddResource(addResourceOptions)
if err != nil {
panic(err)
}
b, _ := json.MarshalIndent(resource, "", " ")
fmt.Println(string(b))
支持的案例文件类型
创建案例时,您可以附加文件。 支持以下文件类型:
7z, ace, ams, arm, asp, bash, history, bkp, big, bmp, bz2, ca, ca-bundle, ca-crt, cabundle, cap, cer, cert, cfg, cnf, crt, csr, csv, dat, dbs, debug, dib, dmesg, dmp, doc, docx, dotx, dump, email, eml, emz, env, eps, error, evt, evtx, fragment, gif, gz, gz_aa, gz_ab, gz_ac, har, hosts, htaccess, html, iaf, ics, id, img, info, jpb, jpe, jpeg, jpg, key, lic, log, logsm lon02, lst, lzh, mai, md5, mib, mjpg, msg, mso, odp, ods, odt, oft, openssh, out, ovf, ovpn, p7b, p7s, pages, pcap, pcf, pcx, pdb, pem, pfx, pic, pix, png, ppk, ppt, pptx, psd, psp, pspimage, pub_key, rar, raw, rdp, req, rpt, rtf, sjc03-raid-2, sjc03-raid-log-1, snag, sql, ssh, stats, sth, svg, sxc, tar, targz, tbz2, tcpdump, text, tgz, tgz-aa, tgz-ab, tgz-ac, tgz-ad, tgz-ae, tgz-af, tgz-ag, tgz-ah, tgz-ai, tgz-aj, tgz-ak, tgz-ak, tgz-al, tgz-al, tgz-am, tif, tiff, tip, trace, tsv, txt, ufo, vcf, vdx, vsdx, webarchive, wml, wps, wpz, wrf, wri, xcf, xlog, xlr, xls, xis, xism, xisx, xit, xml, xpm, xps, xslic, xz, yaml, zip, zipaa, zipx, zone