# Display Memcache - DescribeUMemcacheGroup

## Overview

Display Memcache






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DescribeUMemcacheGroup`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.dezai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Region** | string | Region. See [List of Regions and Availability Zones](/docs/api/summary/regionlist) |**Yes**|
| **Zone** | string | Availability Zone. See [Availability Zone List](/docs/api/summary/regionlist) |No|
| **ProjectId** | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |No|
| **GroupId** | string | Group ID, if specified, the description is obtained, otherwise it is a list operation, Offset/Limit must be specified |No|
| **Offset** | int | The starting offset for pagination display, the default value is 0. |No|
| **Limit** | int | Number of items displayed per page, default value is 20 |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **TotalCount** | int | Total number of nodes in the group |No|
| **DataSet** | array[[*UMemcacheGroupSet*](#umemcachegroupset)] | Group List, see UMemcacheGroupSet |No|

#### Data Model


#### UMemcacheGroupSet

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **GroupId** | string | Group ID |No|
| **Name** | string | Group Name |No|
| **ConfigId** | string | Configuration ID of the node |No|
| **VirtualIP** | string | Virtual IP address of the node |No|
| **Port** | int | Service port assigned to the node |No|
| **Size** | int | Capacity Unit GB |No|
| **UsedSize** | int | Usage Unit MB |No|
| **Version** | string | Memcache version information, default is 1.4.31 |No|
| **State** | string | Status Tag Creating // Initializing CreateFail // Creation Failed Deleting // Deleting DeleteFail // Deletion Failed Running // Running Resizing // Resizing ResizeFail // Resize Failed Configing // Configuring ConfigFail // Configuration Failed Restarting // Restarting |No|
| **CreateTime** | int | Creation Time (UNIX Timestamp) |No|
| **ModifyTime** | int | Modification Time (UNIX Timestamp) |No|
| **ExpireTime** | int | Expiration Time (UNIX Timestamp) |No|
| **ChargeType** | string | Billing Type: Yearly, Monthly, Dynamic. Default is Dynamic. |No|
| **Tag** | string | Business Group Name |No|

## Example

### Request Example
    
```
https://api.dezai.com/?Action=DescribeUMemcacheGroup
&Region=cn-bj2

```

### Response Example
    
```json
{
  "Action": "DescribeUMemcacheGroupResponse",
  "DataSet": [
    {
      "ChargeType": "Month",
      "ConfigId": "9a891891-c24XXX-4b66-bce8-67e5XXXd67c",
      "CreateTime": 1529563005,
      "ExpireTime": 1530374400,
      "GroupId": "umemcache-XXX5sc",
      "ModifyTime": 1529563010,
      "Name": "djdj_XXXXX",
      "Port": 11211,
      "Size": 2,
      "State": "Running",
      "Tag": "Default",
      "UsedSize": 2,
      "Version": "1.4.33",
      "VirtualIP": "1X.X9.XX1.1XX"
    }
  ],
  "RetCode": 0
}
```





