获取云服务详情
所属服务
sam
接口方法
GET
请求url
/sam?Action=GetServiceDetail&Version=2018-03-22&ServiceName=
url 参数
参数名称 | 说明 | 参数类型 | 是否必填 | 备注 |
---|---|---|---|---|
ServiceName | 业务方code | string | 是 | |
Action | GetServiceDetail | string | 是 | |
Version | 2018-03-22 | string | 是 |
返回参数
参数名称 | 说明 | 参数类型 | 是否必填 | 备注 |
---|---|---|---|---|
Code | Code | string | 是 | |
Message | Message | string | 是 | |
ServiceName | 业务code | string | 否 | |
ServiceResources | Resource | array | 否 | 详细信息见下表 |
ServiceActions | Action | array | 是 | 详细信息见下表 |
ServiceDisplayName | 业务名称 | string | 是 | |
ServiceDescription | 业务描述 | string | 否 |
ServiceActions
参数名称 | 说明 | 参数类型 | 是否必填 | 备注 |
---|---|---|---|---|
Action | Action | string | 否 | |
Description | 描述信息 | string | 否 | |
DocumentUrl | 文档链接 | string | 否 | |
RequiredResources | 依赖资源 | array | 否 | |
Category | 类别 | string | 否 | |
CreateTime | 创建时间 | string | 否 | |
ModifyTime | 最后修改时间 | string | 否 |
ServiceResources
参数名称 | 说明 | 参数类型 | 是否必填 | 备注 |
---|---|---|---|---|
Type | 资源类型 | string | 否 | |
Description | 资源描述 | string | 否 | |
CreateTime | 创建时间 | string | 否 | |
ModifyTime | 最近修改时间 | string | 否 |
状态码
错误码(Code) | 错误提示(Message) | http status code | 说明 |
---|---|---|---|
EntityNotExist | The require entity is not exist. | 400 | 查询对象不存在 |
请求示例
https://open.cn-east-1.163yun.com/sam?Action=GetServiceDetail&Version=2018-03-22&ServiceName=CDN
返回示例
{
"Message": "调用成功",
"RequestId": "8a559a20-9b8c-496f-82d7-5464ca18794b",
"ServiceName": "cdn",
"ServiceResources": [],
"Code": "Success",
"ServiceActions": [{
"Action": "CreateDomain",
"Description": "创建加速域名",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:32:40Z"
}, {
"Action": "CreatePurge",
"Description": "创建缓存刷新请求",
"DocumentUrl": "https://www.163yun.com/help/documents/160839057634676736",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:43:03Z"
}, {
"Action": "DeleteDomain",
"Description": "删除加速域名",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:43:17Z"
}, {
"Action": "DisableDomain",
"Description": "禁用加速域名",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:43:22Z"
}, {
"Action": "EnableDomain",
"Description": "启用加速域名",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:44:07Z"
}, {
"Action": "GetCompressionSetting",
"Description": "读取响应压缩配置",
"RequiredResources": [],
"Category": "Read",
"CreateTime": "2019-10-18T02:44:49Z",
"ModifyTime": "2019-10-18T02:44:49Z"
}, {
"Action": "GetDomain",
"Description": "获取加速域名信息",
"RequiredResources": [""],
"Category": "Read",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:44:12Z"
}, {
"Action": "GetDomainPrehot",
"Description": "获取URL预热信息",
"DocumentUrl": "https://www.163yun.com/help/documents/163391224925048832",
"RequiredResources": [""],
"Category": "List",
"CreateTime": "2018-05-28T08:57:38Z",
"ModifyTime": "2019-04-30T07:48:08Z"
}, {
"Action": "GetIgnoreQueryString",
"Description": "读取去查询串缓存配置",
"RequiredResources": [],
"Category": "Read",
"CreateTime": "2019-10-18T02:45:33Z",
"ModifyTime": "2019-10-18T02:45:33Z"
}, {
"Action": "GetPurge",
"Description": "获取缓存刷新请求状态",
"DocumentUrl": "https://www.163yun.com/help/documents/160840868206661632",
"RequiredResources": [""],
"Category": "Read",
"CreateTime": "2018-05-29T12:01:25Z",
"ModifyTime": "2019-04-30T07:45:18Z"
}, {
"Action": "GetUserPrehotQuota",
"Description": "获取用户预热URL的配额",
"DocumentUrl": "https://www.163yun.com/help/documents/163391361244123136",
"RequiredResources": [""],
"Category": "Read",
"CreateTime": "2018-05-28T08:57:27Z",
"ModifyTime": "2019-04-30T07:47:24Z"
}, {
"Action": "ListPurges",
"Description": "获取缓存刷新列表",
"DocumentUrl": "https://www.163yun.com/help/documents/160841172180455424",
"RequiredResources": [""],
"Category": "List",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:45:41Z"
}, {
"Action": "PutCompressionSetting",
"Description": "修改响应压缩配置",
"RequiredResources": [],
"Category": "Write",
"CreateTime": "2019-10-18T02:45:06Z",
"ModifyTime": "2019-10-18T02:45:06Z"
}, {
"Action": "PutIgnoreQueryString",
"Description": "修改去查询串缓存配置",
"RequiredResources": [],
"Category": "Write",
"CreateTime": "2019-10-18T02:45:48Z",
"ModifyTime": "2019-10-18T02:45:48Z"
}, {
"Action": "PutPrehotUrls",
"Description": "预热URL",
"DocumentUrl": "https://www.163yun.com/help/documents/163391211687825408",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-28T08:58:08Z",
"ModifyTime": "2019-04-30T07:46:06Z"
}, {
"Action": "UpdateDomain",
"Description": "修改加速域名配置",
"RequiredResources": [""],
"Category": "Write",
"CreateTime": "2018-05-03T12:22:42Z",
"ModifyTime": "2019-04-30T07:47:02Z"
}],
"ServiceDisplayName": "CDN"
}