创建工作组后,您可以查看工作组的相关信息,包括工作组名称、工作组描述、告警信息等。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
        
            调试
        
    
授权信息
| 
                                 操作  | 
                            
                                 访问级别  | 
                            
                                 资源类型  | 
                            
                                 条件关键字  | 
                            
                                 关联操作  | 
                        
| 
                                 smc:DescribeWorkgroups  | 
                            
                                 list  | 
                            
                                     *全部资源 
  | 
                            无 | 无 | 
请求参数
| 
                             名称  | 
                        
                             类型  | 
                        
                             必填  | 
                        
                             描述  | 
                        
                             示例值  | 
                    
| WorkgroupId | 
                             array  | 
                        
                             否  | 
                        
                             工作组 ID 列表,最多可以输入 50 个工作组 ID。  | 
                        |
| 
                             string  | 
                        
                             否  | 
                        
                             工作组 ID。  | 
                        
                             w-bp10geepnj916e3d****  | 
                    |
| Name | 
                             string  | 
                        
                             否  | 
                        
                             工作组名称。  | 
                        
                             test  | 
                    
| Status | 
                             string  | 
                        
                             否  | 
                        
                             工作组的状态。取值范围: 
  | 
                        
                             InProgress  | 
                    
| PageNumber | 
                             integer  | 
                        
                             否  | 
                        
                             工作组列表的页码。起始值:1。 默认值:1。  | 
                        
                             1  | 
                    
| PageSize | 
                             integer  | 
                        
                             否  | 
                        
                             分页查询时设置的每页行数。最大值:50。 默认值:10。  | 
                        
                             10  | 
                    
| Tag | 
                             array<object>  | 
                        
                             否  | 
                        
                             标签数组。数组长度:1~20。如果数组中有多个标签对象,标签键 Key 不允许重复。  | 
                        |
| 
                             object  | 
                        
                             否  | 
                        
                             标签对象。  | 
                        ||
| Key | 
                             string  | 
                        
                             否  | 
                        
                             工作组的标签键。最多支持 128 个字符,一旦传入该值,则不允许为空字符串,不能以  | 
                        
                             TestKey  | 
                    
| Value | 
                             string  | 
                        
                             否  | 
                        
                             工作组的标签值。最多支持 128 个字符,一旦传入该值,可以为空字符串,不能包含  | 
                        
                             TestValue  | 
                    
返回参数
| 
                             名称  | 
                        
                             类型  | 
                        
                             描述  | 
                        
                             示例值  | 
                    
| 
                             object  | 
                        
                             返回参数信息。  | 
                        ||
| RequestId | 
                             string  | 
                        
                             请求 ID。  | 
                        
                             2D69A58F-345C-4FDE-88E4-BF518948****  | 
                    
| TotalCount | 
                             integer  | 
                        
                             工作组总个数。  | 
                        
                             1  | 
                    
| PageSize | 
                             integer  | 
                        
                             分页查询时设置的每页行数。最大值:50。默认值:10。  | 
                        
                             10  | 
                    
| PageNumber | 
                             integer  | 
                        
                             工作组列表的页码。  | 
                        
                             1  | 
                    
| Workgroups | 
                             object  | 
                        ||
| Workgroup | 
                             array<object>  | 
                        
                             工作组详情信息。  | 
                        |
| 
                             object  | 
                        
                             工作组对象。  | 
                        ||
| WorkgroupId | 
                             string  | 
                        
                             工作组 ID。  | 
                        
                             w-bp10geepnj916e3d****  | 
                    
| Name | 
                             string  | 
                        
                             工作组名称。  | 
                        
                             testWorkgroupName  | 
                    
| Description | 
                             string  | 
                        
                             工作组的描述信息。  | 
                        
                             test  | 
                    
| Status | 
                             string  | 
                        
                             工作组的状态。可能值: 
  | 
                        
                             InProgress  | 
                    
| Warnings | 
                             object  | 
                        ||
| Warning | 
                             array<object>  | 
                        
                             工作组告警信息列表,可能包含多种告警。  | 
                        |
| 
                             object  | 
                        
                             告警信息。  | 
                        ||
| WarningType | 
                             string  | 
                        
                             告警类型,可能值: 
  | 
                        
                             InError  | 
                    
| SourceIds | 
                             object  | 
                        ||
| SourceId | 
                             array  | 
                        
                             存在问题的迁移源列表。  | 
                        |
| 
                             string  | 
                        
                             存在问题的迁移源 ID。  | 
                        
                             s-bp1h7ymebl7swbt4****  | 
                    |
| Tags | 
                             object  | 
                        ||
| Tag | 
                             array<object>  | 
                        
                             工作组的标签信息。  | 
                        |
| 
                             object  | 
                        
                             工作组的标签信息。  | 
                        ||
| Key | 
                             string  | 
                        
                             工作组的标签键。  | 
                        
                             TestKey  | 
                    
| Value | 
                             string  | 
                        
                             工作组的标签值。  | 
                        
                             TestValue  | 
                    
示例
正常返回示例
JSON格式
{
  "RequestId": "2D69A58F-345C-4FDE-88E4-BF518948****",
  "TotalCount": 1,
  "PageSize": 10,
  "PageNumber": 1,
  "Workgroups": {
    "Workgroup": [
      {
        "WorkgroupId": "w-bp10geepnj916e3d****",
        "Name": "testWorkgroupName",
        "Description": "test",
        "Status": "InProgress",
        "Warnings": {
          "Warning": [
            {
              "WarningType": "InError",
              "SourceIds": {
                "SourceId": [
                  "s-bp1h7ymebl7swbt4****"
                ]
              }
            }
          ]
        },
        "Tags": {
          "Tag": [
            {
              "Key": "\t\nTestKey",
              "Value": "TestValue"
            }
          ]
        }
      }
    ]
  }
}
            错误码
| 
                                 HTTP status code  | 
            				
                                 错误码  | 
            				
                                 错误信息  | 
            				
                                 描述  | 
            			
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. | 内部错误,请重试。如果多次尝试失败,请提交工单。 | 
| 403 | Forbidden.Unauthorized | A required authorization for the specified action is not supplied. | 用户未授权操作指定的资源。 | 
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。