Documentation ¶
Index ¶
- type CreateBackupRequest
- func NewCreateBackupRequest(regionId string, cacheInstanceId string, fileName string, backupType int) *CreateBackupRequest
- func NewCreateBackupRequestWithAllParams(regionId string, cacheInstanceId string, fileName string, backupType int) *CreateBackupRequest
- func NewCreateBackupRequestWithoutParam() *CreateBackupRequest
- func (r CreateBackupRequest) GetRegionId() string
- func (r *CreateBackupRequest) SetBackupType(backupType int)
- func (r *CreateBackupRequest) SetCacheInstanceId(cacheInstanceId string)
- func (r *CreateBackupRequest) SetFileName(fileName string)
- func (r *CreateBackupRequest) SetRegionId(regionId string)
- type CreateBackupResponse
- type CreateBackupResult
- type CreateCacheAnalysisRequest
- type CreateCacheAnalysisResponse
- type CreateCacheAnalysisResult
- type CreateCacheInstanceRequest
- func NewCreateCacheInstanceRequest(regionId string, cacheInstance *redis.CacheInstanceSpec) *CreateCacheInstanceRequest
- func NewCreateCacheInstanceRequestWithAllParams(regionId string, cacheInstance *redis.CacheInstanceSpec, ...) *CreateCacheInstanceRequest
- func NewCreateCacheInstanceRequestWithoutParam() *CreateCacheInstanceRequest
- type CreateCacheInstanceResponse
- type CreateCacheInstanceResult
- type DeleteCacheInstanceRequest
- type DeleteCacheInstanceResponse
- type DeleteCacheInstanceResult
- type DescribeAnalysisTimeRequest
- func NewDescribeAnalysisTimeRequest(regionId string, cacheInstanceId string) *DescribeAnalysisTimeRequest
- func NewDescribeAnalysisTimeRequestWithAllParams(regionId string, cacheInstanceId string) *DescribeAnalysisTimeRequest
- func NewDescribeAnalysisTimeRequestWithoutParam() *DescribeAnalysisTimeRequest
- type DescribeAnalysisTimeResponse
- type DescribeAnalysisTimeResult
- type DescribeBackupPolicyRequest
- func NewDescribeBackupPolicyRequest(regionId string, cacheInstanceId string) *DescribeBackupPolicyRequest
- func NewDescribeBackupPolicyRequestWithAllParams(regionId string, cacheInstanceId string) *DescribeBackupPolicyRequest
- func NewDescribeBackupPolicyRequestWithoutParam() *DescribeBackupPolicyRequest
- type DescribeBackupPolicyResponse
- type DescribeBackupPolicyResult
- type DescribeBackupsRequest
- func NewDescribeBackupsRequest(regionId string, cacheInstanceId string) *DescribeBackupsRequest
- func NewDescribeBackupsRequestWithAllParams(regionId string, cacheInstanceId string, pageNumber *int, pageSize *int, ...) *DescribeBackupsRequest
- func NewDescribeBackupsRequestWithoutParam() *DescribeBackupsRequest
- func (r DescribeBackupsRequest) GetRegionId() string
- func (r *DescribeBackupsRequest) SetBaseId(baseId string)
- func (r *DescribeBackupsRequest) SetCacheInstanceId(cacheInstanceId string)
- func (r *DescribeBackupsRequest) SetEndTime(endTime string)
- func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBackupsRequest) SetPageSize(pageSize int)
- func (r *DescribeBackupsRequest) SetRegionId(regionId string)
- func (r *DescribeBackupsRequest) SetStartTime(startTime string)
- type DescribeBackupsResponse
- type DescribeBackupsResult
- type DescribeCacheAnalysisListRequest
- func NewDescribeCacheAnalysisListRequest(regionId string, cacheInstanceId string, date string) *DescribeCacheAnalysisListRequest
- func NewDescribeCacheAnalysisListRequestWithAllParams(regionId string, cacheInstanceId string, date string) *DescribeCacheAnalysisListRequest
- func NewDescribeCacheAnalysisListRequestWithoutParam() *DescribeCacheAnalysisListRequest
- type DescribeCacheAnalysisListResponse
- type DescribeCacheAnalysisListResult
- type DescribeCacheAnalysisResultRequest
- func NewDescribeCacheAnalysisResultRequest(regionId string, cacheInstanceId string, taskId string) *DescribeCacheAnalysisResultRequest
- func NewDescribeCacheAnalysisResultRequestWithAllParams(regionId string, cacheInstanceId string, taskId string) *DescribeCacheAnalysisResultRequest
- func NewDescribeCacheAnalysisResultRequestWithoutParam() *DescribeCacheAnalysisResultRequest
- type DescribeCacheAnalysisResultResponse
- type DescribeCacheAnalysisResultResult
- type DescribeCacheInstanceRequest
- func NewDescribeCacheInstanceRequest(regionId string, cacheInstanceId string) *DescribeCacheInstanceRequest
- func NewDescribeCacheInstanceRequestWithAllParams(regionId string, cacheInstanceId string) *DescribeCacheInstanceRequest
- func NewDescribeCacheInstanceRequestWithoutParam() *DescribeCacheInstanceRequest
- type DescribeCacheInstanceResponse
- type DescribeCacheInstanceResult
- type DescribeCacheInstancesRequest
- func NewDescribeCacheInstancesRequest(regionId string) *DescribeCacheInstancesRequest
- func NewDescribeCacheInstancesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ...) *DescribeCacheInstancesRequest
- func NewDescribeCacheInstancesRequestWithoutParam() *DescribeCacheInstancesRequest
- func (r DescribeCacheInstancesRequest) GetRegionId() string
- func (r *DescribeCacheInstancesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeCacheInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCacheInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeCacheInstancesRequest) SetRegionId(regionId string)
- func (r *DescribeCacheInstancesRequest) SetSorts(sorts []common.Sort)
- func (r *DescribeCacheInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)
- type DescribeCacheInstancesResponse
- type DescribeCacheInstancesResult
- type DescribeClientIpDetailRequest
- func NewDescribeClientIpDetailRequest(regionId string, cacheInstanceId string, ip string) *DescribeClientIpDetailRequest
- func NewDescribeClientIpDetailRequestWithAllParams(regionId string, cacheInstanceId string, ip string) *DescribeClientIpDetailRequest
- func NewDescribeClientIpDetailRequestWithoutParam() *DescribeClientIpDetailRequest
- type DescribeClientIpDetailResponse
- type DescribeClientIpDetailResult
- type DescribeClientListRequest
- type DescribeClientListResponse
- type DescribeClientListResult
- type DescribeClusterInfoRequest
- type DescribeClusterInfoResponse
- type DescribeClusterInfoResult
- type DescribeDownloadUrlRequest
- func NewDescribeDownloadUrlRequest(regionId string, cacheInstanceId string, baseId string) *DescribeDownloadUrlRequest
- func NewDescribeDownloadUrlRequestWithAllParams(regionId string, cacheInstanceId string, baseId string) *DescribeDownloadUrlRequest
- func NewDescribeDownloadUrlRequestWithoutParam() *DescribeDownloadUrlRequest
- type DescribeDownloadUrlResponse
- type DescribeDownloadUrlResult
- type DescribeInstanceClassRequest
- type DescribeInstanceClassResponse
- type DescribeInstanceClassResult
- type DescribeInstanceConfigRequest
- func NewDescribeInstanceConfigRequest(regionId string, cacheInstanceId string) *DescribeInstanceConfigRequest
- func NewDescribeInstanceConfigRequestWithAllParams(regionId string, cacheInstanceId string) *DescribeInstanceConfigRequest
- func NewDescribeInstanceConfigRequestWithoutParam() *DescribeInstanceConfigRequest
- type DescribeInstanceConfigResponse
- type DescribeInstanceConfigResult
- type DescribeIpWhiteListRequest
- type DescribeIpWhiteListResponse
- type DescribeIpWhiteListResult
- type DescribeSlowLogRequest
- func NewDescribeSlowLogRequest(regionId string, cacheInstanceId string) *DescribeSlowLogRequest
- func NewDescribeSlowLogRequestWithAllParams(regionId string, cacheInstanceId string, pageNumber *int, pageSize *int, ...) *DescribeSlowLogRequest
- func NewDescribeSlowLogRequestWithoutParam() *DescribeSlowLogRequest
- func (r DescribeSlowLogRequest) GetRegionId() string
- func (r *DescribeSlowLogRequest) SetCacheInstanceId(cacheInstanceId string)
- func (r *DescribeSlowLogRequest) SetEndTime(endTime string)
- func (r *DescribeSlowLogRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSlowLogRequest) SetPageSize(pageSize int)
- func (r *DescribeSlowLogRequest) SetRegionId(regionId string)
- func (r *DescribeSlowLogRequest) SetShardId(shardId string)
- func (r *DescribeSlowLogRequest) SetStartTime(startTime string)
- type DescribeSlowLogResponse
- type DescribeSlowLogResult
- type DescribeSpecConfigRequest
- type DescribeSpecConfigResponse
- type DescribeSpecConfigResult
- type DescribeUserQuotaRequest
- type DescribeUserQuotaResponse
- type DescribeUserQuotaResult
- type ModifyAnalysisTimeRequest
- func NewModifyAnalysisTimeRequest(regionId string, cacheInstanceId string, analysisTime string) *ModifyAnalysisTimeRequest
- func NewModifyAnalysisTimeRequestWithAllParams(regionId string, cacheInstanceId string, analysisTime string) *ModifyAnalysisTimeRequest
- func NewModifyAnalysisTimeRequestWithoutParam() *ModifyAnalysisTimeRequest
- type ModifyAnalysisTimeResponse
- type ModifyAnalysisTimeResult
- type ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequest(regionId string, cacheInstanceId string, backupTime string, ...) *ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequestWithAllParams(regionId string, cacheInstanceId string, backupTime string, ...) *ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest
- func (r ModifyBackupPolicyRequest) GetRegionId() string
- func (r *ModifyBackupPolicyRequest) SetBackupPeriod(backupPeriod string)
- func (r *ModifyBackupPolicyRequest) SetBackupTime(backupTime string)
- func (r *ModifyBackupPolicyRequest) SetCacheInstanceId(cacheInstanceId string)
- func (r *ModifyBackupPolicyRequest) SetRegionId(regionId string)
- type ModifyBackupPolicyResponse
- type ModifyBackupPolicyResult
- type ModifyCacheInstanceAttributeRequest
- func NewModifyCacheInstanceAttributeRequest(regionId string, cacheInstanceId string) *ModifyCacheInstanceAttributeRequest
- func NewModifyCacheInstanceAttributeRequestWithAllParams(regionId string, cacheInstanceId string, cacheInstanceName *string, ...) *ModifyCacheInstanceAttributeRequest
- func NewModifyCacheInstanceAttributeRequestWithoutParam() *ModifyCacheInstanceAttributeRequest
- func (r ModifyCacheInstanceAttributeRequest) GetRegionId() string
- func (r *ModifyCacheInstanceAttributeRequest) SetCacheInstanceDescription(cacheInstanceDescription string)
- func (r *ModifyCacheInstanceAttributeRequest) SetCacheInstanceId(cacheInstanceId string)
- func (r *ModifyCacheInstanceAttributeRequest) SetCacheInstanceName(cacheInstanceName string)
- func (r *ModifyCacheInstanceAttributeRequest) SetRegionId(regionId string)
- type ModifyCacheInstanceAttributeResponse
- type ModifyCacheInstanceAttributeResult
- type ModifyCacheInstanceClassRequest
- func NewModifyCacheInstanceClassRequest(regionId string, cacheInstanceId string, cacheInstanceClass string) *ModifyCacheInstanceClassRequest
- func NewModifyCacheInstanceClassRequestWithAllParams(regionId string, cacheInstanceId string, cacheInstanceClass string, ...) *ModifyCacheInstanceClassRequest
- func NewModifyCacheInstanceClassRequestWithoutParam() *ModifyCacheInstanceClassRequest
- func (r ModifyCacheInstanceClassRequest) GetRegionId() string
- func (r *ModifyCacheInstanceClassRequest) SetCacheInstanceClass(cacheInstanceClass string)
- func (r *ModifyCacheInstanceClassRequest) SetCacheInstanceId(cacheInstanceId string)
- func (r *ModifyCacheInstanceClassRequest) SetRegionId(regionId string)
- func (r *ModifyCacheInstanceClassRequest) SetShardNumber(shardNumber int)
- type ModifyCacheInstanceClassResponse
- type ModifyCacheInstanceClassResult
- type ModifyInstanceConfigRequest
- func NewModifyInstanceConfigRequest(regionId string, cacheInstanceId string, instanceConfig []redis.ConfigItem) *ModifyInstanceConfigRequest
- func NewModifyInstanceConfigRequestWithAllParams(regionId string, cacheInstanceId string, instanceConfig []redis.ConfigItem) *ModifyInstanceConfigRequest
- func NewModifyInstanceConfigRequestWithoutParam() *ModifyInstanceConfigRequest
- type ModifyInstanceConfigResponse
- type ModifyInstanceConfigResult
- type ModifyIpWhiteListRequest
- func NewModifyIpWhiteListRequest(regionId string, cacheInstanceId string, ipWhiteList []string) *ModifyIpWhiteListRequest
- func NewModifyIpWhiteListRequestWithAllParams(regionId string, cacheInstanceId string, ipWhiteList []string) *ModifyIpWhiteListRequest
- func NewModifyIpWhiteListRequestWithoutParam() *ModifyIpWhiteListRequest
- type ModifyIpWhiteListResponse
- type ModifyIpWhiteListResult
- type ResetCacheInstancePasswordRequest
- func NewResetCacheInstancePasswordRequest(regionId string, cacheInstanceId string) *ResetCacheInstancePasswordRequest
- func NewResetCacheInstancePasswordRequestWithAllParams(regionId string, cacheInstanceId string, password *string) *ResetCacheInstancePasswordRequest
- func NewResetCacheInstancePasswordRequestWithoutParam() *ResetCacheInstancePasswordRequest
- type ResetCacheInstancePasswordResponse
- type ResetCacheInstancePasswordResult
- type RestoreInstanceRequest
- func NewRestoreInstanceRequest(regionId string, cacheInstanceId string, baseId string) *RestoreInstanceRequest
- func NewRestoreInstanceRequestWithAllParams(regionId string, cacheInstanceId string, baseId string) *RestoreInstanceRequest
- func NewRestoreInstanceRequestWithoutParam() *RestoreInstanceRequest
- type RestoreInstanceResponse
- type RestoreInstanceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBackupRequest ¶ added in v1.12.0
type CreateBackupRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 备份文件名称,只支持英文数字和下划线的组合,长度不超过32个字符 */ FileName string `json:"fileName"` /* 备份类型:手动备份为1,只能为手动备份 */ BackupType int `json:"backupType"` }
func NewCreateBackupRequest ¶ added in v1.12.0
func NewCreateBackupRequest( regionId string, cacheInstanceId string, fileName string, backupType int, ) *CreateBackupRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param fileName: 备份文件名称,只支持英文数字和下划线的组合,长度不超过32个字符 (Required) * param backupType: 备份类型:手动备份为1,只能为手动备份 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBackupRequestWithAllParams ¶ added in v1.12.0
func NewCreateBackupRequestWithAllParams( regionId string, cacheInstanceId string, fileName string, backupType int, ) *CreateBackupRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param fileName: 备份文件名称,只支持英文数字和下划线的组合,长度不超过32个字符 (Required) * param backupType: 备份类型:手动备份为1,只能为手动备份 (Required)
func NewCreateBackupRequestWithoutParam ¶ added in v1.12.0
func NewCreateBackupRequestWithoutParam() *CreateBackupRequest
This constructor has better compatible ability when API parameters changed
func (CreateBackupRequest) GetRegionId ¶ added in v1.12.0
func (r CreateBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBackupRequest) SetBackupType ¶ added in v1.12.0
func (r *CreateBackupRequest) SetBackupType(backupType int)
param backupType: 备份类型:手动备份为1,只能为手动备份(Required)
func (*CreateBackupRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *CreateBackupRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*CreateBackupRequest) SetFileName ¶ added in v1.12.0
func (r *CreateBackupRequest) SetFileName(fileName string)
param fileName: 备份文件名称,只支持英文数字和下划线的组合,长度不超过32个字符(Required)
func (*CreateBackupRequest) SetRegionId ¶ added in v1.12.0
func (r *CreateBackupRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type CreateBackupResponse ¶ added in v1.12.0
type CreateBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateBackupResult `json:"result"` }
type CreateBackupResult ¶ added in v1.12.0
type CreateBackupResult struct {
BaseId string `json:"baseId"`
}
type CreateCacheAnalysisRequest ¶ added in v1.20.0
type CreateCacheAnalysisRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewCreateCacheAnalysisRequest ¶ added in v1.20.0
func NewCreateCacheAnalysisRequest( regionId string, cacheInstanceId string, ) *CreateCacheAnalysisRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCacheAnalysisRequestWithAllParams ¶ added in v1.20.0
func NewCreateCacheAnalysisRequestWithAllParams( regionId string, cacheInstanceId string, ) *CreateCacheAnalysisRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewCreateCacheAnalysisRequestWithoutParam ¶ added in v1.20.0
func NewCreateCacheAnalysisRequestWithoutParam() *CreateCacheAnalysisRequest
This constructor has better compatible ability when API parameters changed
func (CreateCacheAnalysisRequest) GetRegionId ¶ added in v1.20.0
func (r CreateCacheAnalysisRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCacheAnalysisRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *CreateCacheAnalysisRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*CreateCacheAnalysisRequest) SetRegionId ¶ added in v1.20.0
func (r *CreateCacheAnalysisRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type CreateCacheAnalysisResponse ¶ added in v1.20.0
type CreateCacheAnalysisResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateCacheAnalysisResult `json:"result"` }
type CreateCacheAnalysisResult ¶ added in v1.20.0
type CreateCacheAnalysisResult struct { }
type CreateCacheInstanceRequest ¶
type CreateCacheInstanceRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 实例的创建参数 */ CacheInstance *redis.CacheInstanceSpec `json:"cacheInstance"` /* 实例的计费类型 (Optional) */ Charge *charge.ChargeSpec `json:"charge"` }
func NewCreateCacheInstanceRequest ¶
func NewCreateCacheInstanceRequest( regionId string, cacheInstance *redis.CacheInstanceSpec, ) *CreateCacheInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstance: 实例的创建参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCacheInstanceRequestWithAllParams ¶ added in v1.1.0
func NewCreateCacheInstanceRequestWithAllParams( regionId string, cacheInstance *redis.CacheInstanceSpec, charge *charge.ChargeSpec, ) *CreateCacheInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstance: 实例的创建参数 (Required) * param charge: 实例的计费类型 (Optional)
func NewCreateCacheInstanceRequestWithoutParam ¶ added in v1.1.0
func NewCreateCacheInstanceRequestWithoutParam() *CreateCacheInstanceRequest
This constructor has better compatible ability when API parameters changed
func (CreateCacheInstanceRequest) GetRegionId ¶
func (r CreateCacheInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCacheInstanceRequest) SetCacheInstance ¶
func (r *CreateCacheInstanceRequest) SetCacheInstance(cacheInstance *redis.CacheInstanceSpec)
param cacheInstance: 实例的创建参数(Required)
func (*CreateCacheInstanceRequest) SetCharge ¶
func (r *CreateCacheInstanceRequest) SetCharge(charge *charge.ChargeSpec)
param charge: 实例的计费类型(Optional)
func (*CreateCacheInstanceRequest) SetRegionId ¶
func (r *CreateCacheInstanceRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type CreateCacheInstanceResponse ¶
type CreateCacheInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateCacheInstanceResult `json:"result"` }
type DeleteCacheInstanceRequest ¶
type DeleteCacheInstanceRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDeleteCacheInstanceRequest ¶
func NewDeleteCacheInstanceRequest( regionId string, cacheInstanceId string, ) *DeleteCacheInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCacheInstanceRequestWithAllParams ¶ added in v1.1.0
func NewDeleteCacheInstanceRequestWithAllParams( regionId string, cacheInstanceId string, ) *DeleteCacheInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDeleteCacheInstanceRequestWithoutParam ¶ added in v1.1.0
func NewDeleteCacheInstanceRequestWithoutParam() *DeleteCacheInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCacheInstanceRequest) GetRegionId ¶
func (r DeleteCacheInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCacheInstanceRequest) SetCacheInstanceId ¶
func (r *DeleteCacheInstanceRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DeleteCacheInstanceRequest) SetRegionId ¶
func (r *DeleteCacheInstanceRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DeleteCacheInstanceResponse ¶
type DeleteCacheInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteCacheInstanceResult `json:"result"` }
type DeleteCacheInstanceResult ¶
type DeleteCacheInstanceResult struct { }
type DescribeAnalysisTimeRequest ¶ added in v1.20.0
type DescribeAnalysisTimeRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeAnalysisTimeRequest ¶ added in v1.20.0
func NewDescribeAnalysisTimeRequest( regionId string, cacheInstanceId string, ) *DescribeAnalysisTimeRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAnalysisTimeRequestWithAllParams ¶ added in v1.20.0
func NewDescribeAnalysisTimeRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeAnalysisTimeRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeAnalysisTimeRequestWithoutParam ¶ added in v1.20.0
func NewDescribeAnalysisTimeRequestWithoutParam() *DescribeAnalysisTimeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAnalysisTimeRequest) GetRegionId ¶ added in v1.20.0
func (r DescribeAnalysisTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAnalysisTimeRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *DescribeAnalysisTimeRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeAnalysisTimeRequest) SetRegionId ¶ added in v1.20.0
func (r *DescribeAnalysisTimeRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeAnalysisTimeResponse ¶ added in v1.20.0
type DescribeAnalysisTimeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAnalysisTimeResult `json:"result"` }
type DescribeAnalysisTimeResult ¶ added in v1.20.0
type DescribeAnalysisTimeResult struct {
Time string `json:"time"`
}
type DescribeBackupPolicyRequest ¶ added in v1.12.0
type DescribeBackupPolicyRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeBackupPolicyRequest ¶ added in v1.12.0
func NewDescribeBackupPolicyRequest( regionId string, cacheInstanceId string, ) *DescribeBackupPolicyRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupPolicyRequestWithAllParams ¶ added in v1.12.0
func NewDescribeBackupPolicyRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeBackupPolicyRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeBackupPolicyRequestWithoutParam ¶ added in v1.12.0
func NewDescribeBackupPolicyRequestWithoutParam() *DescribeBackupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupPolicyRequest) GetRegionId ¶ added in v1.12.0
func (r DescribeBackupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupPolicyRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *DescribeBackupPolicyRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeBackupPolicyRequest) SetRegionId ¶ added in v1.12.0
func (r *DescribeBackupPolicyRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeBackupPolicyResponse ¶ added in v1.12.0
type DescribeBackupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupPolicyResult `json:"result"` }
type DescribeBackupPolicyResult ¶ added in v1.12.0
type DescribeBackupsRequest ¶ added in v1.12.0
type DescribeBackupsRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 开始时间 (Optional) */ StartTime *string `json:"startTime"` /* 结束时间 (Optional) */ EndTime *string `json:"endTime"` /* 备份任务ID (Optional) */ BaseId *string `json:"baseId"` }
func NewDescribeBackupsRequest ¶ added in v1.12.0
func NewDescribeBackupsRequest( regionId string, cacheInstanceId string, ) *DescribeBackupsRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupsRequestWithAllParams ¶ added in v1.12.0
func NewDescribeBackupsRequestWithAllParams( regionId string, cacheInstanceId string, pageNumber *int, pageSize *int, startTime *string, endTime *string, baseId *string, ) *DescribeBackupsRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param startTime: 开始时间 (Optional) * param endTime: 结束时间 (Optional) * param baseId: 备份任务ID (Optional)
func NewDescribeBackupsRequestWithoutParam ¶ added in v1.12.0
func NewDescribeBackupsRequestWithoutParam() *DescribeBackupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupsRequest) GetRegionId ¶ added in v1.12.0
func (r DescribeBackupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupsRequest) SetBaseId ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetBaseId(baseId string)
param baseId: 备份任务ID(Optional)
func (*DescribeBackupsRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeBackupsRequest) SetEndTime ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetEndTime(endTime string)
param endTime: 结束时间(Optional)
func (*DescribeBackupsRequest) SetPageNumber ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeBackupsRequest) SetPageSize ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
func (*DescribeBackupsRequest) SetRegionId ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
func (*DescribeBackupsRequest) SetStartTime ¶ added in v1.12.0
func (r *DescribeBackupsRequest) SetStartTime(startTime string)
param startTime: 开始时间(Optional)
type DescribeBackupsResponse ¶ added in v1.12.0
type DescribeBackupsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupsResult `json:"result"` }
type DescribeBackupsResult ¶ added in v1.12.0
type DescribeCacheAnalysisListRequest ¶ added in v1.20.0
type DescribeCacheAnalysisListRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 格式:yyyy-MM-dd,表示查询某一天的缓存分析列表 */ Date string `json:"date"` }
func NewDescribeCacheAnalysisListRequest ¶ added in v1.20.0
func NewDescribeCacheAnalysisListRequest( regionId string, cacheInstanceId string, date string, ) *DescribeCacheAnalysisListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param date: 格式:yyyy-MM-dd,表示查询某一天的缓存分析列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCacheAnalysisListRequestWithAllParams ¶ added in v1.20.0
func NewDescribeCacheAnalysisListRequestWithAllParams( regionId string, cacheInstanceId string, date string, ) *DescribeCacheAnalysisListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param date: 格式:yyyy-MM-dd,表示查询某一天的缓存分析列表 (Required)
func NewDescribeCacheAnalysisListRequestWithoutParam ¶ added in v1.20.0
func NewDescribeCacheAnalysisListRequestWithoutParam() *DescribeCacheAnalysisListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCacheAnalysisListRequest) GetRegionId ¶ added in v1.20.0
func (r DescribeCacheAnalysisListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCacheAnalysisListRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *DescribeCacheAnalysisListRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeCacheAnalysisListRequest) SetDate ¶ added in v1.20.0
func (r *DescribeCacheAnalysisListRequest) SetDate(date string)
param date: 格式:yyyy-MM-dd,表示查询某一天的缓存分析列表(Required)
func (*DescribeCacheAnalysisListRequest) SetRegionId ¶ added in v1.20.0
func (r *DescribeCacheAnalysisListRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeCacheAnalysisListResponse ¶ added in v1.20.0
type DescribeCacheAnalysisListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCacheAnalysisListResult `json:"result"` }
type DescribeCacheAnalysisListResult ¶ added in v1.20.0
type DescribeCacheAnalysisListResult struct {
Analyses []redis.CacheAnalysis `json:"analyses"`
}
type DescribeCacheAnalysisResultRequest ¶ added in v1.20.0
type DescribeCacheAnalysisResultRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 查询缓存分析任务详情的任务ID */ TaskId string `json:"taskId"` }
func NewDescribeCacheAnalysisResultRequest ¶ added in v1.20.0
func NewDescribeCacheAnalysisResultRequest( regionId string, cacheInstanceId string, taskId string, ) *DescribeCacheAnalysisResultRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param taskId: 查询缓存分析任务详情的任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCacheAnalysisResultRequestWithAllParams ¶ added in v1.20.0
func NewDescribeCacheAnalysisResultRequestWithAllParams( regionId string, cacheInstanceId string, taskId string, ) *DescribeCacheAnalysisResultRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param taskId: 查询缓存分析任务详情的任务ID (Required)
func NewDescribeCacheAnalysisResultRequestWithoutParam ¶ added in v1.20.0
func NewDescribeCacheAnalysisResultRequestWithoutParam() *DescribeCacheAnalysisResultRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCacheAnalysisResultRequest) GetRegionId ¶ added in v1.20.0
func (r DescribeCacheAnalysisResultRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCacheAnalysisResultRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *DescribeCacheAnalysisResultRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeCacheAnalysisResultRequest) SetRegionId ¶ added in v1.20.0
func (r *DescribeCacheAnalysisResultRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
func (*DescribeCacheAnalysisResultRequest) SetTaskId ¶ added in v1.20.0
func (r *DescribeCacheAnalysisResultRequest) SetTaskId(taskId string)
param taskId: 查询缓存分析任务详情的任务ID(Required)
type DescribeCacheAnalysisResultResponse ¶ added in v1.20.0
type DescribeCacheAnalysisResultResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCacheAnalysisResultResult `json:"result"` }
type DescribeCacheAnalysisResultResult ¶ added in v1.20.0
type DescribeCacheAnalysisResultResult struct { StartTime string `json:"startTime"` FinishTime string `json:"finishTime"` AnalysisType int `json:"analysisType"` StringBigKeys []redis.RedisKey `json:"stringBigKeys"` OtherBigKeys []redis.RedisKey `json:"otherBigKeys"` HotKeys []redis.RedisKey `json:"hotKeys"` CmdCallTimesTop []redis.RedisCmd `json:"cmdCallTimesTop"` CmdUseCpuTop []redis.RedisCmd `json:"cmdUseCpuTop"` KeyTypeDistribution interface{} `json:"keyTypeDistribution"` KeySizeDistribution interface{} `json:"keySizeDistribution"` }
type DescribeCacheInstanceRequest ¶
type DescribeCacheInstanceRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeCacheInstanceRequest ¶
func NewDescribeCacheInstanceRequest( regionId string, cacheInstanceId string, ) *DescribeCacheInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCacheInstanceRequestWithAllParams ¶ added in v1.1.0
func NewDescribeCacheInstanceRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeCacheInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeCacheInstanceRequestWithoutParam ¶ added in v1.1.0
func NewDescribeCacheInstanceRequestWithoutParam() *DescribeCacheInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCacheInstanceRequest) GetRegionId ¶
func (r DescribeCacheInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCacheInstanceRequest) SetCacheInstanceId ¶
func (r *DescribeCacheInstanceRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeCacheInstanceRequest) SetRegionId ¶
func (r *DescribeCacheInstanceRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeCacheInstanceResponse ¶
type DescribeCacheInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCacheInstanceResult `json:"result"` }
type DescribeCacheInstanceResult ¶
type DescribeCacheInstanceResult struct {
CacheInstance redis.CacheInstance `json:"cacheInstance"`
}
type DescribeCacheInstancesRequest ¶
type DescribeCacheInstancesRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 页码:取值范围[1,∞),默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小:取值范围[10, 100],默认为10 (Optional) */ PageSize *int `json:"pageSize"` /* 过滤属性: cacheInstanceId - 实例Id,精确匹配,可选择多个 cacheInstanceName - 实例名称,模糊匹配 cacheInstanceStatus - 实例状态,精确匹配,可选择多个(running:运行中,error:错误,creating:创建中,changing:变配中,configuring:参数修改中,restoring:备份恢复中,deleting:删除中) redisVersion - redis引擎版本,精确匹配,可选择2.8和4.0 instanceType - 实例类型,精确匹配(redis表示主从版,redis_cluster表示集群版) chargeMode - 计费类型,精确匹配(prepaid_by_duration表示包年包月预付费,postpaid_by_duration表示按配置后付费) (Optional) */ Filters []common.Filter `json:"filters"` /* 排序属性: createTime - 按创建时间排序(asc表示按时间正序,desc表示按时间倒序) (Optional) */ Sorts []common.Sort `json:"sorts"` /* 标签的过滤条件 (Optional) */ TagFilters []common.TagFilter `json:"tagFilters"` }
func NewDescribeCacheInstancesRequest ¶
func NewDescribeCacheInstancesRequest( regionId string, ) *DescribeCacheInstancesRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCacheInstancesRequestWithAllParams ¶ added in v1.1.0
func NewDescribeCacheInstancesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, sorts []common.Sort, tagFilters []common.TagFilter, ) *DescribeCacheInstancesRequest
- param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required)
- param pageNumber: 页码:取值范围[1,∞),默认为1 (Optional)
- param pageSize: 分页大小:取值范围[10, 100],默认为10 (Optional)
- param filters: 过滤属性:
cacheInstanceId - 实例Id,精确匹配,可选择多个 cacheInstanceName - 实例名称,模糊匹配 cacheInstanceStatus - 实例状态,精确匹配,可选择多个(running:运行中,error:错误,creating:创建中,changing:变配中,configuring:参数修改中,restoring:备份恢复中,deleting:删除中) redisVersion - redis引擎版本,精确匹配,可选择2.8和4.0 instanceType - 实例类型,精确匹配(redis表示主从版,redis_cluster表示集群版) chargeMode - 计费类型,精确匹配(prepaid_by_duration表示包年包月预付费,postpaid_by_duration表示按配置后付费)
(Optional) * param sorts: 排序属性:
createTime - 按创建时间排序(asc表示按时间正序,desc表示按时间倒序)
(Optional) * param tagFilters: 标签的过滤条件 (Optional)
func NewDescribeCacheInstancesRequestWithoutParam ¶ added in v1.1.0
func NewDescribeCacheInstancesRequestWithoutParam() *DescribeCacheInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCacheInstancesRequest) GetRegionId ¶
func (r DescribeCacheInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCacheInstancesRequest) SetFilters ¶
func (r *DescribeCacheInstancesRequest) SetFilters(filters []common.Filter)
param filters: 过滤属性:
cacheInstanceId - 实例Id,精确匹配,可选择多个 cacheInstanceName - 实例名称,模糊匹配 cacheInstanceStatus - 实例状态,精确匹配,可选择多个(running:运行中,error:错误,creating:创建中,changing:变配中,configuring:参数修改中,restoring:备份恢复中,deleting:删除中) redisVersion - redis引擎版本,精确匹配,可选择2.8和4.0 instanceType - 实例类型,精确匹配(redis表示主从版,redis_cluster表示集群版) chargeMode - 计费类型,精确匹配(prepaid_by_duration表示包年包月预付费,postpaid_by_duration表示按配置后付费) (Optional)
func (*DescribeCacheInstancesRequest) SetPageNumber ¶
func (r *DescribeCacheInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码:取值范围[1,∞),默认为1(Optional)
func (*DescribeCacheInstancesRequest) SetPageSize ¶
func (r *DescribeCacheInstancesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小:取值范围[10, 100],默认为10(Optional)
func (*DescribeCacheInstancesRequest) SetRegionId ¶
func (r *DescribeCacheInstancesRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
func (*DescribeCacheInstancesRequest) SetSorts ¶
func (r *DescribeCacheInstancesRequest) SetSorts(sorts []common.Sort)
param sorts: 排序属性:
createTime - 按创建时间排序(asc表示按时间正序,desc表示按时间倒序) (Optional)
func (*DescribeCacheInstancesRequest) SetTagFilters ¶ added in v1.7.0
func (r *DescribeCacheInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)
param tagFilters: 标签的过滤条件(Optional)
type DescribeCacheInstancesResponse ¶
type DescribeCacheInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCacheInstancesResult `json:"result"` }
type DescribeCacheInstancesResult ¶
type DescribeCacheInstancesResult struct { CacheInstances []redis.CacheInstance `json:"cacheInstances"` TotalCount int `json:"totalCount"` }
type DescribeClientIpDetailRequest ¶ added in v1.44.0
type DescribeClientIpDetailRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 客户端IP */ Ip string `json:"ip"` }
func NewDescribeClientIpDetailRequest ¶ added in v1.44.0
func NewDescribeClientIpDetailRequest( regionId string, cacheInstanceId string, ip string, ) *DescribeClientIpDetailRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param ip: 客户端IP (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeClientIpDetailRequestWithAllParams ¶ added in v1.44.0
func NewDescribeClientIpDetailRequestWithAllParams( regionId string, cacheInstanceId string, ip string, ) *DescribeClientIpDetailRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param ip: 客户端IP (Required)
func NewDescribeClientIpDetailRequestWithoutParam ¶ added in v1.44.0
func NewDescribeClientIpDetailRequestWithoutParam() *DescribeClientIpDetailRequest
This constructor has better compatible ability when API parameters changed
func (DescribeClientIpDetailRequest) GetRegionId ¶ added in v1.44.0
func (r DescribeClientIpDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeClientIpDetailRequest) SetCacheInstanceId ¶ added in v1.44.0
func (r *DescribeClientIpDetailRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeClientIpDetailRequest) SetIp ¶ added in v1.44.0
func (r *DescribeClientIpDetailRequest) SetIp(ip string)
param ip: 客户端IP(Required)
func (*DescribeClientIpDetailRequest) SetRegionId ¶ added in v1.44.0
func (r *DescribeClientIpDetailRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeClientIpDetailResponse ¶ added in v1.44.0
type DescribeClientIpDetailResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeClientIpDetailResult `json:"result"` }
type DescribeClientIpDetailResult ¶ added in v1.44.0
type DescribeClientListRequest ¶ added in v1.44.0
type DescribeClientListRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeClientListRequest ¶ added in v1.44.0
func NewDescribeClientListRequest( regionId string, cacheInstanceId string, ) *DescribeClientListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeClientListRequestWithAllParams ¶ added in v1.44.0
func NewDescribeClientListRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeClientListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeClientListRequestWithoutParam ¶ added in v1.44.0
func NewDescribeClientListRequestWithoutParam() *DescribeClientListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeClientListRequest) GetRegionId ¶ added in v1.44.0
func (r DescribeClientListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeClientListRequest) SetCacheInstanceId ¶ added in v1.44.0
func (r *DescribeClientListRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeClientListRequest) SetRegionId ¶ added in v1.44.0
func (r *DescribeClientListRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeClientListResponse ¶ added in v1.44.0
type DescribeClientListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeClientListResult `json:"result"` }
type DescribeClientListResult ¶ added in v1.44.0
type DescribeClusterInfoRequest ¶ added in v1.10.0
type DescribeClusterInfoRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeClusterInfoRequest ¶ added in v1.10.0
func NewDescribeClusterInfoRequest( regionId string, cacheInstanceId string, ) *DescribeClusterInfoRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeClusterInfoRequestWithAllParams ¶ added in v1.10.0
func NewDescribeClusterInfoRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeClusterInfoRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeClusterInfoRequestWithoutParam ¶ added in v1.10.0
func NewDescribeClusterInfoRequestWithoutParam() *DescribeClusterInfoRequest
This constructor has better compatible ability when API parameters changed
func (DescribeClusterInfoRequest) GetRegionId ¶ added in v1.10.0
func (r DescribeClusterInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeClusterInfoRequest) SetCacheInstanceId ¶ added in v1.10.0
func (r *DescribeClusterInfoRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeClusterInfoRequest) SetRegionId ¶ added in v1.10.0
func (r *DescribeClusterInfoRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeClusterInfoResponse ¶ added in v1.10.0
type DescribeClusterInfoResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeClusterInfoResult `json:"result"` }
type DescribeClusterInfoResult ¶ added in v1.10.0
type DescribeClusterInfoResult struct {
Info redis.ClusterInfo `json:"info"`
}
type DescribeDownloadUrlRequest ¶ added in v1.12.0
type DescribeDownloadUrlRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 备份任务ID */ BaseId string `json:"baseId"` }
func NewDescribeDownloadUrlRequest ¶ added in v1.12.0
func NewDescribeDownloadUrlRequest( regionId string, cacheInstanceId string, baseId string, ) *DescribeDownloadUrlRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param baseId: 备份任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDownloadUrlRequestWithAllParams ¶ added in v1.12.0
func NewDescribeDownloadUrlRequestWithAllParams( regionId string, cacheInstanceId string, baseId string, ) *DescribeDownloadUrlRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param baseId: 备份任务ID (Required)
func NewDescribeDownloadUrlRequestWithoutParam ¶ added in v1.12.0
func NewDescribeDownloadUrlRequestWithoutParam() *DescribeDownloadUrlRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDownloadUrlRequest) GetRegionId ¶ added in v1.12.0
func (r DescribeDownloadUrlRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDownloadUrlRequest) SetBaseId ¶ added in v1.12.0
func (r *DescribeDownloadUrlRequest) SetBaseId(baseId string)
param baseId: 备份任务ID(Required)
func (*DescribeDownloadUrlRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *DescribeDownloadUrlRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeDownloadUrlRequest) SetRegionId ¶ added in v1.12.0
func (r *DescribeDownloadUrlRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeDownloadUrlResponse ¶ added in v1.12.0
type DescribeDownloadUrlResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDownloadUrlResult `json:"result"` }
type DescribeDownloadUrlResult ¶ added in v1.12.0
type DescribeDownloadUrlResult struct {
DownloadUrls []redis.DownloadUrl `json:"downloadUrls"`
}
type DescribeInstanceClassRequest ¶
type DescribeInstanceClassRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis的版本号:目前有2.8和4.0,默认为2.8 (Optional) */ RedisVersion *string `json:"redisVersion"` }
func NewDescribeInstanceClassRequest ¶
func NewDescribeInstanceClassRequest( regionId string, ) *DescribeInstanceClassRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceClassRequestWithAllParams ¶ added in v1.1.0
func NewDescribeInstanceClassRequestWithAllParams( regionId string, redisVersion *string, ) *DescribeInstanceClassRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param redisVersion: 缓存Redis的版本号:目前有2.8和4.0,默认为2.8 (Optional)
func NewDescribeInstanceClassRequestWithoutParam ¶ added in v1.1.0
func NewDescribeInstanceClassRequestWithoutParam() *DescribeInstanceClassRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceClassRequest) GetRegionId ¶
func (r DescribeInstanceClassRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceClassRequest) SetRedisVersion ¶ added in v1.7.0
func (r *DescribeInstanceClassRequest) SetRedisVersion(redisVersion string)
param redisVersion: 缓存Redis的版本号:目前有2.8和4.0,默认为2.8(Optional)
func (*DescribeInstanceClassRequest) SetRegionId ¶
func (r *DescribeInstanceClassRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeInstanceClassResponse ¶
type DescribeInstanceClassResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceClassResult `json:"result"` }
type DescribeInstanceClassResult ¶
type DescribeInstanceClassResult struct { InstanceClasses []redis.InstanceClass `json:"instanceClasses"` TotalCount int `json:"totalCount"` }
type DescribeInstanceConfigRequest ¶ added in v1.12.0
type DescribeInstanceConfigRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeInstanceConfigRequest ¶ added in v1.12.0
func NewDescribeInstanceConfigRequest( regionId string, cacheInstanceId string, ) *DescribeInstanceConfigRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceConfigRequestWithAllParams ¶ added in v1.12.0
func NewDescribeInstanceConfigRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeInstanceConfigRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeInstanceConfigRequestWithoutParam ¶ added in v1.12.0
func NewDescribeInstanceConfigRequestWithoutParam() *DescribeInstanceConfigRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceConfigRequest) GetRegionId ¶ added in v1.12.0
func (r DescribeInstanceConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceConfigRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *DescribeInstanceConfigRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeInstanceConfigRequest) SetRegionId ¶ added in v1.12.0
func (r *DescribeInstanceConfigRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeInstanceConfigResponse ¶ added in v1.12.0
type DescribeInstanceConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceConfigResult `json:"result"` }
type DescribeInstanceConfigResult ¶ added in v1.12.0
type DescribeInstanceConfigResult struct {
InstanceConfig []redis.ConfigItem `json:"instanceConfig"`
}
type DescribeIpWhiteListRequest ¶ added in v1.20.0
type DescribeIpWhiteListRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` }
func NewDescribeIpWhiteListRequest ¶ added in v1.20.0
func NewDescribeIpWhiteListRequest( regionId string, cacheInstanceId string, ) *DescribeIpWhiteListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeIpWhiteListRequestWithAllParams ¶ added in v1.20.0
func NewDescribeIpWhiteListRequestWithAllParams( regionId string, cacheInstanceId string, ) *DescribeIpWhiteListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required)
func NewDescribeIpWhiteListRequestWithoutParam ¶ added in v1.20.0
func NewDescribeIpWhiteListRequestWithoutParam() *DescribeIpWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeIpWhiteListRequest) GetRegionId ¶ added in v1.20.0
func (r DescribeIpWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeIpWhiteListRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *DescribeIpWhiteListRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeIpWhiteListRequest) SetRegionId ¶ added in v1.20.0
func (r *DescribeIpWhiteListRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeIpWhiteListResponse ¶ added in v1.20.0
type DescribeIpWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeIpWhiteListResult `json:"result"` }
type DescribeIpWhiteListResult ¶ added in v1.20.0
type DescribeIpWhiteListResult struct {
IpWhiteList []string `json:"ipWhiteList"`
}
type DescribeSlowLogRequest ¶ added in v1.13.0
type DescribeSlowLogRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 开始时间 (Optional) */ StartTime *string `json:"startTime"` /* 结束时间 (Optional) */ EndTime *string `json:"endTime"` /* 分片id (Optional) */ ShardId *string `json:"shardId"` }
func NewDescribeSlowLogRequest ¶ added in v1.13.0
func NewDescribeSlowLogRequest( regionId string, cacheInstanceId string, ) *DescribeSlowLogRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSlowLogRequestWithAllParams ¶ added in v1.13.0
func NewDescribeSlowLogRequestWithAllParams( regionId string, cacheInstanceId string, pageNumber *int, pageSize *int, startTime *string, endTime *string, shardId *string, ) *DescribeSlowLogRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param startTime: 开始时间 (Optional) * param endTime: 结束时间 (Optional) * param shardId: 分片id (Optional)
func NewDescribeSlowLogRequestWithoutParam ¶ added in v1.13.0
func NewDescribeSlowLogRequestWithoutParam() *DescribeSlowLogRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSlowLogRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeSlowLogRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSlowLogRequest) SetCacheInstanceId ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*DescribeSlowLogRequest) SetEndTime ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetEndTime(endTime string)
param endTime: 结束时间(Optional)
func (*DescribeSlowLogRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeSlowLogRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
func (*DescribeSlowLogRequest) SetRegionId ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
func (*DescribeSlowLogRequest) SetShardId ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetShardId(shardId string)
param shardId: 分片id(Optional)
func (*DescribeSlowLogRequest) SetStartTime ¶ added in v1.13.0
func (r *DescribeSlowLogRequest) SetStartTime(startTime string)
param startTime: 开始时间(Optional)
type DescribeSlowLogResponse ¶ added in v1.13.0
type DescribeSlowLogResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSlowLogResult `json:"result"` }
type DescribeSlowLogResult ¶ added in v1.13.0
type DescribeSpecConfigRequest ¶ added in v1.20.0
type DescribeSpecConfigRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` }
func NewDescribeSpecConfigRequest ¶ added in v1.20.0
func NewDescribeSpecConfigRequest( regionId string, ) *DescribeSpecConfigRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSpecConfigRequestWithAllParams ¶ added in v1.20.0
func NewDescribeSpecConfigRequestWithAllParams( regionId string, ) *DescribeSpecConfigRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required)
func NewDescribeSpecConfigRequestWithoutParam ¶ added in v1.20.0
func NewDescribeSpecConfigRequestWithoutParam() *DescribeSpecConfigRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSpecConfigRequest) GetRegionId ¶ added in v1.20.0
func (r DescribeSpecConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSpecConfigRequest) SetRegionId ¶ added in v1.20.0
func (r *DescribeSpecConfigRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeSpecConfigResponse ¶ added in v1.20.0
type DescribeSpecConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSpecConfigResult `json:"result"` }
type DescribeSpecConfigResult ¶ added in v1.20.0
type DescribeSpecConfigResult struct { ShardSpec interface{} `json:"shardSpec"` InstanceSpec redis.InstanceSpec `json:"instanceSpec"` }
type DescribeUserQuotaRequest ¶
type DescribeUserQuotaRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` }
func NewDescribeUserQuotaRequest ¶
func NewDescribeUserQuotaRequest( regionId string, ) *DescribeUserQuotaRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeUserQuotaRequestWithAllParams ¶ added in v1.1.0
func NewDescribeUserQuotaRequestWithAllParams( regionId string, ) *DescribeUserQuotaRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required)
func NewDescribeUserQuotaRequestWithoutParam ¶ added in v1.1.0
func NewDescribeUserQuotaRequestWithoutParam() *DescribeUserQuotaRequest
This constructor has better compatible ability when API parameters changed
func (DescribeUserQuotaRequest) GetRegionId ¶
func (r DescribeUserQuotaRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeUserQuotaRequest) SetRegionId ¶
func (r *DescribeUserQuotaRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type DescribeUserQuotaResponse ¶
type DescribeUserQuotaResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeUserQuotaResult `json:"result"` }
type DescribeUserQuotaResult ¶
type ModifyAnalysisTimeRequest ¶ added in v1.20.0
type ModifyAnalysisTimeRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 自动缓存分析时间,设置为-表示关闭,否则为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点 */ AnalysisTime string `json:"analysisTime"` }
func NewModifyAnalysisTimeRequest ¶ added in v1.20.0
func NewModifyAnalysisTimeRequest( regionId string, cacheInstanceId string, analysisTime string, ) *ModifyAnalysisTimeRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param analysisTime: 自动缓存分析时间,设置为-表示关闭,否则为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyAnalysisTimeRequestWithAllParams ¶ added in v1.20.0
func NewModifyAnalysisTimeRequestWithAllParams( regionId string, cacheInstanceId string, analysisTime string, ) *ModifyAnalysisTimeRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param analysisTime: 自动缓存分析时间,设置为-表示关闭,否则为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点 (Required)
func NewModifyAnalysisTimeRequestWithoutParam ¶ added in v1.20.0
func NewModifyAnalysisTimeRequestWithoutParam() *ModifyAnalysisTimeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyAnalysisTimeRequest) GetRegionId ¶ added in v1.20.0
func (r ModifyAnalysisTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyAnalysisTimeRequest) SetAnalysisTime ¶ added in v1.20.0
func (r *ModifyAnalysisTimeRequest) SetAnalysisTime(analysisTime string)
param analysisTime: 自动缓存分析时间,设置为-表示关闭,否则为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点(Required)
func (*ModifyAnalysisTimeRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *ModifyAnalysisTimeRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ModifyAnalysisTimeRequest) SetRegionId ¶ added in v1.20.0
func (r *ModifyAnalysisTimeRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type ModifyAnalysisTimeResponse ¶ added in v1.20.0
type ModifyAnalysisTimeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyAnalysisTimeResult `json:"result"` }
type ModifyAnalysisTimeResult ¶ added in v1.20.0
type ModifyAnalysisTimeResult struct { }
type ModifyBackupPolicyRequest ¶ added in v1.12.0
type ModifyBackupPolicyRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 设置自动备份时间,格式为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点,'-'表示关闭自动备份 */ BackupTime string `json:"backupTime"` /* 备份周期,包括:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,多个用逗号分隔 */ BackupPeriod string `json:"backupPeriod"` }
func NewModifyBackupPolicyRequest ¶ added in v1.12.0
func NewModifyBackupPolicyRequest( regionId string, cacheInstanceId string, backupTime string, backupPeriod string, ) *ModifyBackupPolicyRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param backupTime: 设置自动备份时间,格式为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点,'-'表示关闭自动备份 (Required) * param backupPeriod: 备份周期,包括:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,多个用逗号分隔 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyBackupPolicyRequestWithAllParams ¶ added in v1.12.0
func NewModifyBackupPolicyRequestWithAllParams( regionId string, cacheInstanceId string, backupTime string, backupPeriod string, ) *ModifyBackupPolicyRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param backupTime: 设置自动备份时间,格式为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点,'-'表示关闭自动备份 (Required) * param backupPeriod: 备份周期,包括:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,多个用逗号分隔 (Required)
func NewModifyBackupPolicyRequestWithoutParam ¶ added in v1.12.0
func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (ModifyBackupPolicyRequest) GetRegionId ¶ added in v1.12.0
func (r ModifyBackupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyBackupPolicyRequest) SetBackupPeriod ¶ added in v1.12.0
func (r *ModifyBackupPolicyRequest) SetBackupPeriod(backupPeriod string)
param backupPeriod: 备份周期,包括:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,多个用逗号分隔(Required)
func (*ModifyBackupPolicyRequest) SetBackupTime ¶ added in v1.12.0
func (r *ModifyBackupPolicyRequest) SetBackupTime(backupTime string)
param backupTime: 设置自动备份时间,格式为:HH:mm-HH:mm 时区,例如"01:00-02:00 +0800",表示东八区的1点到2点,'-'表示关闭自动备份(Required)
func (*ModifyBackupPolicyRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *ModifyBackupPolicyRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ModifyBackupPolicyRequest) SetRegionId ¶ added in v1.12.0
func (r *ModifyBackupPolicyRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type ModifyBackupPolicyResponse ¶ added in v1.12.0
type ModifyBackupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyBackupPolicyResult `json:"result"` }
type ModifyBackupPolicyResult ¶ added in v1.12.0
type ModifyBackupPolicyResult struct { }
type ModifyCacheInstanceAttributeRequest ¶
type ModifyCacheInstanceAttributeRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 实例的名称,名称只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符 (Optional) */ CacheInstanceName *string `json:"cacheInstanceName"` /* 实例的描述,不能超过256个字符 (Optional) */ CacheInstanceDescription *string `json:"cacheInstanceDescription"` }
func NewModifyCacheInstanceAttributeRequest ¶
func NewModifyCacheInstanceAttributeRequest( regionId string, cacheInstanceId string, ) *ModifyCacheInstanceAttributeRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyCacheInstanceAttributeRequestWithAllParams ¶ added in v1.1.0
func NewModifyCacheInstanceAttributeRequestWithAllParams( regionId string, cacheInstanceId string, cacheInstanceName *string, cacheInstanceDescription *string, ) *ModifyCacheInstanceAttributeRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param cacheInstanceName: 实例的名称,名称只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符 (Optional) * param cacheInstanceDescription: 实例的描述,不能超过256个字符 (Optional)
func NewModifyCacheInstanceAttributeRequestWithoutParam ¶ added in v1.1.0
func NewModifyCacheInstanceAttributeRequestWithoutParam() *ModifyCacheInstanceAttributeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyCacheInstanceAttributeRequest) GetRegionId ¶
func (r ModifyCacheInstanceAttributeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyCacheInstanceAttributeRequest) SetCacheInstanceDescription ¶
func (r *ModifyCacheInstanceAttributeRequest) SetCacheInstanceDescription(cacheInstanceDescription string)
param cacheInstanceDescription: 实例的描述,不能超过256个字符(Optional)
func (*ModifyCacheInstanceAttributeRequest) SetCacheInstanceId ¶
func (r *ModifyCacheInstanceAttributeRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ModifyCacheInstanceAttributeRequest) SetCacheInstanceName ¶
func (r *ModifyCacheInstanceAttributeRequest) SetCacheInstanceName(cacheInstanceName string)
param cacheInstanceName: 实例的名称,名称只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符(Optional)
func (*ModifyCacheInstanceAttributeRequest) SetRegionId ¶
func (r *ModifyCacheInstanceAttributeRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type ModifyCacheInstanceAttributeResponse ¶
type ModifyCacheInstanceAttributeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyCacheInstanceAttributeResult `json:"result"` }
type ModifyCacheInstanceAttributeResult ¶
type ModifyCacheInstanceAttributeResult struct { }
type ModifyCacheInstanceClassRequest ¶
type ModifyCacheInstanceClassRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 新规格 */ CacheInstanceClass string `json:"cacheInstanceClass"` /* 自定义分片数,只对自定义分片规格实例有效 (Optional) */ ShardNumber *int `json:"shardNumber"` }
func NewModifyCacheInstanceClassRequest ¶
func NewModifyCacheInstanceClassRequest( regionId string, cacheInstanceId string, cacheInstanceClass string, ) *ModifyCacheInstanceClassRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param cacheInstanceClass: 新规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyCacheInstanceClassRequestWithAllParams ¶ added in v1.1.0
func NewModifyCacheInstanceClassRequestWithAllParams( regionId string, cacheInstanceId string, cacheInstanceClass string, shardNumber *int, ) *ModifyCacheInstanceClassRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param cacheInstanceClass: 新规格 (Required) * param shardNumber: 自定义分片数,只对自定义分片规格实例有效 (Optional)
func NewModifyCacheInstanceClassRequestWithoutParam ¶ added in v1.1.0
func NewModifyCacheInstanceClassRequestWithoutParam() *ModifyCacheInstanceClassRequest
This constructor has better compatible ability when API parameters changed
func (ModifyCacheInstanceClassRequest) GetRegionId ¶
func (r ModifyCacheInstanceClassRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyCacheInstanceClassRequest) SetCacheInstanceClass ¶
func (r *ModifyCacheInstanceClassRequest) SetCacheInstanceClass(cacheInstanceClass string)
param cacheInstanceClass: 新规格(Required)
func (*ModifyCacheInstanceClassRequest) SetCacheInstanceId ¶
func (r *ModifyCacheInstanceClassRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ModifyCacheInstanceClassRequest) SetRegionId ¶
func (r *ModifyCacheInstanceClassRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
func (*ModifyCacheInstanceClassRequest) SetShardNumber ¶ added in v1.20.0
func (r *ModifyCacheInstanceClassRequest) SetShardNumber(shardNumber int)
param shardNumber: 自定义分片数,只对自定义分片规格实例有效(Optional)
type ModifyCacheInstanceClassResponse ¶
type ModifyCacheInstanceClassResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyCacheInstanceClassResult `json:"result"` }
type ModifyInstanceConfigRequest ¶ added in v1.12.0
type ModifyInstanceConfigRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 配置参数名和参数值 */ InstanceConfig []redis.ConfigItem `json:"instanceConfig"` }
func NewModifyInstanceConfigRequest ¶ added in v1.12.0
func NewModifyInstanceConfigRequest( regionId string, cacheInstanceId string, instanceConfig []redis.ConfigItem, ) *ModifyInstanceConfigRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param instanceConfig: 配置参数名和参数值 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceConfigRequestWithAllParams ¶ added in v1.12.0
func NewModifyInstanceConfigRequestWithAllParams( regionId string, cacheInstanceId string, instanceConfig []redis.ConfigItem, ) *ModifyInstanceConfigRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param instanceConfig: 配置参数名和参数值 (Required)
func NewModifyInstanceConfigRequestWithoutParam ¶ added in v1.12.0
func NewModifyInstanceConfigRequestWithoutParam() *ModifyInstanceConfigRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceConfigRequest) GetRegionId ¶ added in v1.12.0
func (r ModifyInstanceConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceConfigRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *ModifyInstanceConfigRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ModifyInstanceConfigRequest) SetInstanceConfig ¶ added in v1.12.0
func (r *ModifyInstanceConfigRequest) SetInstanceConfig(instanceConfig []redis.ConfigItem)
param instanceConfig: 配置参数名和参数值(Required)
func (*ModifyInstanceConfigRequest) SetRegionId ¶ added in v1.12.0
func (r *ModifyInstanceConfigRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type ModifyInstanceConfigResponse ¶ added in v1.12.0
type ModifyInstanceConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceConfigResult `json:"result"` }
type ModifyInstanceConfigResult ¶ added in v1.12.0
type ModifyInstanceConfigResult struct { }
type ModifyIpWhiteListRequest ¶ added in v1.20.0
type ModifyIpWhiteListRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 修改后的IP白名单列表,IP格式为CIDR表示法(x.x.x.x/x),0.0.0.0/0表示任何IP、网络都可以访问 */ IpWhiteList []string `json:"ipWhiteList"` }
func NewModifyIpWhiteListRequest ¶ added in v1.20.0
func NewModifyIpWhiteListRequest( regionId string, cacheInstanceId string, ipWhiteList []string, ) *ModifyIpWhiteListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param ipWhiteList: 修改后的IP白名单列表,IP格式为CIDR表示法(x.x.x.x/x),0.0.0.0/0表示任何IP、网络都可以访问 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyIpWhiteListRequestWithAllParams ¶ added in v1.20.0
func NewModifyIpWhiteListRequestWithAllParams( regionId string, cacheInstanceId string, ipWhiteList []string, ) *ModifyIpWhiteListRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param ipWhiteList: 修改后的IP白名单列表,IP格式为CIDR表示法(x.x.x.x/x),0.0.0.0/0表示任何IP、网络都可以访问 (Required)
func NewModifyIpWhiteListRequestWithoutParam ¶ added in v1.20.0
func NewModifyIpWhiteListRequestWithoutParam() *ModifyIpWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (ModifyIpWhiteListRequest) GetRegionId ¶ added in v1.20.0
func (r ModifyIpWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyIpWhiteListRequest) SetCacheInstanceId ¶ added in v1.20.0
func (r *ModifyIpWhiteListRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ModifyIpWhiteListRequest) SetIpWhiteList ¶ added in v1.20.0
func (r *ModifyIpWhiteListRequest) SetIpWhiteList(ipWhiteList []string)
param ipWhiteList: 修改后的IP白名单列表,IP格式为CIDR表示法(x.x.x.x/x),0.0.0.0/0表示任何IP、网络都可以访问(Required)
func (*ModifyIpWhiteListRequest) SetRegionId ¶ added in v1.20.0
func (r *ModifyIpWhiteListRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type ModifyIpWhiteListResponse ¶ added in v1.20.0
type ModifyIpWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyIpWhiteListResult `json:"result"` }
type ModifyIpWhiteListResult ¶ added in v1.20.0
type ModifyIpWhiteListResult struct { }
type ResetCacheInstancePasswordRequest ¶
type ResetCacheInstancePasswordRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 密码,为空即为免密,不少于8字符不超过16字符 (Optional) */ Password *string `json:"password"` }
func NewResetCacheInstancePasswordRequest ¶
func NewResetCacheInstancePasswordRequest( regionId string, cacheInstanceId string, ) *ResetCacheInstancePasswordRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewResetCacheInstancePasswordRequestWithAllParams ¶ added in v1.1.0
func NewResetCacheInstancePasswordRequestWithAllParams( regionId string, cacheInstanceId string, password *string, ) *ResetCacheInstancePasswordRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param password: 密码,为空即为免密,不少于8字符不超过16字符 (Optional)
func NewResetCacheInstancePasswordRequestWithoutParam ¶ added in v1.1.0
func NewResetCacheInstancePasswordRequestWithoutParam() *ResetCacheInstancePasswordRequest
This constructor has better compatible ability when API parameters changed
func (ResetCacheInstancePasswordRequest) GetRegionId ¶
func (r ResetCacheInstancePasswordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ResetCacheInstancePasswordRequest) SetCacheInstanceId ¶
func (r *ResetCacheInstancePasswordRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*ResetCacheInstancePasswordRequest) SetPassword ¶
func (r *ResetCacheInstancePasswordRequest) SetPassword(password string)
param password: 密码,为空即为免密,不少于8字符不超过16字符(Optional)
func (*ResetCacheInstancePasswordRequest) SetRegionId ¶
func (r *ResetCacheInstancePasswordRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type ResetCacheInstancePasswordResponse ¶
type ResetCacheInstancePasswordResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ResetCacheInstancePasswordResult `json:"result"` }
type ResetCacheInstancePasswordResult ¶
type ResetCacheInstancePasswordResult struct { }
type RestoreInstanceRequest ¶ added in v1.12.0
type RestoreInstanceRequest struct { core.JDCloudRequest /* 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 */ RegionId string `json:"regionId"` /* 缓存Redis实例ID,是访问实例的唯一标识 */ CacheInstanceId string `json:"cacheInstanceId"` /* 备份任务ID */ BaseId string `json:"baseId"` }
func NewRestoreInstanceRequest ¶ added in v1.12.0
func NewRestoreInstanceRequest( regionId string, cacheInstanceId string, baseId string, ) *RestoreInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param baseId: 备份任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreInstanceRequestWithAllParams ¶ added in v1.12.0
func NewRestoreInstanceRequestWithAllParams( regionId string, cacheInstanceId string, baseId string, ) *RestoreInstanceRequest
* param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2 (Required) * param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识 (Required) * param baseId: 备份任务ID (Required)
func NewRestoreInstanceRequestWithoutParam ¶ added in v1.12.0
func NewRestoreInstanceRequestWithoutParam() *RestoreInstanceRequest
This constructor has better compatible ability when API parameters changed
func (RestoreInstanceRequest) GetRegionId ¶ added in v1.12.0
func (r RestoreInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreInstanceRequest) SetBaseId ¶ added in v1.12.0
func (r *RestoreInstanceRequest) SetBaseId(baseId string)
param baseId: 备份任务ID(Required)
func (*RestoreInstanceRequest) SetCacheInstanceId ¶ added in v1.12.0
func (r *RestoreInstanceRequest) SetCacheInstanceId(cacheInstanceId string)
param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required)
func (*RestoreInstanceRequest) SetRegionId ¶ added in v1.12.0
func (r *RestoreInstanceRequest) SetRegionId(regionId string)
param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2(Required)
type RestoreInstanceResponse ¶ added in v1.12.0
type RestoreInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreInstanceResult `json:"result"` }
type RestoreInstanceResult ¶ added in v1.12.0
type RestoreInstanceResult struct { }
Source Files ¶
- CreateBackup.go
- CreateCacheAnalysis.go
- CreateCacheInstance.go
- DeleteCacheInstance.go
- DescribeAnalysisTime.go
- DescribeBackupPolicy.go
- DescribeBackups.go
- DescribeCacheAnalysisList.go
- DescribeCacheAnalysisResult.go
- DescribeCacheInstance.go
- DescribeCacheInstances.go
- DescribeClientIpDetail.go
- DescribeClientList.go
- DescribeClusterInfo.go
- DescribeDownloadUrl.go
- DescribeInstanceClass.go
- DescribeInstanceConfig.go
- DescribeIpWhiteList.go
- DescribeSlowLog.go
- DescribeSpecConfig.go
- DescribeUserQuota.go
- ModifyAnalysisTime.go
- ModifyBackupPolicy.go
- ModifyCacheInstanceAttribute.go
- ModifyCacheInstanceClass.go
- ModifyInstanceConfig.go
- ModifyIpWhiteList.go
- ResetCacheInstancePassword.go
- RestoreInstance.go