client

package
v3.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddShardingNodeRequest

type AddShardingNodeRequest struct {
	// Specifies whether to enable automatic payment. Valid values:
	//
	// *   **true**: enables automatic payment. Make sure that you have sufficient balance within your account.
	// *   **false**: disables automatic payment. In this case, you must manually renew the instance in the console before the instance expires. For more information, see [Renewal](~~26352~~).
	//
	// > The default value is **true**.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The business information. This is an additional parameter.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The ID of the coupon.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// Specifies whether to enable forced transmission during a configuration change. Valid values:
	//
	// *   **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.
	// *   **true**: The system skips the version check and directly performs the configuration change.
	ForceTrans *bool `json:"ForceTrans,omitempty" xml:"ForceTrans,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The number of data shards that you want to add. Default value: **1**.
	//
	// >  The instance can contain 2 to 256 data shards. You can add up to 64 data shards at a time. Make sure that the number of shards does not exceed this limit.
	ShardCount *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	// The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.
	SourceBiz *string `json:"SourceBiz,omitempty" xml:"SourceBiz,omitempty"`
	// The vSwitch ID. You can specify a different vSwitch within the same virtual private cloud (VPC). In this case, the new data shards are created in the specified vSwitch. If you do not specify this parameter, the new data shards are created in the original vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (AddShardingNodeRequest) GoString

func (s AddShardingNodeRequest) GoString() string

func (*AddShardingNodeRequest) SetAutoPay

func (*AddShardingNodeRequest) SetBusinessInfo

func (s *AddShardingNodeRequest) SetBusinessInfo(v string) *AddShardingNodeRequest

func (*AddShardingNodeRequest) SetCouponNo

func (*AddShardingNodeRequest) SetForceTrans added in v3.0.2

func (s *AddShardingNodeRequest) SetForceTrans(v bool) *AddShardingNodeRequest

func (*AddShardingNodeRequest) SetInstanceId

func (*AddShardingNodeRequest) SetOwnerAccount

func (s *AddShardingNodeRequest) SetOwnerAccount(v string) *AddShardingNodeRequest

func (*AddShardingNodeRequest) SetOwnerId

func (*AddShardingNodeRequest) SetResourceOwnerAccount

func (s *AddShardingNodeRequest) SetResourceOwnerAccount(v string) *AddShardingNodeRequest

func (*AddShardingNodeRequest) SetResourceOwnerId

func (s *AddShardingNodeRequest) SetResourceOwnerId(v int64) *AddShardingNodeRequest

func (*AddShardingNodeRequest) SetSecurityToken

func (s *AddShardingNodeRequest) SetSecurityToken(v string) *AddShardingNodeRequest

func (*AddShardingNodeRequest) SetShardCount

func (*AddShardingNodeRequest) SetSourceBiz

func (*AddShardingNodeRequest) SetVSwitchId added in v3.1.2

func (AddShardingNodeRequest) String

func (s AddShardingNodeRequest) String() string

type AddShardingNodeResponse

type AddShardingNodeResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddShardingNodeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddShardingNodeResponse) GoString

func (s AddShardingNodeResponse) GoString() string

func (*AddShardingNodeResponse) SetBody

func (*AddShardingNodeResponse) SetHeaders

func (*AddShardingNodeResponse) SetStatusCode

func (AddShardingNodeResponse) String

func (s AddShardingNodeResponse) String() string

type AddShardingNodeResponseBody

type AddShardingNodeResponseBody struct {
	// The IDs of the data shards.
	NodeIds []*string `json:"NodeIds,omitempty" xml:"NodeIds,omitempty" type:"Repeated"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddShardingNodeResponseBody) GoString

func (s AddShardingNodeResponseBody) GoString() string

func (*AddShardingNodeResponseBody) SetNodeIds

func (*AddShardingNodeResponseBody) SetOrderId

func (*AddShardingNodeResponseBody) SetRequestId

func (AddShardingNodeResponseBody) String

type AllocateDirectConnectionRequest

type AllocateDirectConnectionRequest struct {
	// The prefix of the private endpoint. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix must be 8 to 40 characters in length.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The port number of the instance. Valid values: **1024** to **65535**. Default value: **6379**.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (AllocateDirectConnectionRequest) GoString

func (*AllocateDirectConnectionRequest) SetConnectionString

func (*AllocateDirectConnectionRequest) SetInstanceId

func (*AllocateDirectConnectionRequest) SetOwnerAccount

func (*AllocateDirectConnectionRequest) SetOwnerId

func (*AllocateDirectConnectionRequest) SetPort

func (*AllocateDirectConnectionRequest) SetResourceOwnerAccount

func (*AllocateDirectConnectionRequest) SetResourceOwnerId

func (*AllocateDirectConnectionRequest) SetSecurityToken

func (AllocateDirectConnectionRequest) String

type AllocateDirectConnectionResponse

type AllocateDirectConnectionResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AllocateDirectConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AllocateDirectConnectionResponse) GoString

func (*AllocateDirectConnectionResponse) SetHeaders

func (*AllocateDirectConnectionResponse) SetStatusCode

func (AllocateDirectConnectionResponse) String

type AllocateDirectConnectionResponseBody

type AllocateDirectConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AllocateDirectConnectionResponseBody) GoString

func (*AllocateDirectConnectionResponseBody) SetRequestId

func (AllocateDirectConnectionResponseBody) String

type AllocateInstancePublicConnectionRequest

type AllocateInstancePublicConnectionRequest struct {
	// The prefix of the public endpoint. The prefix must start with a lowercase letter and can contain lowercase letters and digits. The prefix can be 8 to 40 characters in length.
	//
	// >  The endpoint is in the `<prefix>.redis.rds.aliyuncs.com` format.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The service port number of the instance. Valid values: **1024** to **65535**.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (AllocateInstancePublicConnectionRequest) GoString

func (*AllocateInstancePublicConnectionRequest) SetConnectionStringPrefix

func (*AllocateInstancePublicConnectionRequest) SetInstanceId

func (*AllocateInstancePublicConnectionRequest) SetOwnerAccount

func (*AllocateInstancePublicConnectionRequest) SetOwnerId

func (*AllocateInstancePublicConnectionRequest) SetPort

func (*AllocateInstancePublicConnectionRequest) SetResourceOwnerAccount

func (*AllocateInstancePublicConnectionRequest) SetResourceOwnerId

func (*AllocateInstancePublicConnectionRequest) SetSecurityToken

func (AllocateInstancePublicConnectionRequest) String

type AllocateInstancePublicConnectionResponse

type AllocateInstancePublicConnectionResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AllocateInstancePublicConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AllocateInstancePublicConnectionResponse) GoString

func (*AllocateInstancePublicConnectionResponse) SetHeaders

func (*AllocateInstancePublicConnectionResponse) SetStatusCode

func (AllocateInstancePublicConnectionResponse) String

type AllocateInstancePublicConnectionResponseBody

type AllocateInstancePublicConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AllocateInstancePublicConnectionResponseBody) GoString

func (*AllocateInstancePublicConnectionResponseBody) SetRequestId

func (AllocateInstancePublicConnectionResponseBody) String

type CheckCloudResourceAuthorizedRequest

type CheckCloudResourceAuthorizedRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your ApsaraDB for Redis instance. The ARN must be in the format of `acs:ram::$accountID:role/$roleName`. After the role is attached, your ApsaraDB for Redis instance can use KMS.
	//
	// >
	//
	// *   `$accountID`: the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud console, move the pointer over your profile picture in the upper-right corner of the page, and then click **Security Settings**.
	//
	// *   `$roleName`: the name of the RAM role. Replace $roleName with **AliyunRdsInstanceEncryptionDefaultRole**.
	RoleArn       *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (CheckCloudResourceAuthorizedRequest) GoString

func (*CheckCloudResourceAuthorizedRequest) SetInstanceId

func (*CheckCloudResourceAuthorizedRequest) SetOwnerAccount

func (*CheckCloudResourceAuthorizedRequest) SetOwnerId

func (*CheckCloudResourceAuthorizedRequest) SetResourceOwnerAccount

func (*CheckCloudResourceAuthorizedRequest) SetResourceOwnerId

func (*CheckCloudResourceAuthorizedRequest) SetRoleArn

func (*CheckCloudResourceAuthorizedRequest) SetSecurityToken

func (CheckCloudResourceAuthorizedRequest) String

type CheckCloudResourceAuthorizedResponse

type CheckCloudResourceAuthorizedResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CheckCloudResourceAuthorizedResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CheckCloudResourceAuthorizedResponse) GoString

func (*CheckCloudResourceAuthorizedResponse) SetHeaders

func (*CheckCloudResourceAuthorizedResponse) SetStatusCode

func (CheckCloudResourceAuthorizedResponse) String

type CheckCloudResourceAuthorizedResponseBody

type CheckCloudResourceAuthorizedResponseBody struct {
	// Indicates whether the instance is authorized to use KMS. Valid values:
	//
	// *   **0**: The instance is authorized to use KMS.
	// *   **1**: The instance is not authorized to use KMS.
	// *   **2**: KMS is not activated. For more information, see [Activate KMS](~~153781~~).
	AuthorizationState *int32 `json:"AuthorizationState,omitempty" xml:"AuthorizationState,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckCloudResourceAuthorizedResponseBody) GoString

func (*CheckCloudResourceAuthorizedResponseBody) SetAuthorizationState

func (*CheckCloudResourceAuthorizedResponseBody) SetRequestId

func (CheckCloudResourceAuthorizedResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AddShardingNode

func (client *Client) AddShardingNode(request *AddShardingNodeRequest) (_result *AddShardingNodeResponse, _err error)

*

  • This operation is available only for cluster instances that use cloud disks. *
  • @param request AddShardingNodeRequest
  • @return AddShardingNodeResponse

func (*Client) AddShardingNodeWithOptions

func (client *Client) AddShardingNodeWithOptions(request *AddShardingNodeRequest, runtime *util.RuntimeOptions) (_result *AddShardingNodeResponse, _err error)

*

  • This operation is available only for cluster instances that use cloud disks. *
  • @param request AddShardingNodeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AddShardingNodeResponse

func (*Client) AllocateDirectConnection

func (client *Client) AllocateDirectConnection(request *AllocateDirectConnectionRequest) (_result *AllocateDirectConnectionResponse, _err error)

*

  • In direct connection mode, you can use private endpoints to bypass proxy nodes and connect to ApsaraDB for Redis instances from clients in the same manner as you connect to native Redis clusters. The direct connection mode can reduce communication overheads and accelerate the response speed. For more information, see [Enable the direct connection mode](~~146901~~).
  • To call this operation, the instance must meet the following requirements:
  • * The instance is an ApsaraDB for Redis cluster instance.
  • * The instance is a Community Edition instance that runs Redis 4.0 or 5.0, or an Enhanced Edition instance (Tair) that runs Redis 5.0.
  • * The instance is deployed in a virtual private cloud (VPC). If the instance is deployed in the classic network, call the [SwitchNetwork](~~61005~~) operation to change the network type to VPC.
  • * SSL encryption is disabled for the instance. If SSL encryption is enabled, you can call the [ModifyInstanceSSL](~~96194~~) operation to disable it.
  • * The vSwitch to which the instance is connected has sufficient IP addresses to be allocated. For more information, see [Obtain the number of available IP addresses in the vSwitch to which an ApsaraDB for Redis instance is connected](~~183151~~). *
  • @param request AllocateDirectConnectionRequest
  • @return AllocateDirectConnectionResponse

func (*Client) AllocateDirectConnectionWithOptions

func (client *Client) AllocateDirectConnectionWithOptions(request *AllocateDirectConnectionRequest, runtime *util.RuntimeOptions) (_result *AllocateDirectConnectionResponse, _err error)

*

  • In direct connection mode, you can use private endpoints to bypass proxy nodes and connect to ApsaraDB for Redis instances from clients in the same manner as you connect to native Redis clusters. The direct connection mode can reduce communication overheads and accelerate the response speed. For more information, see [Enable the direct connection mode](~~146901~~).
  • To call this operation, the instance must meet the following requirements:
  • * The instance is an ApsaraDB for Redis cluster instance.
  • * The instance is a Community Edition instance that runs Redis 4.0 or 5.0, or an Enhanced Edition instance (Tair) that runs Redis 5.0.
  • * The instance is deployed in a virtual private cloud (VPC). If the instance is deployed in the classic network, call the [SwitchNetwork](~~61005~~) operation to change the network type to VPC.
  • * SSL encryption is disabled for the instance. If SSL encryption is enabled, you can call the [ModifyInstanceSSL](~~96194~~) operation to disable it.
  • * The vSwitch to which the instance is connected has sufficient IP addresses to be allocated. For more information, see [Obtain the number of available IP addresses in the vSwitch to which an ApsaraDB for Redis instance is connected](~~183151~~). *
  • @param request AllocateDirectConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AllocateDirectConnectionResponse

func (*Client) AllocateInstancePublicConnection

func (client *Client) AllocateInstancePublicConnection(request *AllocateInstancePublicConnectionRequest) (_result *AllocateInstancePublicConnectionResponse, _err error)

*

  • You can also apply for public endpoints in the ApsaraDB for Redis console. For more information, see [Use a public endpoint to connect to an ApsaraDB for Redis instance](~~43850~~). *
  • @param request AllocateInstancePublicConnectionRequest
  • @return AllocateInstancePublicConnectionResponse

func (*Client) AllocateInstancePublicConnectionWithOptions

func (client *Client) AllocateInstancePublicConnectionWithOptions(request *AllocateInstancePublicConnectionRequest, runtime *util.RuntimeOptions) (_result *AllocateInstancePublicConnectionResponse, _err error)

*

  • You can also apply for public endpoints in the ApsaraDB for Redis console. For more information, see [Use a public endpoint to connect to an ApsaraDB for Redis instance](~~43850~~). *
  • @param request AllocateInstancePublicConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AllocateInstancePublicConnectionResponse

func (*Client) CheckCloudResourceAuthorized

func (client *Client) CheckCloudResourceAuthorized(request *CheckCloudResourceAuthorizedRequest) (_result *CheckCloudResourceAuthorizedResponse, _err error)

*

  • * For information about Transparent Data Encryption (TDE) and the usage notes of TDE, see [Enable TDE](~~265913~~).
  • * If the ApsaraDB for Redis instance is authorized to use KMS, you can call the [ModifyInstanceTDE](~~302337~~) operation to enable TDE. *
  • @param request CheckCloudResourceAuthorizedRequest
  • @return CheckCloudResourceAuthorizedResponse

func (*Client) CheckCloudResourceAuthorizedWithOptions

func (client *Client) CheckCloudResourceAuthorizedWithOptions(request *CheckCloudResourceAuthorizedRequest, runtime *util.RuntimeOptions) (_result *CheckCloudResourceAuthorizedResponse, _err error)

*

  • * For information about Transparent Data Encryption (TDE) and the usage notes of TDE, see [Enable TDE](~~265913~~).
  • * If the ApsaraDB for Redis instance is authorized to use KMS, you can call the [ModifyInstanceTDE](~~302337~~) operation to enable TDE. *
  • @param request CheckCloudResourceAuthorizedRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckCloudResourceAuthorizedResponse

func (*Client) CreateAccount

func (client *Client) CreateAccount(request *CreateAccountRequest) (_result *CreateAccountResponse, _err error)

*

  • >
  • * This operation is supported only for ApsaraDB for Redis instances that run Redis 4.0 or later.
  • * The ApsaraDB for Redis instance for which you want to call this operation must be in the running state.
  • * You can create up to 18 accounts for an ApsaraDB for Redis instance.
  • You can also create an account in the ApsaraDB for Redis console. For more information, see [Manage database accounts](~~92665~~). *
  • @param request CreateAccountRequest
  • @return CreateAccountResponse

func (*Client) CreateAccountWithOptions

func (client *Client) CreateAccountWithOptions(request *CreateAccountRequest, runtime *util.RuntimeOptions) (_result *CreateAccountResponse, _err error)

*

  • >
  • * This operation is supported only for ApsaraDB for Redis instances that run Redis 4.0 or later.
  • * The ApsaraDB for Redis instance for which you want to call this operation must be in the running state.
  • * You can create up to 18 accounts for an ApsaraDB for Redis instance.
  • You can also create an account in the ApsaraDB for Redis console. For more information, see [Manage database accounts](~~92665~~). *
  • @param request CreateAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateAccountResponse

func (*Client) CreateBackup

func (client *Client) CreateBackup(request *CreateBackupRequest) (_result *CreateBackupResponse, _err error)

*

  • You can also back up an instance in the ApsaraDB for Redis console. For more information, see [Backup and recovery](~~43886~~). *
  • @param request CreateBackupRequest
  • @return CreateBackupResponse

func (*Client) CreateBackupWithOptions

func (client *Client) CreateBackupWithOptions(request *CreateBackupRequest, runtime *util.RuntimeOptions) (_result *CreateBackupResponse, _err error)

*

  • You can also back up an instance in the ApsaraDB for Redis console. For more information, see [Backup and recovery](~~43886~~). *
  • @param request CreateBackupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateBackupResponse

func (*Client) CreateCacheAnalysisTask

func (client *Client) CreateCacheAnalysisTask(request *CreateCacheAnalysisTaskRequest) (_result *CreateCacheAnalysisTaskResponse, _err error)

*

  • > ApsaraDB for Redis has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The engine version of the instance is Redis 4.0 or later.
  • * The instance is a Community Edition instance or an Enhanced Edition (Tair) [DRAM-based instance](~~126164~~).
  • This feature is unavailable for cloud disk-based cluster instances. For more information, see [Comparison between ApsaraDB for Redis instances that use local disks and those that use cloud disks](~~188068~~).
  • * The instance is of the latest minor version. For more information about whether you must update the minor version of an instance, see [How do I check whether the minor version of an ApsaraDB for Redis instance is the latest?](~~129203~~)
  • After you call this operation, you can call the [DescribeCacheAnalysisReport](~~128808~~) operation to view the analytic results. *
  • @param request CreateCacheAnalysisTaskRequest
  • @return CreateCacheAnalysisTaskResponse

func (*Client) CreateCacheAnalysisTaskWithOptions

func (client *Client) CreateCacheAnalysisTaskWithOptions(request *CreateCacheAnalysisTaskRequest, runtime *util.RuntimeOptions) (_result *CreateCacheAnalysisTaskResponse, _err error)

*

  • > ApsaraDB for Redis has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The engine version of the instance is Redis 4.0 or later.
  • * The instance is a Community Edition instance or an Enhanced Edition (Tair) [DRAM-based instance](~~126164~~).
  • This feature is unavailable for cloud disk-based cluster instances. For more information, see [Comparison between ApsaraDB for Redis instances that use local disks and those that use cloud disks](~~188068~~).
  • * The instance is of the latest minor version. For more information about whether you must update the minor version of an instance, see [How do I check whether the minor version of an ApsaraDB for Redis instance is the latest?](~~129203~~)
  • After you call this operation, you can call the [DescribeCacheAnalysisReport](~~128808~~) operation to view the analytic results. *
  • @param request CreateCacheAnalysisTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateCacheAnalysisTaskResponse

func (*Client) CreateGlobalDistributeCache

func (client *Client) CreateGlobalDistributeCache(request *CreateGlobalDistributeCacheRequest) (_result *CreateGlobalDistributeCacheResponse, _err error)

*

  • You cannot directly create a distributed instance. If you require a distributed instance, you must call this operation to convert an existing instance to the first child instance of the distributed instance. After the instance is converted, the distributed instance is created. Before you call this operation, make sure that the following requirements are met:
  • * A [DRAM-based instance](~~126164~~) of Enhanced Edition is used.
  • * If the existing instance is a cluster instance, the direct connection mode must be disabled for the instance. For more information, see [Release a private endpoint](~~150047~~).
  • > You can also call the [CreateInstance](~~60873~~) operation to create an instance that is specified as the first child instance of a distributed instance. After the child instance is created, the distributed instance to which the child instance belongs is created. *
  • @param request CreateGlobalDistributeCacheRequest
  • @return CreateGlobalDistributeCacheResponse

func (*Client) CreateGlobalDistributeCacheWithOptions

func (client *Client) CreateGlobalDistributeCacheWithOptions(request *CreateGlobalDistributeCacheRequest, runtime *util.RuntimeOptions) (_result *CreateGlobalDistributeCacheResponse, _err error)

*

  • You cannot directly create a distributed instance. If you require a distributed instance, you must call this operation to convert an existing instance to the first child instance of the distributed instance. After the instance is converted, the distributed instance is created. Before you call this operation, make sure that the following requirements are met:
  • * A [DRAM-based instance](~~126164~~) of Enhanced Edition is used.
  • * If the existing instance is a cluster instance, the direct connection mode must be disabled for the instance. For more information, see [Release a private endpoint](~~150047~~).
  • > You can also call the [CreateInstance](~~60873~~) operation to create an instance that is specified as the first child instance of a distributed instance. After the child instance is created, the distributed instance to which the child instance belongs is created. *
  • @param request CreateGlobalDistributeCacheRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateGlobalDistributeCacheResponse

func (*Client) CreateGlobalSecurityIPGroup added in v3.0.1

func (client *Client) CreateGlobalSecurityIPGroup(request *CreateGlobalSecurityIPGroupRequest) (_result *CreateGlobalSecurityIPGroupResponse, _err error)

func (*Client) CreateGlobalSecurityIPGroupWithOptions added in v3.0.1

func (client *Client) CreateGlobalSecurityIPGroupWithOptions(request *CreateGlobalSecurityIPGroupRequest, runtime *util.RuntimeOptions) (_result *CreateGlobalSecurityIPGroupResponse, _err error)

func (*Client) CreateInstance

func (client *Client) CreateInstance(request *CreateInstanceRequest) (_result *CreateInstanceResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • You can call this operation to create an ApsaraDB for Redis instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~208271~~) operation.
  • **
  • **Description** For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~). *
  • @param request CreateInstanceRequest
  • @return CreateInstanceResponse

func (*Client) CreateInstanceWithOptions

func (client *Client) CreateInstanceWithOptions(request *CreateInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateInstanceResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • You can call this operation to create an ApsaraDB for Redis instance or a classic Tair DRAM-based instance. To create a cloud-native Tair instance, call the [CreateTairInstance](~~208271~~) operation.
  • **
  • **Description** For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see [Step 1: Create an ApsaraDB for Redis instance](~~26351~~). *
  • @param request CreateInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateInstanceResponse

func (*Client) CreateInstances

func (client *Client) CreateInstances(request *CreateInstancesRequest) (_result *CreateInstancesResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • > For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see Step 1: Create an ApsaraDB for Redis instance.[](~~26351~~)
  • This operation can only be used to create ApsaraDB for Redis Community Edition instances and ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based classic instances. *
  • @param request CreateInstancesRequest
  • @return CreateInstancesResponse

func (*Client) CreateInstancesWithOptions

func (client *Client) CreateInstancesWithOptions(request *CreateInstancesRequest, runtime *util.RuntimeOptions) (_result *CreateInstancesResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • > For more information about how to create an instance that meets your requirements in the ApsaraDB for Redis console, see Step 1: Create an ApsaraDB for Redis instance.[](~~26351~~)
  • This operation can only be used to create ApsaraDB for Redis Community Edition instances and ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based classic instances. *
  • @param request CreateInstancesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateInstancesResponse

func (*Client) CreateTairInstance

func (client *Client) CreateTairInstance(request *CreateTairInstanceRequest) (_result *CreateTairInstanceResponse, _err error)

*

  • For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
  • Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • >
  • * For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
  • * If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation. *
  • @param request CreateTairInstanceRequest
  • @return CreateTairInstanceResponse

func (*Client) CreateTairInstanceWithOptions

func (client *Client) CreateTairInstanceWithOptions(request *CreateTairInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateTairInstanceResponse, _err error)

*

  • For information about instance selection, see [Select an ApsaraDB for Redis instance](~~223808~~).
  • Before you call this operation, make sure that you are familiar with the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • >
  • * For information about how to create a Tair instance in the Tair console, see [Create a Tair instance](~~443863~~).
  • * If you want to create other types of instances, such as Community Edition instances or [Tair DRAM-based](~~126164~~) instances, you can call the [CreateInstance](~~60873~~) operation. *
  • @param request CreateTairInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateTairInstanceResponse

func (*Client) DeleteAccount

func (client *Client) DeleteAccount(request *DeleteAccountRequest) (_result *DeleteAccountResponse, _err error)

*

  • * This operation is supported only for ApsaraDB for Redis instances that run Redis 4.0.
  • * The ApsaraDB for Redis instance must be in the Running state. *
  • @param request DeleteAccountRequest
  • @return DeleteAccountResponse

func (*Client) DeleteAccountWithOptions

func (client *Client) DeleteAccountWithOptions(request *DeleteAccountRequest, runtime *util.RuntimeOptions) (_result *DeleteAccountResponse, _err error)

*

  • * This operation is supported only for ApsaraDB for Redis instances that run Redis 4.0.
  • * The ApsaraDB for Redis instance must be in the Running state. *
  • @param request DeleteAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAccountResponse

func (*Client) DeleteGlobalSecurityIPGroup added in v3.0.1

func (client *Client) DeleteGlobalSecurityIPGroup(request *DeleteGlobalSecurityIPGroupRequest) (_result *DeleteGlobalSecurityIPGroupResponse, _err error)

*

  • Before you delete an IP whitelist template, you must unbind (disassociate) the instances that are currently associated with the template. *
  • @param request DeleteGlobalSecurityIPGroupRequest
  • @return DeleteGlobalSecurityIPGroupResponse

func (*Client) DeleteGlobalSecurityIPGroupWithOptions added in v3.0.1

func (client *Client) DeleteGlobalSecurityIPGroupWithOptions(request *DeleteGlobalSecurityIPGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteGlobalSecurityIPGroupResponse, _err error)

*

  • Before you delete an IP whitelist template, you must unbind (disassociate) the instances that are currently associated with the template. *
  • @param request DeleteGlobalSecurityIPGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteGlobalSecurityIPGroupResponse

func (*Client) DeleteInstance

func (client *Client) DeleteInstance(request *DeleteInstanceRequest) (_result *DeleteInstanceResponse, _err error)

*

  • For more information about how to perform the corresponding operation in the console, see [Release an instance](~~43882~~).
  • Before you call this operation, make sure that the following requirements are met:
  • * The instance is in the running state.
  • * The instance is charged on a pay-as-you-go basis.
  • > You cannot call this operation to release a subscription instance, which is automatically released when it expires. To release a subscription instance before it expires, submit a ticket. *
  • @param request DeleteInstanceRequest
  • @return DeleteInstanceResponse

func (*Client) DeleteInstanceWithOptions

func (client *Client) DeleteInstanceWithOptions(request *DeleteInstanceRequest, runtime *util.RuntimeOptions) (_result *DeleteInstanceResponse, _err error)

*

  • For more information about how to perform the corresponding operation in the console, see [Release an instance](~~43882~~).
  • Before you call this operation, make sure that the following requirements are met:
  • * The instance is in the running state.
  • * The instance is charged on a pay-as-you-go basis.
  • > You cannot call this operation to release a subscription instance, which is automatically released when it expires. To release a subscription instance before it expires, submit a ticket. *
  • @param request DeleteInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteInstanceResponse

func (*Client) DeleteShardingNode

func (client *Client) DeleteShardingNode(request *DeleteShardingNodeRequest) (_result *DeleteShardingNodeResponse, _err error)

*

  • You can also remove data shards from an instance in the ApsaraDB for Redis console. For more information, see [Adjust the number of shards for an ApsaraDB for Redis instance with cloud disks](~~198082~~).\\
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The instance is a persistent memory-optimized instance in the cluster architecture. For more information about persistent memory-optimized instances, see [Persistent memory-optimized instances](~~183956~~).
  • * The instance has more than one data shard. *
  • @param request DeleteShardingNodeRequest
  • @return DeleteShardingNodeResponse

func (*Client) DeleteShardingNodeWithOptions

func (client *Client) DeleteShardingNodeWithOptions(request *DeleteShardingNodeRequest, runtime *util.RuntimeOptions) (_result *DeleteShardingNodeResponse, _err error)

*

  • You can also remove data shards from an instance in the ApsaraDB for Redis console. For more information, see [Adjust the number of shards for an ApsaraDB for Redis instance with cloud disks](~~198082~~).\\
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The instance is a persistent memory-optimized instance in the cluster architecture. For more information about persistent memory-optimized instances, see [Persistent memory-optimized instances](~~183956~~).
  • * The instance has more than one data shard. *
  • @param request DeleteShardingNodeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteShardingNodeResponse

func (*Client) DescribeAccounts

func (client *Client) DescribeAccounts(request *DescribeAccountsRequest) (_result *DescribeAccountsResponse, _err error)

*

  • > Only ApsaraDB for Redis instances of Redis 4.0 or later are supported. *
  • @param request DescribeAccountsRequest
  • @return DescribeAccountsResponse

func (*Client) DescribeAccountsWithOptions

func (client *Client) DescribeAccountsWithOptions(request *DescribeAccountsRequest, runtime *util.RuntimeOptions) (_result *DescribeAccountsResponse, _err error)

*

  • > Only ApsaraDB for Redis instances of Redis 4.0 or later are supported. *
  • @param request DescribeAccountsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAccountsResponse

func (*Client) DescribeActiveOperationTask

func (client *Client) DescribeActiveOperationTask(request *DescribeActiveOperationTaskRequest) (_result *DescribeActiveOperationTaskResponse, _err error)

*

  • After you have called this API operation and queried the information about a specific O&M task, you can also call the [ModifyActiveOperationTask](~~ModifyActiveOperationTask~~) operation to modify the scheduled switchover time of the O&M task. *
  • @param request DescribeActiveOperationTaskRequest
  • @return DescribeActiveOperationTaskResponse

func (*Client) DescribeActiveOperationTaskWithOptions

func (client *Client) DescribeActiveOperationTaskWithOptions(request *DescribeActiveOperationTaskRequest, runtime *util.RuntimeOptions) (_result *DescribeActiveOperationTaskResponse, _err error)

*

  • After you have called this API operation and queried the information about a specific O&M task, you can also call the [ModifyActiveOperationTask](~~ModifyActiveOperationTask~~) operation to modify the scheduled switchover time of the O&M task. *
  • @param request DescribeActiveOperationTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeActiveOperationTaskResponse

func (*Client) DescribeAuditLogConfig

func (client *Client) DescribeAuditLogConfig(request *DescribeAuditLogConfigRequest) (_result *DescribeAuditLogConfigResponse, _err error)

*

  • > You can call the [ModifyAuditLogConfig](~~130206~~) operation to enable or disable the audit log feature for an ApsaraDB for Redis instance. For more information, see [Enable the new audit log feature](~~102015~~).
  • Before you call this operation, make sure that the ApsaraDB for Redis instance meets the following requirements:
  • * The instance is an ApsaraDB for Redis Community Edition instance or ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~).
  • * The engine version of the instance is Redis 4.0 or later, and the latest minor version is used. You can call the [DescribeEngineVersion](~~95268~~) operation to check whether the instance uses the latest minor version.
  • * The audit log feature is enabled for the instance. For more information, see [ModifyAuditLogConfig](~~130206~~). *
  • @param request DescribeAuditLogConfigRequest
  • @return DescribeAuditLogConfigResponse

func (*Client) DescribeAuditLogConfigWithOptions

func (client *Client) DescribeAuditLogConfigWithOptions(request *DescribeAuditLogConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeAuditLogConfigResponse, _err error)

*

  • > You can call the [ModifyAuditLogConfig](~~130206~~) operation to enable or disable the audit log feature for an ApsaraDB for Redis instance. For more information, see [Enable the new audit log feature](~~102015~~).
  • Before you call this operation, make sure that the ApsaraDB for Redis instance meets the following requirements:
  • * The instance is an ApsaraDB for Redis Community Edition instance or ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~).
  • * The engine version of the instance is Redis 4.0 or later, and the latest minor version is used. You can call the [DescribeEngineVersion](~~95268~~) operation to check whether the instance uses the latest minor version.
  • * The audit log feature is enabled for the instance. For more information, see [ModifyAuditLogConfig](~~130206~~). *
  • @param request DescribeAuditLogConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAuditLogConfigResponse

func (*Client) DescribeAuditRecords

func (client *Client) DescribeAuditRecords(request *DescribeAuditRecordsRequest) (_result *DescribeAuditRecordsResponse, _err error)

*

  • This operation can be called up to 100 times per minute. You can also query audit logs in the ApsaraDB for Redis console. For more information, see [Query audit logs of an instance](~~101937~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance.
  • * The engine version of the instance is Redis 4.0 or later.
  • * The audit log feature is enabled for the instance. For more information, see [ModifyAuditLogConfig](~~130206~~). *
  • @param request DescribeAuditRecordsRequest
  • @return DescribeAuditRecordsResponse

func (*Client) DescribeAuditRecordsWithOptions

func (client *Client) DescribeAuditRecordsWithOptions(request *DescribeAuditRecordsRequest, runtime *util.RuntimeOptions) (_result *DescribeAuditRecordsResponse, _err error)

*

  • This operation can be called up to 100 times per minute. You can also query audit logs in the ApsaraDB for Redis console. For more information, see [Query audit logs of an instance](~~101937~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance.
  • * The engine version of the instance is Redis 4.0 or later.
  • * The audit log feature is enabled for the instance. For more information, see [ModifyAuditLogConfig](~~130206~~). *
  • @param request DescribeAuditRecordsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAuditRecordsResponse

func (*Client) DescribeAvailableResource

func (client *Client) DescribeAvailableResource(request *DescribeAvailableResourceRequest) (_result *DescribeAvailableResourceResponse, _err error)

func (*Client) DescribeAvailableResourceWithOptions

func (client *Client) DescribeAvailableResourceWithOptions(request *DescribeAvailableResourceRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableResourceResponse, _err error)

func (*Client) DescribeBackupPolicy

func (client *Client) DescribeBackupPolicy(request *DescribeBackupPolicyRequest) (_result *DescribeBackupPolicyResponse, _err error)

func (*Client) DescribeBackupPolicyWithOptions

func (client *Client) DescribeBackupPolicyWithOptions(request *DescribeBackupPolicyRequest, runtime *util.RuntimeOptions) (_result *DescribeBackupPolicyResponse, _err error)

func (*Client) DescribeBackupTasks

func (client *Client) DescribeBackupTasks(request *DescribeBackupTasksRequest) (_result *DescribeBackupTasksResponse, _err error)

func (*Client) DescribeBackupTasksWithOptions

func (client *Client) DescribeBackupTasksWithOptions(request *DescribeBackupTasksRequest, runtime *util.RuntimeOptions) (_result *DescribeBackupTasksResponse, _err error)

func (*Client) DescribeBackups

func (client *Client) DescribeBackups(request *DescribeBackupsRequest) (_result *DescribeBackupsResponse, _err error)

func (*Client) DescribeBackupsWithOptions

func (client *Client) DescribeBackupsWithOptions(request *DescribeBackupsRequest, runtime *util.RuntimeOptions) (_result *DescribeBackupsResponse, _err error)

func (*Client) DescribeCacheAnalysisReport

func (client *Client) DescribeCacheAnalysisReport(request *DescribeCacheAnalysisReportRequest) (_result *DescribeCacheAnalysisReportResponse, _err error)

*

  • > ApsaraDB for Redis has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The engine version of the instance is Redis 4.0 or later.
  • * The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of an ApsaraDB for Redis instance is the latest?](~~129203~~) *
  • @param request DescribeCacheAnalysisReportRequest
  • @return DescribeCacheAnalysisReportResponse

func (*Client) DescribeCacheAnalysisReportList

func (client *Client) DescribeCacheAnalysisReportList(request *DescribeCacheAnalysisReportListRequest) (_result *DescribeCacheAnalysisReportListResponse, _err error)

*

  • > ApsaraDB for Redis has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The engine version of the instance is Redis 4.0 or later.
  • * The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of an ApsaraDB for Redis instance is the latest?](~~129203~~) *
  • @param request DescribeCacheAnalysisReportListRequest
  • @return DescribeCacheAnalysisReportListResponse

func (*Client) DescribeCacheAnalysisReportListWithOptions

func (client *Client) DescribeCacheAnalysisReportListWithOptions(request *DescribeCacheAnalysisReportListRequest, runtime *util.RuntimeOptions) (_result *DescribeCacheAnalysisReportListResponse, _err error)

*

  • > ApsaraDB for Redis has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The engine version of the instance is Redis 4.0 or later.
  • * The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of an ApsaraDB for Redis instance is the latest?](~~129203~~) *
  • @param request DescribeCacheAnalysisReportListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCacheAnalysisReportListResponse

func (*Client) DescribeCacheAnalysisReportWithOptions

func (client *Client) DescribeCacheAnalysisReportWithOptions(request *DescribeCacheAnalysisReportRequest, runtime *util.RuntimeOptions) (_result *DescribeCacheAnalysisReportResponse, _err error)

*

  • > ApsaraDB for Redis has optimized the cache analytics feature to improve user experience. This API operation is phased out. You can use the new API operation for cache analytics. For more information, see [API operations for cache analytics are upgraded](~~186019~~).
  • Before you call this operation, make sure that the instance meets the following requirements:
  • * The engine version of the instance is Redis 4.0 or later.
  • * The instance uses the latest minor version. For more information about how to check whether to update the minor version of an instance, see [How do I check whether the minor version of an ApsaraDB for Redis instance is the latest?](~~129203~~) *
  • @param request DescribeCacheAnalysisReportRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCacheAnalysisReportResponse

func (*Client) DescribeClusterBackupList added in v3.5.0

func (client *Client) DescribeClusterBackupList(request *DescribeClusterBackupListRequest) (_result *DescribeClusterBackupListResponse, _err error)

func (*Client) DescribeClusterBackupListWithOptions added in v3.5.0

func (client *Client) DescribeClusterBackupListWithOptions(request *DescribeClusterBackupListRequest, runtime *util.RuntimeOptions) (_result *DescribeClusterBackupListResponse, _err error)

func (*Client) DescribeClusterMemberInfo

func (client *Client) DescribeClusterMemberInfo(request *DescribeClusterMemberInfoRequest) (_result *DescribeClusterMemberInfoResponse, _err error)

*

  • > This API operation is applicable only to ApsaraDB for Redis instances that use [cloud disks](~~188068~~) and the [cluster architecture](~~52228~~). *
  • @param request DescribeClusterMemberInfoRequest
  • @return DescribeClusterMemberInfoResponse

func (*Client) DescribeClusterMemberInfoWithOptions

func (client *Client) DescribeClusterMemberInfoWithOptions(request *DescribeClusterMemberInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeClusterMemberInfoResponse, _err error)

*

  • > This API operation is applicable only to ApsaraDB for Redis instances that use [cloud disks](~~188068~~) and the [cluster architecture](~~52228~~). *
  • @param request DescribeClusterMemberInfoRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterMemberInfoResponse

func (*Client) DescribeDBInstanceNetInfo

func (client *Client) DescribeDBInstanceNetInfo(request *DescribeDBInstanceNetInfoRequest) (_result *DescribeDBInstanceNetInfoResponse, _err error)

func (*Client) DescribeDBInstanceNetInfoWithOptions

func (client *Client) DescribeDBInstanceNetInfoWithOptions(request *DescribeDBInstanceNetInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceNetInfoResponse, _err error)

func (*Client) DescribeDBNodeDirectVipInfo added in v3.4.0

func (client *Client) DescribeDBNodeDirectVipInfo(request *DescribeDBNodeDirectVipInfoRequest) (_result *DescribeDBNodeDirectVipInfoResponse, _err error)

*

  • > Only instances that use cloud disks support this operation. *
  • @param request DescribeDBNodeDirectVipInfoRequest
  • @return DescribeDBNodeDirectVipInfoResponse

func (*Client) DescribeDBNodeDirectVipInfoWithOptions added in v3.4.0

func (client *Client) DescribeDBNodeDirectVipInfoWithOptions(request *DescribeDBNodeDirectVipInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeDBNodeDirectVipInfoResponse, _err error)

*

  • > Only instances that use cloud disks support this operation. *
  • @param request DescribeDBNodeDirectVipInfoRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBNodeDirectVipInfoResponse

func (*Client) DescribeDedicatedClusterInstanceList

func (client *Client) DescribeDedicatedClusterInstanceList(request *DescribeDedicatedClusterInstanceListRequest) (_result *DescribeDedicatedClusterInstanceListResponse, _err error)

*

  • > If you want to query the information about ApsaraDB for Redis instances that are not deployed in a dedicated cluster, call the [DescribeInstanceAttribute](~~60996~~) operation. *
  • @param request DescribeDedicatedClusterInstanceListRequest
  • @return DescribeDedicatedClusterInstanceListResponse

func (*Client) DescribeDedicatedClusterInstanceListWithOptions

func (client *Client) DescribeDedicatedClusterInstanceListWithOptions(request *DescribeDedicatedClusterInstanceListRequest, runtime *util.RuntimeOptions) (_result *DescribeDedicatedClusterInstanceListResponse, _err error)

*

  • > If you want to query the information about ApsaraDB for Redis instances that are not deployed in a dedicated cluster, call the [DescribeInstanceAttribute](~~60996~~) operation. *
  • @param request DescribeDedicatedClusterInstanceListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDedicatedClusterInstanceListResponse

func (*Client) DescribeEncryptionKey

func (client *Client) DescribeEncryptionKey(request *DescribeEncryptionKeyRequest) (_result *DescribeEncryptionKeyResponse, _err error)

*

  • Before you call this operation, TDE must be enabled for the ApsaraDB for Redis instance by using a custom key. For more information, see [ModifyInstanceTDE](~~302337~~).
  • > For more information about TDE, see [Enable TDE](~~265913~~). *
  • @param request DescribeEncryptionKeyRequest
  • @return DescribeEncryptionKeyResponse

func (*Client) DescribeEncryptionKeyList

func (client *Client) DescribeEncryptionKeyList(request *DescribeEncryptionKeyListRequest) (_result *DescribeEncryptionKeyListResponse, _err error)

*

  • * You can specify a custom key when you call the [ModifyInstanceTDE](~~302337~~) operation to enable Transparent Data Encryption (TDE). You can call the DescribeEncryptionKeyList operation to query the custom keys that are in use. To create a custom key, you can call the [CreateKey](~~28947~~) operation of Key Management Service (KMS).
  • * For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~). *
  • @param request DescribeEncryptionKeyListRequest
  • @return DescribeEncryptionKeyListResponse

func (*Client) DescribeEncryptionKeyListWithOptions

func (client *Client) DescribeEncryptionKeyListWithOptions(request *DescribeEncryptionKeyListRequest, runtime *util.RuntimeOptions) (_result *DescribeEncryptionKeyListResponse, _err error)

*

  • * You can specify a custom key when you call the [ModifyInstanceTDE](~~302337~~) operation to enable Transparent Data Encryption (TDE). You can call the DescribeEncryptionKeyList operation to query the custom keys that are in use. To create a custom key, you can call the [CreateKey](~~28947~~) operation of Key Management Service (KMS).
  • * For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~). *
  • @param request DescribeEncryptionKeyListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeEncryptionKeyListResponse

func (*Client) DescribeEncryptionKeyWithOptions

func (client *Client) DescribeEncryptionKeyWithOptions(request *DescribeEncryptionKeyRequest, runtime *util.RuntimeOptions) (_result *DescribeEncryptionKeyResponse, _err error)

*

  • Before you call this operation, TDE must be enabled for the ApsaraDB for Redis instance by using a custom key. For more information, see [ModifyInstanceTDE](~~302337~~).
  • > For more information about TDE, see [Enable TDE](~~265913~~). *
  • @param request DescribeEncryptionKeyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeEncryptionKeyResponse

func (*Client) DescribeEngineVersion

func (client *Client) DescribeEngineVersion(request *DescribeEngineVersionRequest) (_result *DescribeEngineVersionResponse, _err error)

*

  • ## Debugging
  • [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeEngineVersion\\&type=RPC\\&version=2015-01-01) *
  • @param request DescribeEngineVersionRequest
  • @return DescribeEngineVersionResponse

func (*Client) DescribeEngineVersionWithOptions

func (client *Client) DescribeEngineVersionWithOptions(request *DescribeEngineVersionRequest, runtime *util.RuntimeOptions) (_result *DescribeEngineVersionResponse, _err error)

*

  • ## Debugging
  • [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeEngineVersion\\&type=RPC\\&version=2015-01-01) *
  • @param request DescribeEngineVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeEngineVersionResponse

func (*Client) DescribeGlobalDistributeCache

func (client *Client) DescribeGlobalDistributeCache(request *DescribeGlobalDistributeCacheRequest) (_result *DescribeGlobalDistributeCacheResponse, _err error)

*

  • ## Debugging
  • [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeGlobalDistributeCache\\&type=RPC\\&version=2015-01-01) *
  • @param request DescribeGlobalDistributeCacheRequest
  • @return DescribeGlobalDistributeCacheResponse

func (*Client) DescribeGlobalDistributeCacheWithOptions

func (client *Client) DescribeGlobalDistributeCacheWithOptions(request *DescribeGlobalDistributeCacheRequest, runtime *util.RuntimeOptions) (_result *DescribeGlobalDistributeCacheResponse, _err error)

*

  • ## Debugging
  • [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=R-kvstore\\&api=DescribeGlobalDistributeCache\\&type=RPC\\&version=2015-01-01) *
  • @param request DescribeGlobalDistributeCacheRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeGlobalDistributeCacheResponse

func (*Client) DescribeGlobalSecurityIPGroup added in v3.0.1

func (client *Client) DescribeGlobalSecurityIPGroup(request *DescribeGlobalSecurityIPGroupRequest) (_result *DescribeGlobalSecurityIPGroupResponse, _err error)

func (*Client) DescribeGlobalSecurityIPGroupRelation added in v3.0.1

func (client *Client) DescribeGlobalSecurityIPGroupRelation(request *DescribeGlobalSecurityIPGroupRelationRequest) (_result *DescribeGlobalSecurityIPGroupRelationResponse, _err error)

func (*Client) DescribeGlobalSecurityIPGroupRelationWithOptions added in v3.0.1

func (client *Client) DescribeGlobalSecurityIPGroupRelationWithOptions(request *DescribeGlobalSecurityIPGroupRelationRequest, runtime *util.RuntimeOptions) (_result *DescribeGlobalSecurityIPGroupRelationResponse, _err error)

func (*Client) DescribeGlobalSecurityIPGroupWithOptions added in v3.0.1

func (client *Client) DescribeGlobalSecurityIPGroupWithOptions(request *DescribeGlobalSecurityIPGroupRequest, runtime *util.RuntimeOptions) (_result *DescribeGlobalSecurityIPGroupResponse, _err error)

func (*Client) DescribeHistoryMonitorValues

func (client *Client) DescribeHistoryMonitorValues(request *DescribeHistoryMonitorValuesRequest) (_result *DescribeHistoryMonitorValuesResponse, _err error)

*

  • You can also query the performance monitoring data of an instance in the ApsaraDB for Redis console. For more information, see [Metrics](~~43887~~). *
  • @param request DescribeHistoryMonitorValuesRequest
  • @return DescribeHistoryMonitorValuesResponse

func (*Client) DescribeHistoryMonitorValuesWithOptions

func (client *Client) DescribeHistoryMonitorValuesWithOptions(request *DescribeHistoryMonitorValuesRequest, runtime *util.RuntimeOptions) (_result *DescribeHistoryMonitorValuesResponse, _err error)

*

  • You can also query the performance monitoring data of an instance in the ApsaraDB for Redis console. For more information, see [Metrics](~~43887~~). *
  • @param request DescribeHistoryMonitorValuesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeHistoryMonitorValuesResponse

func (*Client) DescribeHistoryTasks added in v3.0.2

func (client *Client) DescribeHistoryTasks(request *DescribeHistoryTasksRequest) (_result *DescribeHistoryTasksResponse, _err error)

func (*Client) DescribeHistoryTasksWithOptions added in v3.0.2

func (client *Client) DescribeHistoryTasksWithOptions(request *DescribeHistoryTasksRequest, runtime *util.RuntimeOptions) (_result *DescribeHistoryTasksResponse, _err error)

func (*Client) DescribeInstanceAttribute

func (client *Client) DescribeInstanceAttribute(request *DescribeInstanceAttributeRequest) (_result *DescribeInstanceAttributeResponse, _err error)

func (*Client) DescribeInstanceAttributeWithOptions

func (client *Client) DescribeInstanceAttributeWithOptions(request *DescribeInstanceAttributeRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceAttributeResponse, _err error)

func (*Client) DescribeInstanceAutoRenewalAttribute

func (client *Client) DescribeInstanceAutoRenewalAttribute(request *DescribeInstanceAutoRenewalAttributeRequest) (_result *DescribeInstanceAutoRenewalAttributeResponse, _err error)

func (*Client) DescribeInstanceAutoRenewalAttributeWithOptions

func (client *Client) DescribeInstanceAutoRenewalAttributeWithOptions(request *DescribeInstanceAutoRenewalAttributeRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceAutoRenewalAttributeResponse, _err error)

func (*Client) DescribeInstanceConfig

func (client *Client) DescribeInstanceConfig(request *DescribeInstanceConfigRequest) (_result *DescribeInstanceConfigResponse, _err error)

*

  • This operation is available only for instances that use cloud disks.
  • > You can call the [DescribeParameters](~~473847~~) operation to query the parameter settings of instances that use local disks. *
  • @param request DescribeInstanceConfigRequest
  • @return DescribeInstanceConfigResponse

func (*Client) DescribeInstanceConfigWithOptions

func (client *Client) DescribeInstanceConfigWithOptions(request *DescribeInstanceConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceConfigResponse, _err error)

*

  • This operation is available only for instances that use cloud disks.
  • > You can call the [DescribeParameters](~~473847~~) operation to query the parameter settings of instances that use local disks. *
  • @param request DescribeInstanceConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstanceConfigResponse

func (*Client) DescribeInstanceSSL

func (client *Client) DescribeInstanceSSL(request *DescribeInstanceSSLRequest) (_result *DescribeInstanceSSLResponse, _err error)

*

  • SSL encryption is supported for ApsaraDB for Redis 2.8 standard master-replica instances, ApsaraDB for Redis 2.8 master-replica cluster instances, and ApsaraDB for Redis 4.0 master-replica cluster instances. You can enable SSL encryption to enhance data transmission security.
  • You can use one of the following methods to enable or disable SSL encryption or update the SSL certificate for an ApsaraDB for Redis instance:
  • * Call the [ModifyInstanceSSL](~~96194~~) operation.
  • * Enable or disable SSL encryption or update the SSL certificate in the ApsaraDB for Redis console. For more information, see [Configure SSL encryption](~~84898~~).
  • > After SSL encryption is enabled, the instance may respond slower. *
  • @param request DescribeInstanceSSLRequest
  • @return DescribeInstanceSSLResponse

func (*Client) DescribeInstanceSSLWithOptions

func (client *Client) DescribeInstanceSSLWithOptions(request *DescribeInstanceSSLRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceSSLResponse, _err error)

*

  • SSL encryption is supported for ApsaraDB for Redis 2.8 standard master-replica instances, ApsaraDB for Redis 2.8 master-replica cluster instances, and ApsaraDB for Redis 4.0 master-replica cluster instances. You can enable SSL encryption to enhance data transmission security.
  • You can use one of the following methods to enable or disable SSL encryption or update the SSL certificate for an ApsaraDB for Redis instance:
  • * Call the [ModifyInstanceSSL](~~96194~~) operation.
  • * Enable or disable SSL encryption or update the SSL certificate in the ApsaraDB for Redis console. For more information, see [Configure SSL encryption](~~84898~~).
  • > After SSL encryption is enabled, the instance may respond slower. *
  • @param request DescribeInstanceSSLRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstanceSSLResponse

func (*Client) DescribeInstanceTDEStatus

func (client *Client) DescribeInstanceTDEStatus(request *DescribeInstanceTDEStatusRequest) (_result *DescribeInstanceTDEStatusResponse, _err error)

*

  • For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~).
  • > You can call the [ModifyInstanceTDE](~~302337~~) to enable or disable TDE. *
  • @param request DescribeInstanceTDEStatusRequest
  • @return DescribeInstanceTDEStatusResponse

func (*Client) DescribeInstanceTDEStatusWithOptions

func (client *Client) DescribeInstanceTDEStatusWithOptions(request *DescribeInstanceTDEStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceTDEStatusResponse, _err error)

*

  • For more information about TDE and the usage notes of TDE, see [Enable TDE](~~265913~~).
  • > You can call the [ModifyInstanceTDE](~~302337~~) to enable or disable TDE. *
  • @param request DescribeInstanceTDEStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstanceTDEStatusResponse

func (*Client) DescribeInstances

func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (_result *DescribeInstancesResponse, _err error)

func (*Client) DescribeInstancesOverview

func (client *Client) DescribeInstancesOverview(request *DescribeInstancesOverviewRequest) (_result *DescribeInstancesOverviewResponse, _err error)

*

  • If you do not specify the InstanceIds parameter when you call this operation, the overview information of all instances is returned.
  • > This operation returns non-paged results. *
  • @param request DescribeInstancesOverviewRequest
  • @return DescribeInstancesOverviewResponse

func (*Client) DescribeInstancesOverviewWithOptions

func (client *Client) DescribeInstancesOverviewWithOptions(request *DescribeInstancesOverviewRequest, runtime *util.RuntimeOptions) (_result *DescribeInstancesOverviewResponse, _err error)

*

  • If you do not specify the InstanceIds parameter when you call this operation, the overview information of all instances is returned.
  • > This operation returns non-paged results. *
  • @param request DescribeInstancesOverviewRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstancesOverviewResponse

func (*Client) DescribeInstancesWithOptions

func (client *Client) DescribeInstancesWithOptions(request *DescribeInstancesRequest, runtime *util.RuntimeOptions) (_result *DescribeInstancesResponse, _err error)

func (*Client) DescribeIntranetAttribute

func (client *Client) DescribeIntranetAttribute(request *DescribeIntranetAttributeRequest) (_result *DescribeIntranetAttributeResponse, _err error)

*

  • You can call the [EnableAdditionalBandwidth](~~206173~~) operation to increase the internal bandwidth of an instance. *
  • @param request DescribeIntranetAttributeRequest
  • @return DescribeIntranetAttributeResponse

func (*Client) DescribeIntranetAttributeWithOptions

func (client *Client) DescribeIntranetAttributeWithOptions(request *DescribeIntranetAttributeRequest, runtime *util.RuntimeOptions) (_result *DescribeIntranetAttributeResponse, _err error)

*

  • You can call the [EnableAdditionalBandwidth](~~206173~~) operation to increase the internal bandwidth of an instance. *
  • @param request DescribeIntranetAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeIntranetAttributeResponse

func (*Client) DescribeLogicInstanceTopology

func (client *Client) DescribeLogicInstanceTopology(request *DescribeLogicInstanceTopologyRequest) (_result *DescribeLogicInstanceTopologyResponse, _err error)

*

  • This parameter is supported only for cluster and read/write splitting instances. *
  • @param request DescribeLogicInstanceTopologyRequest
  • @return DescribeLogicInstanceTopologyResponse

func (*Client) DescribeLogicInstanceTopologyWithOptions

func (client *Client) DescribeLogicInstanceTopologyWithOptions(request *DescribeLogicInstanceTopologyRequest, runtime *util.RuntimeOptions) (_result *DescribeLogicInstanceTopologyResponse, _err error)

*

  • This parameter is supported only for cluster and read/write splitting instances. *
  • @param request DescribeLogicInstanceTopologyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeLogicInstanceTopologyResponse

func (*Client) DescribeMonitorItems

func (client *Client) DescribeMonitorItems(request *DescribeMonitorItemsRequest) (_result *DescribeMonitorItemsResponse, _err error)

*

  • > ApsaraDB for Redis has upgraded the monitoring metrics. The DescribeMonitorItems operation is phased out. For more information, see [The DescribeMonitorItems operation supported by ApsaraDB for Redis is phased out](~~189893~~).
  • After you call this operation to retrieve a list of metrics for a specified ApsaraDB for Redis instance, you can call the [DescribeHistoryMonitorValues](~~DescribeHistoryMonitorValues~~) operation to query monitoring history of the instance. *
  • @param request DescribeMonitorItemsRequest
  • @return DescribeMonitorItemsResponse

func (*Client) DescribeMonitorItemsWithOptions

func (client *Client) DescribeMonitorItemsWithOptions(request *DescribeMonitorItemsRequest, runtime *util.RuntimeOptions) (_result *DescribeMonitorItemsResponse, _err error)

*

  • > ApsaraDB for Redis has upgraded the monitoring metrics. The DescribeMonitorItems operation is phased out. For more information, see [The DescribeMonitorItems operation supported by ApsaraDB for Redis is phased out](~~189893~~).
  • After you call this operation to retrieve a list of metrics for a specified ApsaraDB for Redis instance, you can call the [DescribeHistoryMonitorValues](~~DescribeHistoryMonitorValues~~) operation to query monitoring history of the instance. *
  • @param request DescribeMonitorItemsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeMonitorItemsResponse

func (*Client) DescribeParameterModificationHistory

func (client *Client) DescribeParameterModificationHistory(request *DescribeParameterModificationHistoryRequest) (_result *DescribeParameterModificationHistoryResponse, _err error)

func (*Client) DescribeParameterModificationHistoryWithOptions

func (client *Client) DescribeParameterModificationHistoryWithOptions(request *DescribeParameterModificationHistoryRequest, runtime *util.RuntimeOptions) (_result *DescribeParameterModificationHistoryResponse, _err error)

func (*Client) DescribeParameterTemplates

func (client *Client) DescribeParameterTemplates(request *DescribeParameterTemplatesRequest) (_result *DescribeParameterTemplatesResponse, _err error)

*

  • After you call this operation to query the parameters and default values of an instance, you can call the [ModifyInstanceConfig](~~61113~~) operation to reconfigure the parameters of the instance. *
  • @param request DescribeParameterTemplatesRequest
  • @return DescribeParameterTemplatesResponse

func (*Client) DescribeParameterTemplatesWithOptions

func (client *Client) DescribeParameterTemplatesWithOptions(request *DescribeParameterTemplatesRequest, runtime *util.RuntimeOptions) (_result *DescribeParameterTemplatesResponse, _err error)

*

  • After you call this operation to query the parameters and default values of an instance, you can call the [ModifyInstanceConfig](~~61113~~) operation to reconfigure the parameters of the instance. *
  • @param request DescribeParameterTemplatesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeParameterTemplatesResponse

func (*Client) DescribeParameters

func (client *Client) DescribeParameters(request *DescribeParametersRequest) (_result *DescribeParametersResponse, _err error)

*

  • This operation is available only for instances that use local disks.
  • > You can call the [DescribeInstanceConfig](~~473846~~) operation to query the parameter settings of instances that use cloud disks. *
  • @param request DescribeParametersRequest
  • @return DescribeParametersResponse

func (*Client) DescribeParametersWithOptions

func (client *Client) DescribeParametersWithOptions(request *DescribeParametersRequest, runtime *util.RuntimeOptions) (_result *DescribeParametersResponse, _err error)

*

  • This operation is available only for instances that use local disks.
  • > You can call the [DescribeInstanceConfig](~~473846~~) operation to query the parameter settings of instances that use cloud disks. *
  • @param request DescribeParametersRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeParametersResponse

func (*Client) DescribePrice

func (client *Client) DescribePrice(request *DescribePriceRequest) (_result *DescribePriceResponse, _err error)

func (*Client) DescribePriceWithOptions

func (client *Client) DescribePriceWithOptions(request *DescribePriceRequest, runtime *util.RuntimeOptions) (_result *DescribePriceResponse, _err error)

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeRegionsWithOptions

func (client *Client) DescribeRegionsWithOptions(request *DescribeRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeRoleZoneInfo

func (client *Client) DescribeRoleZoneInfo(request *DescribeRoleZoneInfoRequest) (_result *DescribeRoleZoneInfoResponse, _err error)

func (*Client) DescribeRoleZoneInfoWithOptions

func (client *Client) DescribeRoleZoneInfoWithOptions(request *DescribeRoleZoneInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeRoleZoneInfoResponse, _err error)

func (*Client) DescribeRunningLogRecords

func (client *Client) DescribeRunningLogRecords(request *DescribeRunningLogRecordsRequest) (_result *DescribeRunningLogRecordsResponse, _err error)

*

  • For more information about how to view the operational logs of an instance in the ApsaraDB for Redis console, see [View active logs](~~101713~~).
  • This operation can be called up to 100 times per minute. *
  • @param request DescribeRunningLogRecordsRequest
  • @return DescribeRunningLogRecordsResponse

func (*Client) DescribeRunningLogRecordsWithOptions

func (client *Client) DescribeRunningLogRecordsWithOptions(request *DescribeRunningLogRecordsRequest, runtime *util.RuntimeOptions) (_result *DescribeRunningLogRecordsResponse, _err error)

*

  • For more information about how to view the operational logs of an instance in the ApsaraDB for Redis console, see [View active logs](~~101713~~).
  • This operation can be called up to 100 times per minute. *
  • @param request DescribeRunningLogRecordsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeRunningLogRecordsResponse

func (*Client) DescribeSecurityGroupConfiguration

func (client *Client) DescribeSecurityGroupConfiguration(request *DescribeSecurityGroupConfigurationRequest) (_result *DescribeSecurityGroupConfigurationResponse, _err error)

func (*Client) DescribeSecurityGroupConfigurationWithOptions

func (client *Client) DescribeSecurityGroupConfigurationWithOptions(request *DescribeSecurityGroupConfigurationRequest, runtime *util.RuntimeOptions) (_result *DescribeSecurityGroupConfigurationResponse, _err error)

func (*Client) DescribeSecurityIps

func (client *Client) DescribeSecurityIps(request *DescribeSecurityIpsRequest) (_result *DescribeSecurityIpsResponse, _err error)

func (*Client) DescribeSecurityIpsWithOptions

func (client *Client) DescribeSecurityIpsWithOptions(request *DescribeSecurityIpsRequest, runtime *util.RuntimeOptions) (_result *DescribeSecurityIpsResponse, _err error)

func (*Client) DescribeSlowLogRecords

func (client *Client) DescribeSlowLogRecords(request *DescribeSlowLogRecordsRequest) (_result *DescribeSlowLogRecordsResponse, _err error)

*

  • You can also query slow logs in the ApsaraDB for Redis console. For more information, see [Query slow logs of an instance](~~95874~~). This operation can be called up to 100 times per minute. *
  • @param request DescribeSlowLogRecordsRequest
  • @return DescribeSlowLogRecordsResponse

func (*Client) DescribeSlowLogRecordsWithOptions

func (client *Client) DescribeSlowLogRecordsWithOptions(request *DescribeSlowLogRecordsRequest, runtime *util.RuntimeOptions) (_result *DescribeSlowLogRecordsResponse, _err error)

*

  • You can also query slow logs in the ApsaraDB for Redis console. For more information, see [Query slow logs of an instance](~~95874~~). This operation can be called up to 100 times per minute. *
  • @param request DescribeSlowLogRecordsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSlowLogRecordsResponse

func (*Client) DescribeTasks

func (client *Client) DescribeTasks(request *DescribeTasksRequest) (_result *DescribeTasksResponse, _err error)

*

  • You can call this operation to query the progress of a task when you perform time-consuming operations. You can also log on to the ApsaraDB for Redis console and click the Tasks icon in the upper-right corner of the **Instance Information** page to view the progress of the current task. *
  • @param request DescribeTasksRequest
  • @return DescribeTasksResponse

func (*Client) DescribeTasksWithOptions

func (client *Client) DescribeTasksWithOptions(request *DescribeTasksRequest, runtime *util.RuntimeOptions) (_result *DescribeTasksResponse, _err error)

*

  • You can call this operation to query the progress of a task when you perform time-consuming operations. You can also log on to the ApsaraDB for Redis console and click the Tasks icon in the upper-right corner of the **Instance Information** page to view the progress of the current task. *
  • @param request DescribeTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeTasksResponse

func (*Client) DescribeZones

func (client *Client) DescribeZones(request *DescribeZonesRequest) (_result *DescribeZonesResponse, _err error)

func (*Client) DescribeZonesWithOptions

func (client *Client) DescribeZonesWithOptions(request *DescribeZonesRequest, runtime *util.RuntimeOptions) (_result *DescribeZonesResponse, _err error)

func (*Client) EnableAdditionalBandwidth

func (client *Client) EnableAdditionalBandwidth(request *EnableAdditionalBandwidthRequest) (_result *EnableAdditionalBandwidthResponse, _err error)

*

  • When you call this operation, make sure that your instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~), and that the instance is deployed in classic mode. For more information, see [Comparison between cloud-native instances and classic instances](~~188068~~).
  • If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).
  • > Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance. *
  • @param request EnableAdditionalBandwidthRequest
  • @return EnableAdditionalBandwidthResponse

func (*Client) EnableAdditionalBandwidthWithOptions

func (client *Client) EnableAdditionalBandwidthWithOptions(request *EnableAdditionalBandwidthRequest, runtime *util.RuntimeOptions) (_result *EnableAdditionalBandwidthResponse, _err error)

*

  • When you call this operation, make sure that your instance is an ApsaraDB for Redis Community Edition instance or an ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~), and that the instance is deployed in classic mode. For more information, see [Comparison between cloud-native instances and classic instances](~~188068~~).
  • If you enable the bandwidth auto scaling feature and call this operation at the same time, bandwidth auto scaling takes precedence. During bandwidth scale-back, the instance is scaled back to the default bandwidth of the instance type. For more information about the limits, costs, and FAQ about this feature, see [Adjust the bandwidth of an instance](~~102588~~).
  • > Before you call this operation, you can call the [DescribeRoleZoneInfo](~~190794~~) operation to query the current bandwidth of each data node in an instance. *
  • @param request EnableAdditionalBandwidthRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EnableAdditionalBandwidthResponse

func (*Client) FlushExpireKeys

func (client *Client) FlushExpireKeys(request *FlushExpireKeysRequest) (_result *FlushExpireKeysResponse, _err error)

*

  • For more information about how to clear the expired keys in the ApsaraDB for Redis console, see [Clear data](~~43881~~).
  • > Expired keys cannot be recovered after they are deleted. Exercise caution when you call this operation. *
  • @param request FlushExpireKeysRequest
  • @return FlushExpireKeysResponse

func (*Client) FlushExpireKeysWithOptions

func (client *Client) FlushExpireKeysWithOptions(request *FlushExpireKeysRequest, runtime *util.RuntimeOptions) (_result *FlushExpireKeysResponse, _err error)

*

  • For more information about how to clear the expired keys in the ApsaraDB for Redis console, see [Clear data](~~43881~~).
  • > Expired keys cannot be recovered after they are deleted. Exercise caution when you call this operation. *
  • @param request FlushExpireKeysRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return FlushExpireKeysResponse

func (*Client) FlushInstance

func (client *Client) FlushInstance(request *FlushInstanceRequest) (_result *FlushInstanceResponse, _err error)

func (*Client) FlushInstanceForDB added in v3.0.3

func (client *Client) FlushInstanceForDB(request *FlushInstanceForDBRequest) (_result *FlushInstanceForDBResponse, _err error)

*

  • Each ApsaraDB for Redis or Tair instance can contain up to 256 databases. Each database does not have a separate memory usage limit. The memory capacity that a database can use is subject to the total memory limit of the instance. You can execute the `SELECT` statement to switch between databases. For more information, see [What is the size of each database on an ApsaraDB for Redis instance, and how can I choose databases?](~~38688~~)
  • > This operation is available only for cloud-native instances that use cloud disks. *
  • @param request FlushInstanceForDBRequest
  • @return FlushInstanceForDBResponse

func (*Client) FlushInstanceForDBWithOptions added in v3.0.3

func (client *Client) FlushInstanceForDBWithOptions(request *FlushInstanceForDBRequest, runtime *util.RuntimeOptions) (_result *FlushInstanceForDBResponse, _err error)

*

  • Each ApsaraDB for Redis or Tair instance can contain up to 256 databases. Each database does not have a separate memory usage limit. The memory capacity that a database can use is subject to the total memory limit of the instance. You can execute the `SELECT` statement to switch between databases. For more information, see [What is the size of each database on an ApsaraDB for Redis instance, and how can I choose databases?](~~38688~~)
  • > This operation is available only for cloud-native instances that use cloud disks. *
  • @param request FlushInstanceForDBRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return FlushInstanceForDBResponse

func (*Client) FlushInstanceWithOptions

func (client *Client) FlushInstanceWithOptions(request *FlushInstanceRequest, runtime *util.RuntimeOptions) (_result *FlushInstanceResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GrantAccountPrivilege

func (client *Client) GrantAccountPrivilege(request *GrantAccountPrivilegeRequest) (_result *GrantAccountPrivilegeResponse, _err error)

*

  • >
  • * Only ApsaraDB for Redis instances of Redis 4.0 or later are supported.
  • * The ApsaraDB for Redis instance must be in the running state. *
  • @param request GrantAccountPrivilegeRequest
  • @return GrantAccountPrivilegeResponse

func (*Client) GrantAccountPrivilegeWithOptions

func (client *Client) GrantAccountPrivilegeWithOptions(request *GrantAccountPrivilegeRequest, runtime *util.RuntimeOptions) (_result *GrantAccountPrivilegeResponse, _err error)

*

  • >
  • * Only ApsaraDB for Redis instances of Redis 4.0 or later are supported.
  • * The ApsaraDB for Redis instance must be in the running state. *
  • @param request GrantAccountPrivilegeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GrantAccountPrivilegeResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) InitializeKvstorePermission

func (client *Client) InitializeKvstorePermission(request *InitializeKvstorePermissionRequest) (_result *InitializeKvstorePermissionResponse, _err error)

*

  • The log management feature of ApsaraDB for Redis requires the resources of [Log Service](~~48869~~). To use the log management feature of ApsaraDB for Redis, you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the ApsaraDB for Redis instance. For more information, see [Associated RAM roles of ApsaraDB for Redis](~~184337~~). *
  • @param request InitializeKvstorePermissionRequest
  • @return InitializeKvstorePermissionResponse

func (*Client) InitializeKvstorePermissionWithOptions

func (client *Client) InitializeKvstorePermissionWithOptions(request *InitializeKvstorePermissionRequest, runtime *util.RuntimeOptions) (_result *InitializeKvstorePermissionResponse, _err error)

*

  • The log management feature of ApsaraDB for Redis requires the resources of [Log Service](~~48869~~). To use the log management feature of ApsaraDB for Redis, you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the ApsaraDB for Redis instance. For more information, see [Associated RAM roles of ApsaraDB for Redis](~~184337~~). *
  • @param request InitializeKvstorePermissionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return InitializeKvstorePermissionResponse

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

*

  • You can also query the relationships between instances and tags in the ApsaraDB for Redis console. For more information, see [Filter ApsaraDB for Redis instances by tag](~~119160~~) and [View tags bound to an instance](~~134038~~). *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

*

  • You can also query the relationships between instances and tags in the ApsaraDB for Redis console. For more information, see [Filter ApsaraDB for Redis instances by tag](~~119160~~) and [View tags bound to an instance](~~134038~~). *
  • @param request ListTagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) LockDBInstanceWrite added in v3.2.0

func (client *Client) LockDBInstanceWrite(request *LockDBInstanceWriteRequest) (_result *LockDBInstanceWriteResponse, _err error)

func (*Client) LockDBInstanceWriteWithOptions added in v3.2.0

func (client *Client) LockDBInstanceWriteWithOptions(request *LockDBInstanceWriteRequest, runtime *util.RuntimeOptions) (_result *LockDBInstanceWriteResponse, _err error)

func (*Client) MigrateToOtherZone

func (client *Client) MigrateToOtherZone(request *MigrateToOtherZoneRequest) (_result *MigrateToOtherZoneResponse, _err error)

*

  • For more information about how to migrate an instance across zones in the ApsaraDB for Redis console, see [Migrate an instance across zones](~~106272~~).
  • > * If the network type of an ApsaraDB for Redis instance is switched from classic network to Virtual Private Cloud (VPC), and the endpoint of the classic network is retained, you can migrate the instance across zones only after the classic network endpoint is released upon expiration.
  • > * After the data is migrated, the endpoint of an instance remains unchanged. However, the virtual IP address (VIP) is changed. We recommend that you use the endpoint instead of the VIP to connect to the instance. *
  • @param request MigrateToOtherZoneRequest
  • @return MigrateToOtherZoneResponse

func (*Client) MigrateToOtherZoneWithOptions

func (client *Client) MigrateToOtherZoneWithOptions(request *MigrateToOtherZoneRequest, runtime *util.RuntimeOptions) (_result *MigrateToOtherZoneResponse, _err error)

*

  • For more information about how to migrate an instance across zones in the ApsaraDB for Redis console, see [Migrate an instance across zones](~~106272~~).
  • > * If the network type of an ApsaraDB for Redis instance is switched from classic network to Virtual Private Cloud (VPC), and the endpoint of the classic network is retained, you can migrate the instance across zones only after the classic network endpoint is released upon expiration.
  • > * After the data is migrated, the endpoint of an instance remains unchanged. However, the virtual IP address (VIP) is changed. We recommend that you use the endpoint instead of the VIP to connect to the instance. *
  • @param request MigrateToOtherZoneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return MigrateToOtherZoneResponse

func (*Client) ModifyAccountDescription

func (client *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (_result *ModifyAccountDescriptionResponse, _err error)

*

  • > This operation is supported only for instances that run Redis 4.0 or later. *
  • @param request ModifyAccountDescriptionRequest
  • @return ModifyAccountDescriptionResponse

func (*Client) ModifyAccountDescriptionWithOptions

func (client *Client) ModifyAccountDescriptionWithOptions(request *ModifyAccountDescriptionRequest, runtime *util.RuntimeOptions) (_result *ModifyAccountDescriptionResponse, _err error)

*

  • > This operation is supported only for instances that run Redis 4.0 or later. *
  • @param request ModifyAccountDescriptionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyAccountDescriptionResponse

func (*Client) ModifyAccountPassword

func (client *Client) ModifyAccountPassword(request *ModifyAccountPasswordRequest) (_result *ModifyAccountPasswordResponse, _err error)

func (*Client) ModifyAccountPasswordWithOptions

func (client *Client) ModifyAccountPasswordWithOptions(request *ModifyAccountPasswordRequest, runtime *util.RuntimeOptions) (_result *ModifyAccountPasswordResponse, _err error)

func (*Client) ModifyActiveOperationTask

func (client *Client) ModifyActiveOperationTask(request *ModifyActiveOperationTaskRequest) (_result *ModifyActiveOperationTaskResponse, _err error)

*

  • You can receive notifications for ApsaraDB for Redis events such as instance migration and version upgrade by text message, phone call, email, internal message, or by using the ApsaraDB for Redis console. You can also change the scheduled switchover time of a task in the ApsaraDB for Redis console. For more information, see [Query or manage pending events](~~187022~~). *
  • @param request ModifyActiveOperationTaskRequest
  • @return ModifyActiveOperationTaskResponse

func (*Client) ModifyActiveOperationTaskWithOptions

func (client *Client) ModifyActiveOperationTaskWithOptions(request *ModifyActiveOperationTaskRequest, runtime *util.RuntimeOptions) (_result *ModifyActiveOperationTaskResponse, _err error)

*

  • You can receive notifications for ApsaraDB for Redis events such as instance migration and version upgrade by text message, phone call, email, internal message, or by using the ApsaraDB for Redis console. You can also change the scheduled switchover time of a task in the ApsaraDB for Redis console. For more information, see [Query or manage pending events](~~187022~~). *
  • @param request ModifyActiveOperationTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyActiveOperationTaskResponse

func (*Client) ModifyAuditLogConfig

func (client *Client) ModifyAuditLogConfig(request *ModifyAuditLogConfigRequest) (_result *ModifyAuditLogConfigResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of the audit log feature.
  • Before you call this operation, make sure that the ApsaraDB for Redis instance meets the following requirements:
  • * The instance is an ApsaraDB for Redis Community Edition instance or ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~).
  • * The engine version of the instance is Redis 4.0 or later, and the latest minor version is used. You can call the [DescribeEngineVersion](~~95268~~) operation to check whether the instance uses the latest major version and minor version. *
  • @param request ModifyAuditLogConfigRequest
  • @return ModifyAuditLogConfigResponse

func (*Client) ModifyAuditLogConfigWithOptions

func (client *Client) ModifyAuditLogConfigWithOptions(request *ModifyAuditLogConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyAuditLogConfigResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of the audit log feature.
  • Before you call this operation, make sure that the ApsaraDB for Redis instance meets the following requirements:
  • * The instance is an ApsaraDB for Redis Community Edition instance or ApsaraDB for Redis Enhanced Edition (Tair) [DRAM-based instance](~~126164~~).
  • * The engine version of the instance is Redis 4.0 or later, and the latest minor version is used. You can call the [DescribeEngineVersion](~~95268~~) operation to check whether the instance uses the latest major version and minor version. *
  • @param request ModifyAuditLogConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyAuditLogConfigResponse

func (*Client) ModifyBackupPolicy

func (client *Client) ModifyBackupPolicy(request *ModifyBackupPolicyRequest) (_result *ModifyBackupPolicyResponse, _err error)

func (*Client) ModifyBackupPolicyWithOptions

func (client *Client) ModifyBackupPolicyWithOptions(request *ModifyBackupPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifyBackupPolicyResponse, _err error)

func (*Client) ModifyDBInstanceConnectionString

func (client *Client) ModifyDBInstanceConnectionString(request *ModifyDBInstanceConnectionStringRequest) (_result *ModifyDBInstanceConnectionStringResponse, _err error)

*

  • You can also modify the endpoint or port number of an instance in the ApsaraDB for Redis console. For more information, see [Change the endpoint or port number of an instance](~~85683~~). *
  • @param request ModifyDBInstanceConnectionStringRequest
  • @return ModifyDBInstanceConnectionStringResponse

func (*Client) ModifyDBInstanceConnectionStringWithOptions

func (client *Client) ModifyDBInstanceConnectionStringWithOptions(request *ModifyDBInstanceConnectionStringRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceConnectionStringResponse, _err error)

*

  • You can also modify the endpoint or port number of an instance in the ApsaraDB for Redis console. For more information, see [Change the endpoint or port number of an instance](~~85683~~). *
  • @param request ModifyDBInstanceConnectionStringRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceConnectionStringResponse

func (*Client) ModifyGlobalSecurityIPGroup added in v3.0.1

func (client *Client) ModifyGlobalSecurityIPGroup(request *ModifyGlobalSecurityIPGroupRequest) (_result *ModifyGlobalSecurityIPGroupResponse, _err error)

func (*Client) ModifyGlobalSecurityIPGroupName added in v3.0.1

func (client *Client) ModifyGlobalSecurityIPGroupName(request *ModifyGlobalSecurityIPGroupNameRequest) (_result *ModifyGlobalSecurityIPGroupNameResponse, _err error)

func (*Client) ModifyGlobalSecurityIPGroupNameWithOptions added in v3.0.1

func (client *Client) ModifyGlobalSecurityIPGroupNameWithOptions(request *ModifyGlobalSecurityIPGroupNameRequest, runtime *util.RuntimeOptions) (_result *ModifyGlobalSecurityIPGroupNameResponse, _err error)

func (*Client) ModifyGlobalSecurityIPGroupRelation added in v3.0.1

func (client *Client) ModifyGlobalSecurityIPGroupRelation(request *ModifyGlobalSecurityIPGroupRelationRequest) (_result *ModifyGlobalSecurityIPGroupRelationResponse, _err error)

func (*Client) ModifyGlobalSecurityIPGroupRelationWithOptions added in v3.0.1

func (client *Client) ModifyGlobalSecurityIPGroupRelationWithOptions(request *ModifyGlobalSecurityIPGroupRelationRequest, runtime *util.RuntimeOptions) (_result *ModifyGlobalSecurityIPGroupRelationResponse, _err error)

func (*Client) ModifyGlobalSecurityIPGroupWithOptions added in v3.0.1

func (client *Client) ModifyGlobalSecurityIPGroupWithOptions(request *ModifyGlobalSecurityIPGroupRequest, runtime *util.RuntimeOptions) (_result *ModifyGlobalSecurityIPGroupResponse, _err error)

func (*Client) ModifyInstanceAttribute

func (client *Client) ModifyInstanceAttribute(request *ModifyInstanceAttributeRequest) (_result *ModifyInstanceAttributeResponse, _err error)

*

  • You can also modify the information of an instance in the ApsaraDB for Redis console. For more information, see [Change or reset the password](~~43874~~). *
  • @param request ModifyInstanceAttributeRequest
  • @return ModifyInstanceAttributeResponse

func (*Client) ModifyInstanceAttributeWithOptions

func (client *Client) ModifyInstanceAttributeWithOptions(request *ModifyInstanceAttributeRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceAttributeResponse, _err error)

*

  • You can also modify the information of an instance in the ApsaraDB for Redis console. For more information, see [Change or reset the password](~~43874~~). *
  • @param request ModifyInstanceAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceAttributeResponse

func (*Client) ModifyInstanceAutoRenewalAttribute

func (client *Client) ModifyInstanceAutoRenewalAttribute(request *ModifyInstanceAutoRenewalAttributeRequest) (_result *ModifyInstanceAutoRenewalAttributeResponse, _err error)

*

  • > Auto-renewal is triggered seven days before the expiration date of the instance. *
  • @param request ModifyInstanceAutoRenewalAttributeRequest
  • @return ModifyInstanceAutoRenewalAttributeResponse

func (*Client) ModifyInstanceAutoRenewalAttributeWithOptions

func (client *Client) ModifyInstanceAutoRenewalAttributeWithOptions(request *ModifyInstanceAutoRenewalAttributeRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceAutoRenewalAttributeResponse, _err error)

*

  • > Auto-renewal is triggered seven days before the expiration date of the instance. *
  • @param request ModifyInstanceAutoRenewalAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceAutoRenewalAttributeResponse

func (*Client) ModifyInstanceConfig

func (client *Client) ModifyInstanceConfig(request *ModifyInstanceConfigRequest) (_result *ModifyInstanceConfigResponse, _err error)

func (*Client) ModifyInstanceConfigWithOptions

func (client *Client) ModifyInstanceConfigWithOptions(request *ModifyInstanceConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceConfigResponse, _err error)

func (*Client) ModifyInstanceMaintainTime

func (client *Client) ModifyInstanceMaintainTime(request *ModifyInstanceMaintainTimeRequest) (_result *ModifyInstanceMaintainTimeResponse, _err error)

*

  • You can also modify the maintenance window of an instance in the ApsaraDB for Redis console. For more information, see [Set a maintenance window](~~55252~~). *
  • @param request ModifyInstanceMaintainTimeRequest
  • @return ModifyInstanceMaintainTimeResponse

func (*Client) ModifyInstanceMaintainTimeWithOptions

func (client *Client) ModifyInstanceMaintainTimeWithOptions(request *ModifyInstanceMaintainTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceMaintainTimeResponse, _err error)

*

  • You can also modify the maintenance window of an instance in the ApsaraDB for Redis console. For more information, see [Set a maintenance window](~~55252~~). *
  • @param request ModifyInstanceMaintainTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceMaintainTimeResponse

func (*Client) ModifyInstanceMajorVersion

func (client *Client) ModifyInstanceMajorVersion(request *ModifyInstanceMajorVersionRequest) (_result *ModifyInstanceMajorVersionResponse, _err error)

*

  • For more information about how to perform the corresponding operation in the console, see [Upgrade the major version](~~101764~~). *
  • @param request ModifyInstanceMajorVersionRequest
  • @return ModifyInstanceMajorVersionResponse

func (*Client) ModifyInstanceMajorVersionWithOptions

func (client *Client) ModifyInstanceMajorVersionWithOptions(request *ModifyInstanceMajorVersionRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceMajorVersionResponse, _err error)

*

  • For more information about how to perform the corresponding operation in the console, see [Upgrade the major version](~~101764~~). *
  • @param request ModifyInstanceMajorVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceMajorVersionResponse

func (*Client) ModifyInstanceMinorVersion

func (client *Client) ModifyInstanceMinorVersion(request *ModifyInstanceMinorVersionRequest) (_result *ModifyInstanceMinorVersionResponse, _err error)

*

  • The procedure to update the minor version of an instance varies based on types of ApsaraDB for Redis instances. For more information, see [Upgrade the minor version](~~56450~~).
  • >
  • * Before you call this operation, you can call the [DescribeEngineVersion](~~95268~~) operation to query the minor version of the current instance.
  • * When you switch your workloads over from the original instance to a new instance or from the master node to the replica node in the original instance, you may experience disconnections that last a few seconds. The original instance stays in the read-only state within 60 seconds until all data is synchronized. We recommend that you upgrade the original instance during off-peak hours and make sure that your application is configured to automatically reconnect to the original instance. *
  • @param request ModifyInstanceMinorVersionRequest
  • @return ModifyInstanceMinorVersionResponse

func (*Client) ModifyInstanceMinorVersionWithOptions

func (client *Client) ModifyInstanceMinorVersionWithOptions(request *ModifyInstanceMinorVersionRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceMinorVersionResponse, _err error)

*

  • The procedure to update the minor version of an instance varies based on types of ApsaraDB for Redis instances. For more information, see [Upgrade the minor version](~~56450~~).
  • >
  • * Before you call this operation, you can call the [DescribeEngineVersion](~~95268~~) operation to query the minor version of the current instance.
  • * When you switch your workloads over from the original instance to a new instance or from the master node to the replica node in the original instance, you may experience disconnections that last a few seconds. The original instance stays in the read-only state within 60 seconds until all data is synchronized. We recommend that you upgrade the original instance during off-peak hours and make sure that your application is configured to automatically reconnect to the original instance. *
  • @param request ModifyInstanceMinorVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceMinorVersionResponse

func (*Client) ModifyInstanceNetExpireTime

func (client *Client) ModifyInstanceNetExpireTime(request *ModifyInstanceNetExpireTimeRequest) (_result *ModifyInstanceNetExpireTimeResponse, _err error)

*

  • You can also perform this operation in the ApsaraDB for Redis console. For more information, see [Change the expiration time for the endpoint of the classic network](~~60062~~).
  • > For more information about how to switch the network type of an ApsaraDB for Redis instance from classic network to VPC, see [SwitchNetwork](~~61005~~). *
  • @param request ModifyInstanceNetExpireTimeRequest
  • @return ModifyInstanceNetExpireTimeResponse

func (*Client) ModifyInstanceNetExpireTimeWithOptions

func (client *Client) ModifyInstanceNetExpireTimeWithOptions(request *ModifyInstanceNetExpireTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceNetExpireTimeResponse, _err error)

*

  • You can also perform this operation in the ApsaraDB for Redis console. For more information, see [Change the expiration time for the endpoint of the classic network](~~60062~~).
  • > For more information about how to switch the network type of an ApsaraDB for Redis instance from classic network to VPC, see [SwitchNetwork](~~61005~~). *
  • @param request ModifyInstanceNetExpireTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceNetExpireTimeResponse

func (*Client) ModifyInstanceParameter added in v3.1.0

func (client *Client) ModifyInstanceParameter(request *ModifyInstanceParameterRequest) (_result *ModifyInstanceParameterResponse, _err error)

func (*Client) ModifyInstanceParameterWithOptions added in v3.1.0

func (client *Client) ModifyInstanceParameterWithOptions(request *ModifyInstanceParameterRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceParameterResponse, _err error)

func (*Client) ModifyInstanceSSL

func (client *Client) ModifyInstanceSSL(request *ModifyInstanceSSLRequest) (_result *ModifyInstanceSSLResponse, _err error)

*

  • You can also modify SSL encryption configurations in the ApsaraDB for Redis console. For more information, see [Configure SSL encryption](~~84898~~).
  • > To specify the earliest supported SSL version, you can call the [ModifyInstanceConfig](~~ModifyInstanceConfig~~) operation to modify the required parameter. *
  • @param request ModifyInstanceSSLRequest
  • @return ModifyInstanceSSLResponse

func (*Client) ModifyInstanceSSLWithOptions

func (client *Client) ModifyInstanceSSLWithOptions(request *ModifyInstanceSSLRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceSSLResponse, _err error)

*

  • You can also modify SSL encryption configurations in the ApsaraDB for Redis console. For more information, see [Configure SSL encryption](~~84898~~).
  • > To specify the earliest supported SSL version, you can call the [ModifyInstanceConfig](~~ModifyInstanceConfig~~) operation to modify the required parameter. *
  • @param request ModifyInstanceSSLRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceSSLResponse

func (*Client) ModifyInstanceSpec

func (client *Client) ModifyInstanceSpec(request *ModifyInstanceSpecRequest) (_result *ModifyInstanceSpecResponse, _err error)

*

  • > For more information about the procedure, impacts, limits, and fees of this operation, see [Change the configurations of an instance](~~26353~~). *
  • @param request ModifyInstanceSpecRequest
  • @return ModifyInstanceSpecResponse

func (*Client) ModifyInstanceSpecWithOptions

func (client *Client) ModifyInstanceSpecWithOptions(request *ModifyInstanceSpecRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceSpecResponse, _err error)

*

  • > For more information about the procedure, impacts, limits, and fees of this operation, see [Change the configurations of an instance](~~26353~~). *
  • @param request ModifyInstanceSpecRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceSpecResponse

func (*Client) ModifyInstanceTDE

func (client *Client) ModifyInstanceTDE(request *ModifyInstanceTDERequest) (_result *ModifyInstanceTDEResponse, _err error)

*

  • > For more information about TDE and the impact of TDE, see [Enable TDE](~~265913~~). *
  • @param request ModifyInstanceTDERequest
  • @return ModifyInstanceTDEResponse

func (*Client) ModifyInstanceTDEWithOptions

func (client *Client) ModifyInstanceTDEWithOptions(request *ModifyInstanceTDERequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceTDEResponse, _err error)

*

  • > For more information about TDE and the impact of TDE, see [Enable TDE](~~265913~~). *
  • @param request ModifyInstanceTDERequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceTDEResponse

func (*Client) ModifyInstanceVpcAuthMode

func (client *Client) ModifyInstanceVpcAuthMode(request *ModifyInstanceVpcAuthModeRequest) (_result *ModifyInstanceVpcAuthModeResponse, _err error)

*

  • When the password-free access feature is enabled, Elastic Compute Service (ECS) instances in the same virtual private cloud (VPC) can connect to the ApsaraDB for Redis instance without a password. You can also use the username and password to connect to the ApsaraDB for Redis instance.
  • > The ApsaraDB for Redis instance is deployed in a VPC. For more information, see [Enable password-free access](~~85168~~). *
  • @param request ModifyInstanceVpcAuthModeRequest
  • @return ModifyInstanceVpcAuthModeResponse

func (*Client) ModifyInstanceVpcAuthModeWithOptions

func (client *Client) ModifyInstanceVpcAuthModeWithOptions(request *ModifyInstanceVpcAuthModeRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceVpcAuthModeResponse, _err error)

*

  • When the password-free access feature is enabled, Elastic Compute Service (ECS) instances in the same virtual private cloud (VPC) can connect to the ApsaraDB for Redis instance without a password. You can also use the username and password to connect to the ApsaraDB for Redis instance.
  • > The ApsaraDB for Redis instance is deployed in a VPC. For more information, see [Enable password-free access](~~85168~~). *
  • @param request ModifyInstanceVpcAuthModeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceVpcAuthModeResponse

func (*Client) ModifyIntranetAttribute

func (client *Client) ModifyIntranetAttribute(request *ModifyIntranetAttributeRequest) (_result *ModifyIntranetAttributeResponse, _err error)

*

  • >
  • * This operation is applicable only to an ApsaraDB for Redis instance that is deployed in a dedicated cluster. To adjust the bandwidth of a standard ApsaraDB for Redis instance, call the [EnableAdditionalBandwidth](~~206173~~) operation. *
  • @param request ModifyIntranetAttributeRequest
  • @return ModifyIntranetAttributeResponse

func (*Client) ModifyIntranetAttributeWithOptions

func (client *Client) ModifyIntranetAttributeWithOptions(request *ModifyIntranetAttributeRequest, runtime *util.RuntimeOptions) (_result *ModifyIntranetAttributeResponse, _err error)

*

  • >
  • * This operation is applicable only to an ApsaraDB for Redis instance that is deployed in a dedicated cluster. To adjust the bandwidth of a standard ApsaraDB for Redis instance, call the [EnableAdditionalBandwidth](~~206173~~) operation. *
  • @param request ModifyIntranetAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyIntranetAttributeResponse

func (*Client) ModifyResourceGroup

func (client *Client) ModifyResourceGroup(request *ModifyResourceGroupRequest) (_result *ModifyResourceGroupResponse, _err error)

*

  • Resource groups allow you to sort resources owned by your Alibaba Cloud account into groups. This simplifies resource and permission management within your Alibaba Cloud account. For more information, see [What is Resource Management?](~~94475~~)
  • > For more information about resource group API operations, see [Resource Management API overview](~~160024~~). *
  • @param request ModifyResourceGroupRequest
  • @return ModifyResourceGroupResponse

func (*Client) ModifyResourceGroupWithOptions

func (client *Client) ModifyResourceGroupWithOptions(request *ModifyResourceGroupRequest, runtime *util.RuntimeOptions) (_result *ModifyResourceGroupResponse, _err error)

*

  • Resource groups allow you to sort resources owned by your Alibaba Cloud account into groups. This simplifies resource and permission management within your Alibaba Cloud account. For more information, see [What is Resource Management?](~~94475~~)
  • > For more information about resource group API operations, see [Resource Management API overview](~~160024~~). *
  • @param request ModifyResourceGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyResourceGroupResponse

func (*Client) ModifySecurityGroupConfiguration

func (client *Client) ModifySecurityGroupConfiguration(request *ModifySecurityGroupConfigurationRequest) (_result *ModifySecurityGroupConfigurationResponse, _err error)

*

  • > After you call this operation, the security groups that are added to the whitelists of the ApsaraDB for Redis instance are deleted, and the security group specified by the **SecurityGroupId** parameter is added to the whitelists. For more information about how to reset security groups in the ApsaraDB for Redis console, see [Add security groups](~~148267~~). *
  • @param request ModifySecurityGroupConfigurationRequest
  • @return ModifySecurityGroupConfigurationResponse

func (*Client) ModifySecurityGroupConfigurationWithOptions

func (client *Client) ModifySecurityGroupConfigurationWithOptions(request *ModifySecurityGroupConfigurationRequest, runtime *util.RuntimeOptions) (_result *ModifySecurityGroupConfigurationResponse, _err error)

*

  • > After you call this operation, the security groups that are added to the whitelists of the ApsaraDB for Redis instance are deleted, and the security group specified by the **SecurityGroupId** parameter is added to the whitelists. For more information about how to reset security groups in the ApsaraDB for Redis console, see [Add security groups](~~148267~~). *
  • @param request ModifySecurityGroupConfigurationRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifySecurityGroupConfigurationResponse

func (*Client) ModifySecurityIps

func (client *Client) ModifySecurityIps(request *ModifySecurityIpsRequest) (_result *ModifySecurityIpsResponse, _err error)

*

  • You can also modify the whitelists of an instance in the ApsaraDB for Redis console. For more information, see [Configure a whitelist for an instance](~~56464~~). *
  • @param request ModifySecurityIpsRequest
  • @return ModifySecurityIpsResponse

func (*Client) ModifySecurityIpsWithOptions

func (client *Client) ModifySecurityIpsWithOptions(request *ModifySecurityIpsRequest, runtime *util.RuntimeOptions) (_result *ModifySecurityIpsResponse, _err error)

*

  • You can also modify the whitelists of an instance in the ApsaraDB for Redis console. For more information, see [Configure a whitelist for an instance](~~56464~~). *
  • @param request ModifySecurityIpsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifySecurityIpsResponse

func (*Client) ReleaseDirectConnection

func (client *Client) ReleaseDirectConnection(request *ReleaseDirectConnectionRequest) (_result *ReleaseDirectConnectionResponse, _err error)

*

  • In direct connection mode, clients can bypass proxy nodes and use private endpoints to connect to ApsaraDB for Redis instances. This is similar to the connection to a native Redis cluster. The direct connection mode can reduce communication overheads and the response time of ApsaraDB for Redis. For more information, see [Enable the direct connection mode](~~146901~~). *
  • @param request ReleaseDirectConnectionRequest
  • @return ReleaseDirectConnectionResponse

func (*Client) ReleaseDirectConnectionWithOptions

func (client *Client) ReleaseDirectConnectionWithOptions(request *ReleaseDirectConnectionRequest, runtime *util.RuntimeOptions) (_result *ReleaseDirectConnectionResponse, _err error)

*

  • In direct connection mode, clients can bypass proxy nodes and use private endpoints to connect to ApsaraDB for Redis instances. This is similar to the connection to a native Redis cluster. The direct connection mode can reduce communication overheads and the response time of ApsaraDB for Redis. For more information, see [Enable the direct connection mode](~~146901~~). *
  • @param request ReleaseDirectConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReleaseDirectConnectionResponse

func (*Client) ReleaseInstancePublicConnection

func (client *Client) ReleaseInstancePublicConnection(request *ReleaseInstancePublicConnectionRequest) (_result *ReleaseInstancePublicConnectionResponse, _err error)

*

  • For more information about how to perform the API operation in the ApsaraDB for Redis console, see [Release public endpoints](~~125424~~). *
  • @param request ReleaseInstancePublicConnectionRequest
  • @return ReleaseInstancePublicConnectionResponse

func (*Client) ReleaseInstancePublicConnectionWithOptions

func (client *Client) ReleaseInstancePublicConnectionWithOptions(request *ReleaseInstancePublicConnectionRequest, runtime *util.RuntimeOptions) (_result *ReleaseInstancePublicConnectionResponse, _err error)

*

  • For more information about how to perform the API operation in the ApsaraDB for Redis console, see [Release public endpoints](~~125424~~). *
  • @param request ReleaseInstancePublicConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReleaseInstancePublicConnectionResponse

func (*Client) RemoveSubInstance

func (client *Client) RemoveSubInstance(request *RemoveSubInstanceRequest) (_result *RemoveSubInstanceResponse, _err error)

*

  • The operation that you want to perform. Set the value to **RemoveSubInstance**. *
  • @param request RemoveSubInstanceRequest
  • @return RemoveSubInstanceResponse

func (*Client) RemoveSubInstanceWithOptions

func (client *Client) RemoveSubInstanceWithOptions(request *RemoveSubInstanceRequest, runtime *util.RuntimeOptions) (_result *RemoveSubInstanceResponse, _err error)

*

  • The operation that you want to perform. Set the value to **RemoveSubInstance**. *
  • @param request RemoveSubInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveSubInstanceResponse

func (*Client) RenewAdditionalBandwidth

func (client *Client) RenewAdditionalBandwidth(request *RenewAdditionalBandwidthRequest) (_result *RenewAdditionalBandwidthResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • You can adjust the bandwidth of an instance in the ApsaraDB for Redis console. For more information, see [Adjust the bandwidth of an ApsaraDB for Redis instance](~~102588~~). You can also call the [EnableAdditionalBandwidth](~~206173~~) operation to adjust the bandwidth of an instance. If you want to continue using the bandwidth that you purchase after the validity period of the bandwidth, you must call the RenewAdditionalBandwidth operation to renew the bandwidth before the bandwidth expires.
  • > Before you call this operation, you can call the [DescribeIntranetAttribute](~~128715~~) operation, which returns the expiration time of the purchased bandwidth in the **BandwidthExpireTime** parameter. *
  • @param request RenewAdditionalBandwidthRequest
  • @return RenewAdditionalBandwidthResponse

func (*Client) RenewAdditionalBandwidthWithOptions

func (client *Client) RenewAdditionalBandwidthWithOptions(request *RenewAdditionalBandwidthRequest, runtime *util.RuntimeOptions) (_result *RenewAdditionalBandwidthResponse, _err error)

*

  • Before you call this operation, make sure that you understand the billing methods and [pricing](~~54532~~) of ApsaraDB for Redis.
  • You can adjust the bandwidth of an instance in the ApsaraDB for Redis console. For more information, see [Adjust the bandwidth of an ApsaraDB for Redis instance](~~102588~~). You can also call the [EnableAdditionalBandwidth](~~206173~~) operation to adjust the bandwidth of an instance. If you want to continue using the bandwidth that you purchase after the validity period of the bandwidth, you must call the RenewAdditionalBandwidth operation to renew the bandwidth before the bandwidth expires.
  • > Before you call this operation, you can call the [DescribeIntranetAttribute](~~128715~~) operation, which returns the expiration time of the purchased bandwidth in the **BandwidthExpireTime** parameter. *
  • @param request RenewAdditionalBandwidthRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RenewAdditionalBandwidthResponse

func (*Client) RenewInstance

func (client *Client) RenewInstance(request *RenewInstanceRequest) (_result *RenewInstanceResponse, _err error)

*

  • This operation is applicable only to subscription instances. *
  • @param request RenewInstanceRequest
  • @return RenewInstanceResponse

func (*Client) RenewInstanceWithOptions

func (client *Client) RenewInstanceWithOptions(request *RenewInstanceRequest, runtime *util.RuntimeOptions) (_result *RenewInstanceResponse, _err error)

*

  • This operation is applicable only to subscription instances. *
  • @param request RenewInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RenewInstanceResponse

func (*Client) ResetAccountPassword

func (client *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (_result *ResetAccountPasswordResponse, _err error)

*

  • > Only ApsaraDB for Redis instances of Redis 4.0 or later are supported. *
  • @param request ResetAccountPasswordRequest
  • @return ResetAccountPasswordResponse

func (*Client) ResetAccountPasswordWithOptions

func (client *Client) ResetAccountPasswordWithOptions(request *ResetAccountPasswordRequest, runtime *util.RuntimeOptions) (_result *ResetAccountPasswordResponse, _err error)

*

  • > Only ApsaraDB for Redis instances of Redis 4.0 or later are supported. *
  • @param request ResetAccountPasswordRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ResetAccountPasswordResponse

func (*Client) RestartInstance

func (client *Client) RestartInstance(request *RestartInstanceRequest) (_result *RestartInstanceResponse, _err error)

func (*Client) RestartInstanceWithOptions

func (client *Client) RestartInstanceWithOptions(request *RestartInstanceRequest, runtime *util.RuntimeOptions) (_result *RestartInstanceResponse, _err error)

func (*Client) RestoreInstance

func (client *Client) RestoreInstance(request *RestoreInstanceRequest) (_result *RestoreInstanceResponse, _err error)

*

  • * If your instance is a [persistent memory-optimized instance](~~443828~~) or [DRAM-based instance](~~443827~~) that is compatible with Redis 5.0 and the [data flashback](~~443784~~) feature is enabled, you can call this operation to restore the data of a specified key to a specified point in time that is accurate to the second. Other keys are not affected. This way, you can achieve more fine-grained data restoration.
  • * For other instance series, this operation overwrites the existing data of your instance with the backup data. Proceed with caution. We recommend that you call the [CreateInstance](~~60873~~) operation to create an instance. Then, you can restore data to the new instance. *
  • @param request RestoreInstanceRequest
  • @return RestoreInstanceResponse

func (*Client) RestoreInstanceWithOptions

func (client *Client) RestoreInstanceWithOptions(request *RestoreInstanceRequest, runtime *util.RuntimeOptions) (_result *RestoreInstanceResponse, _err error)

*

  • * If your instance is a [persistent memory-optimized instance](~~443828~~) or [DRAM-based instance](~~443827~~) that is compatible with Redis 5.0 and the [data flashback](~~443784~~) feature is enabled, you can call this operation to restore the data of a specified key to a specified point in time that is accurate to the second. Other keys are not affected. This way, you can achieve more fine-grained data restoration.
  • * For other instance series, this operation overwrites the existing data of your instance with the backup data. Proceed with caution. We recommend that you call the [CreateInstance](~~60873~~) operation to create an instance. Then, you can restore data to the new instance. *
  • @param request RestoreInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RestoreInstanceResponse

func (*Client) SwitchInstanceHA

func (client *Client) SwitchInstanceHA(request *SwitchInstanceHARequest) (_result *SwitchInstanceHAResponse, _err error)

*

  • > For more information about nearby access to applications that are deployed across zones, see [Switch node roles](~~164222~~).
  • The instance must be an ApsaraDB for Redis Community Edition instance or Enhanced Edition (Tair) [DRAM-based](~~126164~~) instance that uses local disks.
  • A call to this operation has the following impacts on your instance:
  • * The data shards in the instance may change to the read-only state and experience transient connections within seconds. Make sure that your application is configured to automatically reconnect to the instance.
  • * If the instance enters the switching state, you cannot manage this instance. For example, you cannot modify the instance configurations or migrate the instance to another zone. *
  • @param request SwitchInstanceHARequest
  • @return SwitchInstanceHAResponse

func (*Client) SwitchInstanceHAWithOptions

func (client *Client) SwitchInstanceHAWithOptions(request *SwitchInstanceHARequest, runtime *util.RuntimeOptions) (_result *SwitchInstanceHAResponse, _err error)

*

  • > For more information about nearby access to applications that are deployed across zones, see [Switch node roles](~~164222~~).
  • The instance must be an ApsaraDB for Redis Community Edition instance or Enhanced Edition (Tair) [DRAM-based](~~126164~~) instance that uses local disks.
  • A call to this operation has the following impacts on your instance:
  • * The data shards in the instance may change to the read-only state and experience transient connections within seconds. Make sure that your application is configured to automatically reconnect to the instance.
  • * If the instance enters the switching state, you cannot manage this instance. For example, you cannot modify the instance configurations or migrate the instance to another zone. *
  • @param request SwitchInstanceHARequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SwitchInstanceHAResponse

func (*Client) SwitchInstanceProxy

func (client *Client) SwitchInstanceProxy(request *SwitchInstanceProxyRequest) (_result *SwitchInstanceProxyResponse, _err error)

*

  • For more information about the proxy mode, see [Features of proxy nodes](~~142959~~). Before you call this operation, make sure that the following requirements are met:
  • * Your ApsaraDB for Redis instance is created by using a dedicated cluster. For more information, see [What is ApsaraDB MyBase?](~~141455~~)
  • * The instance uses the cluster architecture. For more information about the cluster architecture, see [Cluster master-replica instances](~~52228~~).
  • > Before you call the SwitchInstanceProxy operation, you must call the [DescribeDedicatedClusterInstanceList](~~229522~~) operation and view the value of the **ProxyCount** response parameter to check whether the proxy mode is enabled. A value of 0 indicates that the proxy mode is disabled. A value that is greater than 0 indicates that the proxy mode is enabled. *
  • @param request SwitchInstanceProxyRequest
  • @return SwitchInstanceProxyResponse

func (*Client) SwitchInstanceProxyWithOptions

func (client *Client) SwitchInstanceProxyWithOptions(request *SwitchInstanceProxyRequest, runtime *util.RuntimeOptions) (_result *SwitchInstanceProxyResponse, _err error)

*

  • For more information about the proxy mode, see [Features of proxy nodes](~~142959~~). Before you call this operation, make sure that the following requirements are met:
  • * Your ApsaraDB for Redis instance is created by using a dedicated cluster. For more information, see [What is ApsaraDB MyBase?](~~141455~~)
  • * The instance uses the cluster architecture. For more information about the cluster architecture, see [Cluster master-replica instances](~~52228~~).
  • > Before you call the SwitchInstanceProxy operation, you must call the [DescribeDedicatedClusterInstanceList](~~229522~~) operation and view the value of the **ProxyCount** response parameter to check whether the proxy mode is enabled. A value of 0 indicates that the proxy mode is disabled. A value that is greater than 0 indicates that the proxy mode is enabled. *
  • @param request SwitchInstanceProxyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SwitchInstanceProxyResponse

func (*Client) SwitchNetwork

func (client *Client) SwitchNetwork(request *SwitchNetworkRequest) (_result *SwitchNetworkResponse, _err error)

func (*Client) SwitchNetworkWithOptions

func (client *Client) SwitchNetworkWithOptions(request *SwitchNetworkRequest, runtime *util.RuntimeOptions) (_result *SwitchNetworkResponse, _err error)

func (*Client) SyncDtsStatus

func (client *Client) SyncDtsStatus(request *SyncDtsStatusRequest) (_result *SyncDtsStatusResponse, _err error)

func (*Client) SyncDtsStatusWithOptions

func (client *Client) SyncDtsStatusWithOptions(request *SyncDtsStatusRequest, runtime *util.RuntimeOptions) (_result *SyncDtsStatusResponse, _err error)

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

*

  • If you have a large number of instances, you can create multiple tags and add these tags to the instances. Then, you can filter instances by tag.
  • * A tag consists of a key and a value. Each key must be unique in a region for an Alibaba Cloud account. Different keys can be mapped to the same value.
  • * If the tag that you specify does not exist, this tag is automatically created and added to the specified instance.
  • * If the key of the specified tag is the same as that of an existing tag, the specified tag overwrites the existing tag.
  • * You can add up to 20 tags to each instance.
  • * You can add tags to up to 50 instances in each request.
  • You can also add tags to instances in the ApsaraDB for Redis console. For more information, see [Create a tag](~~118779~~). *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

*

  • If you have a large number of instances, you can create multiple tags and add these tags to the instances. Then, you can filter instances by tag.
  • * A tag consists of a key and a value. Each key must be unique in a region for an Alibaba Cloud account. Different keys can be mapped to the same value.
  • * If the tag that you specify does not exist, this tag is automatically created and added to the specified instance.
  • * If the key of the specified tag is the same as that of an existing tag, the specified tag overwrites the existing tag.
  • * You can add up to 20 tags to each instance.
  • * You can add tags to up to 50 instances in each request.
  • You can also add tags to instances in the ApsaraDB for Redis console. For more information, see [Create a tag](~~118779~~). *
  • @param request TagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TagResourcesResponse

func (*Client) TransformInstanceChargeType

func (client *Client) TransformInstanceChargeType(request *TransformInstanceChargeTypeRequest) (_result *TransformInstanceChargeTypeResponse, _err error)

*

  • Before you call this operation, make sure that you understand relevant precautions and billing rules. For more information, see the following topics:
  • * [Change the billing method to subscription](~~54542~~).
  • * [Change the billing method to pay-as-you-go](~~211549~~). *
  • @param request TransformInstanceChargeTypeRequest
  • @return TransformInstanceChargeTypeResponse

func (*Client) TransformInstanceChargeTypeWithOptions

func (client *Client) TransformInstanceChargeTypeWithOptions(request *TransformInstanceChargeTypeRequest, runtime *util.RuntimeOptions) (_result *TransformInstanceChargeTypeResponse, _err error)

*

  • Before you call this operation, make sure that you understand relevant precautions and billing rules. For more information, see the following topics:
  • * [Change the billing method to subscription](~~54542~~).
  • * [Change the billing method to pay-as-you-go](~~211549~~). *
  • @param request TransformInstanceChargeTypeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TransformInstanceChargeTypeResponse

func (*Client) TransformToPrePaid

func (client *Client) TransformToPrePaid(request *TransformToPrePaidRequest) (_result *TransformToPrePaidResponse, _err error)

*

  • For more information about how to change the billing method in the ApsaraDB for Redis console, see [Switch to subscription](~~54542~~).
  • > You cannot change the billing method of an ApsaraDB for Redis instance from subscription to pay-as-you-go. *
  • @param request TransformToPrePaidRequest
  • @return TransformToPrePaidResponse

func (*Client) TransformToPrePaidWithOptions

func (client *Client) TransformToPrePaidWithOptions(request *TransformToPrePaidRequest, runtime *util.RuntimeOptions) (_result *TransformToPrePaidResponse, _err error)

*

  • For more information about how to change the billing method in the ApsaraDB for Redis console, see [Switch to subscription](~~54542~~).
  • > You cannot change the billing method of an ApsaraDB for Redis instance from subscription to pay-as-you-go. *
  • @param request TransformToPrePaidRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TransformToPrePaidResponse

func (*Client) UnlockDBInstanceWrite added in v3.2.0

func (client *Client) UnlockDBInstanceWrite(request *UnlockDBInstanceWriteRequest) (_result *UnlockDBInstanceWriteResponse, _err error)

func (*Client) UnlockDBInstanceWriteWithOptions added in v3.2.0

func (client *Client) UnlockDBInstanceWriteWithOptions(request *UnlockDBInstanceWriteRequest, runtime *util.RuntimeOptions) (_result *UnlockDBInstanceWriteResponse, _err error)

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

*

  • * You can remove up to 20 tags at a time.
  • * If a tag is removed from an instance and is not added to other instances, the tag is deleted.
  • You can also remove tags from instances in the ApsaraDB for Redis console. For more information, see [Remove a tag](~~119157~~). *
  • @param request UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

*

  • * You can remove up to 20 tags at a time.
  • * If a tag is removed from an instance and is not added to other instances, the tag is deleted.
  • You can also remove tags from instances in the ApsaraDB for Redis console. For more information, see [Remove a tag](~~119157~~). *
  • @param request UntagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

type CreateAccountRequest

type CreateAccountRequest struct {
	// The description of the account.
	//
	// *   The description must start with a letter, and cannot start with `http://` or `https://`.
	// *   The description can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The description must be 2 to 256 characters in length.
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The name of the account. The name must meet the following requirements:
	//
	// *   The name can contain lowercase letters, digits, and hyphens (-), and must start with a lowercase letter.
	// *   The name can be up to 100 characters in length.
	// *   The name cannot be one of the reserved words in the [Reserved words for Redis account names](~~92665~~#title-84o-mok-b6h) section.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password of the account. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The permissions of the account. Valid values:
	//
	// *   **RoleReadOnly**: The account has read-only permissions.
	// *   **RoleReadWrite**: The account has read and write permissions.
	AccountPrivilege *string `json:"AccountPrivilege,omitempty" xml:"AccountPrivilege,omitempty"`
	// The type of the account. Set the value to **Normal**, which indicates that the account is a standard account.
	AccountType *string `json:"AccountType,omitempty" xml:"AccountType,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (CreateAccountRequest) GoString

func (s CreateAccountRequest) GoString() string

func (*CreateAccountRequest) SetAccountDescription

func (s *CreateAccountRequest) SetAccountDescription(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetAccountName

func (s *CreateAccountRequest) SetAccountName(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetAccountPassword

func (s *CreateAccountRequest) SetAccountPassword(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetAccountPrivilege

func (s *CreateAccountRequest) SetAccountPrivilege(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetAccountType

func (s *CreateAccountRequest) SetAccountType(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetInstanceId

func (s *CreateAccountRequest) SetInstanceId(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetOwnerAccount

func (s *CreateAccountRequest) SetOwnerAccount(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetOwnerId

func (*CreateAccountRequest) SetResourceOwnerAccount

func (s *CreateAccountRequest) SetResourceOwnerAccount(v string) *CreateAccountRequest

func (*CreateAccountRequest) SetResourceOwnerId

func (s *CreateAccountRequest) SetResourceOwnerId(v int64) *CreateAccountRequest

func (*CreateAccountRequest) SetSecurityToken

func (s *CreateAccountRequest) SetSecurityToken(v string) *CreateAccountRequest

func (CreateAccountRequest) String

func (s CreateAccountRequest) String() string

type CreateAccountResponse

type CreateAccountResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAccountResponse) GoString

func (s CreateAccountResponse) GoString() string

func (*CreateAccountResponse) SetBody

func (*CreateAccountResponse) SetHeaders

func (*CreateAccountResponse) SetStatusCode

func (s *CreateAccountResponse) SetStatusCode(v int32) *CreateAccountResponse

func (CreateAccountResponse) String

func (s CreateAccountResponse) String() string

type CreateAccountResponseBody

type CreateAccountResponseBody struct {
	// The name of the account.
	AcountName *string `json:"AcountName,omitempty" xml:"AcountName,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAccountResponseBody) GoString

func (s CreateAccountResponseBody) GoString() string

func (*CreateAccountResponseBody) SetAcountName

func (*CreateAccountResponseBody) SetInstanceId

func (*CreateAccountResponseBody) SetRequestId

func (CreateAccountResponseBody) String

func (s CreateAccountResponseBody) String() string

type CreateBackupRequest

type CreateBackupRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (CreateBackupRequest) GoString

func (s CreateBackupRequest) GoString() string

func (*CreateBackupRequest) SetInstanceId

func (s *CreateBackupRequest) SetInstanceId(v string) *CreateBackupRequest

func (*CreateBackupRequest) SetOwnerAccount

func (s *CreateBackupRequest) SetOwnerAccount(v string) *CreateBackupRequest

func (*CreateBackupRequest) SetOwnerId

func (s *CreateBackupRequest) SetOwnerId(v int64) *CreateBackupRequest

func (*CreateBackupRequest) SetResourceOwnerAccount

func (s *CreateBackupRequest) SetResourceOwnerAccount(v string) *CreateBackupRequest

func (*CreateBackupRequest) SetResourceOwnerId

func (s *CreateBackupRequest) SetResourceOwnerId(v int64) *CreateBackupRequest

func (*CreateBackupRequest) SetSecurityToken

func (s *CreateBackupRequest) SetSecurityToken(v string) *CreateBackupRequest

func (CreateBackupRequest) String

func (s CreateBackupRequest) String() string

type CreateBackupResponse

type CreateBackupResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateBackupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateBackupResponse) GoString

func (s CreateBackupResponse) GoString() string

func (*CreateBackupResponse) SetBody

func (*CreateBackupResponse) SetHeaders

func (s *CreateBackupResponse) SetHeaders(v map[string]*string) *CreateBackupResponse

func (*CreateBackupResponse) SetStatusCode

func (s *CreateBackupResponse) SetStatusCode(v int32) *CreateBackupResponse

func (CreateBackupResponse) String

func (s CreateBackupResponse) String() string

type CreateBackupResponseBody

type CreateBackupResponseBody struct {
	// The ID of the backup task.\
	// For cluster instances created before December 5, 2023, the return value is a comma-separated list composed of the job ID of each node within an instance. For example, if you have a cluster instance with two shards, the return value of BackupJobID is "10000,10001".\
	// For cluster instance created after December 5, 2023, all jobs for nodes in an instance are represented by a single job ID.
	BackupJobID *string `json:"BackupJobID,omitempty" xml:"BackupJobID,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateBackupResponseBody) GoString

func (s CreateBackupResponseBody) GoString() string

func (*CreateBackupResponseBody) SetBackupJobID

func (*CreateBackupResponseBody) SetRequestId

func (CreateBackupResponseBody) String

func (s CreateBackupResponseBody) String() string

type CreateCacheAnalysisTaskRequest

type CreateCacheAnalysisTaskRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (CreateCacheAnalysisTaskRequest) GoString

func (*CreateCacheAnalysisTaskRequest) SetInstanceId

func (*CreateCacheAnalysisTaskRequest) SetOwnerAccount

func (*CreateCacheAnalysisTaskRequest) SetOwnerId

func (*CreateCacheAnalysisTaskRequest) SetResourceOwnerAccount

func (*CreateCacheAnalysisTaskRequest) SetResourceOwnerId

func (*CreateCacheAnalysisTaskRequest) SetSecurityToken

func (CreateCacheAnalysisTaskRequest) String

type CreateCacheAnalysisTaskResponse

type CreateCacheAnalysisTaskResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateCacheAnalysisTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateCacheAnalysisTaskResponse) GoString

func (*CreateCacheAnalysisTaskResponse) SetHeaders

func (*CreateCacheAnalysisTaskResponse) SetStatusCode

func (CreateCacheAnalysisTaskResponse) String

type CreateCacheAnalysisTaskResponseBody

type CreateCacheAnalysisTaskResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateCacheAnalysisTaskResponseBody) GoString

func (*CreateCacheAnalysisTaskResponseBody) SetRequestId

func (CreateCacheAnalysisTaskResponseBody) String

type CreateGlobalDistributeCacheRequest

type CreateGlobalDistributeCacheRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	//
	// **
	//
	// **Description** You can query resource group IDs by using the ApsaraDB for Redis console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The ID of the existing instance.
	SeedSubInstanceId *string `json:"SeedSubInstanceId,omitempty" xml:"SeedSubInstanceId,omitempty"`
}

func (CreateGlobalDistributeCacheRequest) GoString

func (*CreateGlobalDistributeCacheRequest) SetOwnerAccount

func (*CreateGlobalDistributeCacheRequest) SetOwnerId

func (*CreateGlobalDistributeCacheRequest) SetResourceGroupId added in v3.1.0

func (*CreateGlobalDistributeCacheRequest) SetResourceOwnerAccount

func (*CreateGlobalDistributeCacheRequest) SetResourceOwnerId

func (*CreateGlobalDistributeCacheRequest) SetSecurityToken

func (*CreateGlobalDistributeCacheRequest) SetSeedSubInstanceId

func (CreateGlobalDistributeCacheRequest) String

type CreateGlobalDistributeCacheResponse

type CreateGlobalDistributeCacheResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateGlobalDistributeCacheResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateGlobalDistributeCacheResponse) GoString

func (*CreateGlobalDistributeCacheResponse) SetHeaders

func (*CreateGlobalDistributeCacheResponse) SetStatusCode

func (CreateGlobalDistributeCacheResponse) String

type CreateGlobalDistributeCacheResponseBody

type CreateGlobalDistributeCacheResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateGlobalDistributeCacheResponseBody) GoString

func (*CreateGlobalDistributeCacheResponseBody) SetRequestId

func (CreateGlobalDistributeCacheResponseBody) String

type CreateGlobalSecurityIPGroupRequest added in v3.0.1

type CreateGlobalSecurityIPGroupRequest struct {
	// The IP address in the whitelist template.
	//
	// >  Separate multiple IP addresses with commas (,). You can create up to 1,000 IP addresses or CIDR blocks for all IP whitelists.
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// *   The name can contain lowercase letters, digits, and underscores (\_).
	// *   The name must start with a letter and end with a letter or digit.
	// *   The name must be 2 to 120 characters in length.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (CreateGlobalSecurityIPGroupRequest) GoString added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetGIpList added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetGlobalIgName added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetOwnerAccount added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetOwnerId added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetRegionId added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetResourceGroupId added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetResourceOwnerAccount added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetResourceOwnerId added in v3.0.1

func (*CreateGlobalSecurityIPGroupRequest) SetSecurityToken added in v3.0.1

func (CreateGlobalSecurityIPGroupRequest) String added in v3.0.1

type CreateGlobalSecurityIPGroupResponse added in v3.0.1

type CreateGlobalSecurityIPGroupResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateGlobalSecurityIPGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateGlobalSecurityIPGroupResponse) GoString added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponse) SetBody added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponse) SetHeaders added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponse) SetStatusCode added in v3.0.1

func (CreateGlobalSecurityIPGroupResponse) String added in v3.0.1

type CreateGlobalSecurityIPGroupResponseBody added in v3.0.1

type CreateGlobalSecurityIPGroupResponseBody struct {
	// 1
	GlobalSecurityIPGroup []*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup `json:"GlobalSecurityIPGroup,omitempty" xml:"GlobalSecurityIPGroup,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateGlobalSecurityIPGroupResponseBody) GoString added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponseBody) SetGlobalSecurityIPGroup added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponseBody) SetRequestId added in v3.0.1

func (CreateGlobalSecurityIPGroupResponseBody) String added in v3.0.1

type CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup added in v3.0.1

type CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup struct {
	// The IP address in the whitelist template.
	//
	// >  Multiple IP addresses are separated by commas (,). You can create up to 1,000 IP addresses or CIDR blocks for all IP whitelists.
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// *   The name can contain lowercase letters, digits, and underscores (\_).
	// *   The name must start with a letter and end with a letter or digit.
	// *   The name must be 2 to 120 characters in length.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) GoString added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGIpList added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalIgName added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalSecurityGroupId added in v3.0.1

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetRegionId added in v3.0.1

func (CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) String added in v3.0.1

type CreateInstanceRequest

type CreateInstanceRequest struct {
	// Specifies whether to enable append-only file (AOF) persistence for the instance. Valid values:
	//
	// *   **yes** (default): enables AOF persistence.
	// *   **no**: disables AOF persistence.
	//
	// **
	//
	// **Description** This parameter is applicable to classic instances, and is unavailable for cloud-native instances.
	Appendonly *string `json:"Appendonly,omitempty" xml:"Appendonly,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values:
	//
	// *   **true**: enables auto-renewal.
	// *   **false**: disables auto-renewal.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The subscription duration that is supported by auto-renewal. Unit: months. Valid values: **1**, **2**, **3**, **6**, and **12**.
	//
	// > This parameter is required only if the **AutoRenew** parameter is set to **true**.
	AutoRenewPeriod *string `json:"AutoRenewPeriod,omitempty" xml:"AutoRenewPeriod,omitempty"`
	// Specifies whether to use a coupon. Default value: false. Valid values:
	//
	// *   **true**: uses a coupon.
	// *   **false**: does not use a coupon.
	AutoUseCoupon *string `json:"AutoUseCoupon,omitempty" xml:"AutoUseCoupon,omitempty"`
	// The ID of the backup file of the original instance. If you want to create an instance based on a backup file of a specified instance, you can specify this parameter after you specify the **SrcDBInstanceId** parameter. Then, the system creates an instance based on the backup file that is specified by this parameter. You can call the [DescribeBackups](~~61081~~) operation to query the IDs of backup files.
	//
	// > After you specify the **SrcDBInstanceId** parameter, you must use the **BackupId** or **RestoreTime** parameter to specify the backup file.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the promotional event or business information.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The storage capacity of the instance. Unit: MB.
	//
	// > You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call this operation.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The billing method of the instance. Default value: PrePaid. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The backup set ID.
	ClusterBackupId *string `json:"ClusterBackupId,omitempty" xml:"ClusterBackupId,omitempty"`
	// The operation that you want to perform. Set the value to **AllocateInstancePublicConnection**.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The coupon code. Default value: `default`.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the dedicated cluster. This parameter is required if you create an instance in a dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Specifies whether to perform a dry run. Default value: false. Valid values:
	//
	// *   **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: performs a dry run and sends the request. If the request passes the dry run, the instance is created.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The database engine version of the instance. Valid values: **4.0**, **5.0**, **6.0**, and **7.0**.
	//
	// > The default value is **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Specifies whether to use the new instance as the first child instance of the distributed instance. Default value: false. Valid values:
	//
	// *   **true**: uses the new instance as the first child instance.
	// *   **false**: does not use the new instance as the first child instance.
	// *   If you want to create an ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance that runs Redis 5.0, you must set this parameter to **true**.
	//
	// *   This parameter is available only on the China site (aliyun.com).
	GlobalInstance *bool `json:"GlobalInstance,omitempty" xml:"GlobalInstance,omitempty"`
	// The ID of the distributed instance. This parameter is available only on the China site (aliyun.com).
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// The global IP whitelist template for the instance. Multiple IP whitelist templates should be separated by English commas (,) and cannot be duplicated.
	GlobalSecurityGroupIds *string `json:"GlobalSecurityGroupIds,omitempty" xml:"GlobalSecurityGroupIds,omitempty"`
	// The instance type. For example, redis.master.small.default indicates a Community Edition standard master-replica instance that has 1 GB of memory. For more information, see [Overview](~~26350~~).
	//
	// **
	//
	// **Description** You must specify at least one of the **Capacity** and **InstanceClass** parameters when you call the CreateInstance operation.
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The name of the instance. The name must be 2 to 80 characters in length and must start with a letter. It cannot contain spaces or specific special characters. These special characters include `@ / : = " < > { [ ] }`
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The category of the instance. Default value: Redis. Valid values:
	//
	// *   **Redis**
	// *   **Memcache**
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The network type of the instance. Default value: VPC. Valid values:
	//
	// *   **VPC**
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The node type. Valid values:
	//
	// *   **MASTER_SLAVE**: high availability (master-replica)
	// *   **STAND_ALONE**: standalone
	// *   **double**: master-replica
	// *   **single**: standalone
	//
	// >  To create a cloud-native instance, set this parameter to **MASTER_SLAVE** or **STAND_ALONE**. To create a classic instance, set this parameter to **double** or **single**.
	NodeType     *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The parameter template ID, which must be globally unique.
	ParamGroupId *string `json:"ParamGroupId,omitempty" xml:"ParamGroupId,omitempty"`
	// The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`
	Password *string `json:"Password,omitempty" xml:"Password,omitempty"`
	// The subscription duration. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**,**36**, and **60**. Unit: months.
	//
	// > This parameter is available and required only if the **ChargeType** parameter is set to **PrePaid**.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The port number that is used to connect to the instance. Valid values: **1024** to **65535**. Default value: **6379**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the instance.
	//
	// > The private IP address must be available within the CIDR block of the vSwitch to which to connect the instance.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The number of read-only nodes in the instance. This parameter is available only if you create a read/write splitting instance that uses cloud disks. Valid values: 1 to 5.
	ReadOnlyCount *int32 `json:"ReadOnlyCount,omitempty" xml:"ReadOnlyCount,omitempty"`
	// The ID of the region where you want to create the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time at which the specified original instance is backed up. The point in time must be within the retention period of backup files of the original instance. If you want to create an instance based on a backup file of a specified instance, you can set this parameter to specify a point in time after you set the **SrcDBInstanceId** parameter. Then, the system creates an instance based on the backup file that was created at the specified point in time for the original instance. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// > After you specify the **SrcDBInstanceId** parameter, you must use the **BackupId** or **RestoreTime** parameter to specify the backup file.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The secondary zone ID of the instance. You can call the [DescribeZones](~~472448~~) operation to query the most recent zone list.
	//
	// > If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	SecurityToken   *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The number of data shards. This parameter is available only if you create a cluster instance that uses cloud disks.
	ShardCount *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	// The ID of the original instance. If you want to create an instance based on a backup file of a specified instance, you can specify this parameter and use the **BackupId** or **RestoreTime** parameter to specify the backup file.
	SrcDBInstanceId *string `json:"SrcDBInstanceId,omitempty" xml:"SrcDBInstanceId,omitempty"`
	// The tags of the instance.
	Tag []*CreateInstanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	Token *string `json:"Token,omitempty" xml:"Token,omitempty"`
	// The ID of the vSwitch to which you want the instance to connect.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The primary zone ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateInstanceRequest) GoString

func (s CreateInstanceRequest) GoString() string

func (*CreateInstanceRequest) SetAppendonly added in v3.0.1

func (s *CreateInstanceRequest) SetAppendonly(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetAutoRenew

func (*CreateInstanceRequest) SetAutoRenewPeriod

func (s *CreateInstanceRequest) SetAutoRenewPeriod(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetAutoUseCoupon

func (s *CreateInstanceRequest) SetAutoUseCoupon(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetBackupId

func (*CreateInstanceRequest) SetBusinessInfo

func (s *CreateInstanceRequest) SetBusinessInfo(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetCapacity

func (*CreateInstanceRequest) SetChargeType

func (s *CreateInstanceRequest) SetChargeType(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetClusterBackupId added in v3.5.0

func (s *CreateInstanceRequest) SetClusterBackupId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetConnectionStringPrefix added in v3.0.2

func (s *CreateInstanceRequest) SetConnectionStringPrefix(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetCouponNo

func (*CreateInstanceRequest) SetDedicatedHostGroupId

func (s *CreateInstanceRequest) SetDedicatedHostGroupId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetDryRun

func (*CreateInstanceRequest) SetEngineVersion

func (s *CreateInstanceRequest) SetEngineVersion(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetGlobalInstance

func (s *CreateInstanceRequest) SetGlobalInstance(v bool) *CreateInstanceRequest

func (*CreateInstanceRequest) SetGlobalInstanceId

func (s *CreateInstanceRequest) SetGlobalInstanceId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetGlobalSecurityGroupIds added in v3.0.1

func (s *CreateInstanceRequest) SetGlobalSecurityGroupIds(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetInstanceClass

func (s *CreateInstanceRequest) SetInstanceClass(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetInstanceName

func (s *CreateInstanceRequest) SetInstanceName(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetInstanceType

func (s *CreateInstanceRequest) SetInstanceType(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetNetworkType

func (s *CreateInstanceRequest) SetNetworkType(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetNodeType added in v3.1.0

func (*CreateInstanceRequest) SetOwnerAccount

func (s *CreateInstanceRequest) SetOwnerAccount(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetOwnerId

func (*CreateInstanceRequest) SetParamGroupId added in v3.1.1

func (s *CreateInstanceRequest) SetParamGroupId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetPassword

func (*CreateInstanceRequest) SetPeriod

func (*CreateInstanceRequest) SetPort

func (*CreateInstanceRequest) SetPrivateIpAddress

func (s *CreateInstanceRequest) SetPrivateIpAddress(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetReadOnlyCount

func (s *CreateInstanceRequest) SetReadOnlyCount(v int32) *CreateInstanceRequest

func (*CreateInstanceRequest) SetRegionId

func (*CreateInstanceRequest) SetResourceGroupId

func (s *CreateInstanceRequest) SetResourceGroupId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetResourceOwnerAccount

func (s *CreateInstanceRequest) SetResourceOwnerAccount(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetResourceOwnerId

func (s *CreateInstanceRequest) SetResourceOwnerId(v int64) *CreateInstanceRequest

func (*CreateInstanceRequest) SetRestoreTime

func (s *CreateInstanceRequest) SetRestoreTime(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetSecondaryZoneId

func (s *CreateInstanceRequest) SetSecondaryZoneId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetSecurityToken

func (s *CreateInstanceRequest) SetSecurityToken(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetShardCount

func (s *CreateInstanceRequest) SetShardCount(v int32) *CreateInstanceRequest

func (*CreateInstanceRequest) SetSrcDBInstanceId

func (s *CreateInstanceRequest) SetSrcDBInstanceId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetTag

func (*CreateInstanceRequest) SetToken

func (*CreateInstanceRequest) SetVSwitchId

func (*CreateInstanceRequest) SetVpcId

func (*CreateInstanceRequest) SetZoneId

func (CreateInstanceRequest) String

func (s CreateInstanceRequest) String() string

type CreateInstanceRequestTag

type CreateInstanceRequestTag struct {
	// The keys of the tags that are added to the instance.
	//
	// >
	//
	// *   **N** specifies the serial number of the tag. Up to 20 tags can be added to a single instance. For example, Tag.1.Key specifies the key of the first tag and Tag.2.Key specifies the key of the second tag.
	//
	// *   If the key of the tag does not exist, the tag is automatically created.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the tags that are added to the instance.
	//
	// > **N** specifies the serial number of the tag. For example, **Tag.1.Value** specifies the value of the first tag and **Tag.2.Value** specifies the value of the second tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateInstanceRequestTag) GoString

func (s CreateInstanceRequestTag) GoString() string

func (*CreateInstanceRequestTag) SetKey

func (*CreateInstanceRequestTag) SetValue

func (CreateInstanceRequestTag) String

func (s CreateInstanceRequestTag) String() string

type CreateInstanceResponse

type CreateInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateInstanceResponse) GoString

func (s CreateInstanceResponse) GoString() string

func (*CreateInstanceResponse) SetBody

func (*CreateInstanceResponse) SetHeaders

func (*CreateInstanceResponse) SetStatusCode

func (CreateInstanceResponse) String

func (s CreateInstanceResponse) String() string

type CreateInstanceResponseBody

type CreateInstanceResponseBody struct {
	// The maximum bandwidth of the instance. Unit: MB/s.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The storage capacity of the instance. Unit: MB.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The configurations of the instance.
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The internal endpoint of the instance.
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The maximum number of connections supported by the instance.
	Connections *int64 `json:"Connections,omitempty" xml:"Connections,omitempty"`
	// The time when the subscription expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The GUID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The state of the instance. The return value is Creating.
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **CLASSIC**: classic network
	// *   **VPC**: VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The node type. Valid values:
	//
	// *   **STAND_ALONE**: standalone
	// *   **MASTER_SLAVE**: master-replica
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The port number that is used to connect to the instance.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the instance.
	PrivateIpAddr *string `json:"PrivateIpAddr,omitempty" xml:"PrivateIpAddr,omitempty"`
	// The expected maximum queries per second (QPS).
	QPS *int64 `json:"QPS,omitempty" xml:"QPS,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The username that is used to connect to the instance. By default, ApsaraDB for Redis provides a username that is named after the instance ID.
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
	// The ID of the vSwitch to which the instance is connected.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateInstanceResponseBody) GoString

func (s CreateInstanceResponseBody) GoString() string

func (*CreateInstanceResponseBody) SetBandwidth

func (*CreateInstanceResponseBody) SetCapacity

func (*CreateInstanceResponseBody) SetChargeType

func (*CreateInstanceResponseBody) SetConfig

func (*CreateInstanceResponseBody) SetConnectionDomain

func (*CreateInstanceResponseBody) SetConnections

func (*CreateInstanceResponseBody) SetEndTime

func (*CreateInstanceResponseBody) SetInstanceId

func (*CreateInstanceResponseBody) SetInstanceName

func (*CreateInstanceResponseBody) SetInstanceStatus

func (*CreateInstanceResponseBody) SetNetworkType

func (*CreateInstanceResponseBody) SetNodeType

func (*CreateInstanceResponseBody) SetOrderId

func (*CreateInstanceResponseBody) SetPort

func (*CreateInstanceResponseBody) SetPrivateIpAddr

func (*CreateInstanceResponseBody) SetQPS

func (*CreateInstanceResponseBody) SetRegionId

func (*CreateInstanceResponseBody) SetRequestId

func (*CreateInstanceResponseBody) SetUserName

func (*CreateInstanceResponseBody) SetVSwitchId

func (*CreateInstanceResponseBody) SetVpcId

func (*CreateInstanceResponseBody) SetZoneId

func (CreateInstanceResponseBody) String

type CreateInstancesRequest

type CreateInstancesRequest struct {
	// Specifies whether to enable automatic payment. Valid values:
	//
	// *   **true** (default).
	// *   **false**. If automatic payment is disabled, you must perform the following steps to complete the payment in the ApsaraDB for Redis console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.
	//
	// >  This parameter is valid only if the value of the **ChargeType** field in the **Instances** parameter is set to **PrePaid**.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no
	//
	// >  This parameter is available only if **ChargeType** in the **Instances** parameter is set to **PrePaid**.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The additional business information about the instance.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The database engine version of the instance. Valid values: **4.0** and **5.0**.
	//
	// >  The default value is **5.0**.
	//
	// Valid values:
	//
	// *   2.8
	// *   4.0
	// *   5.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The JSON-formatted configurations of the instance. For more information, see the "Description of the Instances parameter" section of this topic.
	Instances    *string `json:"Instances,omitempty" xml:"Instances,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Specifies whether to restore the source instance from the recycle bin. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// >  This parameter is valid only if the **SrcDBInstanceId** field in the **Instances** parameter is specified.
	RebuildInstance *bool `json:"RebuildInstance,omitempty" xml:"RebuildInstance,omitempty"`
	// The ID of the resource group to which to assign the instance.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	Token *string `json:"Token,omitempty" xml:"Token,omitempty"`
}

func (CreateInstancesRequest) GoString

func (s CreateInstancesRequest) GoString() string

func (*CreateInstancesRequest) SetAutoPay

func (*CreateInstancesRequest) SetAutoRenew

func (*CreateInstancesRequest) SetBusinessInfo

func (s *CreateInstancesRequest) SetBusinessInfo(v string) *CreateInstancesRequest

func (*CreateInstancesRequest) SetCouponNo

func (*CreateInstancesRequest) SetEngineVersion

func (s *CreateInstancesRequest) SetEngineVersion(v string) *CreateInstancesRequest

func (*CreateInstancesRequest) SetInstances

func (*CreateInstancesRequest) SetOwnerAccount

func (s *CreateInstancesRequest) SetOwnerAccount(v string) *CreateInstancesRequest

func (*CreateInstancesRequest) SetOwnerId

func (*CreateInstancesRequest) SetRebuildInstance

func (s *CreateInstancesRequest) SetRebuildInstance(v bool) *CreateInstancesRequest

func (*CreateInstancesRequest) SetResourceGroupId

func (s *CreateInstancesRequest) SetResourceGroupId(v string) *CreateInstancesRequest

func (*CreateInstancesRequest) SetResourceOwnerAccount

func (s *CreateInstancesRequest) SetResourceOwnerAccount(v string) *CreateInstancesRequest

func (*CreateInstancesRequest) SetResourceOwnerId

func (s *CreateInstancesRequest) SetResourceOwnerId(v int64) *CreateInstancesRequest

func (*CreateInstancesRequest) SetSecurityToken

func (s *CreateInstancesRequest) SetSecurityToken(v string) *CreateInstancesRequest

func (*CreateInstancesRequest) SetToken

func (CreateInstancesRequest) String

func (s CreateInstancesRequest) String() string

type CreateInstancesResponse

type CreateInstancesResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateInstancesResponse) GoString

func (s CreateInstancesResponse) GoString() string

func (*CreateInstancesResponse) SetBody

func (*CreateInstancesResponse) SetHeaders

func (*CreateInstancesResponse) SetStatusCode

func (CreateInstancesResponse) String

func (s CreateInstancesResponse) String() string

type CreateInstancesResponseBody

type CreateInstancesResponseBody struct {
	// The IDs of instances that were created.
	InstanceIds *CreateInstancesResponseBodyInstanceIds `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty" type:"Struct"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateInstancesResponseBody) GoString

func (s CreateInstancesResponseBody) GoString() string

func (*CreateInstancesResponseBody) SetInstanceIds

func (*CreateInstancesResponseBody) SetOrderId

func (*CreateInstancesResponseBody) SetRequestId

func (CreateInstancesResponseBody) String

type CreateInstancesResponseBodyInstanceIds

type CreateInstancesResponseBodyInstanceIds struct {
	InstanceId []*string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty" type:"Repeated"`
}

func (CreateInstancesResponseBodyInstanceIds) GoString

func (*CreateInstancesResponseBodyInstanceIds) SetInstanceId

func (CreateInstancesResponseBodyInstanceIds) String

type CreateTairInstanceRequest

type CreateTairInstanceRequest struct {
	// Specifies whether to enable automatic payment. Set the value to **true**.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values:
	//
	// *   **true**: enables auto-renewal.
	// *   **false**: disables auto-renewal.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The subscription duration that is supported by auto-renewal. Unit: months. Valid values: **1**, **2**, **3**, **6**, and **12**.
	//
	// > This parameter is required only if the **AutoRenew** parameter is set to **true**.
	AutoRenewPeriod *string `json:"AutoRenewPeriod,omitempty" xml:"AutoRenewPeriod,omitempty"`
	// Specifies whether to use a coupon. Default value: false. Valid values:
	//
	// *   **true**: uses a coupon.
	// *   **false**: does not use a coupon.
	AutoUseCoupon *string `json:"AutoUseCoupon,omitempty" xml:"AutoUseCoupon,omitempty"`
	// The ID of the backup set of the source instance. You can call the [DescribeBackups](~~61081~~) operation to query the ID of the backup set.
	//
	// > If you want to create an instance based on the backup set of an existing instance, you must specify this parameter after you specify the **SrcDBInstanceId** parameter. The system creates an instance based on the backup set that is specified by this parameter.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the promotion event or the business information.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The billing method of the instance. Default value: PrePaid. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the token is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// 集群备份集ID。
	ClusterBackupId *string `json:"ClusterBackupId,omitempty" xml:"ClusterBackupId,omitempty"`
	// The coupon code.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// Specifies whether to perform a dry run. Default value: false. Valid values:
	//
	// *   **true**: performs a dry run and does not create the instance. The system prechecks the request parameters, request format, service limits, and available resources. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
	// *   **false**: performs a dry run and sends the request. If the request passes the dry run, the instance is created.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The engine version. Default value: **1.0**. The parameter value varies with the Tair instance type.
	//
	// *   For Tair DRAM-based instances (tair_rdb) that are compatible with Redis 5.0 or 6.0, set this parameter to 5.0 or 6.0.
	// *   For Tair persistent memory-optimized instances (tair_scm) that are compatible with Redis 6.0, set this parameter to 1.0.
	// *   For Tair ESSD-based instances (tair_essd) that are compatible with Redis 4.0 or 6.0, set this parameter to 1.0 or 2.0.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// The global IP whitelist template of the instance. Separate multiple IP whitelist templates with commas (,) and make sure that each IP whitelist template is unique.
	GlobalSecurityGroupIds *string `json:"GlobalSecurityGroupIds,omitempty" xml:"GlobalSecurityGroupIds,omitempty"`
	// The instance type. For more information, see the following topics:
	//
	// *   [DRAM-based instances](~~443844~~)
	// *   [Persistent memory-optimized instances](~~443845~~)
	// *   [ESSD-based instances](~~443846~~)
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The name of the instance. The name must meet the following requirements:
	//
	// *   The name is 2 to 80 characters in length.
	// *   The name starts with a letter and does not contain spaces or special characters. Special characters include `@ / : = " < > { [ ] }`
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **tair_rdb**: ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
	// *   **tair_scm**: ApsaraDB for Redis Enhanced Edition (Tair) persistent memory-optimized instance
	// *   **tair_essd**: ApsaraDB for Redis Enhanced Edition (Tair) ESSD-based instance
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the parameter template. The instance is created based on the parameters in the parameter template. The ID must be unique.
	ParamGroupId *string `json:"ParamGroupId,omitempty" xml:"ParamGroupId,omitempty"`
	// The password that is used to connect to the instance. The password must meet the following requirements:
	//
	// *   The password is 8 to 32 characters in length.
	// *   The password contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `! @ # $ % ^ & * ( ) _ + - =`
	Password *string `json:"Password,omitempty" xml:"Password,omitempty"`
	// The subscription duration. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**,**36**, and **60**. Unit: months.
	//
	// > This parameter is required only if you set the **ChargeType** parameter to **PrePaid**.
	Period *int32 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The port number of the instance. Valid values: **1024** to **65535**. Default value: **6379**.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the instance.
	//
	// > The IP address must be within the CIDR block of the vSwitch to which you want the instance to connect. You can call the [DescribeVSwitches](~~35748~~) operation of the VPC API to query the CIDR block information.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The number of read-only nodes of the instance. This parameter is available only if you create a read/write splitting instance that uses cloud disks. You can use this parameter to specify a custom number of read-only nodes for the instance. Valid value: 1 to 5.
	ReadOnlyCount *int32 `json:"ReadOnlyCount,omitempty" xml:"ReadOnlyCount,omitempty"`
	// The ID of the region where you want to create the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which you want to assign the instance.
	//
	// >
	//
	// *   You can query resource group IDs by using the ApsaraDB for Redis console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).
	//
	// *   Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the current resource group of the instance.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the secondary zone. You can call the [DescribeRegions](~~61012~~) operation to query the ID of the secondary zone.
	//
	// > You cannot specify multiple zone IDs or set this parameter to a value that is the same as that of the ZoneId parameter.
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	SecurityToken   *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The number of data nodes in the instance. Valid values:
	//
	// *   **1**: You can create an instance in the standard architecture that contains only one data node. For more information about the standard architecture, see [Cluster master-replica instances](~~52228~~). This is the default value.
	// *   **2** to **32**: You can create an instance in the cluster architecture that contains the specified number of data nodes. For more information about the cluster architecture, see [Cluster master-replica instances](~~52228~~).
	//
	// > Only persistent memory-optimized instances can use the cluster architecture. Therefore, you can set this parameter to an integer from **2** to **32** only if you set the **InstanceType** parameter to **tair_scm**.
	ShardCount *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	// The data shard type of the instance. Default value: MASTER_SLAVE. Valid values:
	//
	// *   **MASTER_SLAVE**: runs in a master-replica architecture that provides high availability.
	// *   **STAND_ALONE**: runs in a standalone architecture. If the only node fails, the system creates a new instance and switches the workloads to the new instance. This may cause data loss. You can set this parameter to this value only if the instance uses the **single-zone** deployment type. If you set this parameter to this value, you cannot create cluster or read/write splitting instances.
	ShardType          *string `json:"ShardType,omitempty" xml:"ShardType,omitempty"`
	SlaveReadOnlyCount *int32  `json:"SlaveReadOnlyCount,omitempty" xml:"SlaveReadOnlyCount,omitempty"`
	// The ID of the source instance.
	//
	// > If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance and the **BackupId** parameter to the backup set that you want to use.
	SrcDBInstanceId *string `json:"SrcDBInstanceId,omitempty" xml:"SrcDBInstanceId,omitempty"`
	// The storage space of cloud disks. Valid values vary based on the instance specifications. For more information, see [ESSD-based instances](~~443846~~).
	//
	// > This parameter is available and required only if the **InstanceType** parameter is set to **tair_essd**.
	Storage *int32 `json:"Storage,omitempty" xml:"Storage,omitempty"`
	// The storage type of the instance. Set the value to **essd_pl1**.
	//
	// > This parameter is available only if the **InstanceType** parameter is set to **tair_essd**.
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The tags to add to the instance.
	Tag []*CreateTairInstanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the vSwitch that belongs to the VPC. You can call the [DescribeVpcs](~~35739~~) operation to query the ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC). You can call the [DescribeVpcs](~~35739~~) operation to query the ID of the VPC.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The primary zone ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the IDs of available zones.
	//
	// >  You can also set the SecondaryZoneId parameter to specify the secondary zone. The primary and secondary nodes will then be deployed in the specified primary and secondary zones to implement the master-replica zone-disaster recovery architecture. For example, you can set the ZoneId parameter to cn-hangzhou-h and the SecondaryZoneId parameter to cn-hangzhou-g.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateTairInstanceRequest) GoString

func (s CreateTairInstanceRequest) GoString() string

func (*CreateTairInstanceRequest) SetAutoPay

func (*CreateTairInstanceRequest) SetAutoRenew

func (*CreateTairInstanceRequest) SetAutoRenewPeriod

func (*CreateTairInstanceRequest) SetAutoUseCoupon

func (*CreateTairInstanceRequest) SetBackupId

func (*CreateTairInstanceRequest) SetBusinessInfo

func (*CreateTairInstanceRequest) SetChargeType

func (*CreateTairInstanceRequest) SetClientToken

func (*CreateTairInstanceRequest) SetClusterBackupId added in v3.5.0

func (*CreateTairInstanceRequest) SetCouponNo

func (*CreateTairInstanceRequest) SetDryRun added in v3.0.1

func (*CreateTairInstanceRequest) SetEngineVersion

func (*CreateTairInstanceRequest) SetGlobalInstanceId

func (s *CreateTairInstanceRequest) SetGlobalInstanceId(v string) *CreateTairInstanceRequest

func (*CreateTairInstanceRequest) SetGlobalSecurityGroupIds added in v3.0.1

func (s *CreateTairInstanceRequest) SetGlobalSecurityGroupIds(v string) *CreateTairInstanceRequest

func (*CreateTairInstanceRequest) SetInstanceClass

func (*CreateTairInstanceRequest) SetInstanceName

func (*CreateTairInstanceRequest) SetInstanceType

func (*CreateTairInstanceRequest) SetOwnerAccount

func (*CreateTairInstanceRequest) SetOwnerId

func (*CreateTairInstanceRequest) SetParamGroupId added in v3.1.0

func (*CreateTairInstanceRequest) SetPassword

func (*CreateTairInstanceRequest) SetPeriod

func (*CreateTairInstanceRequest) SetPort added in v3.0.1

func (*CreateTairInstanceRequest) SetPrivateIpAddress

func (s *CreateTairInstanceRequest) SetPrivateIpAddress(v string) *CreateTairInstanceRequest

func (*CreateTairInstanceRequest) SetReadOnlyCount

func (*CreateTairInstanceRequest) SetRegionId

func (*CreateTairInstanceRequest) SetResourceGroupId

func (*CreateTairInstanceRequest) SetResourceOwnerAccount

func (s *CreateTairInstanceRequest) SetResourceOwnerAccount(v string) *CreateTairInstanceRequest

func (*CreateTairInstanceRequest) SetResourceOwnerId

func (s *CreateTairInstanceRequest) SetResourceOwnerId(v int64) *CreateTairInstanceRequest

func (*CreateTairInstanceRequest) SetSecondaryZoneId

func (*CreateTairInstanceRequest) SetSecurityToken

func (*CreateTairInstanceRequest) SetShardCount

func (*CreateTairInstanceRequest) SetShardType

func (*CreateTairInstanceRequest) SetSlaveReadOnlyCount added in v3.5.3

func (s *CreateTairInstanceRequest) SetSlaveReadOnlyCount(v int32) *CreateTairInstanceRequest

func (*CreateTairInstanceRequest) SetSrcDBInstanceId

func (*CreateTairInstanceRequest) SetStorage

func (*CreateTairInstanceRequest) SetStorageType

func (*CreateTairInstanceRequest) SetTag added in v3.0.1

func (*CreateTairInstanceRequest) SetVSwitchId

func (*CreateTairInstanceRequest) SetVpcId

func (*CreateTairInstanceRequest) SetZoneId

func (CreateTairInstanceRequest) String

func (s CreateTairInstanceRequest) String() string

type CreateTairInstanceRequestTag added in v3.0.1

type CreateTairInstanceRequestTag struct {
	// The key of the tag. A tag is a key-value pair.
	//
	// > A maximum of five key-value pairs can be specified at a time.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// > **N** specifies the serial number of the tag. For example, **Tag.1.Value** specifies the value of the first tag, and **Tag.2.Value** specifies the value of the second tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateTairInstanceRequestTag) GoString added in v3.0.1

func (s CreateTairInstanceRequestTag) GoString() string

func (*CreateTairInstanceRequestTag) SetKey added in v3.0.1

func (*CreateTairInstanceRequestTag) SetValue added in v3.0.1

func (CreateTairInstanceRequestTag) String added in v3.0.1

type CreateTairInstanceResponse

type CreateTairInstanceResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateTairInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateTairInstanceResponse) GoString

func (s CreateTairInstanceResponse) GoString() string

func (*CreateTairInstanceResponse) SetBody

func (*CreateTairInstanceResponse) SetHeaders

func (*CreateTairInstanceResponse) SetStatusCode

func (CreateTairInstanceResponse) String

type CreateTairInstanceResponseBody

type CreateTairInstanceResponseBody struct {
	// The maximum bandwidth of the instance. Unit: MB/s.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The detailed configurations of the instance. The value is a JSON string. For more information about the parameter description, see [Modify the parameters of an ApsaraDB for Redis instance](~~43885~~).
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The internal endpoint of the instance.
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The maximum number of connections supported by the instance.
	Connections *int64 `json:"Connections,omitempty" xml:"Connections,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	//
	// **
	//
	// This parameter is returned only if the **InstanceName** parameter is specified in the request.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The state of the instance. The return value is **Creating**.
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The port number that is used to connect to the instance.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The maximum number of read and write operations that can be processed by the instance per second. The value is a theoretical value.
	QPS *int64 `json:"QPS,omitempty" xml:"QPS,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateTairInstanceResponseBody) GoString

func (*CreateTairInstanceResponseBody) SetBandwidth

func (*CreateTairInstanceResponseBody) SetChargeType

func (*CreateTairInstanceResponseBody) SetConfig

func (*CreateTairInstanceResponseBody) SetConnectionDomain

func (*CreateTairInstanceResponseBody) SetConnections

func (*CreateTairInstanceResponseBody) SetInstanceId

func (*CreateTairInstanceResponseBody) SetInstanceName

func (*CreateTairInstanceResponseBody) SetInstanceStatus

func (*CreateTairInstanceResponseBody) SetOrderId

func (*CreateTairInstanceResponseBody) SetPort

func (*CreateTairInstanceResponseBody) SetQPS

func (*CreateTairInstanceResponseBody) SetRegionId

func (*CreateTairInstanceResponseBody) SetRequestId

func (*CreateTairInstanceResponseBody) SetTaskId

func (*CreateTairInstanceResponseBody) SetZoneId

func (CreateTairInstanceResponseBody) String

type DeleteAccountRequest

type DeleteAccountRequest struct {
	// The username of the account. You can call the [DescribeAccounts](~~95802~~) operation to query the username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DeleteAccountRequest) GoString

func (s DeleteAccountRequest) GoString() string

func (*DeleteAccountRequest) SetAccountName

func (s *DeleteAccountRequest) SetAccountName(v string) *DeleteAccountRequest

func (*DeleteAccountRequest) SetInstanceId

func (s *DeleteAccountRequest) SetInstanceId(v string) *DeleteAccountRequest

func (*DeleteAccountRequest) SetOwnerAccount

func (s *DeleteAccountRequest) SetOwnerAccount(v string) *DeleteAccountRequest

func (*DeleteAccountRequest) SetOwnerId

func (*DeleteAccountRequest) SetResourceOwnerAccount

func (s *DeleteAccountRequest) SetResourceOwnerAccount(v string) *DeleteAccountRequest

func (*DeleteAccountRequest) SetResourceOwnerId

func (s *DeleteAccountRequest) SetResourceOwnerId(v int64) *DeleteAccountRequest

func (*DeleteAccountRequest) SetSecurityToken

func (s *DeleteAccountRequest) SetSecurityToken(v string) *DeleteAccountRequest

func (DeleteAccountRequest) String

func (s DeleteAccountRequest) String() string

type DeleteAccountResponse

type DeleteAccountResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteAccountResponse) GoString

func (s DeleteAccountResponse) GoString() string

func (*DeleteAccountResponse) SetBody

func (*DeleteAccountResponse) SetHeaders

func (*DeleteAccountResponse) SetStatusCode

func (s *DeleteAccountResponse) SetStatusCode(v int32) *DeleteAccountResponse

func (DeleteAccountResponse) String

func (s DeleteAccountResponse) String() string

type DeleteAccountResponseBody

type DeleteAccountResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteAccountResponseBody) GoString

func (s DeleteAccountResponseBody) GoString() string

func (*DeleteAccountResponseBody) SetRequestId

func (DeleteAccountResponseBody) String

func (s DeleteAccountResponseBody) String() string

type DeleteGlobalSecurityIPGroupRequest added in v3.0.1

type DeleteGlobalSecurityIPGroupRequest struct {
	// The name of the global IP whitelist template. The name must meet the following requirements:
	//
	// *   The name can contain lowercase letters, digits, and underscores (\_).
	// *   The name must start with a letter and end with a letter or a digit.
	// *   The name must be 2 to 120 characters in length.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	OwnerAccount          *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId               *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DeleteGlobalSecurityIPGroupRequest) GoString added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetGlobalIgName added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetGlobalSecurityGroupId added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetOwnerAccount added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetOwnerId added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetRegionId added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetResourceGroupId added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetResourceOwnerAccount added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetResourceOwnerId added in v3.0.1

func (*DeleteGlobalSecurityIPGroupRequest) SetSecurityToken added in v3.0.1

func (DeleteGlobalSecurityIPGroupRequest) String added in v3.0.1

type DeleteGlobalSecurityIPGroupResponse added in v3.0.1

type DeleteGlobalSecurityIPGroupResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteGlobalSecurityIPGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteGlobalSecurityIPGroupResponse) GoString added in v3.0.1

func (*DeleteGlobalSecurityIPGroupResponse) SetBody added in v3.0.1

func (*DeleteGlobalSecurityIPGroupResponse) SetHeaders added in v3.0.1

func (*DeleteGlobalSecurityIPGroupResponse) SetStatusCode added in v3.0.1

func (DeleteGlobalSecurityIPGroupResponse) String added in v3.0.1

type DeleteGlobalSecurityIPGroupResponseBody added in v3.0.1

type DeleteGlobalSecurityIPGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteGlobalSecurityIPGroupResponseBody) GoString added in v3.0.1

func (*DeleteGlobalSecurityIPGroupResponseBody) SetRequestId added in v3.0.1

func (DeleteGlobalSecurityIPGroupResponseBody) String added in v3.0.1

type DeleteInstanceRequest

type DeleteInstanceRequest struct {
	// The ID of the distributed instance to which the instance belongs. This parameter is applicable to only China site (aliyun.com).
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// The ID of the instance that you want to release.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DeleteInstanceRequest) GoString

func (s DeleteInstanceRequest) GoString() string

func (*DeleteInstanceRequest) SetGlobalInstanceId

func (s *DeleteInstanceRequest) SetGlobalInstanceId(v string) *DeleteInstanceRequest

func (*DeleteInstanceRequest) SetInstanceId

func (s *DeleteInstanceRequest) SetInstanceId(v string) *DeleteInstanceRequest

func (*DeleteInstanceRequest) SetOwnerAccount

func (s *DeleteInstanceRequest) SetOwnerAccount(v string) *DeleteInstanceRequest

func (*DeleteInstanceRequest) SetOwnerId

func (*DeleteInstanceRequest) SetResourceOwnerAccount

func (s *DeleteInstanceRequest) SetResourceOwnerAccount(v string) *DeleteInstanceRequest

func (*DeleteInstanceRequest) SetResourceOwnerId

func (s *DeleteInstanceRequest) SetResourceOwnerId(v int64) *DeleteInstanceRequest

func (*DeleteInstanceRequest) SetSecurityToken

func (s *DeleteInstanceRequest) SetSecurityToken(v string) *DeleteInstanceRequest

func (DeleteInstanceRequest) String

func (s DeleteInstanceRequest) String() string

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteInstanceResponse) GoString

func (s DeleteInstanceResponse) GoString() string

func (*DeleteInstanceResponse) SetBody

func (*DeleteInstanceResponse) SetHeaders

func (*DeleteInstanceResponse) SetStatusCode

func (DeleteInstanceResponse) String

func (s DeleteInstanceResponse) String() string

type DeleteInstanceResponseBody

type DeleteInstanceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteInstanceResponseBody) GoString

func (s DeleteInstanceResponseBody) GoString() string

func (*DeleteInstanceResponseBody) SetRequestId

func (DeleteInstanceResponseBody) String

type DeleteShardingNodeRequest

type DeleteShardingNodeRequest struct {
	// Specifies whether to enable forced transmission during a configuration change. Valid values:
	//
	// *   **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.
	// *   **true**: The system skips the version check and directly performs the configuration change.
	ForceTrans *bool `json:"ForceTrans,omitempty" xml:"ForceTrans,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Deprecated
	// The ID of the data shard that you want to remove. You can specify multiple IDs at a time. Separate multiple IDs with commas (,).
	//
	// > If you specify both the NodeId and ShardCount parameters, the system prioritizes the NodeId parameter.
	NodeId               *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The number of data shards that you want to remove. Shard removal starts from the end of the shard list.
	//
	// > For example, the instance has the following data shards: db-0, db-1, db-2, db-3, and db-4. In this case, if you set this parameter to 2, db-3 and db-4 are removed.
	ShardCount *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
}

func (DeleteShardingNodeRequest) GoString

func (s DeleteShardingNodeRequest) GoString() string

func (*DeleteShardingNodeRequest) SetForceTrans added in v3.0.2

func (*DeleteShardingNodeRequest) SetInstanceId

func (*DeleteShardingNodeRequest) SetNodeId

func (*DeleteShardingNodeRequest) SetOwnerAccount

func (*DeleteShardingNodeRequest) SetOwnerId

func (*DeleteShardingNodeRequest) SetResourceOwnerAccount

func (s *DeleteShardingNodeRequest) SetResourceOwnerAccount(v string) *DeleteShardingNodeRequest

func (*DeleteShardingNodeRequest) SetResourceOwnerId

func (s *DeleteShardingNodeRequest) SetResourceOwnerId(v int64) *DeleteShardingNodeRequest

func (*DeleteShardingNodeRequest) SetSecurityToken

func (*DeleteShardingNodeRequest) SetShardCount

func (DeleteShardingNodeRequest) String

func (s DeleteShardingNodeRequest) String() string

type DeleteShardingNodeResponse

type DeleteShardingNodeResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteShardingNodeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteShardingNodeResponse) GoString

func (s DeleteShardingNodeResponse) GoString() string

func (*DeleteShardingNodeResponse) SetBody

func (*DeleteShardingNodeResponse) SetHeaders

func (*DeleteShardingNodeResponse) SetStatusCode

func (DeleteShardingNodeResponse) String

type DeleteShardingNodeResponseBody

type DeleteShardingNodeResponseBody struct {
	// The ID of the order. On the Orders page in the Billing Management console, you can obtain the details of the order based on the order ID.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteShardingNodeResponseBody) GoString

func (*DeleteShardingNodeResponseBody) SetOrderId added in v3.0.1

func (*DeleteShardingNodeResponseBody) SetRequestId

func (DeleteShardingNodeResponseBody) String

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	// The name of the account that you want to query.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeAccountsRequest) GoString

func (s DescribeAccountsRequest) GoString() string

func (*DescribeAccountsRequest) SetAccountName

func (*DescribeAccountsRequest) SetInstanceId

func (*DescribeAccountsRequest) SetOwnerAccount

func (*DescribeAccountsRequest) SetOwnerId

func (*DescribeAccountsRequest) SetResourceOwnerAccount

func (s *DescribeAccountsRequest) SetResourceOwnerAccount(v string) *DescribeAccountsRequest

func (*DescribeAccountsRequest) SetResourceOwnerId

func (s *DescribeAccountsRequest) SetResourceOwnerId(v int64) *DescribeAccountsRequest

func (*DescribeAccountsRequest) SetSecurityToken

func (s *DescribeAccountsRequest) SetSecurityToken(v string) *DescribeAccountsRequest

func (DescribeAccountsRequest) String

func (s DescribeAccountsRequest) String() string

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeAccountsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeAccountsResponse) GoString

func (s DescribeAccountsResponse) GoString() string

func (*DescribeAccountsResponse) SetBody

func (*DescribeAccountsResponse) SetHeaders

func (*DescribeAccountsResponse) SetStatusCode

func (DescribeAccountsResponse) String

func (s DescribeAccountsResponse) String() string

type DescribeAccountsResponseBody

type DescribeAccountsResponseBody struct {
	// Details about returned accounts of the instance.
	Accounts *DescribeAccountsResponseBodyAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAccountsResponseBody) GoString

func (s DescribeAccountsResponseBody) GoString() string

func (*DescribeAccountsResponseBody) SetAccounts

func (*DescribeAccountsResponseBody) SetRequestId

func (DescribeAccountsResponseBody) String

type DescribeAccountsResponseBodyAccounts

type DescribeAccountsResponseBodyAccounts struct {
	Account []*DescribeAccountsResponseBodyAccountsAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Repeated"`
}

func (DescribeAccountsResponseBodyAccounts) GoString

func (DescribeAccountsResponseBodyAccounts) String

type DescribeAccountsResponseBodyAccountsAccount

type DescribeAccountsResponseBodyAccountsAccount struct {
	// The description of the account.
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The state of the account. Valid values:
	//
	// *   **Unavailable**: The account is unavailable.
	// *   **Available**: The account is available.
	AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"`
	// The type of the account. Valid values:
	//
	// *   **Normal**: standard account
	// *   **Super**: super account
	AccountType *string `json:"AccountType,omitempty" xml:"AccountType,omitempty"`
	// Details about account permissions.
	DatabasePrivileges *DescribeAccountsResponseBodyAccountsAccountDatabasePrivileges `json:"DatabasePrivileges,omitempty" xml:"DatabasePrivileges,omitempty" type:"Struct"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (DescribeAccountsResponseBodyAccountsAccount) GoString

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountDescription

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountName

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountStatus

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountType

func (*DescribeAccountsResponseBodyAccountsAccount) SetInstanceId

func (DescribeAccountsResponseBodyAccountsAccount) String

type DescribeAccountsResponseBodyAccountsAccountDatabasePrivileges

type DescribeAccountsResponseBodyAccountsAccountDatabasePrivileges struct {
	DatabasePrivilege []*DescribeAccountsResponseBodyAccountsAccountDatabasePrivilegesDatabasePrivilege `json:"DatabasePrivilege,omitempty" xml:"DatabasePrivilege,omitempty" type:"Repeated"`
}

func (DescribeAccountsResponseBodyAccountsAccountDatabasePrivileges) GoString

func (DescribeAccountsResponseBodyAccountsAccountDatabasePrivileges) String

type DescribeAccountsResponseBodyAccountsAccountDatabasePrivilegesDatabasePrivilege

type DescribeAccountsResponseBodyAccountsAccountDatabasePrivilegesDatabasePrivilege struct {
	// The permission of the account. Default value: RoleReadWrite. Valid values:
	//
	// *   **RoleReadOnly**: The account has the read-only permissions.
	// *   **RoleReadWrite**: The account has the read and write permissions.
	AccountPrivilege *string `json:"AccountPrivilege,omitempty" xml:"AccountPrivilege,omitempty"`
}

func (DescribeAccountsResponseBodyAccountsAccountDatabasePrivilegesDatabasePrivilege) GoString

func (*DescribeAccountsResponseBodyAccountsAccountDatabasePrivilegesDatabasePrivilege) SetAccountPrivilege

func (DescribeAccountsResponseBodyAccountsAccountDatabasePrivilegesDatabasePrivilege) String

type DescribeActiveOperationTaskRequest

type DescribeActiveOperationTaskRequest struct {
	// Specifies whether to return the historical tasks. Default value: 0. Valid values:
	//
	// *   **0**: returns the current task.
	// *   **1**: returns the historical tasks.
	IsHistory    *int32  `json:"IsHistory,omitempty" xml:"IsHistory,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Specify a value greater than **10**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the O&M task. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the most recent region list.
	//
	// > A value of **all** indicates all region IDs.
	Region               *string `json:"Region,omitempty" xml:"Region,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The type of the O&M task. Valid values:
	//
	// *   **rds_apsaradb_ha**: master-replica switchover
	// *   **rds_apsaradb_transfer**: instance migration
	// *   **rds_apsaradb_upgrade**: minor version update
	// *   **all**: all types
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
}

func (DescribeActiveOperationTaskRequest) GoString

func (*DescribeActiveOperationTaskRequest) SetIsHistory

func (*DescribeActiveOperationTaskRequest) SetOwnerAccount

func (*DescribeActiveOperationTaskRequest) SetOwnerId

func (*DescribeActiveOperationTaskRequest) SetPageNumber

func (*DescribeActiveOperationTaskRequest) SetPageSize

func (*DescribeActiveOperationTaskRequest) SetRegion

func (*DescribeActiveOperationTaskRequest) SetResourceOwnerAccount

func (*DescribeActiveOperationTaskRequest) SetResourceOwnerId

func (*DescribeActiveOperationTaskRequest) SetSecurityToken

func (*DescribeActiveOperationTaskRequest) SetTaskType

func (DescribeActiveOperationTaskRequest) String

type DescribeActiveOperationTaskResponse

type DescribeActiveOperationTaskResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeActiveOperationTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeActiveOperationTaskResponse) GoString

func (*DescribeActiveOperationTaskResponse) SetHeaders

func (*DescribeActiveOperationTaskResponse) SetStatusCode

func (DescribeActiveOperationTaskResponse) String

type DescribeActiveOperationTaskResponseBody

type DescribeActiveOperationTaskResponseBody struct {
	// Details of O\&M tasks.
	Items []*DescribeActiveOperationTaskResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The maximum number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeActiveOperationTaskResponseBody) GoString

func (*DescribeActiveOperationTaskResponseBody) SetPageNumber

func (*DescribeActiveOperationTaskResponseBody) SetPageSize

func (*DescribeActiveOperationTaskResponseBody) SetRequestId

func (*DescribeActiveOperationTaskResponseBody) SetTotalRecordCount

func (DescribeActiveOperationTaskResponseBody) String

type DescribeActiveOperationTaskResponseBodyItems

type DescribeActiveOperationTaskResponseBodyItems struct {
	// The time when the O\&M task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The database type of the instance. The return value is **Redis**.
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The deadline before which the time to preform the O&M task can be modified. The time in UTC is displayed in the *yyyy-MM-dd*T*HH:mm:ss*Z format.
	Deadline *string `json:"Deadline,omitempty" xml:"Deadline,omitempty"`
	// The ID of the O&M task.
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The ID of the instance.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The time when the O\&M task was modified. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
	ModifiedTime *string `json:"ModifiedTime,omitempty" xml:"ModifiedTime,omitempty"`
	// The required preparation period between the task start time and the switchover time. The time is displayed in the *HH:mm:ss* format.
	PrepareInterval *string `json:"PrepareInterval,omitempty" xml:"PrepareInterval,omitempty"`
	// The region ID of the instance.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The time when the O\&M task was preformed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The state of the O&M task. Valid values:
	//
	// *   **2**: The task is waiting for users to specify a switchover time.
	// *   **3**: The task is waiting to be performed.
	// *   **4**: The task is being performed. If the task is in this state, the [ModifyActiveOperationTask](~~ModifyActiveOperationTask~~) operation cannot be called to modify the scheduled switchover time.
	// *   **5**: The task is performed.
	// *   **6**: The task fails.
	// *   **7**: The task is canceled.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the system performs the switchover operation. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The type of the task. Valid values:
	//
	// *   **rds_apsaradb_ha**: master-replica switchover
	// *   **rds_apsaradb_transfer**: instance migration
	// *   **rds_apsaradb_upgrade**: minor version update
	// *   **all**: all types
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
}

func (DescribeActiveOperationTaskResponseBodyItems) GoString

func (*DescribeActiveOperationTaskResponseBodyItems) SetCreatedTime

func (*DescribeActiveOperationTaskResponseBodyItems) SetDbType

func (*DescribeActiveOperationTaskResponseBodyItems) SetDeadline

func (*DescribeActiveOperationTaskResponseBodyItems) SetId

func (*DescribeActiveOperationTaskResponseBodyItems) SetInsName

func (*DescribeActiveOperationTaskResponseBodyItems) SetModifiedTime

func (*DescribeActiveOperationTaskResponseBodyItems) SetPrepareInterval

func (*DescribeActiveOperationTaskResponseBodyItems) SetRegion

func (*DescribeActiveOperationTaskResponseBodyItems) SetStartTime

func (*DescribeActiveOperationTaskResponseBodyItems) SetStatus

func (*DescribeActiveOperationTaskResponseBodyItems) SetSwitchTime

func (*DescribeActiveOperationTaskResponseBodyItems) SetTaskType

func (DescribeActiveOperationTaskResponseBodyItems) String

type DescribeAuditLogConfigRequest

type DescribeAuditLogConfigRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance. You can call the [DescribeInstanceAttribute](~~60996~~) operation to query the region ID of the instance.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeAuditLogConfigRequest) GoString

func (*DescribeAuditLogConfigRequest) SetInstanceId

func (*DescribeAuditLogConfigRequest) SetOwnerAccount

func (*DescribeAuditLogConfigRequest) SetOwnerId

func (*DescribeAuditLogConfigRequest) SetRegionId

func (*DescribeAuditLogConfigRequest) SetResourceOwnerAccount

func (*DescribeAuditLogConfigRequest) SetResourceOwnerId

func (*DescribeAuditLogConfigRequest) SetSecurityToken

func (DescribeAuditLogConfigRequest) String

type DescribeAuditLogConfigResponse

type DescribeAuditLogConfigResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeAuditLogConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeAuditLogConfigResponse) GoString

func (*DescribeAuditLogConfigResponse) SetHeaders

func (*DescribeAuditLogConfigResponse) SetStatusCode

func (DescribeAuditLogConfigResponse) String

type DescribeAuditLogConfigResponseBody

type DescribeAuditLogConfigResponseBody struct {
	// Indicates whether the audit log feature is enabled. Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	//
	// > You can call the [ModifyAuditLogConfig](~~130206~~) operation to enable or disable the audit log feature for an ApsaraDB for Redis instance.
	DbAudit *string `json:"DbAudit,omitempty" xml:"DbAudit,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The retention period of audit logs. Unit: days.
	Retention *string `json:"Retention,omitempty" xml:"Retention,omitempty"`
}

func (DescribeAuditLogConfigResponseBody) GoString

func (*DescribeAuditLogConfigResponseBody) SetDbAudit

func (*DescribeAuditLogConfigResponseBody) SetRequestId

func (*DescribeAuditLogConfigResponseBody) SetRetention

func (DescribeAuditLogConfigResponseBody) String

type DescribeAuditRecordsRequest

type DescribeAuditRecordsRequest struct {
	// The username of the account. If you do not specify this parameter, this call applies to all accounts of the instance.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The name of the database in the instance. If you do not specify this parameter, all databases are queried. Valid values: 0 to 255. 0 specifies the database 0.
	DatabaseName *string `json:"DatabaseName,omitempty" xml:"DatabaseName,omitempty"`
	// The end of the time range to query. The end time must be later than the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// > We recommend that you specify a time range of 10 minutes or less because audit logs contain a great number of entries. Do not specify a time range that is longer than one day.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The IP address of the client. If you do not specify this parameter, this call applies to all clients.
	HostAddress *string `json:"HostAddress,omitempty" xml:"HostAddress,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node in the instance. You can set this parameter to query the data of a specified node.
	//
	// >
	//
	// *   This parameter is available only for read/write splitting or cluster instances of ApsaraDB for Redis.
	//
	// *   You can call the [DescribeLogicInstanceTopology](~~94665~~) operation to query node IDs.
	NodeId       *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keyword based on which the audit logs are queried. You can specify a command as a keyword to query logs. By default, all commands are queried.
	//
	// > You can specify only a single keyword in each call.
	QueryKeywords        *string `json:"QueryKeywords,omitempty" xml:"QueryKeywords,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeAuditRecordsRequest) GoString

func (s DescribeAuditRecordsRequest) GoString() string

func (*DescribeAuditRecordsRequest) SetAccountName

func (*DescribeAuditRecordsRequest) SetDatabaseName

func (*DescribeAuditRecordsRequest) SetEndTime

func (*DescribeAuditRecordsRequest) SetHostAddress

func (*DescribeAuditRecordsRequest) SetInstanceId

func (*DescribeAuditRecordsRequest) SetNodeId

func (*DescribeAuditRecordsRequest) SetOwnerAccount

func (*DescribeAuditRecordsRequest) SetOwnerId

func (*DescribeAuditRecordsRequest) SetPageNumber

func (*DescribeAuditRecordsRequest) SetPageSize

func (*DescribeAuditRecordsRequest) SetQueryKeywords

func (*DescribeAuditRecordsRequest) SetResourceOwnerAccount

func (s *DescribeAuditRecordsRequest) SetResourceOwnerAccount(v string) *DescribeAuditRecordsRequest

func (*DescribeAuditRecordsRequest) SetResourceOwnerId

func (*DescribeAuditRecordsRequest) SetSecurityToken

func (*DescribeAuditRecordsRequest) SetStartTime

func (DescribeAuditRecordsRequest) String

type DescribeAuditRecordsResponse

type DescribeAuditRecordsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeAuditRecordsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeAuditRecordsResponse) GoString

func (s DescribeAuditRecordsResponse) GoString() string

func (*DescribeAuditRecordsResponse) SetBody

func (*DescribeAuditRecordsResponse) SetHeaders

func (*DescribeAuditRecordsResponse) SetStatusCode

func (DescribeAuditRecordsResponse) String

type DescribeAuditRecordsResponseBody

type DescribeAuditRecordsResponseBody struct {
	// The end time of the query.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The collection of returned audit log entries.
	Items *DescribeAuditRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The maximum number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The start time of the query.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeAuditRecordsResponseBody) GoString

func (*DescribeAuditRecordsResponseBody) SetEndTime

func (*DescribeAuditRecordsResponseBody) SetInstanceName

func (*DescribeAuditRecordsResponseBody) SetPageNumber

func (*DescribeAuditRecordsResponseBody) SetPageSize

func (*DescribeAuditRecordsResponseBody) SetRequestId

func (*DescribeAuditRecordsResponseBody) SetStartTime

func (*DescribeAuditRecordsResponseBody) SetTotalRecordCount

func (DescribeAuditRecordsResponseBody) String

type DescribeAuditRecordsResponseBodyItems

type DescribeAuditRecordsResponseBodyItems struct {
	SQL []*DescribeAuditRecordsResponseBodyItemsSQL `json:"SQL,omitempty" xml:"SQL,omitempty" type:"Repeated"`
}

func (DescribeAuditRecordsResponseBodyItems) GoString

func (DescribeAuditRecordsResponseBodyItems) String

type DescribeAuditRecordsResponseBodyItemsSQL

type DescribeAuditRecordsResponseBodyItemsSQL struct {
	// The username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The database name.
	DatabaseName *string `json:"DatabaseName,omitempty" xml:"DatabaseName,omitempty"`
	// The time when the command was run.
	ExecuteTime *string `json:"ExecuteTime,omitempty" xml:"ExecuteTime,omitempty"`
	// The IP address of the client.
	HostAddress *string `json:"HostAddress,omitempty" xml:"HostAddress,omitempty"`
	// The IP address of the instance.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The ID of the node.
	//
	// > A specific node ID is returned only if the instance uses the cluster or read/write splitting architecture.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The command that was run.
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
	// The type of the command.
	SQLType *string `json:"SQLType,omitempty" xml:"SQLType,omitempty"`
	// The amount of time consumed to run the command.
	TotalExecutionTimes *string `json:"TotalExecutionTimes,omitempty" xml:"TotalExecutionTimes,omitempty"`
}

func (DescribeAuditRecordsResponseBodyItemsSQL) GoString

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetAccountName

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetDatabaseName

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetExecuteTime

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetHostAddress

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetIPAddress

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetNodeId

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetSQLText

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetSQLType

func (*DescribeAuditRecordsResponseBodyItemsSQL) SetTotalExecutionTimes

func (DescribeAuditRecordsResponseBodyItemsSQL) String

type DescribeAvailableResourceRequest

type DescribeAvailableResourceRequest struct {
	// The display language of the response. Default value: zh-CN. Valid values:
	//
	// *   **zh-CN**: Chinese
	// *   **en-US**: English
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	// The category of the instance. Valid values:
	//
	// *   **Redis**
	// *   **Memcache**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	//
	// > The default value is **PrePaid**.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" xml:"InstanceChargeType,omitempty"`
	// The ID of the instance.
	//
	// > This parameter is available and required only if the **OrderType** parameter is set to **UPGRADE** or **DOWNGRADE**.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The edition of the instance. Valid values:
	//
	// *   **professional**: Standard Edition. This edition supports the standalone, master-replica, read /write splitting, and cluster architectures and provides high scalability.
	InstanceScene *string `json:"InstanceScene,omitempty" xml:"InstanceScene,omitempty"`
	// The ID of the data node for which you want to query available resources that can be created. You can call the [DescribeLogicInstanceTopology](~~94665~~) operation to query the ID of the data node. Remove the number sign (`#`) and the content that follows the number sign. For example, retain only r-bp10noxlhcoim2\*\*\*\*-db-0.
	//
	// > Before you specify this parameter, you must set the **InstanceId** parameter to the ID of an instance that uses the cluster or read/write splitting architecture.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The type of the order. Default value: BUY. Valid values:
	//
	// *   **BUY**: orders that are newly created
	// *   **UPGRADE**: orders that are used to upgrade instances
	// *   **DOWNGRADE**: orders that are used to downgrade instances
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The series of the instance. Valid values:
	//
	// *   **Local**: classic ApsaraDB for Redis Community Edition instance or classic ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
	// *   **Tair_rdb**: cloud-native ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
	// *   **Tair_scm**: ApsaraDB for Redis Enhanced Edition (Tair) persistent memory-optimized instance
	// *   **Tair_essd**: ApsaraDB for Redis Enhanced Edition (Tair) ESSD-based instance
	// *   **OnECS**: cloud-native ApsaraDB for Redis Community Edition instance
	ProductType *string `json:"ProductType,omitempty" xml:"ProductType,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~158855~~) operation to query the IDs of resource groups.
	//
	// > You can also query the IDs of resource groups in the Resource Management console. For more information, see [View basic information about a resource group](~~151181~~).
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The zone ID of the instance. You can call the [DescribeZones](~~94527~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailableResourceRequest) GoString

func (*DescribeAvailableResourceRequest) SetAcceptLanguage

func (*DescribeAvailableResourceRequest) SetEngine

func (*DescribeAvailableResourceRequest) SetInstanceChargeType

func (*DescribeAvailableResourceRequest) SetInstanceId

func (*DescribeAvailableResourceRequest) SetInstanceScene added in v3.1.0

func (*DescribeAvailableResourceRequest) SetNodeId

func (*DescribeAvailableResourceRequest) SetOrderType

func (*DescribeAvailableResourceRequest) SetOwnerAccount

func (*DescribeAvailableResourceRequest) SetOwnerId

func (*DescribeAvailableResourceRequest) SetProductType

func (*DescribeAvailableResourceRequest) SetRegionId

func (*DescribeAvailableResourceRequest) SetResourceGroupId

func (*DescribeAvailableResourceRequest) SetResourceOwnerAccount

func (*DescribeAvailableResourceRequest) SetResourceOwnerId

func (*DescribeAvailableResourceRequest) SetSecurityToken

func (*DescribeAvailableResourceRequest) SetZoneId

func (DescribeAvailableResourceRequest) String

type DescribeAvailableResourceResponse

type DescribeAvailableResourceResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeAvailableResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeAvailableResourceResponse) GoString

func (*DescribeAvailableResourceResponse) SetHeaders

func (*DescribeAvailableResourceResponse) SetStatusCode

func (DescribeAvailableResourceResponse) String

type DescribeAvailableResourceResponseBody

type DescribeAvailableResourceResponseBody struct {
	// Details of the zones.
	AvailableZones *DescribeAvailableResourceResponseBodyAvailableZones `json:"AvailableZones,omitempty" xml:"AvailableZones,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailableResourceResponseBody) GoString

func (*DescribeAvailableResourceResponseBody) SetRequestId

func (DescribeAvailableResourceResponseBody) String

type DescribeAvailableResourceResponseBodyAvailableZones

type DescribeAvailableResourceResponseBodyAvailableZones struct {
	AvailableZone []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone `json:"AvailableZone,omitempty" xml:"AvailableZone,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZones) GoString

func (DescribeAvailableResourceResponseBodyAvailableZones) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone struct {
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The available database engines.
	SupportedEngines *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEngines `json:"SupportedEngines,omitempty" xml:"SupportedEngines,omitempty" type:"Struct"`
	// The ID of the zone in which the instance is located.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The name of the zone.
	ZoneName *string `json:"ZoneName,omitempty" xml:"ZoneName,omitempty"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone) GoString

func (*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone) SetRegionId

func (*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone) SetZoneId

func (*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone) SetZoneName

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZone) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEngines

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEngines struct {
	SupportedEngine []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngine `json:"SupportedEngine,omitempty" xml:"SupportedEngine,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEngines) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEngines) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngine

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngine struct {
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The available instance editions.
	SupportedEditionTypes *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypes `json:"SupportedEditionTypes,omitempty" xml:"SupportedEditionTypes,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngine) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngine) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypes

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypes struct {
	SupportedEditionType []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionType `json:"SupportedEditionType,omitempty" xml:"SupportedEditionType,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypes) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypes) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionType

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionType struct {
	// The edition of the instance. Valid values:
	//
	// *   **Community**: Community Edition
	// *   **Enterprise**: Enhanced Edition (Tair)
	EditionType *string `json:"EditionType,omitempty" xml:"EditionType,omitempty"`
	// The available instance series.
	SupportedSeriesTypes *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypes `json:"SupportedSeriesTypes,omitempty" xml:"SupportedSeriesTypes,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionType) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionType) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypes

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypes struct {
	SupportedSeriesType []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesType `json:"SupportedSeriesType,omitempty" xml:"SupportedSeriesType,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypes) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypes) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesType

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesType struct {
	// The instance series. Valid values:
	//
	// *   **enhanced_performance_type**: ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based instance
	// *   **hybrid_storage**: ApsaraDB for Redis Community Edition hybrid-storage instance
	SeriesType *string `json:"SeriesType,omitempty" xml:"SeriesType,omitempty"`
	// The available engine versions.
	SupportedEngineVersions *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersions `json:"SupportedEngineVersions,omitempty" xml:"SupportedEngineVersions,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesType) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesType) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersions

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersions struct {
	SupportedEngineVersion []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersion `json:"SupportedEngineVersion,omitempty" xml:"SupportedEngineVersion,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersions) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersions) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersion

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersion struct {
	// The available instance architectures.
	SupportedArchitectureTypes *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypes `json:"SupportedArchitectureTypes,omitempty" xml:"SupportedArchitectureTypes,omitempty" type:"Struct"`
	// The engine version of the instance.
	Version *string `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersion) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersion) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypes

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypes struct {
	SupportedArchitectureType []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureType `json:"SupportedArchitectureType,omitempty" xml:"SupportedArchitectureType,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypes) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypes) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureType

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureType struct {
	// The architecture of the instance. Valid values:
	//
	// *   **standard**: standard architecture
	// *   **cluster**: cluster architecture
	// *   **rwsplit**: read/write splitting architecture
	Architecture *string `json:"Architecture,omitempty" xml:"Architecture,omitempty"`
	// The numbers of shards that are allowed.
	SupportedShardNumbers *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbers `json:"SupportedShardNumbers,omitempty" xml:"SupportedShardNumbers,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureType) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureType) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbers

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbers struct {
	SupportedShardNumber []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumber `json:"SupportedShardNumber,omitempty" xml:"SupportedShardNumber,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbers) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbers) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumber

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumber struct {
	// The number of shards.
	ShardNumber *string `json:"ShardNumber,omitempty" xml:"ShardNumber,omitempty"`
	// The available node types.
	SupportedNodeTypes *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypes `json:"SupportedNodeTypes,omitempty" xml:"SupportedNodeTypes,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumber) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumber) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypes

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypes struct {
	SupportedNodeType []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeType `json:"SupportedNodeType,omitempty" xml:"SupportedNodeType,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypes) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypes) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeType

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeType struct {
	// The available instance types.
	AvailableResources *DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResources `json:"AvailableResources,omitempty" xml:"AvailableResources,omitempty" type:"Struct"`
	// The node type of the instance. Valid values:
	//
	// *   **single**: standalone
	// *   **double**: master-replica
	SupportedNodeType *string `json:"SupportedNodeType,omitempty" xml:"SupportedNodeType,omitempty"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeType) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeType) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResources

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResources struct {
	AvailableResource []*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource `json:"AvailableResource,omitempty" xml:"AvailableResource,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResources) GoString

func (*DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResources) SetAvailableResource

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResources) String

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource

type DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource struct {
	// The memory size of the instance. Unit: MB.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The code of the instance type. If you want to view the code of an instance type, you can search for the code of the instance type in Help Center.
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The description of the instance type.
	InstanceClassRemark *string `json:"InstanceClassRemark,omitempty" xml:"InstanceClassRemark,omitempty"`
}

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource) GoString

func (DescribeAvailableResourceResponseBodyAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEditionTypesSupportedEditionTypeSupportedSeriesTypesSupportedSeriesTypeSupportedEngineVersionsSupportedEngineVersionSupportedArchitectureTypesSupportedArchitectureTypeSupportedShardNumbersSupportedShardNumberSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource) String

type DescribeBackupPolicyRequest

type DescribeBackupPolicyRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeBackupPolicyRequest) GoString

func (s DescribeBackupPolicyRequest) GoString() string

func (*DescribeBackupPolicyRequest) SetInstanceId

func (*DescribeBackupPolicyRequest) SetOwnerAccount

func (*DescribeBackupPolicyRequest) SetOwnerId

func (*DescribeBackupPolicyRequest) SetResourceOwnerAccount

func (s *DescribeBackupPolicyRequest) SetResourceOwnerAccount(v string) *DescribeBackupPolicyRequest

func (*DescribeBackupPolicyRequest) SetResourceOwnerId

func (*DescribeBackupPolicyRequest) SetSecurityToken

func (DescribeBackupPolicyRequest) String

type DescribeBackupPolicyResponse

type DescribeBackupPolicyResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeBackupPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeBackupPolicyResponse) GoString

func (s DescribeBackupPolicyResponse) GoString() string

func (*DescribeBackupPolicyResponse) SetBody

func (*DescribeBackupPolicyResponse) SetHeaders

func (*DescribeBackupPolicyResponse) SetStatusCode

func (DescribeBackupPolicyResponse) String

type DescribeBackupPolicyResponseBody

type DescribeBackupPolicyResponseBody struct {
	AccessDeniedDetail *DescribeBackupPolicyResponseBodyAccessDeniedDetail `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty" type:"Struct"`
	// The retention period of the backup data. Unit: days.
	BackupRetentionPeriod *string `json:"BackupRetentionPeriod,omitempty" xml:"BackupRetentionPeriod,omitempty"`
	DbsInstance           *string `json:"DbsInstance,omitempty" xml:"DbsInstance,omitempty"`
	// Indicates whether incremental data backup is enabled. Valid values:
	//
	// *   **1**: Incremental data backup is enabled.
	// *   **0**: Incremental data backup is disabled.
	EnableBackupLog *int32 `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// The backup cycle. Valid values:
	//
	// *   **Monday**
	// *   **Tuesday**
	// *   **Wednesday**
	// *   **Thursday**
	// *   **Friday**
	// *   **Saturday**
	// *   **Sunday**
	PreferredBackupPeriod *string `json:"PreferredBackupPeriod,omitempty" xml:"PreferredBackupPeriod,omitempty"`
	// The time range during which the backup was created. The time follows the ISO 8601 standard in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.
	PreferredBackupTime *string `json:"PreferredBackupTime,omitempty" xml:"PreferredBackupTime,omitempty"`
	// The next backup time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	PreferredNextBackupTime *string `json:"PreferredNextBackupTime,omitempty" xml:"PreferredNextBackupTime,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBackupPolicyResponseBody) GoString

func (*DescribeBackupPolicyResponseBody) SetAccessDeniedDetail added in v3.1.0

func (*DescribeBackupPolicyResponseBody) SetBackupRetentionPeriod

func (*DescribeBackupPolicyResponseBody) SetDbsInstance added in v3.1.3

func (*DescribeBackupPolicyResponseBody) SetEnableBackupLog

func (*DescribeBackupPolicyResponseBody) SetPreferredBackupPeriod

func (*DescribeBackupPolicyResponseBody) SetPreferredBackupTime

func (*DescribeBackupPolicyResponseBody) SetPreferredNextBackupTime

func (*DescribeBackupPolicyResponseBody) SetRequestId

func (DescribeBackupPolicyResponseBody) String

type DescribeBackupPolicyResponseBodyAccessDeniedDetail added in v3.1.0

type DescribeBackupPolicyResponseBodyAccessDeniedDetail struct {
	AuthAction               *string `json:"AuthAction,omitempty" xml:"AuthAction,omitempty"`
	AuthPrincipalDisplayName *string `json:"AuthPrincipalDisplayName,omitempty" xml:"AuthPrincipalDisplayName,omitempty"`
	AuthPrincipalOwnerId     *string `json:"AuthPrincipalOwnerId,omitempty" xml:"AuthPrincipalOwnerId,omitempty"`
	AuthPrincipalType        *string `json:"AuthPrincipalType,omitempty" xml:"AuthPrincipalType,omitempty"`
	EncodedDiagnosticMessage *string `json:"EncodedDiagnosticMessage,omitempty" xml:"EncodedDiagnosticMessage,omitempty"`
	NoPermissionType         *string `json:"NoPermissionType,omitempty" xml:"NoPermissionType,omitempty"`
	PolicyType               *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (DescribeBackupPolicyResponseBodyAccessDeniedDetail) GoString added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetAuthAction added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetAuthPrincipalDisplayName added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetAuthPrincipalOwnerId added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetAuthPrincipalType added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetEncodedDiagnosticMessage added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetNoPermissionType added in v3.1.0

func (*DescribeBackupPolicyResponseBodyAccessDeniedDetail) SetPolicyType added in v3.1.0

func (DescribeBackupPolicyResponseBodyAccessDeniedDetail) String added in v3.1.0

type DescribeBackupTasksRequest

type DescribeBackupTasksRequest struct {
	// The progress of the backup task in percentage.
	BackupJobId *string `json:"BackupJobId,omitempty" xml:"BackupJobId,omitempty"`
	// The details of the backup tasks.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The backup mode. Valid values:
	//
	// *   **Automated**: automatic backup. You can call the [DescribeBackupPolicy](~~61078~~) operation to query the automatic backup policy.
	// *   **Manual**: manual backup.
	//
	// > By default, the information about backup tasks in both modes is returned.
	JobMode              *string `json:"JobMode,omitempty" xml:"JobMode,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeBackupTasksRequest) GoString

func (s DescribeBackupTasksRequest) GoString() string

func (*DescribeBackupTasksRequest) SetBackupJobId

func (*DescribeBackupTasksRequest) SetInstanceId

func (*DescribeBackupTasksRequest) SetJobMode

func (*DescribeBackupTasksRequest) SetOwnerAccount

func (*DescribeBackupTasksRequest) SetOwnerId

func (*DescribeBackupTasksRequest) SetResourceOwnerAccount

func (s *DescribeBackupTasksRequest) SetResourceOwnerAccount(v string) *DescribeBackupTasksRequest

func (*DescribeBackupTasksRequest) SetResourceOwnerId

func (*DescribeBackupTasksRequest) SetSecurityToken

func (DescribeBackupTasksRequest) String

type DescribeBackupTasksResponse

type DescribeBackupTasksResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeBackupTasksResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeBackupTasksResponse) GoString

func (s DescribeBackupTasksResponse) GoString() string

func (*DescribeBackupTasksResponse) SetBody

func (*DescribeBackupTasksResponse) SetHeaders

func (*DescribeBackupTasksResponse) SetStatusCode

func (DescribeBackupTasksResponse) String

type DescribeBackupTasksResponseBody

type DescribeBackupTasksResponseBody struct {
	// The following parameters are internal parameters. Ignore the parameters.
	AccessDeniedDetail *DescribeBackupTasksResponseBodyAccessDeniedDetail `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty" type:"Struct"`
	// The details of the backup tasks.
	BackupJobs []*DescribeBackupTasksResponseBodyBackupJobs `json:"BackupJobs,omitempty" xml:"BackupJobs,omitempty" type:"Repeated"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The status of the backup task. Valid values:
	//
	// *   **NoStart**: The backup task is not started.
	// *   **Preparing**: The backup task is being prepared.
	// *   **Waiting**: The backup task is pending.
	// *   **Uploading:** The system is uploading the backup file.
	// *   **Checking:** The system is checking the uploaded backup file.
	// *   **Finished**: The backup task is complete.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBackupTasksResponseBody) GoString

func (*DescribeBackupTasksResponseBody) SetAccessDeniedDetail added in v3.1.0

func (*DescribeBackupTasksResponseBody) SetInstanceId

func (*DescribeBackupTasksResponseBody) SetRequestId

func (DescribeBackupTasksResponseBody) String

type DescribeBackupTasksResponseBodyAccessDeniedDetail added in v3.1.0

type DescribeBackupTasksResponseBodyAccessDeniedDetail struct {
	// An internal parameter. Ignore this parameter.
	AuthAction *string `json:"AuthAction,omitempty" xml:"AuthAction,omitempty"`
	// An internal parameter. Ignore this parameter.
	AuthPrincipalDisplayName *string `json:"AuthPrincipalDisplayName,omitempty" xml:"AuthPrincipalDisplayName,omitempty"`
	// An internal parameter. Ignore this parameter.
	AuthPrincipalOwnerId *string `json:"AuthPrincipalOwnerId,omitempty" xml:"AuthPrincipalOwnerId,omitempty"`
	// An internal parameter. Ignore this parameter.
	AuthPrincipalType *string `json:"AuthPrincipalType,omitempty" xml:"AuthPrincipalType,omitempty"`
	// An internal parameter. Ignore this parameter.
	EncodedDiagnosticMessage *string `json:"EncodedDiagnosticMessage,omitempty" xml:"EncodedDiagnosticMessage,omitempty"`
	// An internal parameter. Ignore this parameter.
	NoPermissionType *string `json:"NoPermissionType,omitempty" xml:"NoPermissionType,omitempty"`
	// An internal parameter. Ignore this parameter.
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (DescribeBackupTasksResponseBodyAccessDeniedDetail) GoString added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetAuthAction added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetAuthPrincipalDisplayName added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetAuthPrincipalOwnerId added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetAuthPrincipalType added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetEncodedDiagnosticMessage added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetNoPermissionType added in v3.1.0

func (*DescribeBackupTasksResponseBodyAccessDeniedDetail) SetPolicyType added in v3.1.0

func (DescribeBackupTasksResponseBodyAccessDeniedDetail) String added in v3.1.0

type DescribeBackupTasksResponseBodyBackupJobs

type DescribeBackupTasksResponseBodyBackupJobs struct {
	// The ID of the backup task.
	BackupJobID *int32 `json:"BackupJobID,omitempty" xml:"BackupJobID,omitempty"`
	// The state of the backup task. Valid values:
	//
	// *   **NoStart**: The backup task is not started.
	// *   **Preparing**: The backup task is being prepared.
	// *   **Waiting**: The backup task is pending.
	// *   **Uploading**: The system is uploading the backup file.
	// *   **Checking**: The system is checking the uploaded backup file.
	// *   **Finished**: The backup task is completed.
	BackupProgressStatus *string `json:"BackupProgressStatus,omitempty" xml:"BackupProgressStatus,omitempty"`
	// The backup mode. Valid values:
	//
	// *   **Automated**: automatic backup
	// *   **Manual**: manual backup
	JobMode *string `json:"JobMode,omitempty" xml:"JobMode,omitempty"`
	// The ID of the data node.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The progress of the backup task in percentage.
	Process *string `json:"Process,omitempty" xml:"Process,omitempty"`
	// The start time of the backup task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The type of the backup task. Valid values:
	//
	// *   **TempBackupTask**: The backup task was manually performed.
	// *   **NormalBackupTask**: The backup task was automatically performed.
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
}

func (DescribeBackupTasksResponseBodyBackupJobs) GoString

func (*DescribeBackupTasksResponseBodyBackupJobs) SetBackupJobID

func (*DescribeBackupTasksResponseBodyBackupJobs) SetBackupProgressStatus

func (*DescribeBackupTasksResponseBodyBackupJobs) SetJobMode

func (*DescribeBackupTasksResponseBodyBackupJobs) SetNodeId

func (*DescribeBackupTasksResponseBodyBackupJobs) SetProcess

func (*DescribeBackupTasksResponseBodyBackupJobs) SetStartTime

func (*DescribeBackupTasksResponseBodyBackupJobs) SetTaskAction

func (DescribeBackupTasksResponseBodyBackupJobs) String

type DescribeBackupsRequest

type DescribeBackupsRequest struct {
	// The ID of the backup file.
	BackupId    *int32 `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	BackupJobId *int32 `json:"BackupJobId,omitempty" xml:"BackupJobId,omitempty"`
	// The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance whose backup files you want to query.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Specifies whether to enable append-only files (AOFs) persistence. Valid values:
	//
	// *   **0**: no
	// *   **1**: yes
	//
	// >  The default value is **0**.
	NeedAof      *string `json:"NeedAof,omitempty" xml:"NeedAof,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: 30, 50, 100, 200, and 300.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeBackupsRequest) GoString

func (s DescribeBackupsRequest) GoString() string

func (*DescribeBackupsRequest) SetBackupId

func (*DescribeBackupsRequest) SetBackupJobId added in v3.5.0

func (s *DescribeBackupsRequest) SetBackupJobId(v int32) *DescribeBackupsRequest

func (*DescribeBackupsRequest) SetEndTime

func (*DescribeBackupsRequest) SetInstanceId

func (*DescribeBackupsRequest) SetNeedAof

func (*DescribeBackupsRequest) SetOwnerAccount

func (s *DescribeBackupsRequest) SetOwnerAccount(v string) *DescribeBackupsRequest

func (*DescribeBackupsRequest) SetOwnerId

func (*DescribeBackupsRequest) SetPageNumber

func (*DescribeBackupsRequest) SetPageSize

func (*DescribeBackupsRequest) SetResourceOwnerAccount

func (s *DescribeBackupsRequest) SetResourceOwnerAccount(v string) *DescribeBackupsRequest

func (*DescribeBackupsRequest) SetResourceOwnerId

func (s *DescribeBackupsRequest) SetResourceOwnerId(v int64) *DescribeBackupsRequest

func (*DescribeBackupsRequest) SetSecurityToken

func (s *DescribeBackupsRequest) SetSecurityToken(v string) *DescribeBackupsRequest

func (*DescribeBackupsRequest) SetStartTime

func (DescribeBackupsRequest) String

func (s DescribeBackupsRequest) String() string

type DescribeBackupsResponse

type DescribeBackupsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeBackupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeBackupsResponse) GoString

func (s DescribeBackupsResponse) GoString() string

func (*DescribeBackupsResponse) SetBody

func (*DescribeBackupsResponse) SetHeaders

func (*DescribeBackupsResponse) SetStatusCode

func (DescribeBackupsResponse) String

func (s DescribeBackupsResponse) String() string

type DescribeBackupsResponseBody

type DescribeBackupsResponseBody struct {
	AccessDeniedDetail *DescribeBackupsResponseBodyAccessDeniedDetail `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty" type:"Struct"`
	// Details of the backup files.
	Backups         *DescribeBackupsResponseBodyBackups `json:"Backups,omitempty" xml:"Backups,omitempty" type:"Struct"`
	FreeSize        *int64                              `json:"FreeSize,omitempty" xml:"FreeSize,omitempty"`
	FullStorageSize *int64                              `json:"FullStorageSize,omitempty" xml:"FullStorageSize,omitempty"`
	LogStorageSize  *int64                              `json:"LogStorageSize,omitempty" xml:"LogStorageSize,omitempty"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of backup files that were returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeBackupsResponseBody) GoString

func (s DescribeBackupsResponseBody) GoString() string

func (*DescribeBackupsResponseBody) SetAccessDeniedDetail added in v3.1.0

func (*DescribeBackupsResponseBody) SetBackups

func (*DescribeBackupsResponseBody) SetFreeSize added in v3.5.2

func (*DescribeBackupsResponseBody) SetFullStorageSize added in v3.5.2

func (*DescribeBackupsResponseBody) SetLogStorageSize added in v3.5.2

func (*DescribeBackupsResponseBody) SetPageNumber

func (*DescribeBackupsResponseBody) SetPageSize

func (*DescribeBackupsResponseBody) SetRequestId

func (*DescribeBackupsResponseBody) SetTotalCount

func (DescribeBackupsResponseBody) String

type DescribeBackupsResponseBodyAccessDeniedDetail added in v3.1.0

type DescribeBackupsResponseBodyAccessDeniedDetail struct {
	AuthAction               *string `json:"AuthAction,omitempty" xml:"AuthAction,omitempty"`
	AuthPrincipalDisplayName *string `json:"AuthPrincipalDisplayName,omitempty" xml:"AuthPrincipalDisplayName,omitempty"`
	AuthPrincipalOwnerId     *string `json:"AuthPrincipalOwnerId,omitempty" xml:"AuthPrincipalOwnerId,omitempty"`
	AuthPrincipalType        *string `json:"AuthPrincipalType,omitempty" xml:"AuthPrincipalType,omitempty"`
	EncodedDiagnosticMessage *string `json:"EncodedDiagnosticMessage,omitempty" xml:"EncodedDiagnosticMessage,omitempty"`
	NoPermissionType         *string `json:"NoPermissionType,omitempty" xml:"NoPermissionType,omitempty"`
	PolicyType               *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (DescribeBackupsResponseBodyAccessDeniedDetail) GoString added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetAuthAction added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetAuthPrincipalDisplayName added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetAuthPrincipalOwnerId added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetAuthPrincipalType added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetEncodedDiagnosticMessage added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetNoPermissionType added in v3.1.0

func (*DescribeBackupsResponseBodyAccessDeniedDetail) SetPolicyType added in v3.1.0

func (DescribeBackupsResponseBodyAccessDeniedDetail) String added in v3.1.0

type DescribeBackupsResponseBodyBackups

type DescribeBackupsResponseBodyBackups struct {
	Backup []*DescribeBackupsResponseBodyBackupsBackup `json:"Backup,omitempty" xml:"Backup,omitempty" type:"Repeated"`
}

func (DescribeBackupsResponseBodyBackups) GoString

func (DescribeBackupsResponseBodyBackups) String

type DescribeBackupsResponseBodyBackupsBackup

type DescribeBackupsResponseBodyBackupsBackup struct {
	// The databases that are backed up. Default value: **all**, which indicates that all databases are backed up.
	BackupDBNames *string `json:"BackupDBNames,omitempty" xml:"BackupDBNames,omitempty"`
	// The public download URL of the backup file.
	BackupDownloadURL *string `json:"BackupDownloadURL,omitempty" xml:"BackupDownloadURL,omitempty"`
	// The end time of the backup.
	BackupEndTime *string `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	// The ID of the backup file.
	BackupId *int32 `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The internal download URL of the backup file.
	//
	// >  You can download the backup file by using this URL from the Elastic Compute Service (ECS) instance that is connected to the ApsaraDB for Redis instance. The ECS instance and ApsaraDB for Redis instance must reside in the classic network or the same virtual private cloud (VPC) within the same region.
	BackupIntranetDownloadURL *string `json:"BackupIntranetDownloadURL,omitempty" xml:"BackupIntranetDownloadURL,omitempty"`
	// The ID of the backup task.
	BackupJobID *int32 `json:"BackupJobID,omitempty" xml:"BackupJobID,omitempty"`
	// The backup method. Valid values:
	//
	// *   **Logical**
	// *   **Physical**
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The backup mode. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The size of the backup file.
	BackupSize *int64 `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	// The start time of the backup.
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The state of the backup task. Valid values:
	//
	// *   **Success**: The task is successful.
	// *   **Failed**: The task failed.
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The backup type of the backup file. Valid values:
	//
	// *   **FullBackup**
	// *   **IncrementalBackup**
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// The major engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The node ID.
	//
	// >  If a standard instance is used, the instance ID is returned.
	NodeInstanceId *string `json:"NodeInstanceId,omitempty" xml:"NodeInstanceId,omitempty"`
}

func (DescribeBackupsResponseBodyBackupsBackup) GoString

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupDBNames

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupDownloadURL

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupEndTime

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupId

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupIntranetDownloadURL

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupJobID added in v3.0.1

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupMethod

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupMode

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupSize

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupStartTime

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupStatus

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupType

func (*DescribeBackupsResponseBodyBackupsBackup) SetEngineVersion

func (*DescribeBackupsResponseBodyBackupsBackup) SetNodeInstanceId

func (DescribeBackupsResponseBodyBackupsBackup) String

type DescribeCacheAnalysisReportListRequest

type DescribeCacheAnalysisReportListRequest struct {
	// The time range to query. Default value: 7. Unit: days.
	//
	// > If daily automatic analysis has not started and manual analysis is not performed, no records are returned.
	Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the child node in the cluster instance.
	//
	// > If this parameter is not specified, the analysis results of all child nodes in the instance are returned.
	NodeId       *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return.
	PageNumbers *int32 `json:"PageNumbers,omitempty" xml:"PageNumbers,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**.
	//
	// > The default value is **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeCacheAnalysisReportListRequest) GoString

func (*DescribeCacheAnalysisReportListRequest) SetDays

func (*DescribeCacheAnalysisReportListRequest) SetInstanceId

func (*DescribeCacheAnalysisReportListRequest) SetNodeId

func (*DescribeCacheAnalysisReportListRequest) SetOwnerAccount

func (*DescribeCacheAnalysisReportListRequest) SetOwnerId

func (*DescribeCacheAnalysisReportListRequest) SetPageNumbers

func (*DescribeCacheAnalysisReportListRequest) SetPageSize

func (*DescribeCacheAnalysisReportListRequest) SetResourceOwnerAccount

func (*DescribeCacheAnalysisReportListRequest) SetResourceOwnerId

func (*DescribeCacheAnalysisReportListRequest) SetSecurityToken

func (DescribeCacheAnalysisReportListRequest) String

type DescribeCacheAnalysisReportListResponse

type DescribeCacheAnalysisReportListResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeCacheAnalysisReportListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeCacheAnalysisReportListResponse) GoString

func (*DescribeCacheAnalysisReportListResponse) SetHeaders

func (*DescribeCacheAnalysisReportListResponse) SetStatusCode

func (DescribeCacheAnalysisReportListResponse) String

type DescribeCacheAnalysisReportListResponseBody

type DescribeCacheAnalysisReportListResponseBody struct {
	// Details of the offline key analytics tasks.
	DailyTasks *DescribeCacheAnalysisReportListResponseBodyDailyTasks `json:"DailyTasks,omitempty" xml:"DailyTasks,omitempty" type:"Struct"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCacheAnalysisReportListResponseBody) GoString

func (*DescribeCacheAnalysisReportListResponseBody) SetInstanceId

func (*DescribeCacheAnalysisReportListResponseBody) SetRequestId

func (DescribeCacheAnalysisReportListResponseBody) String

type DescribeCacheAnalysisReportListResponseBodyDailyTasks

type DescribeCacheAnalysisReportListResponseBodyDailyTasks struct {
	DailyTask []*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTask `json:"DailyTask,omitempty" xml:"DailyTask,omitempty" type:"Repeated"`
}

func (DescribeCacheAnalysisReportListResponseBodyDailyTasks) GoString

func (DescribeCacheAnalysisReportListResponseBodyDailyTasks) String

type DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTask

type DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTask struct {
	// The date when the offline key analytics task was performed.
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
	// Details of the offline key analytics tasks.
	Tasks *DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasks `json:"Tasks,omitempty" xml:"Tasks,omitempty" type:"Struct"`
}

func (DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTask) GoString

func (*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTask) SetDate

func (DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTask) String

type DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasks

type DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasks struct {
	Task []*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask `json:"Task,omitempty" xml:"Task,omitempty" type:"Repeated"`
}

func (DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasks) GoString

func (DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasks) String

type DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask

type DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask struct {
	// The ID of the child node in the cluster instance.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The start time of the offline key analytics task.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The state of the offline key analytics task. Valid values:
	//
	// *   **success**
	// *   **running**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask) GoString

func (*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask) SetNodeId

func (*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask) SetStartTime

func (*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask) SetStatus

func (*DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask) SetTaskId

func (DescribeCacheAnalysisReportListResponseBodyDailyTasksDailyTaskTasksTask) String

type DescribeCacheAnalysisReportRequest

type DescribeCacheAnalysisReportRequest struct {
	// The type of analytics. Set the value to **BigKey**.
	AnalysisType *string `json:"AnalysisType,omitempty" xml:"AnalysisType,omitempty"`
	// The date to query. You can query the report for one day each time. Specify the date in the *yyyy-MM-dd*Z format. The time must be in UTC.
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the child node in the cluster instance.
	//
	// > If this parameter is not specified, the analytics results of all child nodes in the instance are returned.
	NodeId       *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return.
	//
	// > If the parameter value exceeds the maximum number of the returned pages, an empty large key list is returned.
	PageNumbers *int32 `json:"PageNumbers,omitempty" xml:"PageNumbers,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**.
	//
	// > The default value is **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeCacheAnalysisReportRequest) GoString

func (*DescribeCacheAnalysisReportRequest) SetAnalysisType

func (*DescribeCacheAnalysisReportRequest) SetDate

func (*DescribeCacheAnalysisReportRequest) SetInstanceId

func (*DescribeCacheAnalysisReportRequest) SetNodeId

func (*DescribeCacheAnalysisReportRequest) SetOwnerAccount

func (*DescribeCacheAnalysisReportRequest) SetOwnerId

func (*DescribeCacheAnalysisReportRequest) SetPageNumbers

func (*DescribeCacheAnalysisReportRequest) SetPageSize

func (*DescribeCacheAnalysisReportRequest) SetResourceOwnerAccount

func (*DescribeCacheAnalysisReportRequest) SetResourceOwnerId

func (*DescribeCacheAnalysisReportRequest) SetSecurityToken

func (DescribeCacheAnalysisReportRequest) String

type DescribeCacheAnalysisReportResponse

type DescribeCacheAnalysisReportResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeCacheAnalysisReportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeCacheAnalysisReportResponse) GoString

func (*DescribeCacheAnalysisReportResponse) SetHeaders

func (*DescribeCacheAnalysisReportResponse) SetStatusCode

func (DescribeCacheAnalysisReportResponse) String

type DescribeCacheAnalysisReportResponseBody

type DescribeCacheAnalysisReportResponseBody struct {
	// Details of the large keys.
	BigKeys []map[string]interface{} `json:"BigKeys,omitempty" xml:"BigKeys,omitempty" type:"Repeated"`
	// Details of the hotkeys.
	//
	// > This parameter is not returned because ApsaraDB for Redis does not support hotkey analytics.
	HotKeys []map[string]interface{} `json:"HotKeys,omitempty" xml:"HotKeys,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The maximum number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeCacheAnalysisReportResponseBody) GoString

func (*DescribeCacheAnalysisReportResponseBody) SetBigKeys

func (*DescribeCacheAnalysisReportResponseBody) SetHotKeys

func (*DescribeCacheAnalysisReportResponseBody) SetPageNumber

func (*DescribeCacheAnalysisReportResponseBody) SetPageRecordCount

func (*DescribeCacheAnalysisReportResponseBody) SetPageSize

func (*DescribeCacheAnalysisReportResponseBody) SetRequestId

func (*DescribeCacheAnalysisReportResponseBody) SetTotalRecordCount

func (DescribeCacheAnalysisReportResponseBody) String

type DescribeClusterBackupListRequest added in v3.5.0

type DescribeClusterBackupListRequest struct {
	ClusterBackupId      *string `json:"ClusterBackupId,omitempty" xml:"ClusterBackupId,omitempty"`
	EndTime              *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	PageNumber           *int32  `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	StartTime            *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeClusterBackupListRequest) GoString added in v3.5.0

func (*DescribeClusterBackupListRequest) SetClusterBackupId added in v3.5.0

func (*DescribeClusterBackupListRequest) SetEndTime added in v3.5.0

func (*DescribeClusterBackupListRequest) SetInstanceId added in v3.5.0

func (*DescribeClusterBackupListRequest) SetOwnerAccount added in v3.5.0

func (*DescribeClusterBackupListRequest) SetOwnerId added in v3.5.0

func (*DescribeClusterBackupListRequest) SetPageNumber added in v3.5.0

func (*DescribeClusterBackupListRequest) SetPageSize added in v3.5.0

func (*DescribeClusterBackupListRequest) SetRegionId added in v3.5.0

func (*DescribeClusterBackupListRequest) SetResourceOwnerAccount added in v3.5.0

func (*DescribeClusterBackupListRequest) SetResourceOwnerId added in v3.5.0

func (*DescribeClusterBackupListRequest) SetSecurityToken added in v3.5.0

func (*DescribeClusterBackupListRequest) SetStartTime added in v3.5.0

func (DescribeClusterBackupListRequest) String added in v3.5.0

type DescribeClusterBackupListResponse added in v3.5.0

type DescribeClusterBackupListResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterBackupListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterBackupListResponse) GoString added in v3.5.0

func (*DescribeClusterBackupListResponse) SetBody added in v3.5.0

func (*DescribeClusterBackupListResponse) SetHeaders added in v3.5.0

func (*DescribeClusterBackupListResponse) SetStatusCode added in v3.5.0

func (DescribeClusterBackupListResponse) String added in v3.5.0

type DescribeClusterBackupListResponseBody added in v3.5.0

type DescribeClusterBackupListResponseBody struct {
	ClusterBackups  []*DescribeClusterBackupListResponseBodyClusterBackups `json:"ClusterBackups,omitempty" xml:"ClusterBackups,omitempty" type:"Repeated"`
	FreeSize        *int64                                                 `json:"FreeSize,omitempty" xml:"FreeSize,omitempty"`
	FullStorageSize *int64                                                 `json:"FullStorageSize,omitempty" xml:"FullStorageSize,omitempty"`
	LogStorageSize  *int64                                                 `json:"LogStorageSize,omitempty" xml:"LogStorageSize,omitempty"`
	MaxResults      *int32                                                 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	PageNumber      *int32                                                 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	PageSize        *int32                                                 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	RequestId       *string                                                `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeClusterBackupListResponseBody) GoString added in v3.5.0

func (*DescribeClusterBackupListResponseBody) SetClusterBackups added in v3.5.0

func (*DescribeClusterBackupListResponseBody) SetFreeSize added in v3.5.2

func (*DescribeClusterBackupListResponseBody) SetFullStorageSize added in v3.5.2

func (*DescribeClusterBackupListResponseBody) SetLogStorageSize added in v3.5.2

func (*DescribeClusterBackupListResponseBody) SetMaxResults added in v3.5.0

func (*DescribeClusterBackupListResponseBody) SetPageNumber added in v3.5.0

func (*DescribeClusterBackupListResponseBody) SetPageSize added in v3.5.0

func (*DescribeClusterBackupListResponseBody) SetRequestId added in v3.5.0

func (DescribeClusterBackupListResponseBody) String added in v3.5.0

type DescribeClusterBackupListResponseBodyClusterBackups added in v3.5.0

type DescribeClusterBackupListResponseBodyClusterBackups struct {
	Backups                []*DescribeClusterBackupListResponseBodyClusterBackupsBackups `json:"Backups,omitempty" xml:"Backups,omitempty" type:"Repeated"`
	ClusterBackupEndTime   *string                                                       `json:"ClusterBackupEndTime,omitempty" xml:"ClusterBackupEndTime,omitempty"`
	ClusterBackupId        *string                                                       `json:"ClusterBackupId,omitempty" xml:"ClusterBackupId,omitempty"`
	ClusterBackupMode      *string                                                       `json:"ClusterBackupMode,omitempty" xml:"ClusterBackupMode,omitempty"`
	ClusterBackupSize      *string                                                       `json:"ClusterBackupSize,omitempty" xml:"ClusterBackupSize,omitempty"`
	ClusterBackupStartTime *string                                                       `json:"ClusterBackupStartTime,omitempty" xml:"ClusterBackupStartTime,omitempty"`
	ClusterBackupStatus    *string                                                       `json:"ClusterBackupStatus,omitempty" xml:"ClusterBackupStatus,omitempty"`
	IsAvail                *int32                                                        `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
	Progress               *string                                                       `json:"Progress,omitempty" xml:"Progress,omitempty"`
	ShardClassMemory       *int32                                                        `json:"ShardClassMemory,omitempty" xml:"ShardClassMemory,omitempty"`
}

func (DescribeClusterBackupListResponseBodyClusterBackups) GoString added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetClusterBackupEndTime added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetClusterBackupId added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetClusterBackupMode added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetClusterBackupSize added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetClusterBackupStartTime added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetClusterBackupStatus added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetIsAvail added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetProgress added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackups) SetShardClassMemory added in v3.5.0

func (DescribeClusterBackupListResponseBodyClusterBackups) String added in v3.5.0

type DescribeClusterBackupListResponseBodyClusterBackupsBackups added in v3.5.0

type DescribeClusterBackupListResponseBodyClusterBackupsBackups struct {
	BackupDownloadURL         *string                                                              `json:"BackupDownloadURL,omitempty" xml:"BackupDownloadURL,omitempty"`
	BackupEndTime             *string                                                              `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	BackupId                  *string                                                              `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	BackupIntranetDownloadURL *string                                                              `json:"BackupIntranetDownloadURL,omitempty" xml:"BackupIntranetDownloadURL,omitempty"`
	BackupName                *string                                                              `json:"BackupName,omitempty" xml:"BackupName,omitempty"`
	BackupSize                *string                                                              `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	BackupStartTime           *string                                                              `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	BackupStatus              *string                                                              `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	Engine                    *string                                                              `json:"Engine,omitempty" xml:"Engine,omitempty"`
	ExtraInfo                 *DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo `json:"ExtraInfo,omitempty" xml:"ExtraInfo,omitempty" type:"Struct"`
	InstanceName              *string                                                              `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	IsAvail                   *string                                                              `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
}

func (DescribeClusterBackupListResponseBodyClusterBackupsBackups) GoString added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupDownloadURL added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupEndTime added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupId added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupIntranetDownloadURL added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupName added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupSize added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupStartTime added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetBackupStatus added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetEngine added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetInstanceName added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackups) SetIsAvail added in v3.5.0

func (DescribeClusterBackupListResponseBodyClusterBackupsBackups) String added in v3.5.0

type DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo added in v3.5.0

type DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo struct {
	CustinsDbVersion *string `json:"CustinsDbVersion,omitempty" xml:"CustinsDbVersion,omitempty"`
}

func (DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo) GoString added in v3.5.0

func (*DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo) SetCustinsDbVersion added in v3.5.0

func (DescribeClusterBackupListResponseBodyClusterBackupsBackupsExtraInfo) String added in v3.5.0

type DescribeClusterMemberInfoRequest

type DescribeClusterMemberInfoRequest struct {
	// The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](~~60933~~) operation to query instance IDs.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeClusterMemberInfoRequest) GoString

func (*DescribeClusterMemberInfoRequest) SetInstanceId

func (*DescribeClusterMemberInfoRequest) SetOwnerAccount

func (*DescribeClusterMemberInfoRequest) SetOwnerId

func (*DescribeClusterMemberInfoRequest) SetPageNumber added in v3.0.2

func (*DescribeClusterMemberInfoRequest) SetPageSize added in v3.0.2

func (*DescribeClusterMemberInfoRequest) SetResourceOwnerAccount

func (*DescribeClusterMemberInfoRequest) SetResourceOwnerId

func (*DescribeClusterMemberInfoRequest) SetSecurityToken

func (DescribeClusterMemberInfoRequest) String

type DescribeClusterMemberInfoResponse

type DescribeClusterMemberInfoResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterMemberInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterMemberInfoResponse) GoString

func (*DescribeClusterMemberInfoResponse) SetHeaders

func (*DescribeClusterMemberInfoResponse) SetStatusCode

func (DescribeClusterMemberInfoResponse) String

type DescribeClusterMemberInfoResponseBody

type DescribeClusterMemberInfoResponseBody struct {
	// Details of nodes in the cluster instance.
	ClusterChildren []*DescribeClusterMemberInfoResponseBodyClusterChildren `json:"ClusterChildren,omitempty" xml:"ClusterChildren,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeClusterMemberInfoResponseBody) GoString

func (*DescribeClusterMemberInfoResponseBody) SetRequestId

func (DescribeClusterMemberInfoResponseBody) String

type DescribeClusterMemberInfoResponseBodyClusterChildren

type DescribeClusterMemberInfoResponseBodyClusterChildren struct {
	// The maximum bandwidth of the node. Unit: MB/s.
	//
	// > This parameter is returned only if the return value of **Service** is **redis**, which indicates a data node.
	BandWidth *int64 `json:"BandWidth,omitempty" xml:"BandWidth,omitempty"`
	// The retention period of binlogs.
	BinlogRetentionDays *int32 `json:"BinlogRetentionDays,omitempty" xml:"BinlogRetentionDays,omitempty"`
	// The type of workload. The return value is **ALIYUN**.
	BizType *string `json:"BizType,omitempty" xml:"BizType,omitempty"`
	// The maximum memory capacity per data node. Unit: MB.
	//
	// > This parameter is returned only if the return value of **Service** is **redis**, which indicates a data node.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The specifications of the data node. For more information, see [Community Edition instances that use cloud disks](~~164477~~).
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,omitempty"`
	// The maximum number of connections supported by the data node.
	Connections *int64 `json:"Connections,omitempty" xml:"Connections,omitempty"`
	// The current bandwidth of the node, which consists of the default bandwidth and the increased bandwidth. Unit: MB/s.
	//
	// > This parameter is returned only if the instance is created in a dedicated cluster.
	CurrentBandWidth *int64 `json:"CurrentBandWidth,omitempty" xml:"CurrentBandWidth,omitempty"`
	// The storage capacity of the [enhanced SSD (ESSD)](~~122389~~) that is used by the data node. Unit: MB.
	//
	// > The ESSD is used only to store system operating data, such as Persistent Memory (PMEM). It is not used as a medium to write and read data.
	DiskSizeMB *int32 `json:"DiskSizeMB,omitempty" xml:"DiskSizeMB,omitempty"`
	// The ID of the replica set in the node.
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The name of the data node.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The number of replica nodes.
	ReplicaSize *int32 `json:"ReplicaSize,omitempty" xml:"ReplicaSize,omitempty"`
	// The name of the resource group to which the node belongs.
	ResourceGroupName *string `json:"ResourceGroupName,omitempty" xml:"ResourceGroupName,omitempty"`
	// The node type. Valid values:
	//
	// *   **redis**: data node
	// *   **redis_cs**: config server
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
	// The major version of the node.
	ServiceVersion *string `json:"ServiceVersion,omitempty" xml:"ServiceVersion,omitempty"`
	// The ID of the user.
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (DescribeClusterMemberInfoResponseBodyClusterChildren) GoString

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetBandWidth

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetBinlogRetentionDays

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetBizType

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetCapacity

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetClassCode

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetConnections

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetCurrentBandWidth

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetDiskSizeMB

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetId

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetName

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetReplicaSize

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetResourceGroupName

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetService

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetServiceVersion

func (*DescribeClusterMemberInfoResponseBodyClusterChildren) SetUserId

func (DescribeClusterMemberInfoResponseBodyClusterChildren) String

type DescribeDBInstanceNetInfoRequest

type DescribeDBInstanceNetInfoRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeDBInstanceNetInfoRequest) GoString

func (*DescribeDBInstanceNetInfoRequest) SetInstanceId

func (*DescribeDBInstanceNetInfoRequest) SetOwnerAccount

func (*DescribeDBInstanceNetInfoRequest) SetOwnerId

func (*DescribeDBInstanceNetInfoRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceNetInfoRequest) SetResourceOwnerId

func (*DescribeDBInstanceNetInfoRequest) SetSecurityToken

func (DescribeDBInstanceNetInfoRequest) String

type DescribeDBInstanceNetInfoResponse

type DescribeDBInstanceNetInfoResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDBInstanceNetInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDBInstanceNetInfoResponse) GoString

func (*DescribeDBInstanceNetInfoResponse) SetHeaders

func (*DescribeDBInstanceNetInfoResponse) SetStatusCode

func (DescribeDBInstanceNetInfoResponse) String

type DescribeDBInstanceNetInfoResponseBody

type DescribeDBInstanceNetInfoResponseBody struct {
	// The network type. Valid values:
	//
	// *   **CLASSIC**: The instance runs in a classic network.
	// *   **VPC**: The instance runs in a virtual private cloud (VPC).
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The list of network information about the instance.
	NetInfoItems *DescribeDBInstanceNetInfoResponseBodyNetInfoItems `json:"NetInfoItems,omitempty" xml:"NetInfoItems,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceNetInfoResponseBody) GoString

func (*DescribeDBInstanceNetInfoResponseBody) SetInstanceNetworkType

func (*DescribeDBInstanceNetInfoResponseBody) SetRequestId

func (DescribeDBInstanceNetInfoResponseBody) String

type DescribeDBInstanceNetInfoResponseBodyNetInfoItems

type DescribeDBInstanceNetInfoResponseBodyNetInfoItems struct {
	InstanceNetInfo []*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo `json:"InstanceNetInfo,omitempty" xml:"InstanceNetInfo,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoResponseBodyNetInfoItems) GoString

func (DescribeDBInstanceNetInfoResponseBodyNetInfoItems) String

type DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo

type DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo struct {
	// The endpoint of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The network type of the endpoint. Valid values:
	//
	// *   **0**: the Internet.
	// *   **1**: classic network.
	// *   **2**: VPC.
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// Indicates whether the address is a private endpoint. Valid values:
	//
	// *   **0**: no.
	// *   **1**: yes.
	DirectConnection *int32 `json:"DirectConnection,omitempty" xml:"DirectConnection,omitempty"`
	// The expiration time of the classic network address of an ApsaraDB for Redis instance. Unit: seconds.
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The IP address.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The network type of the IP address. Valid values:
	//
	// *   **Public**: Internet.
	// *   **Inner**: classic network.
	// *   **Private**: VPC.
	IPType       *string `json:"IPType,omitempty" xml:"IPType,omitempty"`
	IsSlaveProxy *int32  `json:"IsSlaveProxy,omitempty" xml:"IsSlaveProxy,omitempty"`
	// The service port of the ApsaraDB for Redis instance.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The remaining validity period of the endpoint of the classic network. Unit: seconds.
	//
	// >  A value of **0** indicates that the endpoint never expires.
	Upgradeable *string `json:"Upgradeable,omitempty" xml:"Upgradeable,omitempty"`
	// The ID of the VPC where the instance is deployed.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the instance.
	VPCInstanceId *string `json:"VPCInstanceId,omitempty" xml:"VPCInstanceId,omitempty"`
	// The ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) GoString

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetConnectionString

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetDBInstanceNetType

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetDirectConnection

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetExpiredTime

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetIPAddress

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetIPType

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetIsSlaveProxy added in v3.4.0

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetPort

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetUpgradeable

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetVPCId

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetVPCInstanceId

func (*DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) SetVSwitchId

func (DescribeDBInstanceNetInfoResponseBodyNetInfoItemsInstanceNetInfo) String

type DescribeDBNodeDirectVipInfoRequest added in v3.4.0

type DescribeDBNodeDirectVipInfoRequest struct {
	// The instance ID.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBNodeDirectVipInfoRequest) GoString added in v3.4.0

func (*DescribeDBNodeDirectVipInfoRequest) SetInstanceId added in v3.4.0

func (*DescribeDBNodeDirectVipInfoRequest) SetOwnerAccount added in v3.4.0

func (*DescribeDBNodeDirectVipInfoRequest) SetOwnerId added in v3.4.0

func (*DescribeDBNodeDirectVipInfoRequest) SetResourceOwnerAccount added in v3.4.0

func (*DescribeDBNodeDirectVipInfoRequest) SetResourceOwnerId added in v3.4.0

func (DescribeDBNodeDirectVipInfoRequest) String added in v3.4.0

type DescribeDBNodeDirectVipInfoResponse added in v3.4.0

type DescribeDBNodeDirectVipInfoResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDBNodeDirectVipInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDBNodeDirectVipInfoResponse) GoString added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponse) SetBody added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponse) SetHeaders added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponse) SetStatusCode added in v3.4.0

func (DescribeDBNodeDirectVipInfoResponse) String added in v3.4.0

type DescribeDBNodeDirectVipInfoResponseBody added in v3.4.0

type DescribeDBNodeDirectVipInfoResponseBody struct {
	// The VIPs of shards in the cluster instance.
	DirectVipInfo *DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfo `json:"DirectVipInfo,omitempty" xml:"DirectVipInfo,omitempty" type:"Struct"`
	// The instance ID.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBNodeDirectVipInfoResponseBody) GoString added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBody) SetDirectVipInfo added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBody) SetInstanceId added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBody) SetRequestId added in v3.4.0

func (DescribeDBNodeDirectVipInfoResponseBody) String added in v3.4.0

type DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfo added in v3.4.0

type DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfo struct {
	VipInfo []*DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo `json:"VipInfo,omitempty" xml:"VipInfo,omitempty" type:"Repeated"`
}

func (DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfo) GoString added in v3.4.0

func (DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfo) String added in v3.4.0

type DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo added in v3.4.0

type DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo struct {
	// The network type of the security group. Valid values:
	//
	// *   **vpc**: Virtual Private Cloud (VPC)
	NetType *string `json:"NetType,omitempty" xml:"NetType,omitempty"`
	// The shard ID.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The port number. Valid values: **1024** to **65535**. Default value: **6379**.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The VIP of the shard.
	Vip *string `json:"Vip,omitempty" xml:"Vip,omitempty"`
}

func (DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo) GoString added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo) SetNetType added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo) SetNodeId added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo) SetPort added in v3.4.0

func (*DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo) SetVip added in v3.4.0

func (DescribeDBNodeDirectVipInfoResponseBodyDirectVipInfoVipInfo) String added in v3.4.0

type DescribeDedicatedClusterInstanceListRequest

type DescribeDedicatedClusterInstanceListRequest struct {
	// The ID of the dedicated cluster. You can view the dedicated cluster ID on the Dedicated Clusters page in the ApsaraDB for MyBase console.
	//
	// > Separate multiple IDs with commas (,).
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the host in the dedicated cluster. You can call the [DescribeDedicatedHosts](~~200944~~) operation to query the host ID.
	//
	// > Separate multiple IDs with commas (,).
	DedicatedHostName *string `json:"DedicatedHostName,omitempty" xml:"DedicatedHostName,omitempty"`
	// The database engine of the instance. Set the value to **Redis**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Set the value to **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the instance.
	//
	// > The instance must be created by using a dedicated cluster. For more information, see [What is ApsaraDB for MyBase?](~~141455~~)
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **0**: Internet
	// *   **1**: classic network
	// *   **2**: Virtual Private Cloud (VPC)
	InstanceNetType *string `json:"InstanceNetType,omitempty" xml:"InstanceNetType,omitempty"`
	// The state of the instance. Valid values:
	//
	// *   **0**: The instance is being created.
	// *   **1**: The instance is running.
	// *   **3**: The instance is being deleted.
	// *   **5**: The configurations of the instance are being changed.
	// *   **6**: The instance is being migrated.
	// *   **7**: The instance is being restored from a backup.
	// *   **8**: A master-replica switchover is in progress.
	// *   **9**: Expired data of the instance is being deleted.
	InstanceStatus *int32  `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	OwnerAccount   *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The zone ID of the instance. You can call the [DescribeZones](~~94527~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedClusterInstanceListRequest) GoString

func (*DescribeDedicatedClusterInstanceListRequest) SetClusterId

func (*DescribeDedicatedClusterInstanceListRequest) SetDedicatedHostName

func (*DescribeDedicatedClusterInstanceListRequest) SetEngine

func (*DescribeDedicatedClusterInstanceListRequest) SetEngineVersion

func (*DescribeDedicatedClusterInstanceListRequest) SetInstanceId

func (*DescribeDedicatedClusterInstanceListRequest) SetInstanceNetType

func (*DescribeDedicatedClusterInstanceListRequest) SetInstanceStatus

func (*DescribeDedicatedClusterInstanceListRequest) SetOwnerAccount

func (*DescribeDedicatedClusterInstanceListRequest) SetOwnerId

func (*DescribeDedicatedClusterInstanceListRequest) SetPageNumber

func (*DescribeDedicatedClusterInstanceListRequest) SetPageSize

func (*DescribeDedicatedClusterInstanceListRequest) SetRegionId

func (*DescribeDedicatedClusterInstanceListRequest) SetResourceOwnerAccount

func (*DescribeDedicatedClusterInstanceListRequest) SetResourceOwnerId

func (*DescribeDedicatedClusterInstanceListRequest) SetSecurityToken

func (*DescribeDedicatedClusterInstanceListRequest) SetZoneId

func (DescribeDedicatedClusterInstanceListRequest) String

type DescribeDedicatedClusterInstanceListResponse

type DescribeDedicatedClusterInstanceListResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDedicatedClusterInstanceListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDedicatedClusterInstanceListResponse) GoString

func (*DescribeDedicatedClusterInstanceListResponse) SetHeaders

func (*DescribeDedicatedClusterInstanceListResponse) SetStatusCode

func (DescribeDedicatedClusterInstanceListResponse) String

type DescribeDedicatedClusterInstanceListResponseBody

type DescribeDedicatedClusterInstanceListResponseBody struct {
	// Details of the instances.
	Instances []*DescribeDedicatedClusterInstanceListResponseBodyInstances `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDedicatedClusterInstanceListResponseBody) GoString

func (*DescribeDedicatedClusterInstanceListResponseBody) SetPageNumber

func (*DescribeDedicatedClusterInstanceListResponseBody) SetPageSize

func (*DescribeDedicatedClusterInstanceListResponseBody) SetRequestId

func (*DescribeDedicatedClusterInstanceListResponseBody) SetTotalCount

func (DescribeDedicatedClusterInstanceListResponseBody) String

type DescribeDedicatedClusterInstanceListResponseBodyInstances

type DescribeDedicatedClusterInstanceListResponseBodyInstances struct {
	// The default bandwidth of the instance. Unit: Mbit/s.
	BandWidth *int64 `json:"BandWidth,omitempty" xml:"BandWidth,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// *   **logic**: cluster
	// *   **normal**: standard
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The ID of the dedicated cluster.
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The name of the dedicated cluster to which the instance belongs.
	ClusterName *string `json:"ClusterName,omitempty" xml:"ClusterName,omitempty"`
	// The private endpoint of the instance.
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The current bandwidth of the instance, which consists of the default bandwidth and the additional bandwidth. Unit: Mbit/s.
	CurrentBandWidth *int64 `json:"CurrentBandWidth,omitempty" xml:"CurrentBandWidth,omitempty"`
	// The custom ID that is used for instance internal maintenance.
	CustomId *string `json:"CustomId,omitempty" xml:"CustomId,omitempty"`
	// The database engine of the instance. The return value is **Redis**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. The return value is **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The instance type of the instance.
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// Details about the nodes.
	InstanceNodeList []*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList `json:"InstanceNodeList,omitempty" xml:"InstanceNodeList,omitempty" type:"Repeated"`
	// The state of the instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is being changed.
	// *   **Unavailable**: The instance is suspended.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL certificate of the instance is being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.
	MaintainEndTime *string `json:"MaintainEndTime,omitempty" xml:"MaintainEndTime,omitempty"`
	// The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC.
	MaintainStartTime *string `json:"MaintainStartTime,omitempty" xml:"MaintainStartTime,omitempty"`
	// The number of proxy nodes.
	//
	// > *   If the return value is **0**, the proxy mode is disabled. If the return value is an integer that is greater than **0**, the proxy mode is enabled. This integer indicates the number of proxy nodes in the instance. For example, a value of **1** indicates that the instance has one proxy node.
	// > *   This parameter is returned only when the instance is a [cluster instance](~~52228~~).
	ProxyCount *int32 `json:"ProxyCount,omitempty" xml:"ProxyCount,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of shards.
	//
	// > This parameter is returned only when the ApsaraDB for Redis instance is a [cluster instance](~~52228~~).
	ShardCount *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	// The storage type of the instance. The return value is LOCAL_SSD, which indicates [enhanced SSDs (ESSDs)](~~122389~~).
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The ID of the VPC.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The ID of the vSwitch.
	VswitchId *string `json:"VswitchId,omitempty" xml:"VswitchId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedClusterInstanceListResponseBodyInstances) GoString

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetBandWidth

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetCharacterType

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetClusterId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetClusterName

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetConnectionDomain

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetCreateTime

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetCurrentBandWidth

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetCustomId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetEngine

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetEngineVersion

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetInstanceClass

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetInstanceId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetInstanceName

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetInstanceStatus

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetMaintainEndTime

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetMaintainStartTime

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetProxyCount

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetRegionId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetShardCount

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetStorageType

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetVpcId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetVswitchId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstances) SetZoneId

func (DescribeDedicatedClusterInstanceListResponseBodyInstances) String

type DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList

type DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList struct {
	// The ID of the host in the dedicated cluster.
	DedicatedHostName *string `json:"DedicatedHostName,omitempty" xml:"DedicatedHostName,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node.
	NodeId *int32 `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The IP address of the node.
	NodeIp *string `json:"NodeIp,omitempty" xml:"NodeIp,omitempty"`
	// The node type. Valid values:
	//
	// *   **db**: data node.
	// *   **proxy**: proxy node.
	// *   **normal**: regular node. This value is returned when the instance runs in the standard architecture.
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The port number that is used to connect to the node.
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The role of the node. Valid values:
	//
	// *   **master**: master node
	// *   **slave**: replica node
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// The zone ID of the node.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) GoString

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetDedicatedHostName

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetInstanceId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetNodeId

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetNodeIp

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetNodeType

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetPort

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetRole

func (*DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) SetZoneId

func (DescribeDedicatedClusterInstanceListResponseBodyInstancesInstanceNodeList) String

type DescribeEncryptionKeyListRequest

type DescribeEncryptionKeyListRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeEncryptionKeyListRequest) GoString

func (*DescribeEncryptionKeyListRequest) SetInstanceId

func (*DescribeEncryptionKeyListRequest) SetOwnerAccount

func (*DescribeEncryptionKeyListRequest) SetOwnerId

func (*DescribeEncryptionKeyListRequest) SetResourceOwnerAccount

func (*DescribeEncryptionKeyListRequest) SetResourceOwnerId

func (*DescribeEncryptionKeyListRequest) SetSecurityToken

func (DescribeEncryptionKeyListRequest) String

type DescribeEncryptionKeyListResponse

type DescribeEncryptionKeyListResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEncryptionKeyListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEncryptionKeyListResponse) GoString

func (*DescribeEncryptionKeyListResponse) SetHeaders

func (*DescribeEncryptionKeyListResponse) SetStatusCode

func (DescribeEncryptionKeyListResponse) String

type DescribeEncryptionKeyListResponseBody

type DescribeEncryptionKeyListResponseBody struct {
	// The custom keys that are available in the region.
	KeyIds *DescribeEncryptionKeyListResponseBodyKeyIds `json:"KeyIds,omitempty" xml:"KeyIds,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeEncryptionKeyListResponseBody) GoString

func (*DescribeEncryptionKeyListResponseBody) SetRequestId

func (DescribeEncryptionKeyListResponseBody) String

type DescribeEncryptionKeyListResponseBodyKeyIds

type DescribeEncryptionKeyListResponseBodyKeyIds struct {
	KeyId []*string `json:"KeyId,omitempty" xml:"KeyId,omitempty" type:"Repeated"`
}

func (DescribeEncryptionKeyListResponseBodyKeyIds) GoString

func (*DescribeEncryptionKeyListResponseBodyKeyIds) SetKeyId

func (DescribeEncryptionKeyListResponseBodyKeyIds) String

type DescribeEncryptionKeyRequest

type DescribeEncryptionKeyRequest struct {
	// The ID of the custom key. You can call the [DescribeEncryptionKeyList](~~302339~~) operation to query the ID of the key.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeEncryptionKeyRequest) GoString

func (s DescribeEncryptionKeyRequest) GoString() string

func (*DescribeEncryptionKeyRequest) SetEncryptionKey

func (*DescribeEncryptionKeyRequest) SetInstanceId

func (*DescribeEncryptionKeyRequest) SetOwnerAccount

func (*DescribeEncryptionKeyRequest) SetOwnerId

func (*DescribeEncryptionKeyRequest) SetResourceOwnerAccount

func (s *DescribeEncryptionKeyRequest) SetResourceOwnerAccount(v string) *DescribeEncryptionKeyRequest

func (*DescribeEncryptionKeyRequest) SetResourceOwnerId

func (*DescribeEncryptionKeyRequest) SetSecurityToken

func (DescribeEncryptionKeyRequest) String

type DescribeEncryptionKeyResponse

type DescribeEncryptionKeyResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEncryptionKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEncryptionKeyResponse) GoString

func (*DescribeEncryptionKeyResponse) SetBody

func (*DescribeEncryptionKeyResponse) SetHeaders

func (*DescribeEncryptionKeyResponse) SetStatusCode

func (DescribeEncryptionKeyResponse) String

type DescribeEncryptionKeyResponseBody

type DescribeEncryptionKeyResponseBody struct {
	// The ID of the Alibaba Cloud account that is used to create the custom key.
	Creator *string `json:"Creator,omitempty" xml:"Creator,omitempty"`
	// The time when the custom key is expected to be deleted. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// > If the return value is an empty string, the custom key cannot be automatically deleted.
	DeleteDate *string `json:"DeleteDate,omitempty" xml:"DeleteDate,omitempty"`
	// The description of the custom key. By default, an empty string is returned.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the custom key.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The state of the custom key. Valid values:
	//
	// *   **Enabled**: The custom key is available.
	// *   **Disabled**: The custom key is unavailable.
	EncryptionKeyStatus *string `json:"EncryptionKeyStatus,omitempty" xml:"EncryptionKeyStatus,omitempty"`
	// The encryption algorithm.
	EncryptionName *string `json:"EncryptionName,omitempty" xml:"EncryptionName,omitempty"`
	// The purpose of the custom key. A value of `ENCRYPT/DECRYPT` indicates encryption and decryption.
	KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"`
	// The time when the custom key expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// > If the return value is an empty string, the custom key does not expire.
	MaterialExpireTime *string `json:"MaterialExpireTime,omitempty" xml:"MaterialExpireTime,omitempty"`
	// The source of the custom key. A value of **Aliyun_KMS** indicates [Key Management Service (KMS)](~~28935~~) of Alibaba Cloud.
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role to which you want to grant permissions.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
}

func (DescribeEncryptionKeyResponseBody) GoString

func (*DescribeEncryptionKeyResponseBody) SetCreator

func (*DescribeEncryptionKeyResponseBody) SetDeleteDate

func (*DescribeEncryptionKeyResponseBody) SetDescription

func (*DescribeEncryptionKeyResponseBody) SetEncryptionKey

func (*DescribeEncryptionKeyResponseBody) SetEncryptionKeyStatus

func (*DescribeEncryptionKeyResponseBody) SetEncryptionName added in v3.0.1

func (*DescribeEncryptionKeyResponseBody) SetKeyUsage

func (*DescribeEncryptionKeyResponseBody) SetMaterialExpireTime

func (*DescribeEncryptionKeyResponseBody) SetOrigin

func (*DescribeEncryptionKeyResponseBody) SetRequestId

func (*DescribeEncryptionKeyResponseBody) SetRoleArn added in v3.0.1

func (DescribeEncryptionKeyResponseBody) String

type DescribeEngineVersionRequest

type DescribeEngineVersionRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query instance IDs.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeEngineVersionRequest) GoString

func (s DescribeEngineVersionRequest) GoString() string

func (*DescribeEngineVersionRequest) SetInstanceId

func (*DescribeEngineVersionRequest) SetOwnerAccount

func (*DescribeEngineVersionRequest) SetOwnerId

func (*DescribeEngineVersionRequest) SetResourceOwnerAccount

func (s *DescribeEngineVersionRequest) SetResourceOwnerAccount(v string) *DescribeEngineVersionRequest

func (*DescribeEngineVersionRequest) SetResourceOwnerId

func (*DescribeEngineVersionRequest) SetSecurityToken

func (DescribeEngineVersionRequest) String

type DescribeEngineVersionResponse

type DescribeEngineVersionResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEngineVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEngineVersionResponse) GoString

func (*DescribeEngineVersionResponse) SetBody

func (*DescribeEngineVersionResponse) SetHeaders

func (*DescribeEngineVersionResponse) SetStatusCode

func (DescribeEngineVersionResponse) String

type DescribeEngineVersionResponseBody

type DescribeEngineVersionResponseBody struct {
	// 该实例当前可升级至最新的小版本信息。
	DBLatestMinorVersion *DescribeEngineVersionResponseBodyDBLatestMinorVersion `json:"DBLatestMinorVersion,omitempty" xml:"DBLatestMinorVersion,omitempty" type:"Struct"`
	// The release notes for the minor version of the instance, including the release date, minor version number, release type such as new feature, and description.
	DBVersionRelease *string `json:"DBVersionRelease,omitempty" xml:"DBVersionRelease,omitempty"`
	// Indicates whether the major version can be upgraded for the instance. Valid values:
	//
	// *   **true**: The major version can be upgraded.
	// *   **false**: The major version is the latest version and cannot be upgraded.
	//
	// >  To upgrade the major version, call the [ModifyInstanceMajorVersion](~~95259~~) operation.
	EnableUpgradeMajorVersion *bool `json:"EnableUpgradeMajorVersion,omitempty" xml:"EnableUpgradeMajorVersion,omitempty"`
	// Indicates whether the minor version can be updated for the instance. Valid values:
	//
	// *   **true**: The minor version can be updated.
	// *   **false**: The minor version is the latest version and cannot be updated.
	//
	// >  To update the minor version, call the [ModifyInstanceMinorVersion](~~129381~~) operation.
	EnableUpgradeMinorVersion *bool `json:"EnableUpgradeMinorVersion,omitempty" xml:"EnableUpgradeMinorVersion,omitempty"`
	// The database engine of the instance. Valid values: **redis** and **memcache**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// 是否打开了小版本升级。
	IsAutoUpgradeOpen *string `json:"IsAutoUpgradeOpen,omitempty" xml:"IsAutoUpgradeOpen,omitempty"`
	// Indicates whether the instance minor version is the latest version. Valid values:
	//
	// *   **true**: The instance minor version is the latest version.
	// *   **false**: The instance minor version is not the latest version.
	IsLatestVersion *bool `json:"IsLatestVersion,omitempty" xml:"IsLatestVersion,omitempty"`
	// 是否支持新版 ssl。
	IsNewSSLMode *string `json:"IsNewSSLMode,omitempty" xml:"IsNewSSLMode,omitempty"`
	// Indicates whether the instance supports the new SSL encryption feature.
	IsRedisCompatibleVersion *string `json:"IsRedisCompatibleVersion,omitempty" xml:"IsRedisCompatibleVersion,omitempty"`
	// 是否打开了小版本升级。
	IsSSLEnable *string `json:"IsSSLEnable,omitempty" xml:"IsSSLEnable,omitempty"`
	// The major version of the instance.
	MajorVersion *string `json:"MajorVersion,omitempty" xml:"MajorVersion,omitempty"`
	// The minor version of the instance.
	MinorVersion *string `json:"MinorVersion,omitempty" xml:"MinorVersion,omitempty"`
	// 该Proxy节点当前可升级至最新的小版本信息。
	ProxyLatestMinorVersion *DescribeEngineVersionResponseBodyProxyLatestMinorVersion `json:"ProxyLatestMinorVersion,omitempty" xml:"ProxyLatestMinorVersion,omitempty" type:"Struct"`
	// The minor version of proxy nodes.
	//
	// >  This parameter is returned only for cluster and read/write splitting instances.
	ProxyMinorVersion *string `json:"ProxyMinorVersion,omitempty" xml:"ProxyMinorVersion,omitempty"`
	// The release notes for the minor version of proxy nodes. The release notes include the release date, minor version number, release type such as new feature, and description.
	//
	// >  This parameter is returned only for cluster and read/write splitting instances.
	ProxyVersionRelease *string `json:"ProxyVersionRelease,omitempty" xml:"ProxyVersionRelease,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeEngineVersionResponseBody) GoString

func (*DescribeEngineVersionResponseBody) SetDBLatestMinorVersion added in v3.2.3

func (*DescribeEngineVersionResponseBody) SetDBVersionRelease

func (*DescribeEngineVersionResponseBody) SetEnableUpgradeMajorVersion

func (s *DescribeEngineVersionResponseBody) SetEnableUpgradeMajorVersion(v bool) *DescribeEngineVersionResponseBody

func (*DescribeEngineVersionResponseBody) SetEnableUpgradeMinorVersion

func (s *DescribeEngineVersionResponseBody) SetEnableUpgradeMinorVersion(v bool) *DescribeEngineVersionResponseBody

func (*DescribeEngineVersionResponseBody) SetEngine

func (*DescribeEngineVersionResponseBody) SetIsAutoUpgradeOpen added in v3.2.3

func (*DescribeEngineVersionResponseBody) SetIsLatestVersion

func (*DescribeEngineVersionResponseBody) SetIsNewSSLMode added in v3.0.1

func (*DescribeEngineVersionResponseBody) SetIsRedisCompatibleVersion

func (*DescribeEngineVersionResponseBody) SetIsSSLEnable added in v3.0.1

func (*DescribeEngineVersionResponseBody) SetMajorVersion

func (*DescribeEngineVersionResponseBody) SetMinorVersion

func (*DescribeEngineVersionResponseBody) SetProxyLatestMinorVersion added in v3.2.3

func (*DescribeEngineVersionResponseBody) SetProxyMinorVersion

func (*DescribeEngineVersionResponseBody) SetProxyVersionRelease

func (*DescribeEngineVersionResponseBody) SetRequestId

func (DescribeEngineVersionResponseBody) String

type DescribeEngineVersionResponseBodyDBLatestMinorVersion added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersion struct {
	// 版本变更的重要性,取值:
	// * **0**:一般重要
	// * **1**:比较重要
	// * **2**:非常重要
	Level *string `json:"Level,omitempty" xml:"Level,omitempty"`
	// 版本号。
	MinorVersion *string `json:"MinorVersion,omitempty" xml:"MinorVersion,omitempty"`
	// 从实例当前小版本到最新小版本的版本演进路线,与版本文档一致,可以直接至版本说明文档查看更详细的信息。
	VersionRelease *DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionRelease `json:"VersionRelease,omitempty" xml:"VersionRelease,omitempty" type:"Struct"`
}

func (DescribeEngineVersionResponseBodyDBLatestMinorVersion) GoString added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersion) SetLevel added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersion) SetMinorVersion added in v3.2.3

func (DescribeEngineVersionResponseBodyDBLatestMinorVersion) String added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionRelease added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionRelease struct {
	// 小版本信息。
	ReleaseInfo *DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfo `json:"ReleaseInfo,omitempty" xml:"ReleaseInfo,omitempty" type:"Struct"`
	// 版本升级的重要性(推荐升级程度),取值:
	// * 0:一般重要
	// * 1:比较重要
	// * 2:非常重要
	VersionChangesLevel *string `json:"VersionChangesLevel,omitempty" xml:"VersionChangesLevel,omitempty"`
}

func (DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionRelease) GoString added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionRelease) SetVersionChangesLevel added in v3.2.3

func (DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionRelease) String added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfo added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfo struct {
	ReleaseInfoList []*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList `json:"ReleaseInfoList,omitempty" xml:"ReleaseInfoList,omitempty" type:"Repeated"`
}

func (DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfo) GoString added in v3.2.3

func (DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfo) String added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList added in v3.2.3

type DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList struct {
	// 实例的创建时间。
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 重要等级。
	Level *string `json:"Level,omitempty" xml:"Level,omitempty"`
	// 版本发布说明。
	ReleaseNote *string `json:"ReleaseNote,omitempty" xml:"ReleaseNote,omitempty"`
	// 可升级的版本英文描述。
	ReleaseNoteEn *string `json:"ReleaseNoteEn,omitempty" xml:"ReleaseNoteEn,omitempty"`
	// EMR发行版。
	ReleaseVersion *string `json:"ReleaseVersion,omitempty" xml:"ReleaseVersion,omitempty"`
}

func (DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) GoString added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetCreateTime added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetLevel added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetReleaseNote added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetReleaseNoteEn added in v3.2.3

func (*DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetReleaseVersion added in v3.2.3

func (DescribeEngineVersionResponseBodyDBLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) String added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersion added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersion struct {
	// 版本变更的重要性,取值:
	// * **0**:一般重要
	// * **1**:比较重要
	// * **2**:非常重要
	Level *string `json:"Level,omitempty" xml:"Level,omitempty"`
	// 版本号。
	MinorVersion *string `json:"MinorVersion,omitempty" xml:"MinorVersion,omitempty"`
	// 从实例当前小版本到最新小版本的版本演进路线,与版本文档一致,可以直接至版本说明文档查看更详细的信息。
	VersionRelease *DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionRelease `json:"VersionRelease,omitempty" xml:"VersionRelease,omitempty" type:"Struct"`
}

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersion) GoString added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersion) SetLevel added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersion) SetMinorVersion added in v3.2.3

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersion) String added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionRelease added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionRelease struct {
	// 小版本信息。
	ReleaseInfo *DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfo `json:"ReleaseInfo,omitempty" xml:"ReleaseInfo,omitempty" type:"Struct"`
	// 版本升级的重要性(推荐升级程度),取值:
	// * 0:一般重要
	// * 1:比较重要
	// * 2:非常重要
	VersionChangesLevel *string `json:"VersionChangesLevel,omitempty" xml:"VersionChangesLevel,omitempty"`
}

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionRelease) GoString added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionRelease) SetVersionChangesLevel added in v3.2.3

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionRelease) String added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfo added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfo struct {
	ReleaseInfoList []*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList `json:"ReleaseInfoList,omitempty" xml:"ReleaseInfoList,omitempty" type:"Repeated"`
}

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfo) GoString added in v3.2.3

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfo) String added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList added in v3.2.3

type DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList struct {
	// 版本的发布时间。
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 版本变更的重要性,取值:
	// * **0**:一般重要
	// * **1**:比较重要
	// * **2**:非常重要
	Level *string `json:"Level,omitempty" xml:"Level,omitempty"`
	// 版本的变更说明。
	ReleaseNote *string `json:"ReleaseNote,omitempty" xml:"ReleaseNote,omitempty"`
	// 可升级的版本英文描述。
	ReleaseNoteEn *string `json:"ReleaseNoteEn,omitempty" xml:"ReleaseNoteEn,omitempty"`
	// EMR发行版。
	ReleaseVersion *string `json:"ReleaseVersion,omitempty" xml:"ReleaseVersion,omitempty"`
}

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) GoString added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetCreateTime added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetLevel added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetReleaseNote added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetReleaseNoteEn added in v3.2.3

func (*DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) SetReleaseVersion added in v3.2.3

func (DescribeEngineVersionResponseBodyProxyLatestMinorVersionVersionReleaseReleaseInfoReleaseInfoList) String added in v3.2.3

type DescribeGlobalDistributeCacheRequest

type DescribeGlobalDistributeCacheRequest struct {
	// The ID of the distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	OwnerAccount     *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId          *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return each page.
	PageSize             *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The ID of the child instance that is attached to the distributed instance.
	SubInstanceId *string `json:"SubInstanceId,omitempty" xml:"SubInstanceId,omitempty"`
}

func (DescribeGlobalDistributeCacheRequest) GoString

func (*DescribeGlobalDistributeCacheRequest) SetGlobalInstanceId

func (*DescribeGlobalDistributeCacheRequest) SetOwnerAccount

func (*DescribeGlobalDistributeCacheRequest) SetOwnerId

func (*DescribeGlobalDistributeCacheRequest) SetPageNumber

func (*DescribeGlobalDistributeCacheRequest) SetPageSize

func (*DescribeGlobalDistributeCacheRequest) SetResourceOwnerAccount

func (*DescribeGlobalDistributeCacheRequest) SetResourceOwnerId

func (*DescribeGlobalDistributeCacheRequest) SetSecurityToken

func (*DescribeGlobalDistributeCacheRequest) SetSubInstanceId

func (DescribeGlobalDistributeCacheRequest) String

type DescribeGlobalDistributeCacheResponse

type DescribeGlobalDistributeCacheResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeGlobalDistributeCacheResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeGlobalDistributeCacheResponse) GoString

func (*DescribeGlobalDistributeCacheResponse) SetHeaders

func (*DescribeGlobalDistributeCacheResponse) SetStatusCode

func (DescribeGlobalDistributeCacheResponse) String

type DescribeGlobalDistributeCacheResponseBody

type DescribeGlobalDistributeCacheResponseBody struct {
	// Details of the distributed instance.
	GlobalDistributeCaches []*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches `json:"GlobalDistributeCaches,omitempty" xml:"GlobalDistributeCaches,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeGlobalDistributeCacheResponseBody) GoString

func (*DescribeGlobalDistributeCacheResponseBody) SetPageNumber

func (*DescribeGlobalDistributeCacheResponseBody) SetPageSize

func (*DescribeGlobalDistributeCacheResponseBody) SetRequestId

func (*DescribeGlobalDistributeCacheResponseBody) SetTotalRecordCount

func (DescribeGlobalDistributeCacheResponseBody) String

type DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches

type DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches struct {
	// The ID of the distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// The state of the distributed instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Creating**: The instance is being created.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// Details of the child instances.
	SubInstances []*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances `json:"SubInstances,omitempty" xml:"SubInstances,omitempty" type:"Repeated"`
}

func (DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches) GoString

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches) SetGlobalInstanceId

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches) SetStatus

func (DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCaches) String

type DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances

type DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances struct {
	// The ID of the distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// The instance type of the child instance. For more information, see the following topics:
	//
	// *   [Standard DRAM-based instances](~~145228~~)
	// *   [Cluster DRAM-based instances](~~150458~~)
	// *   [Read/write splitting DRAM-based instances](~~150459~~)
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the child instance.
	InstanceID *string `json:"InstanceID,omitempty" xml:"InstanceID,omitempty"`
	// The state of the child instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is changing.
	// *   **Unavailable**: The instance is suspended.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL certificate of the instance is being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains available during the upgrade.
	//
	// >  For more information about instance states, see [Instance states and impacts](~~200740~~).
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) GoString

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) SetGlobalInstanceId

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) SetInstanceClass

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) SetInstanceID

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) SetInstanceStatus

func (*DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) SetRegionId

func (DescribeGlobalDistributeCacheResponseBodyGlobalDistributeCachesSubInstances) String

type DescribeGlobalSecurityIPGroupRelationRequest added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationRequest struct {
	// The instance ID.
	DBClusterId  *string `json:"DBClusterId,omitempty" xml:"DBClusterId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRelationRequest) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetDBClusterId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetOwnerAccount added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetOwnerId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetRegionId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetResourceGroupId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetResourceOwnerAccount added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetResourceOwnerId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetSecurityToken added in v3.0.1

func (DescribeGlobalSecurityIPGroupRelationRequest) String added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationResponse added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeGlobalSecurityIPGroupRelationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRelationResponse) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponse) SetBody added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponse) SetHeaders added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponse) SetStatusCode added in v3.0.1

func (DescribeGlobalSecurityIPGroupRelationResponse) String added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationResponseBody added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationResponseBody struct {
	// The instance ID.
	DBClusterId *string `json:"DBClusterId,omitempty" xml:"DBClusterId,omitempty"`
	// The information about the associated global IP whitelist template.
	GlobalSecurityIPGroupRel []*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel `json:"GlobalSecurityIPGroupRel,omitempty" xml:"GlobalSecurityIPGroupRel,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRelationResponseBody) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponseBody) SetDBClusterId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponseBody) SetRequestId added in v3.0.1

func (DescribeGlobalSecurityIPGroupRelationResponseBody) String added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel added in v3.0.1

type DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel struct {
	// The IP address in the IP whitelist template.
	//
	// >  Multiple IP addresses are separated by commas (,).
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetGIpList added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetGlobalIgName added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetGlobalSecurityGroupId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetRegionId added in v3.0.1

func (DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) String added in v3.0.1

type DescribeGlobalSecurityIPGroupRequest added in v3.0.1

type DescribeGlobalSecurityIPGroupRequest struct {
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	OwnerAccount          *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId               *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRequest) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetGlobalSecurityGroupId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetOwnerAccount added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetOwnerId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetRegionId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetResourceGroupId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetResourceOwnerAccount added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetResourceOwnerId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupRequest) SetSecurityToken added in v3.0.1

func (DescribeGlobalSecurityIPGroupRequest) String added in v3.0.1

type DescribeGlobalSecurityIPGroupResponse added in v3.0.1

type DescribeGlobalSecurityIPGroupResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeGlobalSecurityIPGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeGlobalSecurityIPGroupResponse) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponse) SetBody added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponse) SetHeaders added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponse) SetStatusCode added in v3.0.1

func (DescribeGlobalSecurityIPGroupResponse) String added in v3.0.1

type DescribeGlobalSecurityIPGroupResponseBody added in v3.0.1

type DescribeGlobalSecurityIPGroupResponseBody struct {
	// The information about the IP whitelist template.
	GlobalSecurityIPGroup []*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup `json:"GlobalSecurityIPGroup,omitempty" xml:"GlobalSecurityIPGroup,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupResponseBody) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBody) SetGlobalSecurityIPGroup added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBody) SetRequestId added in v3.0.1

func (DescribeGlobalSecurityIPGroupResponseBody) String added in v3.0.1

type DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup added in v3.0.1

type DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup struct {
	// The IDs of the instances that are associated with the IP whitelist template.
	DBInstances []*string `json:"DBInstances,omitempty" xml:"DBInstances,omitempty" type:"Repeated"`
	// The IP address in the IP whitelist template.
	//
	// >  Multiple IP addresses are separated by commas (,).
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) GoString added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetDBInstances added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGIpList added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalIgName added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalSecurityGroupId added in v3.0.1

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetRegionId added in v3.0.1

func (DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) String added in v3.0.1

type DescribeHistoryMonitorValuesRequest

type DescribeHistoryMonitorValuesRequest struct {
	// The end of the time range to query. The end time must be later than the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// *   You can query the monitoring data of the last month. The maximum time range that you can specify for a query is seven days.
	// *   If the number of data nodes in the instance is greater than 32, the time range to query for the Data Node Aggregation and Proxy Node Aggregation metrics cannot exceed 1 hour.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The interval at which to collect monitoring data. Unit: minutes. Set the value to `01m`.
	IntervalForHistory *string `json:"IntervalForHistory,omitempty" xml:"IntervalForHistory,omitempty"`
	// The monitoring metrics. Separate the metrics with commas (,).
	// *   This parameter is empty by default. The UsedMemory and quotaMemory metrics are returned. For information about the metrics that are supported by ApsaraDB for Redis instances and their descriptions, see [View performance monitoring data](~~122091~~).
	//
	// *   To ensure query efficiency, we recommend that you specify no more than five metrics for a single node at a time, and specify only a single metric when you query aggregate metrics.
	MonitorKeys *string `json:"MonitorKeys,omitempty" xml:"MonitorKeys,omitempty"`
	// The ID of the node in the instance. You can set this parameter to query the data of a specified node.
	//
	// *   This parameter is available only for read/write splitting or cluster instances of ApsaraDB for Redis.
	//
	// *   You can call the [DescribeLogicInstanceTopology](~~94665~~) operation to query node IDs.
	NodeId               *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeHistoryMonitorValuesRequest) GoString

func (*DescribeHistoryMonitorValuesRequest) SetEndTime

func (*DescribeHistoryMonitorValuesRequest) SetInstanceId

func (*DescribeHistoryMonitorValuesRequest) SetIntervalForHistory

func (*DescribeHistoryMonitorValuesRequest) SetMonitorKeys

func (*DescribeHistoryMonitorValuesRequest) SetNodeId

func (*DescribeHistoryMonitorValuesRequest) SetOwnerAccount

func (*DescribeHistoryMonitorValuesRequest) SetOwnerId

func (*DescribeHistoryMonitorValuesRequest) SetResourceOwnerAccount

func (*DescribeHistoryMonitorValuesRequest) SetResourceOwnerId

func (*DescribeHistoryMonitorValuesRequest) SetSecurityToken

func (*DescribeHistoryMonitorValuesRequest) SetStartTime

func (DescribeHistoryMonitorValuesRequest) String

type DescribeHistoryMonitorValuesResponse

type DescribeHistoryMonitorValuesResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeHistoryMonitorValuesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeHistoryMonitorValuesResponse) GoString

func (*DescribeHistoryMonitorValuesResponse) SetHeaders

func (*DescribeHistoryMonitorValuesResponse) SetStatusCode

func (DescribeHistoryMonitorValuesResponse) String

type DescribeHistoryMonitorValuesResponseBody

type DescribeHistoryMonitorValuesResponseBody struct {
	// The monitoring information returned in the JSON format. For more information, see [View performance monitoring data](~~122091~~).
	//
	// *   Only metrics whose values are not 0 are returned. This improves data transmission efficiency. Metrics that are not displayed are represented by the **0** default value.
	//
	// *   The query result is aligned with the data aggregation frequency. If the specified time range to query is less than or equal to 10 minutes and the data is aggregated once every 5 seconds, query results are returned at an interval of 5 seconds. If the specified StartTime value does not coincide with a point in time for data aggregation, the system returns the latest point in time for data aggregation as the first point in time. For example, if you set the StartTime parameter to 2022-01-20T12:01:48Z, the first point in time returned is 2022-01-20T12:01:45Z.
	MonitorHistory *string `json:"MonitorHistory,omitempty" xml:"MonitorHistory,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHistoryMonitorValuesResponseBody) GoString

func (*DescribeHistoryMonitorValuesResponseBody) SetMonitorHistory

func (*DescribeHistoryMonitorValuesResponseBody) SetRequestId

func (DescribeHistoryMonitorValuesResponseBody) String

type DescribeHistoryTasksRequest added in v3.0.2

type DescribeHistoryTasksRequest struct {
	// The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.
	FromExecTime *int32 `json:"FromExecTime,omitempty" xml:"FromExecTime,omitempty"`
	// The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.
	FromStartTime *string `json:"FromStartTime,omitempty" xml:"FromStartTime,omitempty"`
	// The instance ID. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Set the value to Instance.
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The page number. Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 10 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the pending task. You can call the [DescribeRegions](https://next.api.aliyun.com/document/R-kvstore/2015-01-01/DescribeRegions) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *int64  `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The task status. Valid values:
	//
	// *   Scheduled
	// *   Running
	// *   Succeed
	// *   Failed
	// *   Cancelling
	// *   Canceled
	// *   Waiting
	//
	// Separate multiple states with commas (,). This parameter is empty by default, which indicates that tasks in all states are queried.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The task ID. Separate multiple task IDs with commas (,). You can specify up to 30 task IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of task IDs.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task type. Separate multiple task types with commas (,). You can specify up to 30 task types. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.
	ToExecTime *int32 `json:"ToExecTime,omitempty" xml:"ToExecTime,omitempty"`
	// The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	ToStartTime *string `json:"ToStartTime,omitempty" xml:"ToStartTime,omitempty"`
}

func (DescribeHistoryTasksRequest) GoString added in v3.0.2

func (s DescribeHistoryTasksRequest) GoString() string

func (*DescribeHistoryTasksRequest) SetFromExecTime added in v3.0.2

func (*DescribeHistoryTasksRequest) SetFromStartTime added in v3.0.2

func (*DescribeHistoryTasksRequest) SetInstanceId added in v3.0.2

func (*DescribeHistoryTasksRequest) SetInstanceType added in v3.0.2

func (*DescribeHistoryTasksRequest) SetPageNumber added in v3.0.2

func (*DescribeHistoryTasksRequest) SetPageSize added in v3.0.2

func (*DescribeHistoryTasksRequest) SetRegionId added in v3.0.2

func (*DescribeHistoryTasksRequest) SetResourceOwnerAccount added in v3.0.2

func (s *DescribeHistoryTasksRequest) SetResourceOwnerAccount(v int64) *DescribeHistoryTasksRequest

func (*DescribeHistoryTasksRequest) SetResourceOwnerId added in v3.0.2

func (*DescribeHistoryTasksRequest) SetSecurityToken added in v3.0.2

func (*DescribeHistoryTasksRequest) SetStatus added in v3.0.2

func (*DescribeHistoryTasksRequest) SetTaskId added in v3.0.2

func (*DescribeHistoryTasksRequest) SetTaskType added in v3.0.2

func (*DescribeHistoryTasksRequest) SetToExecTime added in v3.0.2

func (*DescribeHistoryTasksRequest) SetToStartTime added in v3.0.2

func (DescribeHistoryTasksRequest) String added in v3.0.2

type DescribeHistoryTasksResponse added in v3.0.2

type DescribeHistoryTasksResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeHistoryTasksResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeHistoryTasksResponse) GoString added in v3.0.2

func (s DescribeHistoryTasksResponse) GoString() string

func (*DescribeHistoryTasksResponse) SetBody added in v3.0.2

func (*DescribeHistoryTasksResponse) SetHeaders added in v3.0.2

func (*DescribeHistoryTasksResponse) SetStatusCode added in v3.0.2

func (DescribeHistoryTasksResponse) String added in v3.0.2

type DescribeHistoryTasksResponseBody added in v3.0.2

type DescribeHistoryTasksResponseBody struct {
	// The request source. Valid values: System and User.
	Items []*DescribeHistoryTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number. Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 10 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The unique ID of the request. If the request fails, provide this ID for technical support to troubleshoot the failure.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of tasks that meet these constraints without taking pagination into account.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHistoryTasksResponseBody) GoString added in v3.0.2

func (*DescribeHistoryTasksResponseBody) SetItems added in v3.0.2

func (*DescribeHistoryTasksResponseBody) SetPageNumber added in v3.0.2

func (*DescribeHistoryTasksResponseBody) SetPageSize added in v3.0.2

func (*DescribeHistoryTasksResponseBody) SetRequestId added in v3.0.2

func (*DescribeHistoryTasksResponseBody) SetTotalCount added in v3.0.2

func (DescribeHistoryTasksResponseBody) String added in v3.0.2

type DescribeHistoryTasksResponseBodyItems added in v3.0.2

type DescribeHistoryTasksResponseBodyItems struct {
	ActionInfo      *string  `json:"ActionInfo,omitempty" xml:"ActionInfo,omitempty"`
	CallerSource    *string  `json:"CallerSource,omitempty" xml:"CallerSource,omitempty"`
	CallerUid       *string  `json:"CallerUid,omitempty" xml:"CallerUid,omitempty"`
	CurrentStepName *string  `json:"CurrentStepName,omitempty" xml:"CurrentStepName,omitempty"`
	DbType          *string  `json:"DbType,omitempty" xml:"DbType,omitempty"`
	EndTime         *string  `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	InstanceId      *string  `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	InstanceName    *string  `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	InstanceType    *string  `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	Product         *string  `json:"Product,omitempty" xml:"Product,omitempty"`
	Progress        *float32 `json:"Progress,omitempty" xml:"Progress,omitempty"`
	ReasonCode      *string  `json:"ReasonCode,omitempty" xml:"ReasonCode,omitempty"`
	RegionId        *string  `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	RemainTime      *int32   `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"`
	StartTime       *string  `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	Status          *int32   `json:"Status,omitempty" xml:"Status,omitempty"`
	TaskDetail      *string  `json:"TaskDetail,omitempty" xml:"TaskDetail,omitempty"`
	TaskId          *string  `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	TaskType        *string  `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	Uid             *string  `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DescribeHistoryTasksResponseBodyItems) GoString added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetActionInfo added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetCallerSource added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetCallerUid added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetCurrentStepName added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetDbType added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetEndTime added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceId added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceName added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceType added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetProduct added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetProgress added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetReasonCode added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetRegionId added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetRemainTime added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetStartTime added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetStatus added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetTaskDetail added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetTaskId added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetTaskType added in v3.0.2

func (*DescribeHistoryTasksResponseBodyItems) SetUid added in v3.0.2

func (DescribeHistoryTasksResponseBodyItems) String added in v3.0.2

type DescribeInstanceAttributeRequest

type DescribeInstanceAttributeRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeInstanceAttributeRequest) GoString

func (*DescribeInstanceAttributeRequest) SetInstanceId

func (*DescribeInstanceAttributeRequest) SetOwnerAccount

func (*DescribeInstanceAttributeRequest) SetOwnerId

func (*DescribeInstanceAttributeRequest) SetResourceOwnerAccount

func (*DescribeInstanceAttributeRequest) SetResourceOwnerId

func (*DescribeInstanceAttributeRequest) SetSecurityToken

func (DescribeInstanceAttributeRequest) String

type DescribeInstanceAttributeResponse

type DescribeInstanceAttributeResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstanceAttributeResponse) GoString

func (*DescribeInstanceAttributeResponse) SetHeaders

func (*DescribeInstanceAttributeResponse) SetStatusCode

func (DescribeInstanceAttributeResponse) String

type DescribeInstanceAttributeResponseBody

type DescribeInstanceAttributeResponseBody struct {
	// Details about the instances.
	Instances *DescribeInstanceAttributeResponseBodyInstances `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeInstanceAttributeResponseBody) GoString

func (*DescribeInstanceAttributeResponseBody) SetRequestId

func (DescribeInstanceAttributeResponseBody) String

type DescribeInstanceAttributeResponseBodyInstances

type DescribeInstanceAttributeResponseBodyInstances struct {
	DBInstanceAttribute []*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute `json:"DBInstanceAttribute,omitempty" xml:"DBInstanceAttribute,omitempty" type:"Repeated"`
}

func (DescribeInstanceAttributeResponseBodyInstances) GoString

func (DescribeInstanceAttributeResponseBodyInstances) String

type DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute

type DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute struct {
	// The architecture of the instance. Valid values:
	//
	// *   **cluster**: cluster architecture
	// *   **standard**: standard architecture
	// *   **rwsplit**: read/write splitting architecture
	ArchitectureType *string `json:"ArchitectureType,omitempty" xml:"ArchitectureType,omitempty"`
	// The retention period of audit logs. Unit: day. A value of 0 indicates that the audit log feature is disabled. For information about how to enable the feature, see [Enable the audit log feature](~~102015~~).
	AuditLogRetention *string `json:"AuditLogRetention,omitempty" xml:"AuditLogRetention,omitempty"`
	// The availability metric of the current month.
	AvailabilityValue *string `json:"AvailabilityValue,omitempty" xml:"AvailabilityValue,omitempty"`
	// The earliest point in time to which data can be restored. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// >
	//
	// *   This parameter is returned only when the data flashback feature is enabled for the instance. For more information, see [Restore data to a point in time by using the data flashback feature](~~148479~~).
	//
	// *   When you call the [RestoreInstance](~~61083~~) operation to implement data flashback, you can obtain the earliest point in time for data flashback from the return value of this parameter and set the **RestoreTime** parameter to this point in time.
	BackupLogStartTime *string `json:"BackupLogStartTime,omitempty" xml:"BackupLogStartTime,omitempty"`
	// The bandwidth of the instance. Unit: Mbit/s.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The storage capacity of the instance. Unit: MB.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// This parameter is returned only when the instance is in a cloud box.
	CloudType *string `json:"CloudType,omitempty" xml:"CloudType,omitempty"`
	// The parameter configurations of the instance in the JSON format. For more information, see [Parameter descriptions](~~43885~~). You can use the [DescribeAuditLogConfig](~~473830~~) operation to query audit log configurations.
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The internal endpoint of the instance.
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The maximum number of connections supported by the instance.
	Connections *int64 `json:"Connections,omitempty" xml:"Connections,omitempty"`
	// The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the subscription expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The database engine of the instance. The return value is **Redis**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the distributed instance to which the instance belongs.
	//
	// >  This parameter is returned only when the ApsaraDB for Redis instance is a child instance of a distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// Indicates whether your Alibaba Cloud account has pending orders for renewal and configuration change. Valid values:
	//
	// *   **true**
	// *   **false**
	HasRenewChangeOrder *string `json:"HasRenewChangeOrder,omitempty" xml:"HasRenewChangeOrder,omitempty"`
	// The instance type. For more information, see [Instance types](~~107984~~).
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The instance ID.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// Indicates whether the release protection feature is enabled for the instance. Valid values:
	//
	// *   **true**
	// *   **false**
	InstanceReleaseProtection *bool `json:"InstanceReleaseProtection,omitempty" xml:"InstanceReleaseProtection,omitempty"`
	// The state of the instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is being changed.
	// *   **Unavailable**: The instance is unavailable.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL configurations of the instance are being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
	//
	// >  For more information about instance states, see [Instance states and impacts](~~200740~~).
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **Tair**
	// *   **Redis**
	// *   **Memcache**
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// Indicates whether the order for instance configuration change has reached the final state. Valid values:
	//
	// *   **true**: The configuration change has been completed or has not been performed.
	// *   **false**: The configurations of the instance are being changed.
	IsOrderCompleted *bool `json:"IsOrderCompleted,omitempty" xml:"IsOrderCompleted,omitempty"`
	// Indicates whether the instance is managed by ApsaraDB RDS. Valid values:
	//
	// *   **true**
	// *   **false**
	IsRds *bool `json:"IsRds,omitempty" xml:"IsRds,omitempty"`
	// Indicates whether the transparent data encryption (TDE) feature is supported for the instance. Valid values:
	//
	// *   **true**: This feature is supported. This feature is available only for [DRAM-based](~~443827~~) instances that use local disks.
	// *   **false**: This feature is not supported.
	IsSupportTDE *bool `json:"IsSupportTDE,omitempty" xml:"IsSupportTDE,omitempty"`
	// The end time of the maintenance window. The time is in the *HH:mmZ* format. The time is displayed in UTC.
	MaintainEndTime *string `json:"MaintainEndTime,omitempty" xml:"MaintainEndTime,omitempty"`
	// The start time of the maintenance window. The time is in the *HH:mmZ* format. The time is displayed in UTC.
	MaintainStartTime *string `json:"MaintainStartTime,omitempty" xml:"MaintainStartTime,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **CLASSIC**
	// *   **VPC**
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The node type. Valid values:
	//
	// *   **double**: The instance contains a master node and a replica node.
	// *   **single**: The instance is a standalone instance.
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The plan type. Valid values:
	//
	// *   **standard**: standard plan.
	// *   **customized**: custom plan. This plan type is phased out.
	PackageType *string `json:"PackageType,omitempty" xml:"PackageType,omitempty"`
	// The service port of the ApsaraDB for Redis instance.
	Port *int64 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the instance.
	//
	// >  This parameter is not returned when the instance is deployed in the classic network.
	PrivateIp *string `json:"PrivateIp,omitempty" xml:"PrivateIp,omitempty"`
	// The expected maximum queries per second (QPS).
	QPS *int64 `json:"QPS,omitempty" xml:"QPS,omitempty"`
	// The number of read replicas. This parameter is available only for read/write splitting instances that use cloud disks.
	ReadOnlyCount *int32 `json:"ReadOnlyCount,omitempty" xml:"ReadOnlyCount,omitempty"`
	// If the instance is a cluster instance that uses cloud disks, this parameter indicates the actual instance type of individual shards in the instance. The InstanceClass parameter indicates the virtual instance type.
	//
	// >  To query fees for instances of the instance type, you can specify the instance type that is returned by this parameter in the [DescribePrice](~~95612~~) operation.
	RealInstanceClass *string `json:"RealInstanceClass,omitempty" xml:"RealInstanceClass,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replica node.
	ReplicaId *string `json:"ReplicaId,omitempty" xml:"ReplicaId,omitempty"`
	// The architecture of the replica node. Valid values:
	//
	// *   **master-slave**: the standard master-replica architecture.
	// *   **cluster**: the cluster architecture, which includes the read/write splitting instances and cluster instances.
	ReplicationMode *string `json:"ReplicationMode,omitempty" xml:"ReplicationMode,omitempty"`
	// The ID of the resource group to which the instance belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the secondary zone.
	//
	// >  This parameter is returned only if the instance has a secondary zone ID.
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The IP addresses in the whitelist.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The number of shards. This parameter is available only for ApsaraDB for Redis instances that are purchased on the China site (aliyun.com).
	ShardCount         *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	SlaveReadOnlyCount *int64 `json:"SlaveReadOnlyCount,omitempty" xml:"SlaveReadOnlyCount,omitempty"`
	// The storage capacity of the cloud disk.
	Storage *string `json:"Storage,omitempty" xml:"Storage,omitempty"`
	// The storage type.
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// Details about the tags.
	Tags *DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// Indicates whether password authentication is enabled. Valid values:
	//
	// *   **Open**: Password authentication is enabled.
	// *   **Close**: Password authentication is disabled and [password-free access](~~85168~~) is enabled.
	VpcAuthMode *string `json:"VpcAuthMode,omitempty" xml:"VpcAuthMode,omitempty"`
	// The ID of the instance in the VPC.
	VpcCloudInstanceId *string `json:"VpcCloudInstanceId,omitempty" xml:"VpcCloudInstanceId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The deployment type of the instance. Valid values:
	//
	// *   **singlezone**: The instance is deployed in a single zone.
	// *   **doublezone**: The instance is deployed in two zones of the same region.
	ZoneType *string `json:"ZoneType,omitempty" xml:"ZoneType,omitempty"`
}

func (DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) GoString

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetArchitectureType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetAuditLogRetention

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetAvailabilityValue

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetBackupLogStartTime

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetBandwidth

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetCapacity

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetChargeType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetCloudType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetConfig

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetConnectionDomain

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetConnections

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetCreateTime

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetEndTime

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetEngine

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetEngineVersion

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetGlobalInstanceId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetHasRenewChangeOrder

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetInstanceClass

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetInstanceId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetInstanceName

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetInstanceReleaseProtection

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetInstanceStatus

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetInstanceType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetIsOrderCompleted added in v3.0.1

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetIsRds

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetIsSupportTDE added in v3.0.1

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetMaintainEndTime

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetMaintainStartTime

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetNetworkType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetNodeType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetPackageType

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetPort

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetPrivateIp

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetQPS

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetReadOnlyCount

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetRealInstanceClass added in v3.0.1

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetRegionId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetReplicaId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetReplicationMode

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetResourceGroupId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetSecondaryZoneId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetSecurityIPList

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetShardCount

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetSlaveReadOnlyCount added in v3.4.0

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetStorage added in v3.2.3

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetStorageType added in v3.2.3

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetVSwitchId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetVpcAuthMode

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetVpcCloudInstanceId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetVpcId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetZoneId

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) SetZoneType

func (DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttribute) String

type DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTags

type DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTags struct {
	Tag []*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTags) GoString

func (DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTags) String

type DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag

type DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag) GoString

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag) SetKey

func (*DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag) SetValue

func (DescribeInstanceAttributeResponseBodyInstancesDBInstanceAttributeTagsTag) String

type DescribeInstanceAutoRenewalAttributeRequest

type DescribeInstanceAutoRenewalAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance.
	//
	// > By default, the system checks whether auto-renewal is enabled for all instances.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer greater than **0**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**.
	//
	// > The default value is **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the instance.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeRequest) GoString

func (*DescribeInstanceAutoRenewalAttributeRequest) SetClientToken

func (*DescribeInstanceAutoRenewalAttributeRequest) SetDBInstanceId

func (*DescribeInstanceAutoRenewalAttributeRequest) SetOwnerAccount

func (*DescribeInstanceAutoRenewalAttributeRequest) SetOwnerId

func (*DescribeInstanceAutoRenewalAttributeRequest) SetPageNumber

func (*DescribeInstanceAutoRenewalAttributeRequest) SetPageSize

func (*DescribeInstanceAutoRenewalAttributeRequest) SetRegionId

func (*DescribeInstanceAutoRenewalAttributeRequest) SetResourceOwnerAccount

func (*DescribeInstanceAutoRenewalAttributeRequest) SetResourceOwnerId

func (DescribeInstanceAutoRenewalAttributeRequest) String

type DescribeInstanceAutoRenewalAttributeResponse

type DescribeInstanceAutoRenewalAttributeResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstanceAutoRenewalAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeResponse) GoString

func (*DescribeInstanceAutoRenewalAttributeResponse) SetHeaders

func (*DescribeInstanceAutoRenewalAttributeResponse) SetStatusCode

func (DescribeInstanceAutoRenewalAttributeResponse) String

type DescribeInstanceAutoRenewalAttributeResponseBody

type DescribeInstanceAutoRenewalAttributeResponseBody struct {
	// Details of the auto-renewal information for the instance.
	Items *DescribeInstanceAutoRenewalAttributeResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeResponseBody) GoString

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetPageNumber

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetPageRecordCount

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetRequestId

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetTotalRecordCount

func (DescribeInstanceAutoRenewalAttributeResponseBody) String

type DescribeInstanceAutoRenewalAttributeResponseBodyItems

type DescribeInstanceAutoRenewalAttributeResponseBodyItems struct {
	Item []*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem `json:"Item,omitempty" xml:"Item,omitempty" type:"Repeated"`
}

func (DescribeInstanceAutoRenewalAttributeResponseBodyItems) GoString

func (DescribeInstanceAutoRenewalAttributeResponseBodyItems) String

type DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem

type DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem struct {
	// Indicates whether auto-renewal is enabled. Valid values:
	//
	// *   **true**: Auto-renewal is enabled.
	// *   **false**: Auto-renewal is disabled.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The auto-renewal period. Unit: months.
	Duration *int32 `json:"Duration,omitempty" xml:"Duration,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) GoString

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetAutoRenew

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDBInstanceId

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDuration

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetRegionId

func (DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) String

type DescribeInstanceConfigRequest

type DescribeInstanceConfigRequest struct {
	// The instance ID. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeInstanceConfigRequest) GoString

func (*DescribeInstanceConfigRequest) SetInstanceId

func (*DescribeInstanceConfigRequest) SetOwnerAccount

func (*DescribeInstanceConfigRequest) SetOwnerId

func (*DescribeInstanceConfigRequest) SetResourceOwnerAccount

func (*DescribeInstanceConfigRequest) SetResourceOwnerId

func (*DescribeInstanceConfigRequest) SetSecurityToken

func (DescribeInstanceConfigRequest) String

type DescribeInstanceConfigResponse

type DescribeInstanceConfigResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstanceConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstanceConfigResponse) GoString

func (*DescribeInstanceConfigResponse) SetHeaders

func (*DescribeInstanceConfigResponse) SetStatusCode

func (DescribeInstanceConfigResponse) String

type DescribeInstanceConfigResponseBody

type DescribeInstanceConfigResponseBody struct {
	// The parameter settings of the instance. For more information, see [Parameter overview and configuration guide](~~43885~~).
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeInstanceConfigResponseBody) GoString

func (*DescribeInstanceConfigResponseBody) SetConfig

func (*DescribeInstanceConfigResponseBody) SetRequestId

func (DescribeInstanceConfigResponseBody) String

type DescribeInstanceSSLRequest

type DescribeInstanceSSLRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeInstanceSSLRequest) GoString

func (s DescribeInstanceSSLRequest) GoString() string

func (*DescribeInstanceSSLRequest) SetInstanceId

func (*DescribeInstanceSSLRequest) SetOwnerAccount

func (*DescribeInstanceSSLRequest) SetOwnerId

func (*DescribeInstanceSSLRequest) SetResourceOwnerAccount

func (s *DescribeInstanceSSLRequest) SetResourceOwnerAccount(v string) *DescribeInstanceSSLRequest

func (*DescribeInstanceSSLRequest) SetResourceOwnerId

func (*DescribeInstanceSSLRequest) SetSecurityToken

func (DescribeInstanceSSLRequest) String

type DescribeInstanceSSLResponse

type DescribeInstanceSSLResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstanceSSLResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstanceSSLResponse) GoString

func (s DescribeInstanceSSLResponse) GoString() string

func (*DescribeInstanceSSLResponse) SetBody

func (*DescribeInstanceSSLResponse) SetHeaders

func (*DescribeInstanceSSLResponse) SetStatusCode

func (DescribeInstanceSSLResponse) String

type DescribeInstanceSSLResponseBody

type DescribeInstanceSSLResponseBody struct {
	// The common name of the CA certificate. The default value is the internal endpoint of the instance.
	CertCommonName *string `json:"CertCommonName,omitempty" xml:"CertCommonName,omitempty"`
	// The download URL of the CA certificate.
	CertDownloadURL *string `json:"CertDownloadURL,omitempty" xml:"CertDownloadURL,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The status of the TLS (SSL) encryption feature. Valid values:
	//
	// *   **Enable**: SSL encryption is enabled.
	// *   **Disable**: SSL encryption is disabled.
	SSLEnabled *string `json:"SSLEnabled,omitempty" xml:"SSLEnabled,omitempty"`
	// The time when the CA certificate expires.
	SSLExpiredTime *string `json:"SSLExpiredTime,omitempty" xml:"SSLExpiredTime,omitempty"`
}

func (DescribeInstanceSSLResponseBody) GoString

func (*DescribeInstanceSSLResponseBody) SetCertCommonName

func (*DescribeInstanceSSLResponseBody) SetCertDownloadURL added in v3.0.1

func (*DescribeInstanceSSLResponseBody) SetInstanceId

func (*DescribeInstanceSSLResponseBody) SetRequestId

func (*DescribeInstanceSSLResponseBody) SetSSLEnabled

func (*DescribeInstanceSSLResponseBody) SetSSLExpiredTime

func (DescribeInstanceSSLResponseBody) String

type DescribeInstanceTDEStatusRequest

type DescribeInstanceTDEStatusRequest struct {
	// The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](~~60933~~) operation to query instance IDs.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeInstanceTDEStatusRequest) GoString

func (*DescribeInstanceTDEStatusRequest) SetInstanceId

func (*DescribeInstanceTDEStatusRequest) SetOwnerAccount

func (*DescribeInstanceTDEStatusRequest) SetOwnerId

func (*DescribeInstanceTDEStatusRequest) SetResourceOwnerAccount

func (*DescribeInstanceTDEStatusRequest) SetResourceOwnerId

func (*DescribeInstanceTDEStatusRequest) SetSecurityToken

func (DescribeInstanceTDEStatusRequest) String

type DescribeInstanceTDEStatusResponse

type DescribeInstanceTDEStatusResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstanceTDEStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstanceTDEStatusResponse) GoString

func (*DescribeInstanceTDEStatusResponse) SetHeaders

func (*DescribeInstanceTDEStatusResponse) SetStatusCode

func (DescribeInstanceTDEStatusResponse) String

type DescribeInstanceTDEStatusResponseBody

type DescribeInstanceTDEStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether TDE is enabled. Valid values:
	//
	// *   **Enabled**: TDE is enabled.
	// *   **Disable**: TDE is disabled.
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (DescribeInstanceTDEStatusResponseBody) GoString

func (*DescribeInstanceTDEStatusResponseBody) SetRequestId

func (*DescribeInstanceTDEStatusResponseBody) SetTDEStatus

func (DescribeInstanceTDEStatusResponseBody) String

type DescribeInstancesOverviewRequest

type DescribeInstancesOverviewRequest struct {
	// The architecture of the instance. Valid values:
	//
	// *   **cluster**: cluster architecture
	// *   **standard**: standard architecture
	// *   **rwsplit**: read/write splitting architecture
	ArchitectureType *string `json:"ArchitectureType,omitempty" xml:"ArchitectureType,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The edition of the instance. Valid values:
	//
	// *   **Community**: Community Edition
	// *   **Enterprise**: Enhanced Edition (Tair)
	EditionType *string `json:"EditionType,omitempty" xml:"EditionType,omitempty"`
	// The database engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The instance type of the instance. For more information, see [Instance types](~~107984~~).
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The IDs of instances.
	//
	// > By default, all instances that belong to this account are queried. If you specify multiple instance IDs, separate the instance IDs with commas (,).
	InstanceIds *string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty"`
	// The state of the instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is being changed.
	// *   **Unavailable**: The instance is unavailable.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL certificate of the instance is being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
	//
	// > For more information about instance states, see [Instance states and impacts](~~200740~~).
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The category of the instance. Valid values:
	//
	// *   **Tair**
	// *   **Redis**
	// *   **Memcache**
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **CLASSIC**: classic network
	// *   **VPC**: Virtual Private Cloud (VPC)
	NetworkType  *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The private IP address of the instance.
	PrivateIp *string `json:"PrivateIp,omitempty" xml:"PrivateIp,omitempty"`
	// The ID of the region in which the instances you want to query reside. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the instances you want to query belong.
	//
	// > You can query resource group IDs by using the ApsaraDB for Redis console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The keyword used for fuzzy search. The keyword can be based on an instance ID or an instance description.
	SearchKey     *string `json:"SearchKey,omitempty" xml:"SearchKey,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeInstancesOverviewRequest) GoString

func (*DescribeInstancesOverviewRequest) SetArchitectureType

func (*DescribeInstancesOverviewRequest) SetChargeType

func (*DescribeInstancesOverviewRequest) SetEditionType

func (*DescribeInstancesOverviewRequest) SetEngineVersion

func (*DescribeInstancesOverviewRequest) SetInstanceClass

func (*DescribeInstancesOverviewRequest) SetInstanceIds

func (*DescribeInstancesOverviewRequest) SetInstanceStatus

func (*DescribeInstancesOverviewRequest) SetInstanceType

func (*DescribeInstancesOverviewRequest) SetNetworkType

func (*DescribeInstancesOverviewRequest) SetOwnerAccount

func (*DescribeInstancesOverviewRequest) SetOwnerId

func (*DescribeInstancesOverviewRequest) SetPrivateIp

func (*DescribeInstancesOverviewRequest) SetRegionId

func (*DescribeInstancesOverviewRequest) SetResourceGroupId

func (*DescribeInstancesOverviewRequest) SetResourceOwnerAccount

func (*DescribeInstancesOverviewRequest) SetResourceOwnerId

func (*DescribeInstancesOverviewRequest) SetSearchKey

func (*DescribeInstancesOverviewRequest) SetSecurityToken

func (*DescribeInstancesOverviewRequest) SetVSwitchId

func (*DescribeInstancesOverviewRequest) SetVpcId

func (*DescribeInstancesOverviewRequest) SetZoneId

func (DescribeInstancesOverviewRequest) String

type DescribeInstancesOverviewResponse

type DescribeInstancesOverviewResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstancesOverviewResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstancesOverviewResponse) GoString

func (*DescribeInstancesOverviewResponse) SetHeaders

func (*DescribeInstancesOverviewResponse) SetStatusCode

func (DescribeInstancesOverviewResponse) String

type DescribeInstancesOverviewResponseBody

type DescribeInstancesOverviewResponseBody struct {
	// An array of instances.
	Instances []*DescribeInstancesOverviewResponseBodyInstances `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of instances.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeInstancesOverviewResponseBody) GoString

func (*DescribeInstancesOverviewResponseBody) SetRequestId

func (*DescribeInstancesOverviewResponseBody) SetTotalCount

func (DescribeInstancesOverviewResponseBody) String

type DescribeInstancesOverviewResponseBodyInstances

type DescribeInstancesOverviewResponseBodyInstances struct {
	// The architecture of the instance. Valid values:
	//
	// *   **cluster**: cluster architecture
	// *   **standard**: standard architecture
	// *   **rwsplit**: read/write splitting architecture
	ArchitectureType *string `json:"ArchitectureType,omitempty" xml:"ArchitectureType,omitempty"`
	// The storage capacity of the instance. Unit: MB.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The internal endpoint of the instance.
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The time when the instance was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the subscription instance expires.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The database engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the distributed instance.
	//
	// > This parameter is returned only when the instance is a child instance of a distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// The instance type of the instance.
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The state of the instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is being changed.
	// *   **Unavailable**: The instance is unavailable.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL certificate of the instance is being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The category of the instance. Valid values:
	//
	// *   **Tair**
	// *   **Redis**
	// *   **Memcache**
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **CLASSIC**: classic network
	// *   **VPC**: VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The private IP address of the instance.
	//
	// > This parameter is not returned when the instance is deployed in the classic network.
	PrivateIp *string `json:"PrivateIp,omitempty" xml:"PrivateIp,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the instance belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// Instance\"s secondary zone id.
	// > This parameter is only returned when the instance has a secondary zone ID.
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The ID of the vSwitch to which the instance is connected.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeInstancesOverviewResponseBodyInstances) GoString

func (*DescribeInstancesOverviewResponseBodyInstances) SetArchitectureType

func (*DescribeInstancesOverviewResponseBodyInstances) SetCapacity

func (*DescribeInstancesOverviewResponseBodyInstances) SetChargeType

func (*DescribeInstancesOverviewResponseBodyInstances) SetConnectionDomain

func (*DescribeInstancesOverviewResponseBodyInstances) SetCreateTime

func (*DescribeInstancesOverviewResponseBodyInstances) SetEndTime

func (*DescribeInstancesOverviewResponseBodyInstances) SetEngineVersion

func (*DescribeInstancesOverviewResponseBodyInstances) SetGlobalInstanceId

func (*DescribeInstancesOverviewResponseBodyInstances) SetInstanceClass

func (*DescribeInstancesOverviewResponseBodyInstances) SetInstanceId

func (*DescribeInstancesOverviewResponseBodyInstances) SetInstanceName

func (*DescribeInstancesOverviewResponseBodyInstances) SetInstanceStatus

func (*DescribeInstancesOverviewResponseBodyInstances) SetInstanceType

func (*DescribeInstancesOverviewResponseBodyInstances) SetNetworkType

func (*DescribeInstancesOverviewResponseBodyInstances) SetPrivateIp

func (*DescribeInstancesOverviewResponseBodyInstances) SetRegionId

func (*DescribeInstancesOverviewResponseBodyInstances) SetResourceGroupId

func (*DescribeInstancesOverviewResponseBodyInstances) SetSecondaryZoneId added in v3.0.1

func (*DescribeInstancesOverviewResponseBodyInstances) SetVSwitchId

func (*DescribeInstancesOverviewResponseBodyInstances) SetVpcId

func (*DescribeInstancesOverviewResponseBodyInstances) SetZoneId

func (DescribeInstancesOverviewResponseBodyInstances) String

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	// The architecture of the instance. Valid values:
	//
	// *   **cluster**: cluster architecture
	// *   **standard**: standard architecture
	// *   **rwsplit**: read/write splitting architecture
	ArchitectureType *string `json:"ArchitectureType,omitempty" xml:"ArchitectureType,omitempty"`
	// The billing method. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The edition of the instance. Valid values:
	//
	// *   **Community**: ApsaraDB for Redis Community Edition
	// *   **Enterprise**: ApsaraDB for Redis Enhanced Edition (Tair)
	EditionType *string `json:"EditionType,omitempty" xml:"EditionType,omitempty"`
	// The engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
	//
	// Valid values:
	//
	// *   1.0
	// *   2.8
	// *   4.0
	// *   5.0
	// *   6.0
	// *   7.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Specifies whether the instance has expired. Valid values:
	//
	// *   **true**: The instance has expired.
	// *   **false**: The instance has not expired.
	Expired *string `json:"Expired,omitempty" xml:"Expired,omitempty"`
	// Specifies whether to return the child instances of distributed instances. Valid values:
	//
	// *   **true**: Only child instances are returned.
	// *   **false**: Child instances are not returned.
	GlobalInstance *bool `json:"GlobalInstance,omitempty" xml:"GlobalInstance,omitempty"`
	// The instance type of the instance. For more information, see [Instance types](~~107984~~).
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The IDs of the instances that you want to query.
	//
	// >  If you want to specify multiple instance IDs, separate the instance IDs with commas (,). You can specify a maximum of 30 instance IDs in a single request.
	InstanceIds *string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty"`
	// The state of the instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is being changed.
	// *   **Unavailable**: The instance is suspended.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL certificate of the instance is being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
	//
	// > For more information about instance states, see [Instance states and impacts](~~200740~~).
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **Tair**
	// *   **Redis**
	// *   **Memcache**
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The network type. Valid values:
	//
	// *   **CLASSIC**
	// *   **VPC**
	NetworkType  *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Pages start from page **1**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Maximum value: **50**. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The private IP address of the instance.
	PrivateIp *string `json:"PrivateIp,omitempty" xml:"PrivateIp,omitempty"`
	// The region ID of the instance.
	//
	// > When you call this operation and specify the **Tag** parameter, you must also specify this parameter.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the instance belongs.
	//
	// > You can query resource group IDs by using the ApsaraDB for Redis console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
	SearchKey     *string `json:"SearchKey,omitempty" xml:"SearchKey,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The tags of the instance.
	Tag []*DescribeInstancesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeInstancesRequest) GoString

func (s DescribeInstancesRequest) GoString() string

func (*DescribeInstancesRequest) SetArchitectureType

func (s *DescribeInstancesRequest) SetArchitectureType(v string) *DescribeInstancesRequest

func (*DescribeInstancesRequest) SetChargeType

func (*DescribeInstancesRequest) SetEditionType

func (*DescribeInstancesRequest) SetEngineVersion

func (*DescribeInstancesRequest) SetExpired

func (*DescribeInstancesRequest) SetGlobalInstance

func (s *DescribeInstancesRequest) SetGlobalInstance(v bool) *DescribeInstancesRequest

func (*DescribeInstancesRequest) SetInstanceClass

func (*DescribeInstancesRequest) SetInstanceIds

func (*DescribeInstancesRequest) SetInstanceStatus

func (s *DescribeInstancesRequest) SetInstanceStatus(v string) *DescribeInstancesRequest

func (*DescribeInstancesRequest) SetInstanceType

func (*DescribeInstancesRequest) SetNetworkType

func (*DescribeInstancesRequest) SetOwnerAccount

func (*DescribeInstancesRequest) SetOwnerId

func (*DescribeInstancesRequest) SetPageNumber

func (*DescribeInstancesRequest) SetPageSize

func (*DescribeInstancesRequest) SetPrivateIp

func (*DescribeInstancesRequest) SetRegionId

func (*DescribeInstancesRequest) SetResourceGroupId

func (s *DescribeInstancesRequest) SetResourceGroupId(v string) *DescribeInstancesRequest

func (*DescribeInstancesRequest) SetResourceOwnerAccount

func (s *DescribeInstancesRequest) SetResourceOwnerAccount(v string) *DescribeInstancesRequest

func (*DescribeInstancesRequest) SetResourceOwnerId

func (s *DescribeInstancesRequest) SetResourceOwnerId(v int64) *DescribeInstancesRequest

func (*DescribeInstancesRequest) SetSearchKey

func (*DescribeInstancesRequest) SetSecurityToken

func (*DescribeInstancesRequest) SetTag

func (*DescribeInstancesRequest) SetVSwitchId

func (*DescribeInstancesRequest) SetVpcId

func (*DescribeInstancesRequest) SetZoneId

func (DescribeInstancesRequest) String

func (s DescribeInstancesRequest) String() string

type DescribeInstancesRequestTag

type DescribeInstancesRequestTag struct {
	// The tag key. A tag is a key-value pair.
	//
	// >  A maximum of five key-value pairs can be specified at a time.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeInstancesRequestTag) GoString

func (s DescribeInstancesRequestTag) GoString() string

func (*DescribeInstancesRequestTag) SetKey

func (*DescribeInstancesRequestTag) SetValue

func (DescribeInstancesRequestTag) String

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstancesResponse) GoString

func (s DescribeInstancesResponse) GoString() string

func (*DescribeInstancesResponse) SetBody

func (*DescribeInstancesResponse) SetHeaders

func (*DescribeInstancesResponse) SetStatusCode

func (DescribeInstancesResponse) String

func (s DescribeInstancesResponse) String() string

type DescribeInstancesResponseBody

type DescribeInstancesResponseBody struct {
	// Details about the instances.
	Instances *DescribeInstancesResponseBodyInstances `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of instances.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeInstancesResponseBody) GoString

func (*DescribeInstancesResponseBody) SetPageNumber

func (*DescribeInstancesResponseBody) SetPageSize

func (*DescribeInstancesResponseBody) SetRequestId

func (*DescribeInstancesResponseBody) SetTotalCount

func (DescribeInstancesResponseBody) String

type DescribeInstancesResponseBodyInstances

type DescribeInstancesResponseBodyInstances struct {
	KVStoreInstance []*DescribeInstancesResponseBodyInstancesKVStoreInstance `json:"KVStoreInstance,omitempty" xml:"KVStoreInstance,omitempty" type:"Repeated"`
}

func (DescribeInstancesResponseBodyInstances) GoString

func (DescribeInstancesResponseBodyInstances) String

type DescribeInstancesResponseBodyInstancesKVStoreInstance

type DescribeInstancesResponseBodyInstancesKVStoreInstance struct {
	// The architecture of the instance. Default value: NULL. Valid values:
	//
	// *   **cluster**: cluster architecture
	// *   **standard**: standard architecture
	// *   **rwsplit**: read/write splitting architecture
	// *   **NULL**: all of the preceding architectures
	ArchitectureType *string `json:"ArchitectureType,omitempty" xml:"ArchitectureType,omitempty"`
	// The bandwidth of the instance. Unit: Mbit/s.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The storage capacity of the instance. Unit: MB.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PrePaid**: subscription
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// This parameter is returned only when the instance is in a cloud box.
	CloudType *string `json:"CloudType,omitempty" xml:"CloudType,omitempty"`
	// The parameter configurations of the instance. For more information, see [Modify parameters of an instance](~~43885~~).
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The internal endpoint of the instance.
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The maximum number of connections supported by the instance.
	Connections *int64 `json:"Connections,omitempty" xml:"Connections,omitempty"`
	// The time when the instance was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the instance was deleted.
	DestroyTime *string `json:"DestroyTime,omitempty" xml:"DestroyTime,omitempty"`
	// The edition of the instance. Valid values:
	//
	// *   **Community**: ApsaraDB for Redis Community Edition
	// *   **Enterprise**: ApsaraDB for Redis Enhanced Edition (Tair)
	EditionType *string `json:"EditionType,omitempty" xml:"EditionType,omitempty"`
	// The time when the subscription instance expires.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The engine version of the instance. Valid values: **2.8**, **4.0**, and **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the distributed instance.
	//
	// >  This parameter is returned only if the instance is a child instance of a distributed instance.
	GlobalInstanceId *string `json:"GlobalInstanceId,omitempty" xml:"GlobalInstanceId,omitempty"`
	// Indicates whether your Alibaba Cloud account has pending orders for renewal and configuration change. Valid values:
	//
	// *   **true**
	// *   **false**
	HasRenewChangeOrder *bool `json:"HasRenewChangeOrder,omitempty" xml:"HasRenewChangeOrder,omitempty"`
	// The instance class.
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The state of the instance. Valid values:
	//
	// *   **Normal**: The instance is normal.
	// *   **Creating**: The instance is being created.
	// *   **Changing**: The configurations of the instance are being changed.
	// *   **Inactive**: The instance is disabled.
	// *   **Flushing**: The instance is being released.
	// *   **Released**: The instance is released.
	// *   **Transforming**: The billing method of the instance is being changed.
	// *   **Unavailable**: The instance is unavailable.
	// *   **Error**: The instance failed to be created.
	// *   **Migrating**: The instance is being migrated.
	// *   **BackupRecovering**: The instance is being restored from a backup.
	// *   **MinorVersionUpgrading**: The minor version of the instance is being updated.
	// *   **NetworkModifying**: The network type of the instance is being changed.
	// *   **SSLModifying**: The SSL configurations of the instance are being changed.
	// *   **MajorVersionUpgrading**: The major version of the instance is being upgraded. The instance remains accessible during the upgrade.
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **Tair**
	// *   **Redis**
	// *   **Memcache**
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// Indicates whether the instance is managed by ApsaraDB RDS. Valid values:
	//
	// *   **true**
	// *   **false**
	IsRds *bool `json:"IsRds,omitempty" xml:"IsRds,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **CLASSIC**
	// *   **VPC**
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The node type. Valid values:
	//
	// *   **double**: The instance contains a master node and a replica node.
	// *   **single**: The instance contains only a master node. This node type is phased out.
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The plan type. Valid values:
	//
	// *   **standard**: standard plan
	// *   **customized**: custom plan
	PackageType *string `json:"PackageType,omitempty" xml:"PackageType,omitempty"`
	// The service port of the instance.
	Port *int64 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address.
	//
	// >  This parameter is not returned when the instance is deployed in the classic network.
	PrivateIp *string `json:"PrivateIp,omitempty" xml:"PrivateIp,omitempty"`
	// The number of queries per second (QPS).
	QPS *int64 `json:"QPS,omitempty" xml:"QPS,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The logical ID of the distributed instance.
	ReplacateId *string `json:"ReplacateId,omitempty" xml:"ReplacateId,omitempty"`
	// The ID of the resource group to which the instance belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the secondary zone.
	//
	// >  If multiple zones are returned for **ZoneId**, such as cn-hangzhou-MAZ10(h,i), this parameter is ignored.
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The shard class. For more information about shard classes, see [Overview](~~26350~~).
	//
	// >  The overall performance of a cluster instance is calculated by multiplying the class of a single shard (ShardClass) by the number of shards (ShardCount).
	ShardClass *string `json:"ShardClass,omitempty" xml:"ShardClass,omitempty"`
	// The number of data shards in the cluster instance.
	//
	// >  This parameter is returned only for cloud-native cluster instances or read/write splitting instances.
	ShardCount *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	// Details about the tags.
	Tags *DescribeInstancesResponseBodyInstancesKVStoreInstanceTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The username used to connect to the instance. By default, a username named after the instance ID is included.
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
	// The ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeInstancesResponseBodyInstancesKVStoreInstance) GoString

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetArchitectureType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetBandwidth

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetCapacity

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetChargeType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetCloudType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetConfig

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetConnectionDomain

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetConnectionMode

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetConnections

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetCreateTime

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetDestroyTime

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetEditionType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetEndTime

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetEngineVersion

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetGlobalInstanceId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetHasRenewChangeOrder

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetInstanceClass

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetInstanceId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetInstanceName

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetInstanceStatus

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetInstanceType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetIsRds

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetNetworkType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetNodeType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetPackageType

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetPort

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetPrivateIp

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetQPS

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetRegionId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetReplacateId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetResourceGroupId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetSecondaryZoneId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetShardClass added in v3.0.1

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetShardCount

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetUserName

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetVSwitchId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetVpcId

func (*DescribeInstancesResponseBodyInstancesKVStoreInstance) SetZoneId

func (DescribeInstancesResponseBodyInstancesKVStoreInstance) String

type DescribeInstancesResponseBodyInstancesKVStoreInstanceTags

type DescribeInstancesResponseBodyInstancesKVStoreInstanceTags struct {
	Tag []*DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeInstancesResponseBodyInstancesKVStoreInstanceTags) GoString

func (DescribeInstancesResponseBodyInstancesKVStoreInstanceTags) String

type DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag

type DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag struct {
	// The key of the tag.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag) GoString

func (*DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag) SetKey

func (*DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag) SetValue

func (DescribeInstancesResponseBodyInstancesKVStoreInstanceTagsTag) String

type DescribeIntranetAttributeRequest

type DescribeIntranetAttributeRequest struct {
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeIntranetAttributeRequest) GoString

func (*DescribeIntranetAttributeRequest) SetInstanceId

func (*DescribeIntranetAttributeRequest) SetOwnerAccount

func (*DescribeIntranetAttributeRequest) SetOwnerId

func (*DescribeIntranetAttributeRequest) SetResourceGroupId

func (*DescribeIntranetAttributeRequest) SetResourceOwnerAccount

func (*DescribeIntranetAttributeRequest) SetResourceOwnerId

func (*DescribeIntranetAttributeRequest) SetSecurityToken

func (DescribeIntranetAttributeRequest) String

type DescribeIntranetAttributeResponse

type DescribeIntranetAttributeResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeIntranetAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeIntranetAttributeResponse) GoString

func (*DescribeIntranetAttributeResponse) SetHeaders

func (*DescribeIntranetAttributeResponse) SetStatusCode

func (DescribeIntranetAttributeResponse) String

type DescribeIntranetAttributeResponseBody

type DescribeIntranetAttributeResponseBody struct {
	// Indicates whether auto-renewal is enabled for the extra internal bandwidth that you purchased. Valid values:
	//
	// *   **true**: Auto-renewal is enabled.
	// *   **false**: Auto-renewal is disabled.
	//
	// > If no extra internal bandwidth is purchased, this parameter is not returned.
	AutoRenewal *bool `json:"AutoRenewal,omitempty" xml:"AutoRenewal,omitempty"`
	// The expiration time of the purchased bandwidth. The time follows the ISO 8601 standard in the *yyyy-MM-dd* T *HH:mm:ss* Z format.
	//
	// > If no extra internal bandwidth is purchased, this parameter is not returned.
	BandwidthExpireTime *string `json:"BandwidthExpireTime,omitempty" xml:"BandwidthExpireTime,omitempty"`
	// The billing methods of unexpired bandwith plans. Valid values:
	// - **0**: Pay-as-you-go
	// - **1**: Subscription
	BandwidthPrePaid *string `json:"BandwidthPrePaid,omitempty" xml:"BandwidthPrePaid,omitempty"`
	// The time when the extra internal bandwidth that you purchased for temporary use expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// > If no extra internal bandwidth for temporary use is purchased or the extra internal bandwidth that you purchased for temporary use has expired, **0** is returned for this parameter.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// Specifies whether the instance has unexpired bandwidth plans. Valid values:
	//
	// *   **true**: The instance has unexpired bandwidth plans.
	// *   **false**: The instance does not have unexpired bandwidth plans.
	//
	// > If no extra internal bandwidth is purchased, this parameter is not returned.
	HasPrePaidBandWidthOrderRunning *bool `json:"HasPrePaidBandWidthOrderRunning,omitempty" xml:"HasPrePaidBandWidthOrderRunning,omitempty"`
	// The current internal bandwidth of the instance. Unit: Mbit/s.
	IntranetBandwidth *int32 `json:"IntranetBandwidth,omitempty" xml:"IntranetBandwidth,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeIntranetAttributeResponseBody) GoString

func (*DescribeIntranetAttributeResponseBody) SetAutoRenewal

func (*DescribeIntranetAttributeResponseBody) SetBandwidthExpireTime

func (*DescribeIntranetAttributeResponseBody) SetBandwidthPrePaid added in v3.0.2

func (*DescribeIntranetAttributeResponseBody) SetExpireTime

func (*DescribeIntranetAttributeResponseBody) SetHasPrePaidBandWidthOrderRunning added in v3.0.1

func (s *DescribeIntranetAttributeResponseBody) SetHasPrePaidBandWidthOrderRunning(v bool) *DescribeIntranetAttributeResponseBody

func (*DescribeIntranetAttributeResponseBody) SetIntranetBandwidth

func (*DescribeIntranetAttributeResponseBody) SetRequestId

func (DescribeIntranetAttributeResponseBody) String

type DescribeLogicInstanceTopologyRequest

type DescribeLogicInstanceTopologyRequest struct {
	// The ID of the instance whose topology information you want to query.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeLogicInstanceTopologyRequest) GoString

func (*DescribeLogicInstanceTopologyRequest) SetInstanceId

func (*DescribeLogicInstanceTopologyRequest) SetOwnerAccount

func (*DescribeLogicInstanceTopologyRequest) SetOwnerId

func (*DescribeLogicInstanceTopologyRequest) SetResourceOwnerAccount

func (*DescribeLogicInstanceTopologyRequest) SetResourceOwnerId

func (*DescribeLogicInstanceTopologyRequest) SetSecurityToken

func (DescribeLogicInstanceTopologyRequest) String

type DescribeLogicInstanceTopologyResponse

type DescribeLogicInstanceTopologyResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeLogicInstanceTopologyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeLogicInstanceTopologyResponse) GoString

func (*DescribeLogicInstanceTopologyResponse) SetHeaders

func (*DescribeLogicInstanceTopologyResponse) SetStatusCode

func (DescribeLogicInstanceTopologyResponse) String

type DescribeLogicInstanceTopologyResponseBody

type DescribeLogicInstanceTopologyResponseBody struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The information about proxy nodes.
	RedisProxyList *DescribeLogicInstanceTopologyResponseBodyRedisProxyList `json:"RedisProxyList,omitempty" xml:"RedisProxyList,omitempty" type:"Struct"`
	// Details of data shards, including node information such as NodeInfo.
	RedisShardList *DescribeLogicInstanceTopologyResponseBodyRedisShardList `json:"RedisShardList,omitempty" xml:"RedisShardList,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeLogicInstanceTopologyResponseBody) GoString

func (*DescribeLogicInstanceTopologyResponseBody) SetInstanceId

func (*DescribeLogicInstanceTopologyResponseBody) SetRequestId

func (DescribeLogicInstanceTopologyResponseBody) String

type DescribeLogicInstanceTopologyResponseBodyRedisProxyList

type DescribeLogicInstanceTopologyResponseBodyRedisProxyList struct {
	NodeInfo []*DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo `json:"NodeInfo,omitempty" xml:"NodeInfo,omitempty" type:"Repeated"`
}

func (DescribeLogicInstanceTopologyResponseBodyRedisProxyList) GoString

func (DescribeLogicInstanceTopologyResponseBodyRedisProxyList) String

type DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo

type DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo struct {
	// The maximum bandwidth of the node. Unit: Mbit/s.
	Bandwidth *string `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The storage capacity of the node. Unit: MB.
	Capacity *string `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The maximum number of connections.
	Connection *string `json:"Connection,omitempty" xml:"Connection,omitempty"`
	// The ID of the node.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The node type. Valid values:
	//
	// *   **db**: a data node.
	// *   **normal**: a management node, which can be a proxy node or a Configserver node. For specific instances, the return value of this parameter is proxy or cs, instead of normal.
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
}

func (DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) GoString

func (*DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) SetBandwidth

func (*DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) SetCapacity

func (*DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) SetConnection

func (*DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) SetNodeId

func (*DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) SetNodeType

func (DescribeLogicInstanceTopologyResponseBodyRedisProxyListNodeInfo) String

type DescribeLogicInstanceTopologyResponseBodyRedisShardList

type DescribeLogicInstanceTopologyResponseBodyRedisShardList struct {
	NodeInfo []*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo `json:"NodeInfo,omitempty" xml:"NodeInfo,omitempty" type:"Repeated"`
}

func (DescribeLogicInstanceTopologyResponseBodyRedisShardList) GoString

func (DescribeLogicInstanceTopologyResponseBodyRedisShardList) String

type DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo

type DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo struct {
	// The maximum bandwidth of the node. Unit: Mbit/s.
	Bandwidth *string `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The storage capacity of the node. Unit: MB.
	Capacity *string `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The maximum number of connections.
	Connection *string `json:"Connection,omitempty" xml:"Connection,omitempty"`
	// The ID of the node.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The node type. Valid values:
	//
	// *   **proxy**: proxy node
	// *   **db**: data node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The type of the child instance. Valid values:
	//
	// *   **master**: master node
	// *   **readonly**: read-only instance
	SubInstanceType *string `json:"SubInstanceType,omitempty" xml:"SubInstanceType,omitempty"`
}

func (DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) GoString

func (*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) SetBandwidth

func (*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) SetCapacity

func (*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) SetConnection

func (*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) SetNodeId

func (*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) SetNodeType

func (*DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) SetSubInstanceType added in v3.1.0

func (DescribeLogicInstanceTopologyResponseBodyRedisShardListNodeInfo) String

type DescribeMonitorItemsRequest

type DescribeMonitorItemsRequest struct {
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeMonitorItemsRequest) GoString

func (s DescribeMonitorItemsRequest) GoString() string

func (*DescribeMonitorItemsRequest) SetOwnerAccount

func (*DescribeMonitorItemsRequest) SetOwnerId

func (*DescribeMonitorItemsRequest) SetResourceOwnerAccount

func (s *DescribeMonitorItemsRequest) SetResourceOwnerAccount(v string) *DescribeMonitorItemsRequest

func (*DescribeMonitorItemsRequest) SetResourceOwnerId

func (*DescribeMonitorItemsRequest) SetSecurityToken

func (DescribeMonitorItemsRequest) String

type DescribeMonitorItemsResponse

type DescribeMonitorItemsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeMonitorItemsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeMonitorItemsResponse) GoString

func (s DescribeMonitorItemsResponse) GoString() string

func (*DescribeMonitorItemsResponse) SetBody

func (*DescribeMonitorItemsResponse) SetHeaders

func (*DescribeMonitorItemsResponse) SetStatusCode

func (DescribeMonitorItemsResponse) String

type DescribeMonitorItemsResponseBody

type DescribeMonitorItemsResponseBody struct {
	// The returned metrics.
	//
	// > *   **memoryUsage**, **GetQps**, and **PutQps** are supported only by ApsaraDB for Redis instances that use Redis 4.0 or later. **GetQps** and **PutQps** require the latest minor version. You can upgrade the major version or minor version of the instance as needed. For more information, see [Upgrade the major version](~~101764~~) and [Upgrade the minor version](~~56450~~).
	// > *   When you use instances of Redis 2.8, if the **hit_rate** metric is not displayed, you must upgrade the minor version of the instance. For more information, see [Upgrade the minor version](~~56450~~).
	MonitorItems *DescribeMonitorItemsResponseBodyMonitorItems `json:"MonitorItems,omitempty" xml:"MonitorItems,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeMonitorItemsResponseBody) GoString

func (*DescribeMonitorItemsResponseBody) SetRequestId

func (DescribeMonitorItemsResponseBody) String

type DescribeMonitorItemsResponseBodyMonitorItems

type DescribeMonitorItemsResponseBodyMonitorItems struct {
	KVStoreMonitorItem []*DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem `json:"KVStoreMonitorItem,omitempty" xml:"KVStoreMonitorItem,omitempty" type:"Repeated"`
}

func (DescribeMonitorItemsResponseBodyMonitorItems) GoString

func (DescribeMonitorItemsResponseBodyMonitorItems) String

type DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem

type DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem struct {
	// The metric.
	MonitorKey *string `json:"MonitorKey,omitempty" xml:"MonitorKey,omitempty"`
	// The unit of the metric.
	Unit *string `json:"Unit,omitempty" xml:"Unit,omitempty"`
}

func (DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem) GoString

func (*DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem) SetMonitorKey

func (*DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem) SetUnit

func (DescribeMonitorItemsResponseBodyMonitorItemsKVStoreMonitorItem) String

type DescribeParameterModificationHistoryRequest

type DescribeParameterModificationHistoryRequest struct {
	// The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node.
	//
	// > You can set this parameter to query the parameter settings of the specified node in a cluster instance.
	NodeId       *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The name of the parameter.
	ParameterName        *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeParameterModificationHistoryRequest) GoString

func (*DescribeParameterModificationHistoryRequest) SetEndTime

func (*DescribeParameterModificationHistoryRequest) SetInstanceId

func (*DescribeParameterModificationHistoryRequest) SetNodeId

func (*DescribeParameterModificationHistoryRequest) SetOwnerAccount

func (*DescribeParameterModificationHistoryRequest) SetOwnerId

func (*DescribeParameterModificationHistoryRequest) SetParameterName

func (*DescribeParameterModificationHistoryRequest) SetResourceOwnerAccount

func (*DescribeParameterModificationHistoryRequest) SetResourceOwnerId

func (*DescribeParameterModificationHistoryRequest) SetSecurityToken

func (*DescribeParameterModificationHistoryRequest) SetStartTime

func (DescribeParameterModificationHistoryRequest) String

type DescribeParameterModificationHistoryResponse

type DescribeParameterModificationHistoryResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeParameterModificationHistoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeParameterModificationHistoryResponse) GoString

func (*DescribeParameterModificationHistoryResponse) SetHeaders

func (*DescribeParameterModificationHistoryResponse) SetStatusCode

func (DescribeParameterModificationHistoryResponse) String

type DescribeParameterModificationHistoryResponseBody

type DescribeParameterModificationHistoryResponseBody struct {
	// Details of the parameter modification records.
	HistoricalParameters *DescribeParameterModificationHistoryResponseBodyHistoricalParameters `json:"HistoricalParameters,omitempty" xml:"HistoricalParameters,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeParameterModificationHistoryResponseBody) GoString

func (*DescribeParameterModificationHistoryResponseBody) SetRequestId

func (DescribeParameterModificationHistoryResponseBody) String

type DescribeParameterModificationHistoryResponseBodyHistoricalParameters

type DescribeParameterModificationHistoryResponseBodyHistoricalParameters struct {
	HistoricalParameter []*DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter `json:"HistoricalParameter,omitempty" xml:"HistoricalParameter,omitempty" type:"Repeated"`
}

func (DescribeParameterModificationHistoryResponseBodyHistoricalParameters) GoString

func (DescribeParameterModificationHistoryResponseBodyHistoricalParameters) String

type DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter

type DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter struct {
	// The time when the parameter was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The parameter value after modification.
	NewParameterValue *string `json:"NewParameterValue,omitempty" xml:"NewParameterValue,omitempty"`
	// The parameter value before modification.
	OldParameterValue *string `json:"OldParameterValue,omitempty" xml:"OldParameterValue,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
}

func (DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter) GoString

func (*DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter) SetModifyTime

func (*DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter) SetNewParameterValue

func (*DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter) SetOldParameterValue

func (*DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter) SetParameterName

func (DescribeParameterModificationHistoryResponseBodyHistoricalParametersHistoricalParameter) String

type DescribeParameterTemplatesRequest

type DescribeParameterTemplatesRequest struct {
	// The architecture of the instance. For more information, see [Overview](~~86132~~). Valid values:
	//
	// *   **logic**: The instance is a cluster master-replica instance or a read/write splitting instance.
	// *   **normal**: The instance is a standard master-replica instance.
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The database engine that is run on the instance. Set the value to **Redis**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The major version that is run on the instance. Valid values: **2.8**, **4.0**, and **5.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query the IDs of instances.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group to which the instance belongs. You can call the [ListResourceGroups](~~ListResourceGroups~~) operation to query the IDs of resource groups.
	//
	// >  You can also query the ID of a resource group in the Resource Management console. For more information, see [View the basic information of a resource group](~~151181~~).
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeParameterTemplatesRequest) GoString

func (*DescribeParameterTemplatesRequest) SetCharacterType

func (*DescribeParameterTemplatesRequest) SetEngine

func (*DescribeParameterTemplatesRequest) SetEngineVersion

func (*DescribeParameterTemplatesRequest) SetInstanceId

func (*DescribeParameterTemplatesRequest) SetOwnerAccount

func (*DescribeParameterTemplatesRequest) SetOwnerId

func (*DescribeParameterTemplatesRequest) SetResourceGroupId

func (*DescribeParameterTemplatesRequest) SetResourceOwnerAccount

func (*DescribeParameterTemplatesRequest) SetResourceOwnerId

func (*DescribeParameterTemplatesRequest) SetSecurityToken

func (DescribeParameterTemplatesRequest) String

type DescribeParameterTemplatesResponse

type DescribeParameterTemplatesResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeParameterTemplatesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeParameterTemplatesResponse) GoString

func (*DescribeParameterTemplatesResponse) SetHeaders

func (*DescribeParameterTemplatesResponse) SetStatusCode

func (DescribeParameterTemplatesResponse) String

type DescribeParameterTemplatesResponseBody

type DescribeParameterTemplatesResponseBody struct {
	// The database engine that is run on the instance. The value **Redis** is returned for this parameter.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The major version that is run on the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The number of parameters that are supported by the instance.
	ParameterCount *string `json:"ParameterCount,omitempty" xml:"ParameterCount,omitempty"`
	// An array that consists of the details about the parameters returned.
	Parameters *DescribeParameterTemplatesResponseBodyParameters `json:"Parameters,omitempty" xml:"Parameters,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeParameterTemplatesResponseBody) GoString

func (*DescribeParameterTemplatesResponseBody) SetEngine

func (*DescribeParameterTemplatesResponseBody) SetEngineVersion

func (*DescribeParameterTemplatesResponseBody) SetParameterCount

func (*DescribeParameterTemplatesResponseBody) SetRequestId

func (DescribeParameterTemplatesResponseBody) String

type DescribeParameterTemplatesResponseBodyParameters

type DescribeParameterTemplatesResponseBodyParameters struct {
	TemplateRecord []*DescribeParameterTemplatesResponseBodyParametersTemplateRecord `json:"TemplateRecord,omitempty" xml:"TemplateRecord,omitempty" type:"Repeated"`
}

func (DescribeParameterTemplatesResponseBodyParameters) GoString

func (DescribeParameterTemplatesResponseBodyParameters) String

type DescribeParameterTemplatesResponseBodyParametersTemplateRecord

type DescribeParameterTemplatesResponseBodyParametersTemplateRecord struct {
	// The valid values of the parameter.
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether the parameter can be reconfigured. Valid values:
	//
	// *   **true**: The parameter can be reconfigured.
	// *   **false**: The parameter cannot be reconfigured.
	ForceModify *bool `json:"ForceModify,omitempty" xml:"ForceModify,omitempty"`
	// Indicates whether a restart of the instance is required after the parameter is reconfigured. Valid values:
	//
	// *   **true**: After the parameter is reconfigured, you must restart the instance to make the new value of the parameter take effect.
	// *   **false**: After the parameter is reconfigured, the new value of the parameter immediately takes effect. You do not need to restart the instance.
	ForceRestart *bool `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// The description of the parameter.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter. For more information about the parameters and the parameter settings, see [Parameters](~~259681~~).
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The default value of the parameter.
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParameterTemplatesResponseBodyParametersTemplateRecord) GoString

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetCheckingCode

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetForceModify

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetForceRestart

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetParameterDescription

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetParameterName

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetParameterValue

func (DescribeParameterTemplatesResponseBodyParametersTemplateRecord) String

type DescribeParametersRequest

type DescribeParametersRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the node.
	//
	// > You can set this parameter to query the parameter settings of the specified node in a cluster instance.
	NodeId       *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeParametersRequest) GoString

func (s DescribeParametersRequest) GoString() string

func (*DescribeParametersRequest) SetDBInstanceId

func (*DescribeParametersRequest) SetNodeId

func (*DescribeParametersRequest) SetOwnerAccount

func (*DescribeParametersRequest) SetOwnerId

func (*DescribeParametersRequest) SetRegionId

func (*DescribeParametersRequest) SetResourceOwnerAccount

func (s *DescribeParametersRequest) SetResourceOwnerAccount(v string) *DescribeParametersRequest

func (*DescribeParametersRequest) SetResourceOwnerId

func (s *DescribeParametersRequest) SetResourceOwnerId(v int64) *DescribeParametersRequest

func (*DescribeParametersRequest) SetSecurityToken

func (DescribeParametersRequest) String

func (s DescribeParametersRequest) String() string

type DescribeParametersResponse

type DescribeParametersResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeParametersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeParametersResponse) GoString

func (s DescribeParametersResponse) GoString() string

func (*DescribeParametersResponse) SetBody

func (*DescribeParametersResponse) SetHeaders

func (*DescribeParametersResponse) SetStatusCode

func (DescribeParametersResponse) String

type DescribeParametersResponseBody

type DescribeParametersResponseBody struct {
	// The configuration parameters.
	ConfigParameters *DescribeParametersResponseBodyConfigParameters `json:"ConfigParameters,omitempty" xml:"ConfigParameters,omitempty" type:"Struct"`
	// The database engine that the instance runs.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The running parameters.
	RunningParameters *DescribeParametersResponseBodyRunningParameters `json:"RunningParameters,omitempty" xml:"RunningParameters,omitempty" type:"Struct"`
}

func (DescribeParametersResponseBody) GoString

func (*DescribeParametersResponseBody) SetEngine

func (*DescribeParametersResponseBody) SetEngineVersion

func (*DescribeParametersResponseBody) SetRequestId

func (DescribeParametersResponseBody) String

type DescribeParametersResponseBodyConfigParameters

type DescribeParametersResponseBodyConfigParameters struct {
	Parameter []*DescribeParametersResponseBodyConfigParametersParameter `json:"Parameter,omitempty" xml:"Parameter,omitempty" type:"Repeated"`
}

func (DescribeParametersResponseBodyConfigParameters) GoString

func (DescribeParametersResponseBodyConfigParameters) String

type DescribeParametersResponseBodyConfigParametersParameter

type DescribeParametersResponseBodyConfigParametersParameter struct {
	// The check code that indicates the valid values of the parameter.
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether the instance must be restarted for the modifications to take effect. Valid values:
	//
	// *   **True**: The instance must be restarted for the modifications to take effect.
	// *   **False**: The instance does not need to be restarted for the modifications to take effect. Modifications immediately take effect.
	ForceRestart *bool `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// Indicates whether the parameter can be reset. Valid values:
	//
	// *   **False**: The parameter cannot be reset.
	// *   **True**: The parameter can be reset.
	ModifiableStatus *bool `json:"ModifiableStatus,omitempty" xml:"ModifiableStatus,omitempty"`
	// The description of the parameter.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The value of the parameter.
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParametersResponseBodyConfigParametersParameter) GoString

func (*DescribeParametersResponseBodyConfigParametersParameter) SetCheckingCode

func (*DescribeParametersResponseBodyConfigParametersParameter) SetForceRestart

func (*DescribeParametersResponseBodyConfigParametersParameter) SetModifiableStatus

func (*DescribeParametersResponseBodyConfigParametersParameter) SetParameterDescription

func (*DescribeParametersResponseBodyConfigParametersParameter) SetParameterName

func (*DescribeParametersResponseBodyConfigParametersParameter) SetParameterValue

func (DescribeParametersResponseBodyConfigParametersParameter) String

type DescribeParametersResponseBodyRunningParameters

type DescribeParametersResponseBodyRunningParameters struct {
	Parameter []*DescribeParametersResponseBodyRunningParametersParameter `json:"Parameter,omitempty" xml:"Parameter,omitempty" type:"Repeated"`
}

func (DescribeParametersResponseBodyRunningParameters) GoString

func (DescribeParametersResponseBodyRunningParameters) String

type DescribeParametersResponseBodyRunningParametersParameter

type DescribeParametersResponseBodyRunningParametersParameter struct {
	// The check code that indicates the valid values of the parameter.
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether the instance must be restarted for the modifications to take effect. Valid values:
	//
	// *   **True**: The instance must be restarted for the modifications to take effect.
	// *   **False**: The instance does not need to be restarted for the modifications to take effect. Modifications immediately take effect.
	ForceRestart *string `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// Indicates whether the parameter can be reset. Valid values:
	//
	// *   **False**: The parameter cannot be reset.
	// *   **True**: The parameter can be reset.
	ModifiableStatus *string `json:"ModifiableStatus,omitempty" xml:"ModifiableStatus,omitempty"`
	// The description of the parameter.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The value of the parameter.
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParametersResponseBodyRunningParametersParameter) GoString

func (*DescribeParametersResponseBodyRunningParametersParameter) SetCheckingCode

func (*DescribeParametersResponseBodyRunningParametersParameter) SetForceRestart

func (*DescribeParametersResponseBodyRunningParametersParameter) SetModifiableStatus

func (*DescribeParametersResponseBodyRunningParametersParameter) SetParameterDescription

func (*DescribeParametersResponseBodyRunningParametersParameter) SetParameterName

func (*DescribeParametersResponseBodyRunningParametersParameter) SetParameterValue

func (DescribeParametersResponseBodyRunningParametersParameter) String

type DescribePriceRequest

type DescribePriceRequest struct {
	// The extended information such as the promotional event ID and business information.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The storage capacity of the instance. Unit: MB. This parameter is used only to query ApsaraDB for Redis Community Edition instances that are deployed in classic mode. We recommend that you use the **InstanceClass** parameter to specify an exact instance type.
	//
	// >  If you specify the **InstanceClass** parameter, you do not need to specify the Capacity parameter.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **PostPaid** (default): pay-as-you-go
	// *   **PrePaid**: subscription
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The coupon code. Default value: youhuiquan_promotion_option_id_for_blank. This value indicates that no coupon code is available.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// Specifies whether to forcefully change the configurations of the instance. Valid values:
	//
	// *   **false**: forcefully changes the configurations.
	// *   **true** (default): does not forcefully change the configurations.
	ForceUpgrade *bool `json:"ForceUpgrade,omitempty" xml:"ForceUpgrade,omitempty"`
	// The instance type.****
	//
	// **To view the instance type, perform the following steps:**
	//
	// 1.  In the [Overview](~~26350~~) topic, click the link in the **Reference** column corresponding to the instance type that you want to view.
	// 2.  In the instance type table of the page that appears, find the instance type in the **InstanceClass** column.
	//
	// When you query cloud-native cluster instances, you must set this parameter to one of the following values and use the Instances parameter to specify the instance type that you want to query.
	//
	// *   ApsaraDB for Redis cluster instances: redis.cluster.sharding.common.ce
	// *   Tair DRAM-based cluster instances: tair.rdb.cluster.sharding.common
	// *   Tair persistent memory-based cluster instances: tair.scm.cluster.sharding.common.ce
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The instance ID.
	//
	// >  This parameter is required when the **OrderType** parameter is set to **UPGRADE** or **RENEW**.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// A JSON string that contains information about one or more cloud-native cluster instances. For more information, see the "Additional description of the Instances parameter" section of this topic.
	Instances *string `json:"Instances,omitempty" xml:"Instances,omitempty"`
	// The node type. Valid values:
	//
	// *   **STAND_ALONE**: standalone
	// *   **MASTER_SLAVE** (default): high availability (master-replica)
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// Specifies whether to return parameters related to the order. Valid values:
	//
	// *   **false** (default)
	// *   **true**
	OrderParamOut *string `json:"OrderParamOut,omitempty" xml:"OrderParamOut,omitempty"`
	// The order type. Valid values:
	//
	// *   **BUY**: The order is used to purchase instances.
	// *   **UPGRADE**: The order is used to change the configurations of instances.
	// *   **RENEW**: The order is used to renew instances.
	// *   **CONVERT**: The order is used to change the billing methods of instances.
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The subscription duration. Unit: months. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, and **36**.
	Period *int64 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The number of instances that you want to purchase. Valid values: **1** to **30**. Default value: **1**.
	Quantity *int64 `json:"Quantity,omitempty" xml:"Quantity,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The zone ID of the instance. You can call the [DescribeZones](~~94527~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribePriceRequest) GoString

func (s DescribePriceRequest) GoString() string

func (*DescribePriceRequest) SetBusinessInfo

func (s *DescribePriceRequest) SetBusinessInfo(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetCapacity

func (s *DescribePriceRequest) SetCapacity(v int64) *DescribePriceRequest

func (*DescribePriceRequest) SetChargeType

func (s *DescribePriceRequest) SetChargeType(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetCouponNo

func (*DescribePriceRequest) SetForceUpgrade

func (s *DescribePriceRequest) SetForceUpgrade(v bool) *DescribePriceRequest

func (*DescribePriceRequest) SetInstanceClass

func (s *DescribePriceRequest) SetInstanceClass(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetInstanceId

func (s *DescribePriceRequest) SetInstanceId(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetInstances

func (s *DescribePriceRequest) SetInstances(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetNodeType

func (*DescribePriceRequest) SetOrderParamOut

func (s *DescribePriceRequest) SetOrderParamOut(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetOrderType

func (s *DescribePriceRequest) SetOrderType(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetOwnerAccount

func (s *DescribePriceRequest) SetOwnerAccount(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetOwnerId

func (*DescribePriceRequest) SetPeriod

func (*DescribePriceRequest) SetQuantity

func (s *DescribePriceRequest) SetQuantity(v int64) *DescribePriceRequest

func (*DescribePriceRequest) SetRegionId

func (*DescribePriceRequest) SetResourceOwnerAccount

func (s *DescribePriceRequest) SetResourceOwnerAccount(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetResourceOwnerId

func (s *DescribePriceRequest) SetResourceOwnerId(v int64) *DescribePriceRequest

func (*DescribePriceRequest) SetSecurityToken

func (s *DescribePriceRequest) SetSecurityToken(v string) *DescribePriceRequest

func (*DescribePriceRequest) SetZoneId

func (DescribePriceRequest) String

func (s DescribePriceRequest) String() string

type DescribePriceResponse

type DescribePriceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribePriceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribePriceResponse) GoString

func (s DescribePriceResponse) GoString() string

func (*DescribePriceResponse) SetBody

func (*DescribePriceResponse) SetHeaders

func (*DescribePriceResponse) SetStatusCode

func (s *DescribePriceResponse) SetStatusCode(v int32) *DescribePriceResponse

func (DescribePriceResponse) String

func (s DescribePriceResponse) String() string

type DescribePriceResponseBody

type DescribePriceResponseBody struct {
	// The information about the order.
	Order *DescribePriceResponseBodyOrder `json:"Order,omitempty" xml:"Order,omitempty" type:"Struct"`
	// The parameters of the order. This parameter is returned when OrderParamOut is set to `true`.
	OrderParams *string `json:"OrderParams,omitempty" xml:"OrderParams,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details about promotion rules.
	Rules *DescribePriceResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Struct"`
	// Details about rules that match the coupon.
	SubOrders *DescribePriceResponseBodySubOrders `json:"SubOrders,omitempty" xml:"SubOrders,omitempty" type:"Struct"`
}

func (DescribePriceResponseBody) GoString

func (s DescribePriceResponseBody) GoString() string

func (*DescribePriceResponseBody) SetOrder

func (*DescribePriceResponseBody) SetOrderParams

func (*DescribePriceResponseBody) SetRequestId

func (*DescribePriceResponseBody) SetRules

func (*DescribePriceResponseBody) SetSubOrders

func (DescribePriceResponseBody) String

func (s DescribePriceResponseBody) String() string

type DescribePriceResponseBodyOrder

type DescribePriceResponseBodyOrder struct {
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Details about coupons.
	Coupons *DescribePriceResponseBodyOrderCoupons `json:"Coupons,omitempty" xml:"Coupons,omitempty" type:"Struct"`
	// The currency used for payment. A value of CNY is used when the order was generated on the China site (aliyun.com), and a value of USD is used when the order was generated on the international site (alibabacloud.com).
	Currency       *string                                       `json:"Currency,omitempty" xml:"Currency,omitempty"`
	DepreciateInfo *DescribePriceResponseBodyOrderDepreciateInfo `json:"DepreciateInfo,omitempty" xml:"DepreciateInfo,omitempty" type:"Struct"`
	// The discount amount of the order.
	DiscountAmount *string `json:"DiscountAmount,omitempty" xml:"DiscountAmount,omitempty"`
	// The service fees of the order.
	HandlingFeeAmount  *string `json:"HandlingFeeAmount,omitempty" xml:"HandlingFeeAmount,omitempty"`
	IsContractActivity *bool   `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	Message            *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The original price of the order.
	OriginalAmount *string `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	// Details about promotion rule IDs.
	RuleIds *DescribePriceResponseBodyOrderRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// Indicates whether the discount information is displayed.
	ShowDiscountInfo   *bool  `json:"ShowDiscountInfo,omitempty" xml:"ShowDiscountInfo,omitempty"`
	StandDiscountPrice *int64 `json:"StandDiscountPrice,omitempty" xml:"StandDiscountPrice,omitempty"`
	StandPrice         *int64 `json:"StandPrice,omitempty" xml:"StandPrice,omitempty"`
	// The transaction price of the order.
	TradeAmount *string `json:"TradeAmount,omitempty" xml:"TradeAmount,omitempty"`
}

func (DescribePriceResponseBodyOrder) GoString

func (*DescribePriceResponseBodyOrder) SetCode added in v3.5.5

func (*DescribePriceResponseBodyOrder) SetCurrency

func (*DescribePriceResponseBodyOrder) SetDepreciateInfo added in v3.5.5

func (*DescribePriceResponseBodyOrder) SetDiscountAmount

func (*DescribePriceResponseBodyOrder) SetHandlingFeeAmount

func (*DescribePriceResponseBodyOrder) SetIsContractActivity added in v3.5.5

func (*DescribePriceResponseBodyOrder) SetMessage added in v3.5.5

func (*DescribePriceResponseBodyOrder) SetOriginalAmount

func (*DescribePriceResponseBodyOrder) SetShowDiscountInfo added in v3.2.3

func (*DescribePriceResponseBodyOrder) SetStandDiscountPrice added in v3.5.5

func (*DescribePriceResponseBodyOrder) SetStandPrice added in v3.5.5

func (*DescribePriceResponseBodyOrder) SetTradeAmount

func (DescribePriceResponseBodyOrder) String

type DescribePriceResponseBodyOrderCoupons

type DescribePriceResponseBodyOrderCoupons struct {
	Coupon []*DescribePriceResponseBodyOrderCouponsCoupon `json:"Coupon,omitempty" xml:"Coupon,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodyOrderCoupons) GoString

func (DescribePriceResponseBodyOrderCoupons) String

type DescribePriceResponseBodyOrderCouponsCoupon

type DescribePriceResponseBodyOrderCouponsCoupon struct {
	// The coupon ID.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The description of the coupon.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the coupon was selected.
	IsSelected *string `json:"IsSelected,omitempty" xml:"IsSelected,omitempty"`
	// The coupon name.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (DescribePriceResponseBodyOrderCouponsCoupon) GoString

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetCouponNo

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetDescription

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetIsSelected

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetName

func (DescribePriceResponseBodyOrderCouponsCoupon) String

type DescribePriceResponseBodyOrderDepreciateInfo added in v3.5.5

type DescribePriceResponseBodyOrderDepreciateInfo struct {
	CheapRate           *int64  `json:"CheapRate,omitempty" xml:"CheapRate,omitempty"`
	CheapStandAmount    *int64  `json:"CheapStandAmount,omitempty" xml:"CheapStandAmount,omitempty"`
	Differential        *int64  `json:"Differential,omitempty" xml:"Differential,omitempty"`
	DifferentialName    *string `json:"DifferentialName,omitempty" xml:"DifferentialName,omitempty"`
	IsContractActivity  *bool   `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	IsShow              *bool   `json:"IsShow,omitempty" xml:"IsShow,omitempty"`
	ListPrice           *int64  `json:"ListPrice,omitempty" xml:"ListPrice,omitempty"`
	MonthPrice          *int64  `json:"MonthPrice,omitempty" xml:"MonthPrice,omitempty"`
	OriginalStandAmount *int64  `json:"OriginalStandAmount,omitempty" xml:"OriginalStandAmount,omitempty"`
}

func (DescribePriceResponseBodyOrderDepreciateInfo) GoString added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetCheapRate added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetCheapStandAmount added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetDifferential added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetDifferentialName added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetIsContractActivity added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetIsShow added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetListPrice added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetMonthPrice added in v3.5.5

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetOriginalStandAmount added in v3.5.5

func (DescribePriceResponseBodyOrderDepreciateInfo) String added in v3.5.5

type DescribePriceResponseBodyOrderRuleIds

type DescribePriceResponseBodyOrderRuleIds struct {
	RuleId []*string `json:"RuleId,omitempty" xml:"RuleId,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodyOrderRuleIds) GoString

func (*DescribePriceResponseBodyOrderRuleIds) SetRuleId

func (DescribePriceResponseBodyOrderRuleIds) String

type DescribePriceResponseBodyRules

type DescribePriceResponseBodyRules struct {
	Rule []*DescribePriceResponseBodyRulesRule `json:"Rule,omitempty" xml:"Rule,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodyRules) GoString

func (*DescribePriceResponseBodyRules) SetRule

func (DescribePriceResponseBodyRules) String

type DescribePriceResponseBodyRulesRule

type DescribePriceResponseBodyRulesRule struct {
	// The name of the promotion rule.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The ID of the rule.
	RuleDescId *int64 `json:"RuleDescId,omitempty" xml:"RuleDescId,omitempty"`
	// The title of the rule.
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
}

func (DescribePriceResponseBodyRulesRule) GoString

func (*DescribePriceResponseBodyRulesRule) SetName

func (*DescribePriceResponseBodyRulesRule) SetRuleDescId

func (*DescribePriceResponseBodyRulesRule) SetTitle

func (DescribePriceResponseBodyRulesRule) String

type DescribePriceResponseBodySubOrders

type DescribePriceResponseBodySubOrders struct {
	SubOrder []*DescribePriceResponseBodySubOrdersSubOrder `json:"SubOrder,omitempty" xml:"SubOrder,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrders) GoString

func (DescribePriceResponseBodySubOrders) String

type DescribePriceResponseBodySubOrdersSubOrder

type DescribePriceResponseBodySubOrdersSubOrder struct {
	DepreciateInfo *DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo `json:"DepreciateInfo,omitempty" xml:"DepreciateInfo,omitempty" type:"Struct"`
	// The discount amount of the order.
	DiscountAmount *string `json:"DiscountAmount,omitempty" xml:"DiscountAmount,omitempty"`
	// The instance ID.
	InstanceId         *string                                                       `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	IsContractActivity *bool                                                         `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	ModuleInstance     *DescribePriceResponseBodySubOrdersSubOrderModuleInstance     `json:"ModuleInstance,omitempty" xml:"ModuleInstance,omitempty" type:"Struct"`
	OptionalPromotions *DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions `json:"OptionalPromotions,omitempty" xml:"OptionalPromotions,omitempty" type:"Struct"`
	// The original price of the order.
	OriginalAmount *string                                                   `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	PromDetailList *DescribePriceResponseBodySubOrdersSubOrderPromDetailList `json:"PromDetailList,omitempty" xml:"PromDetailList,omitempty" type:"Struct"`
	// The rule IDs.
	RuleIds            *DescribePriceResponseBodySubOrdersSubOrderRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	StandDiscountPrice *int64                                             `json:"StandDiscountPrice,omitempty" xml:"StandDiscountPrice,omitempty"`
	StandPrice         *int64                                             `json:"StandPrice,omitempty" xml:"StandPrice,omitempty"`
	// The final price of the order.
	TradeAmount *string `json:"TradeAmount,omitempty" xml:"TradeAmount,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrder) GoString

func (*DescribePriceResponseBodySubOrdersSubOrder) SetDepreciateInfo added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrder) SetDiscountAmount

func (*DescribePriceResponseBodySubOrdersSubOrder) SetInstanceId

func (*DescribePriceResponseBodySubOrdersSubOrder) SetIsContractActivity added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrder) SetModuleInstance added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrder) SetOriginalAmount

func (*DescribePriceResponseBodySubOrdersSubOrder) SetPromDetailList added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrder) SetStandDiscountPrice added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrder) SetStandPrice added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrder) SetTradeAmount

func (DescribePriceResponseBodySubOrdersSubOrder) String

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo struct {
	CheapRate           *int64  `json:"CheapRate,omitempty" xml:"CheapRate,omitempty"`
	CheapStandAmount    *int64  `json:"CheapStandAmount,omitempty" xml:"CheapStandAmount,omitempty"`
	Differential        *int64  `json:"Differential,omitempty" xml:"Differential,omitempty"`
	DifferentialName    *string `json:"DifferentialName,omitempty" xml:"DifferentialName,omitempty"`
	IsContractActivity  *bool   `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	ListPrice           *int64  `json:"ListPrice,omitempty" xml:"ListPrice,omitempty"`
	MonthPrice          *int64  `json:"MonthPrice,omitempty" xml:"MonthPrice,omitempty"`
	OriginalStandAmount *int64  `json:"OriginalStandAmount,omitempty" xml:"OriginalStandAmount,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) GoString added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetCheapRate added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetCheapStandAmount added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetDifferential added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetDifferentialName added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetIsContractActivity added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetListPrice added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetMonthPrice added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetOriginalStandAmount added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstance added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstance struct {
	ModuleInstance []*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance `json:"ModuleInstance,omitempty" xml:"ModuleInstance,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstance) GoString added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstance) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance struct {
	DiscountFee     *float64                                                                           `json:"DiscountFee,omitempty" xml:"DiscountFee,omitempty"`
	ModuleAttrs     *DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs `json:"ModuleAttrs,omitempty" xml:"ModuleAttrs,omitempty" type:"Struct"`
	ModuleCode      *string                                                                            `json:"ModuleCode,omitempty" xml:"ModuleCode,omitempty"`
	ModuleId        *string                                                                            `json:"ModuleId,omitempty" xml:"ModuleId,omitempty"`
	ModuleName      *string                                                                            `json:"ModuleName,omitempty" xml:"ModuleName,omitempty"`
	NeedOrderPay    *bool                                                                              `json:"NeedOrderPay,omitempty" xml:"NeedOrderPay,omitempty"`
	PayFee          *float64                                                                           `json:"PayFee,omitempty" xml:"PayFee,omitempty"`
	PricingModule   *bool                                                                              `json:"PricingModule,omitempty" xml:"PricingModule,omitempty"`
	StandPrice      *float64                                                                           `json:"StandPrice,omitempty" xml:"StandPrice,omitempty"`
	TotalProductFee *float64                                                                           `json:"TotalProductFee,omitempty" xml:"TotalProductFee,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) GoString added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetDiscountFee added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetModuleCode added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetModuleId added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetModuleName added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetNeedOrderPay added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetPayFee added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetPricingModule added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetStandPrice added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetTotalProductFee added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs struct {
	ModuleAttr []*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr `json:"moduleAttr,omitempty" xml:"moduleAttr,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs) GoString added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr struct {
	Code  *string `json:"Code,omitempty" xml:"Code,omitempty"`
	Name  *string `json:"Name,omitempty" xml:"Name,omitempty"`
	Type  *int64  `json:"Type,omitempty" xml:"Type,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) GoString added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) SetCode added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) SetName added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) SetType added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) SetValue added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions struct {
	OptionalPromotion []*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion `json:"OptionalPromotion,omitempty" xml:"OptionalPromotion,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions) GoString added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion struct {
	ActivityExtInfo   map[string]interface{} `json:"ActivityExtInfo,omitempty" xml:"ActivityExtInfo,omitempty"`
	CanPromFee        *string                `json:"CanPromFee,omitempty" xml:"CanPromFee,omitempty"`
	CouponNo          *string                `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	Description       *string                `json:"Description,omitempty" xml:"Description,omitempty"`
	Name              *string                `json:"Name,omitempty" xml:"Name,omitempty"`
	OptionCode        *string                `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	PromotionName     *string                `json:"PromotionName,omitempty" xml:"PromotionName,omitempty"`
	PromotionOptionNo *string                `json:"PromotionOptionNo,omitempty" xml:"PromotionOptionNo,omitempty"`
	Selected          *bool                  `json:"Selected,omitempty" xml:"Selected,omitempty"`
	Show              *bool                  `json:"Show,omitempty" xml:"Show,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) GoString added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetActivityExtInfo added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetCanPromFee added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetCouponNo added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetDescription added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetName added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetOptionCode added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetPromotionName added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetPromotionOptionNo added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetSelected added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetShow added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderPromDetailList added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderPromDetailList struct {
	PromDetail []*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail `json:"PromDetail,omitempty" xml:"PromDetail,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailList) GoString added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailList) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail struct {
	FinalPromFee  *float64 `json:"FinalPromFee,omitempty" xml:"FinalPromFee,omitempty"`
	OptionCode    *string  `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	PromType      *string  `json:"PromType,omitempty" xml:"PromType,omitempty"`
	PromotionId   *int64   `json:"PromotionId,omitempty" xml:"PromotionId,omitempty"`
	PromotionName *string  `json:"PromotionName,omitempty" xml:"PromotionName,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) GoString added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetFinalPromFee added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetOptionCode added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromType added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromotionId added in v3.5.5

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromotionName added in v3.5.5

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) String added in v3.5.5

type DescribePriceResponseBodySubOrdersSubOrderRuleIds

type DescribePriceResponseBodySubOrdersSubOrderRuleIds struct {
	RuleId []*string `json:"RuleId,omitempty" xml:"RuleId,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderRuleIds) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderRuleIds) SetRuleId

func (DescribePriceResponseBodySubOrdersSubOrderRuleIds) String

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	// The display language of the **LocalName** parameter value. Valid values:
	//
	// *   **zh-CN**: Chinese
	// *   **en-US**: English
	//
	// > The default value is **zh-CN**.
	AcceptLanguage       *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeRegionsRequest) GoString

func (s DescribeRegionsRequest) GoString() string

func (*DescribeRegionsRequest) SetAcceptLanguage

func (s *DescribeRegionsRequest) SetAcceptLanguage(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetOwnerAccount

func (s *DescribeRegionsRequest) SetOwnerAccount(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetOwnerId

func (*DescribeRegionsRequest) SetResourceOwnerAccount

func (s *DescribeRegionsRequest) SetResourceOwnerAccount(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetResourceOwnerId

func (s *DescribeRegionsRequest) SetResourceOwnerId(v int64) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetSecurityToken

func (s *DescribeRegionsRequest) SetSecurityToken(v string) *DescribeRegionsRequest

func (DescribeRegionsRequest) String

func (s DescribeRegionsRequest) String() string

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRegionsResponse) GoString

func (s DescribeRegionsResponse) GoString() string

func (*DescribeRegionsResponse) SetBody

func (*DescribeRegionsResponse) SetHeaders

func (*DescribeRegionsResponse) SetStatusCode

func (DescribeRegionsResponse) String

func (s DescribeRegionsResponse) String() string

type DescribeRegionsResponseBody

type DescribeRegionsResponseBody struct {
	// The value of the **RegionIds** parameter is in the array format. Each element in the array contains the **RegionId** and **ZoneIds** parameters.
	RegionIds *DescribeRegionsResponseBodyRegionIds `json:"RegionIds,omitempty" xml:"RegionIds,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionsResponseBody) GoString

func (s DescribeRegionsResponseBody) GoString() string

func (*DescribeRegionsResponseBody) SetRegionIds

func (*DescribeRegionsResponseBody) SetRequestId

func (DescribeRegionsResponseBody) String

type DescribeRegionsResponseBodyRegionIds

type DescribeRegionsResponseBodyRegionIds struct {
	KVStoreRegion []*DescribeRegionsResponseBodyRegionIdsKVStoreRegion `json:"KVStoreRegion,omitempty" xml:"KVStoreRegion,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegionIds) GoString

func (DescribeRegionsResponseBodyRegionIds) String

type DescribeRegionsResponseBodyRegionIdsKVStoreRegion

type DescribeRegionsResponseBodyRegionIdsKVStoreRegion struct {
	// The name of the region.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The endpoint of the region.
	RegionEndpoint *string `json:"RegionEndpoint,omitempty" xml:"RegionEndpoint,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The list of zone IDs.
	ZoneIdList *DescribeRegionsResponseBodyRegionIdsKVStoreRegionZoneIdList `json:"ZoneIdList,omitempty" xml:"ZoneIdList,omitempty" type:"Struct"`
	// The zone ID of the instance.
	ZoneIds *string `json:"ZoneIds,omitempty" xml:"ZoneIds,omitempty"`
}

func (DescribeRegionsResponseBodyRegionIdsKVStoreRegion) GoString

func (*DescribeRegionsResponseBodyRegionIdsKVStoreRegion) SetLocalName

func (*DescribeRegionsResponseBodyRegionIdsKVStoreRegion) SetRegionEndpoint

func (*DescribeRegionsResponseBodyRegionIdsKVStoreRegion) SetRegionId

func (*DescribeRegionsResponseBodyRegionIdsKVStoreRegion) SetZoneIds

func (DescribeRegionsResponseBodyRegionIdsKVStoreRegion) String

type DescribeRegionsResponseBodyRegionIdsKVStoreRegionZoneIdList

type DescribeRegionsResponseBodyRegionIdsKVStoreRegionZoneIdList struct {
	ZoneId []*string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegionIdsKVStoreRegionZoneIdList) GoString

func (*DescribeRegionsResponseBodyRegionIdsKVStoreRegionZoneIdList) SetZoneId

func (DescribeRegionsResponseBodyRegionIdsKVStoreRegionZoneIdList) String

type DescribeRoleZoneInfoRequest

type DescribeRoleZoneInfoRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query instance IDs.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0** and less than or equal to the maximum value supported by the integer data type. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **10**, **20**, and **50**. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The type of node to query. Default value: 1. Valid values:
	//
	// *   **0**: proxy node
	//
	// > This parameter is supported only for cluster and read/write splitting instances.
	//
	// *   **1**: data node
	QueryType            *int32  `json:"QueryType,omitempty" xml:"QueryType,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeRoleZoneInfoRequest) GoString

func (s DescribeRoleZoneInfoRequest) GoString() string

func (*DescribeRoleZoneInfoRequest) SetInstanceId

func (*DescribeRoleZoneInfoRequest) SetOwnerAccount

func (*DescribeRoleZoneInfoRequest) SetOwnerId

func (*DescribeRoleZoneInfoRequest) SetPageNumber

func (*DescribeRoleZoneInfoRequest) SetPageSize

func (*DescribeRoleZoneInfoRequest) SetQueryType

func (*DescribeRoleZoneInfoRequest) SetResourceOwnerAccount

func (s *DescribeRoleZoneInfoRequest) SetResourceOwnerAccount(v string) *DescribeRoleZoneInfoRequest

func (*DescribeRoleZoneInfoRequest) SetResourceOwnerId

func (*DescribeRoleZoneInfoRequest) SetSecurityToken

func (DescribeRoleZoneInfoRequest) String

type DescribeRoleZoneInfoResponse

type DescribeRoleZoneInfoResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRoleZoneInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRoleZoneInfoResponse) GoString

func (s DescribeRoleZoneInfoResponse) GoString() string

func (*DescribeRoleZoneInfoResponse) SetBody

func (*DescribeRoleZoneInfoResponse) SetHeaders

func (*DescribeRoleZoneInfoResponse) SetStatusCode

func (DescribeRoleZoneInfoResponse) String

type DescribeRoleZoneInfoResponseBody

type DescribeRoleZoneInfoResponseBody struct {
	// Details about each node in an ApsaraDB for Redis instance.
	Node *DescribeRoleZoneInfoResponseBodyNode `json:"Node,omitempty" xml:"Node,omitempty" type:"Struct"`
	// The number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeRoleZoneInfoResponseBody) GoString

func (*DescribeRoleZoneInfoResponseBody) SetPageNumber

func (*DescribeRoleZoneInfoResponseBody) SetPageSize

func (*DescribeRoleZoneInfoResponseBody) SetRequestId

func (*DescribeRoleZoneInfoResponseBody) SetTotalCount

func (DescribeRoleZoneInfoResponseBody) String

type DescribeRoleZoneInfoResponseBodyNode

type DescribeRoleZoneInfoResponseBodyNode struct {
	NodeInfo []*DescribeRoleZoneInfoResponseBodyNodeNodeInfo `json:"NodeInfo,omitempty" xml:"NodeInfo,omitempty" type:"Repeated"`
}

func (DescribeRoleZoneInfoResponseBodyNode) GoString

func (DescribeRoleZoneInfoResponseBodyNode) String

type DescribeRoleZoneInfoResponseBodyNodeNodeInfo

type DescribeRoleZoneInfoResponseBodyNodeNodeInfo struct {
	// The current bandwidth of the node, which consists of the default bandwidth and the increased bandwidth. Unit: MB/s.
	//
	// > *   You can call the [EnableAdditionalBandwidth](~~206173~~) operation to specify the increased bandwidth.
	// > *   You can also use this parameter to calculate the increased bandwidth. For example, if the default bandwidth of the node is 96 MB/s and the returned value of this parameter is 100, the increased bandwidth is 4 MB/s.
	CurrentBandWidth *int64 `json:"CurrentBandWidth,omitempty" xml:"CurrentBandWidth,omitempty"`
	// The minor version of the node.
	CurrentMinorVersion *string `json:"CurrentMinorVersion,omitempty" xml:"CurrentMinorVersion,omitempty"`
	// The ID of the data shard.
	CustinsId *string `json:"CustinsId,omitempty" xml:"CustinsId,omitempty"`
	// The default bandwidth of the node. Unit: MB/s.
	DefaultBandWidth *int64 `json:"DefaultBandWidth,omitempty" xml:"DefaultBandWidth,omitempty"`
	// The ID of the node.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// Indicates whether the node is a read replica. If the node is a read replica, **3** is returned.
	//
	// >  If the node is not a read replica, no value is returned.
	InsType *int32 `json:"InsType,omitempty" xml:"InsType,omitempty"`
	// Indicates whether the minor version is the latest version. Valid values:
	//
	// *   **0**: The minor version is not the latest version.
	// *   **1**: The minor version is the latest version.
	//
	// >  To update the minor version, call the [ModifyInstanceMinorVersion](~~129381~~) operation.
	IsLatestVersion *int32 `json:"IsLatestVersion,omitempty" xml:"IsLatestVersion,omitempty"`
	// Indicates whether the bandwidth of the node is increased. Valid values:
	//
	// *   **true**: The bandwidth of the node is not increased.
	// *   **false**: The bandwidth of the node is increased.
	IsOpenBandWidthService *bool `json:"IsOpenBandWidthService,omitempty" xml:"IsOpenBandWidthService,omitempty"`
	// This parameter is used only for internal maintenance of ApsaraDB for Redis instances.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The node type. Valid values:
	//
	// *   **db**: data node.
	// *   **proxy**: proxy node.
	// *   **normal**: regular node. This value is returned when the instance runs in the standard architecture.
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The role of the node. Valid values:
	//
	// *   **master**: master node
	// *   **slave**: replica node
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// The ID of the zone.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeRoleZoneInfoResponseBodyNodeNodeInfo) GoString

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetCurrentBandWidth

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetCurrentMinorVersion

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetCustinsId

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetDefaultBandWidth

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetInsName

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetInsType

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetIsLatestVersion

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetIsOpenBandWidthService

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetNodeId

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetNodeType

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetRole

func (*DescribeRoleZoneInfoResponseBodyNodeNodeInfo) SetZoneId

func (DescribeRoleZoneInfoResponseBodyNodeNodeInfo) String

type DescribeRunningLogRecordsRequest

type DescribeRunningLogRecordsRequest struct {
	// The shard type of the cluster instance. Valid values:
	//
	// *   **proxy**: proxy node
	// *   **db**: data node
	// *   **cs**: config server node
	//
	// >  If you set this parameter, you must also set the **NodeId** parameter.
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node in the instance. You can set this parameter to query the operational logs of a specified node.
	//
	// > *   This parameter is available only for read/write splitting and cluster instances of ApsaraDB for Redis.
	// > *   If you set this parameter, you must also set the **CharacterType** parameter.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The method that is used to sort the returned log entries. Valid values:
	//
	// *   **asc**: ascending order
	// *   **desc**: descending order
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0** and less than or equal to the maximum value supported by the integer data type. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keyword that is used to query operational logs.
	QueryKeyword *string `json:"QueryKeyword,omitempty" xml:"QueryKeyword,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The role of the data shard. Default value: master. Valid values:
	//
	// *   **master**: master node
	// *   **slave**: replica node
	RoleType      *string `json:"RoleType,omitempty" xml:"RoleType,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeRunningLogRecordsRequest) GoString

func (*DescribeRunningLogRecordsRequest) SetCharacterType

func (*DescribeRunningLogRecordsRequest) SetDBName

func (*DescribeRunningLogRecordsRequest) SetEndTime

func (*DescribeRunningLogRecordsRequest) SetInstanceId

func (*DescribeRunningLogRecordsRequest) SetNodeId

func (*DescribeRunningLogRecordsRequest) SetOrderType

func (*DescribeRunningLogRecordsRequest) SetOwnerAccount

func (*DescribeRunningLogRecordsRequest) SetOwnerId

func (*DescribeRunningLogRecordsRequest) SetPageNumber

func (*DescribeRunningLogRecordsRequest) SetPageSize

func (*DescribeRunningLogRecordsRequest) SetQueryKeyword

func (*DescribeRunningLogRecordsRequest) SetResourceGroupId

func (*DescribeRunningLogRecordsRequest) SetResourceOwnerAccount

func (*DescribeRunningLogRecordsRequest) SetResourceOwnerId

func (*DescribeRunningLogRecordsRequest) SetRoleType

func (*DescribeRunningLogRecordsRequest) SetSecurityToken

func (*DescribeRunningLogRecordsRequest) SetStartTime

func (DescribeRunningLogRecordsRequest) String

type DescribeRunningLogRecordsResponse

type DescribeRunningLogRecordsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRunningLogRecordsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRunningLogRecordsResponse) GoString

func (*DescribeRunningLogRecordsResponse) SetHeaders

func (*DescribeRunningLogRecordsResponse) SetStatusCode

func (DescribeRunningLogRecordsResponse) String

type DescribeRunningLogRecordsResponseBody

type DescribeRunningLogRecordsResponseBody struct {
	// The type of the database engine.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Details about the log entries.
	Items *DescribeRunningLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of log entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The maximum number of entries returned on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The beginning of the time range to query.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeRunningLogRecordsResponseBody) GoString

func (*DescribeRunningLogRecordsResponseBody) SetEngine

func (*DescribeRunningLogRecordsResponseBody) SetInstanceId

func (*DescribeRunningLogRecordsResponseBody) SetPageNumber

func (*DescribeRunningLogRecordsResponseBody) SetPageRecordCount

func (*DescribeRunningLogRecordsResponseBody) SetPageSize

func (*DescribeRunningLogRecordsResponseBody) SetRequestId

func (*DescribeRunningLogRecordsResponseBody) SetStartTime

func (*DescribeRunningLogRecordsResponseBody) SetTotalRecordCount

func (DescribeRunningLogRecordsResponseBody) String

type DescribeRunningLogRecordsResponseBodyItems

type DescribeRunningLogRecordsResponseBodyItems struct {
	LogRecords []*DescribeRunningLogRecordsResponseBodyItemsLogRecords `json:"LogRecords,omitempty" xml:"LogRecords,omitempty" type:"Repeated"`
}

func (DescribeRunningLogRecordsResponseBodyItems) GoString

func (DescribeRunningLogRecordsResponseBodyItems) String

type DescribeRunningLogRecordsResponseBodyItemsLogRecords

type DescribeRunningLogRecordsResponseBodyItemsLogRecords struct {
	// The content of the log.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The time when the log was generated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node.
	//
	// >  If a standard instance is queried, `(null)` is returned.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
}

func (DescribeRunningLogRecordsResponseBodyItemsLogRecords) GoString

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetContent

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetCreateTime

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetInstanceId

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetNodeId

func (DescribeRunningLogRecordsResponseBodyItemsLogRecords) String

type DescribeSecurityGroupConfigurationRequest

type DescribeSecurityGroupConfigurationRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeSecurityGroupConfigurationRequest) GoString

func (*DescribeSecurityGroupConfigurationRequest) SetInstanceId

func (*DescribeSecurityGroupConfigurationRequest) SetOwnerAccount

func (*DescribeSecurityGroupConfigurationRequest) SetOwnerId

func (*DescribeSecurityGroupConfigurationRequest) SetResourceOwnerAccount

func (*DescribeSecurityGroupConfigurationRequest) SetResourceOwnerId

func (*DescribeSecurityGroupConfigurationRequest) SetSecurityToken

func (DescribeSecurityGroupConfigurationRequest) String

type DescribeSecurityGroupConfigurationResponse

type DescribeSecurityGroupConfigurationResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeSecurityGroupConfigurationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponse) GoString

func (*DescribeSecurityGroupConfigurationResponse) SetHeaders

func (*DescribeSecurityGroupConfigurationResponse) SetStatusCode

func (DescribeSecurityGroupConfigurationResponse) String

type DescribeSecurityGroupConfigurationResponseBody

type DescribeSecurityGroupConfigurationResponseBody struct {
	// The list of security groups.
	Items *DescribeSecurityGroupConfigurationResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponseBody) GoString

func (*DescribeSecurityGroupConfigurationResponseBody) SetRequestId

func (DescribeSecurityGroupConfigurationResponseBody) String

type DescribeSecurityGroupConfigurationResponseBodyItems

type DescribeSecurityGroupConfigurationResponseBodyItems struct {
	EcsSecurityGroupRelation []*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation `json:"EcsSecurityGroupRelation,omitempty" xml:"EcsSecurityGroupRelation,omitempty" type:"Repeated"`
}

func (DescribeSecurityGroupConfigurationResponseBodyItems) GoString

func (DescribeSecurityGroupConfigurationResponseBodyItems) String

type DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation

type DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation struct {
	// The network type of the security group. Valid values:
	//
	// *   **classic**: the classic network.
	// *   **vpc**: the virtual private cloud (VPC).
	NetType *string `json:"NetType,omitempty" xml:"NetType,omitempty"`
	// The ID of the region where the instance is deployed.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the security group.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) GoString

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetNetType

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetRegionId

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetSecurityGroupId

func (DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) String

type DescribeSecurityIpsRequest

type DescribeSecurityIpsRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeSecurityIpsRequest) GoString

func (s DescribeSecurityIpsRequest) GoString() string

func (*DescribeSecurityIpsRequest) SetInstanceId

func (*DescribeSecurityIpsRequest) SetOwnerAccount

func (*DescribeSecurityIpsRequest) SetOwnerId

func (*DescribeSecurityIpsRequest) SetResourceOwnerAccount

func (s *DescribeSecurityIpsRequest) SetResourceOwnerAccount(v string) *DescribeSecurityIpsRequest

func (*DescribeSecurityIpsRequest) SetResourceOwnerId

func (*DescribeSecurityIpsRequest) SetSecurityToken

func (DescribeSecurityIpsRequest) String

type DescribeSecurityIpsResponse

type DescribeSecurityIpsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeSecurityIpsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeSecurityIpsResponse) GoString

func (s DescribeSecurityIpsResponse) GoString() string

func (*DescribeSecurityIpsResponse) SetBody

func (*DescribeSecurityIpsResponse) SetHeaders

func (*DescribeSecurityIpsResponse) SetStatusCode

func (DescribeSecurityIpsResponse) String

type DescribeSecurityIpsResponseBody

type DescribeSecurityIpsResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The whitelists of the instance.
	SecurityIpGroups *DescribeSecurityIpsResponseBodySecurityIpGroups `json:"SecurityIpGroups,omitempty" xml:"SecurityIpGroups,omitempty" type:"Struct"`
}

func (DescribeSecurityIpsResponseBody) GoString

func (*DescribeSecurityIpsResponseBody) SetRequestId

func (DescribeSecurityIpsResponseBody) String

type DescribeSecurityIpsResponseBodySecurityIpGroups

type DescribeSecurityIpsResponseBodySecurityIpGroups struct {
	SecurityIpGroup []*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup `json:"SecurityIpGroup,omitempty" xml:"SecurityIpGroup,omitempty" type:"Repeated"`
}

func (DescribeSecurityIpsResponseBodySecurityIpGroups) GoString

func (DescribeSecurityIpsResponseBodySecurityIpGroups) String

type DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup

type DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup struct {
	// The attribute of the whitelist. This parameter is empty by default.
	//
	// >  If the instance is authorized to use a service such as Database Autonomy Service (DAS), Data Management (DMS), or Data Transmission Service (DTS), this service automatically generates a **hidden** whitelist for the instance. This type of whitelists cannot be modified or deleted.
	SecurityIpGroupAttribute *string `json:"SecurityIpGroupAttribute,omitempty" xml:"SecurityIpGroupAttribute,omitempty"`
	// The name of the whitelist.
	SecurityIpGroupName *string `json:"SecurityIpGroupName,omitempty" xml:"SecurityIpGroupName,omitempty"`
	// The IP addresses in the whitelist. A maximum of 1,000 IP addresses can be specified in a whitelist.
	SecurityIpList *string `json:"SecurityIpList,omitempty" xml:"SecurityIpList,omitempty"`
}

func (DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) GoString

func (*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) SetSecurityIpGroupAttribute

func (*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) SetSecurityIpGroupName

func (*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) SetSecurityIpList

func (DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) String

type DescribeSlowLogRecordsRequest

type DescribeSlowLogRecordsRequest struct {
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The end of the time range to query. The end time must be later than the start time. The time range cannot exceed one day. We recommend that you specify 1 hour. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node in the instance. You can specify this parameter to query the slow logs of a specified node.
	//
	// > This parameter is available only if the instance uses the read/write splitting or cluster architecture.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The dimension by which to sort the results. Default value: execution_time. Valid values:
	//
	// *   **execution_time**: sorts the results by query start time.
	// *   **latency**: sorts the results by query latency.
	OrderBy *string `json:"OrderBy,omitempty" xml:"OrderBy,omitempty"`
	// The sorting order of the results to return. Default value: DESC. Valid values:
	//
	// *   **ASC**: ascending order
	// *   **DESC**: descending order
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keyword based on which slow logs are queried. You can set this parameter to a value of the string type.
	QueryKeyword         *string `json:"QueryKeyword,omitempty" xml:"QueryKeyword,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The type of the slow logs. Default value: db. Valid values:
	//
	// *   **proxy**: slow logs of proxy nodes
	// *   **db**: slow logs of data nodes
	SlowLogRecordType *string `json:"SlowLogRecordType,omitempty" xml:"SlowLogRecordType,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSlowLogRecordsRequest) GoString

func (*DescribeSlowLogRecordsRequest) SetDBName

func (*DescribeSlowLogRecordsRequest) SetEndTime

func (*DescribeSlowLogRecordsRequest) SetInstanceId

func (*DescribeSlowLogRecordsRequest) SetNodeId

func (*DescribeSlowLogRecordsRequest) SetOrderBy

func (*DescribeSlowLogRecordsRequest) SetOrderType

func (*DescribeSlowLogRecordsRequest) SetOwnerAccount

func (*DescribeSlowLogRecordsRequest) SetOwnerId

func (*DescribeSlowLogRecordsRequest) SetPageNumber

func (*DescribeSlowLogRecordsRequest) SetPageSize

func (*DescribeSlowLogRecordsRequest) SetQueryKeyword

func (*DescribeSlowLogRecordsRequest) SetResourceOwnerAccount

func (*DescribeSlowLogRecordsRequest) SetResourceOwnerId

func (*DescribeSlowLogRecordsRequest) SetSecurityToken

func (*DescribeSlowLogRecordsRequest) SetSlowLogRecordType

func (*DescribeSlowLogRecordsRequest) SetStartTime

func (DescribeSlowLogRecordsRequest) String

type DescribeSlowLogRecordsResponse

type DescribeSlowLogRecordsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeSlowLogRecordsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeSlowLogRecordsResponse) GoString

func (*DescribeSlowLogRecordsResponse) SetHeaders

func (*DescribeSlowLogRecordsResponse) SetStatusCode

func (DescribeSlowLogRecordsResponse) String

type DescribeSlowLogRecordsResponseBody

type DescribeSlowLogRecordsResponseBody struct {
	// The database engine that the instance runs.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The slow log entries.
	Items *DescribeSlowLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of log entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The maximum number of log entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The start time of the query.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The total number of returned log entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSlowLogRecordsResponseBody) GoString

func (*DescribeSlowLogRecordsResponseBody) SetEngine

func (*DescribeSlowLogRecordsResponseBody) SetInstanceId

func (*DescribeSlowLogRecordsResponseBody) SetPageNumber

func (*DescribeSlowLogRecordsResponseBody) SetPageRecordCount

func (*DescribeSlowLogRecordsResponseBody) SetPageSize

func (*DescribeSlowLogRecordsResponseBody) SetRequestId

func (*DescribeSlowLogRecordsResponseBody) SetStartTime

func (*DescribeSlowLogRecordsResponseBody) SetTotalRecordCount

func (DescribeSlowLogRecordsResponseBody) String

type DescribeSlowLogRecordsResponseBodyItems

type DescribeSlowLogRecordsResponseBodyItems struct {
	LogRecords []*DescribeSlowLogRecordsResponseBodyItemsLogRecords `json:"LogRecords,omitempty" xml:"LogRecords,omitempty" type:"Repeated"`
}

func (DescribeSlowLogRecordsResponseBodyItems) GoString

func (DescribeSlowLogRecordsResponseBodyItems) String

type DescribeSlowLogRecordsResponseBodyItemsLogRecords

type DescribeSlowLogRecordsResponseBodyItemsLogRecords struct {
	// The ID of the account.
	Account *string `json:"Account,omitempty" xml:"Account,omitempty"`
	// The username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The slow query statement.
	Command *string `json:"Command,omitempty" xml:"Command,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The name of the database, which serves the same purpose as the **DBName** parameter. We recommend that you use the value of the **DBName** parameter.
	DataBaseName *string `json:"DataBaseName,omitempty" xml:"DataBaseName,omitempty"`
	// The amount of time consumed to execute the slow query statement. Unit: microseconds.
	ElapsedTime *int64 `json:"ElapsedTime,omitempty" xml:"ElapsedTime,omitempty"`
	// The start time when the slow query statement was executed. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format.
	ExecuteTime *string `json:"ExecuteTime,omitempty" xml:"ExecuteTime,omitempty"`
	// The IP address of the client.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The node ID.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
}

func (DescribeSlowLogRecordsResponseBodyItemsLogRecords) GoString

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetAccount

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetAccountName

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetCommand

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetDBName

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetDataBaseName

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetElapsedTime

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetExecuteTime

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetIPAddress

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetNodeId

func (DescribeSlowLogRecordsResponseBodyItemsLogRecords) String

type DescribeTasksRequest

type DescribeTasksRequest struct {
	// The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query instance IDs.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. The value must be an integer that is greater than **0** and does not exceed the maximum value of the Integer data type. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The status of the task. Separate multiple values with commas (,). Valid values:
	//
	// *   **0**: The task is pending.
	// *   **1**: The task is running.
	// *   **2**: The task is complete.
	// *   **4**: The task is closed.
	// *   **7**: The task is paused.
	// *   **8**: The task is interrupted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeTasksRequest) GoString

func (s DescribeTasksRequest) GoString() string

func (*DescribeTasksRequest) SetEndTime

func (*DescribeTasksRequest) SetInstanceId

func (s *DescribeTasksRequest) SetInstanceId(v string) *DescribeTasksRequest

func (*DescribeTasksRequest) SetOwnerAccount

func (s *DescribeTasksRequest) SetOwnerAccount(v string) *DescribeTasksRequest

func (*DescribeTasksRequest) SetOwnerId

func (*DescribeTasksRequest) SetPageNumber

func (s *DescribeTasksRequest) SetPageNumber(v int32) *DescribeTasksRequest

func (*DescribeTasksRequest) SetPageSize

func (s *DescribeTasksRequest) SetPageSize(v int32) *DescribeTasksRequest

func (*DescribeTasksRequest) SetResourceOwnerAccount

func (s *DescribeTasksRequest) SetResourceOwnerAccount(v string) *DescribeTasksRequest

func (*DescribeTasksRequest) SetResourceOwnerId

func (s *DescribeTasksRequest) SetResourceOwnerId(v int64) *DescribeTasksRequest

func (*DescribeTasksRequest) SetSecurityToken

func (s *DescribeTasksRequest) SetSecurityToken(v string) *DescribeTasksRequest

func (*DescribeTasksRequest) SetStartTime

func (s *DescribeTasksRequest) SetStartTime(v string) *DescribeTasksRequest

func (*DescribeTasksRequest) SetStatus

func (DescribeTasksRequest) String

func (s DescribeTasksRequest) String() string

type DescribeTasksResponse

type DescribeTasksResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeTasksResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeTasksResponse) GoString

func (s DescribeTasksResponse) GoString() string

func (*DescribeTasksResponse) SetBody

func (*DescribeTasksResponse) SetHeaders

func (*DescribeTasksResponse) SetStatusCode

func (s *DescribeTasksResponse) SetStatusCode(v int32) *DescribeTasksResponse

func (DescribeTasksResponse) String

func (s DescribeTasksResponse) String() string

type DescribeTasksResponseBody

type DescribeTasksResponseBody struct {
	// The details of the task.
	Items []*DescribeTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeTasksResponseBody) GoString

func (s DescribeTasksResponseBody) GoString() string

func (*DescribeTasksResponseBody) SetItems

func (*DescribeTasksResponseBody) SetPageNumber

func (*DescribeTasksResponseBody) SetPageSize

func (*DescribeTasksResponseBody) SetRequestId

func (*DescribeTasksResponseBody) SetTotalRecordCount

func (s *DescribeTasksResponseBody) SetTotalRecordCount(v int32) *DescribeTasksResponseBody

func (DescribeTasksResponseBody) String

func (s DescribeTasksResponseBody) String() string

type DescribeTasksResponseBodyItems

type DescribeTasksResponseBodyItems struct {
	// The beginning time of the task. The time follows the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	BeginTime *string `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The name of the subtask.
	CurrentStepName *string `json:"CurrentStepName,omitempty" xml:"CurrentStepName,omitempty"`
	// The end time of the task. The time follows the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	FinishTime *string `json:"FinishTime,omitempty" xml:"FinishTime,omitempty"`
	// The progress of the task. Unit: %.
	Progress *float32 `json:"Progress,omitempty" xml:"Progress,omitempty"`
	// The estimated remaining duration of the task. Unit: seconds.
	//
	// >  If the task is not running, this parameter is not returned or the returned value is **0**.
	Remain *int32 `json:"Remain,omitempty" xml:"Remain,omitempty"`
	// The status of the task. Valid values:
	//
	// *   **0**: The task is pending.
	// *   **1**: The task is running.
	// *   **2**: The task is complete.
	// *   **4**: The task is closed.
	// *   **7**: The task is paused.
	// *   **8**: The task is interrupted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The progress of the subtask.
	//
	// >  If the subtask does not exist, this parameter is not returned.
	StepProgressInfo *string `json:"StepProgressInfo,omitempty" xml:"StepProgressInfo,omitempty"`
	// The information about the subtask in the JSON format. This includes the expected remaining duration (**remain**), the name of the subtask (**name**), and the task progress (**progress**).
	//
	// >  If the subtask does not exist, this parameter is not returned.
	StepsInfo *string `json:"StepsInfo,omitempty" xml:"StepsInfo,omitempty"`
	// The identifier of the task.
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DescribeTasksResponseBodyItems) GoString

func (*DescribeTasksResponseBodyItems) SetBeginTime

func (*DescribeTasksResponseBodyItems) SetCurrentStepName

func (*DescribeTasksResponseBodyItems) SetFinishTime

func (*DescribeTasksResponseBodyItems) SetProgress

func (*DescribeTasksResponseBodyItems) SetRemain

func (*DescribeTasksResponseBodyItems) SetStatus

func (*DescribeTasksResponseBodyItems) SetStepProgressInfo

func (*DescribeTasksResponseBodyItems) SetStepsInfo

func (*DescribeTasksResponseBodyItems) SetTaskAction

func (*DescribeTasksResponseBodyItems) SetTaskId

func (DescribeTasksResponseBodyItems) String

type DescribeZonesRequest

type DescribeZonesRequest struct {
	// The display language of the response. Default value: zh-CN. Valid values:
	// * **zh-C**N: Chinese
	// * **en-US**: English
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	OwnerAccount   *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeZonesRequest) GoString

func (s DescribeZonesRequest) GoString() string

func (*DescribeZonesRequest) SetAcceptLanguage

func (s *DescribeZonesRequest) SetAcceptLanguage(v string) *DescribeZonesRequest

func (*DescribeZonesRequest) SetOwnerAccount

func (s *DescribeZonesRequest) SetOwnerAccount(v string) *DescribeZonesRequest

func (*DescribeZonesRequest) SetOwnerId

func (*DescribeZonesRequest) SetRegionId

func (*DescribeZonesRequest) SetResourceOwnerAccount

func (s *DescribeZonesRequest) SetResourceOwnerAccount(v string) *DescribeZonesRequest

func (*DescribeZonesRequest) SetResourceOwnerId

func (s *DescribeZonesRequest) SetResourceOwnerId(v int64) *DescribeZonesRequest

func (*DescribeZonesRequest) SetSecurityToken

func (s *DescribeZonesRequest) SetSecurityToken(v string) *DescribeZonesRequest

func (DescribeZonesRequest) String

func (s DescribeZonesRequest) String() string

type DescribeZonesResponse

type DescribeZonesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeZonesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeZonesResponse) GoString

func (s DescribeZonesResponse) GoString() string

func (*DescribeZonesResponse) SetBody

func (*DescribeZonesResponse) SetHeaders

func (*DescribeZonesResponse) SetStatusCode

func (s *DescribeZonesResponse) SetStatusCode(v int32) *DescribeZonesResponse

func (DescribeZonesResponse) String

func (s DescribeZonesResponse) String() string

type DescribeZonesResponseBody

type DescribeZonesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The queried zones.
	Zones *DescribeZonesResponseBodyZones `json:"Zones,omitempty" xml:"Zones,omitempty" type:"Struct"`
}

func (DescribeZonesResponseBody) GoString

func (s DescribeZonesResponseBody) GoString() string

func (*DescribeZonesResponseBody) SetRequestId

func (*DescribeZonesResponseBody) SetZones

func (DescribeZonesResponseBody) String

func (s DescribeZonesResponseBody) String() string

type DescribeZonesResponseBodyZones

type DescribeZonesResponseBodyZones struct {
	KVStoreZone []*DescribeZonesResponseBodyZonesKVStoreZone `json:"KVStoreZone,omitempty" xml:"KVStoreZone,omitempty" type:"Repeated"`
}

func (DescribeZonesResponseBodyZones) GoString

func (DescribeZonesResponseBodyZones) String

type DescribeZonesResponseBodyZonesKVStoreZone

type DescribeZonesResponseBodyZonesKVStoreZone struct {
	// Indicates whether ApsaraDB for Redis instances can be created in the current zone. Valid values:
	//
	// *   **true**: ApsaraDB for Redis instances cannot be created in the current zone.
	// *   **false**: ApsaraDB for Redis instances can be created in the current zone.
	Disabled *bool `json:"Disabled,omitempty" xml:"Disabled,omitempty"`
	// Indicates whether the zone is managed by ApsaraDB RDS. The return value of this parameter is **true** in ApsaraDB for Redis.
	IsRds *bool `json:"IsRds,omitempty" xml:"IsRds,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Indicates whether the network type of the instance can be changed from the classic network to Virtual Private Cloud (VPC). Valid values:
	//
	// *   **true**: The network type of the instance can be changed from the classic network to VPC.
	// *   **false**: The network type of the instance cannot be changed from the classic network to VPC.
	SwitchNetwork *bool `json:"SwitchNetwork,omitempty" xml:"SwitchNetwork,omitempty"`
	// The ID of the zone within the specified region.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The name of the zone within the specified region.
	ZoneName *string `json:"ZoneName,omitempty" xml:"ZoneName,omitempty"`
}

func (DescribeZonesResponseBodyZonesKVStoreZone) GoString

func (*DescribeZonesResponseBodyZonesKVStoreZone) SetDisabled

func (*DescribeZonesResponseBodyZonesKVStoreZone) SetIsRds

func (*DescribeZonesResponseBodyZonesKVStoreZone) SetRegionId

func (*DescribeZonesResponseBodyZonesKVStoreZone) SetSwitchNetwork

func (*DescribeZonesResponseBodyZonesKVStoreZone) SetZoneId

func (*DescribeZonesResponseBodyZonesKVStoreZone) SetZoneName

func (DescribeZonesResponseBodyZonesKVStoreZone) String

type EnableAdditionalBandwidthRequest

type EnableAdditionalBandwidthRequest struct {
	// Specifies whether to enable automatic payment. Default value: true. Valid values:
	//
	// *   **true**: enables automatic payment. Make sure that you have sufficient balance within your account.
	// *   **false**: disables automatic payment. If automatic payment is disabled, you must perform the following steps to complete the payment in the ApsaraDB for Redis console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// *   **true**: enables auto-renewal.
	// *   **false**: disables auto-renewal. This is the default value.
	AutoRenew *bool `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The auto-renewal cycle based on which ApsaraDB for Redis automatically renews the purchased bandwidth. Unit: months. Valid values: **1**, **2**, **3**, **4**, **5**, **6**, **7**, **8**, **9**, **12**, **24**, **36**, and **60**.
	//
	// > * This parameter takes effect and must be specified only when you set the **AutoRenew** parameter to **true**.
	// > * You cannot query the auto-renewal cycle by calling an API operation. To obtain the auto-renewal cycle, you can perform the following procedure: In the top navigation bar of the ApsaraDB for Redis console, choose **Expenses** > **Renewal Management**. On the page that appears, enter the ID of the instance and the `-bw` suffix in the **Instance ID** field. Example: r-bp1zxszhcgatnx****-bw.
	AutoRenewPeriod *int32 `json:"AutoRenewPeriod,omitempty" xml:"AutoRenewPeriod,omitempty"`
	// The amount of bandwidth that you want to purchase. Unit: MB/s. The value of this parameter must be an integer that is greater than or equal to **0**. You can set this parameter to a value that is up to two times the default bandwidth that is supported by the instance type. For example, if the default bandwidth that is supported by the instance type is 10 MB/s, you can set this parameter to a value within the range of **0** to **20**.
	//
	// > * You call the [DescribeRoleZoneInfo](~~190794~~) operation to query the default bandwidth that is supported by an instance type. In the response, the default bandwidth is indicated by the **DefaultBandWidth** parameter. For more information about instance types, see [Overview](~~26350~~).
	// > * If you specify multiple data shard IDs in the **NodeId** parameter, you must specify the amount of bandwidth that you want to purchase for each specified data shard in the Bandwidth parameter. The bandwidth values that you specify in the Bandwidth parameter must be in the same sequence as the data shard IDs that you specify in the NodeId parameter. In addition, you must separate the bandwidth values with commas (,).
	Bandwidth *string `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The billing method of the bandwidth instance. Default value: PostPaid. Valid values:
	//
	// - PrePaid: subscription
	// - PostPaid: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The coupon ID.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the IDs of instances.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the data shard for which you want to purchase a specific amount of bandwidth. You can call the [DescribeLogicInstanceTopology](~~94665~~) operation to query the IDs of the data shards in an instance. If you specify multiple data shard IDs, separate the data shard IDs with commas (,). You can also set this parameter to **All**, which specifies all the data shards of the instance.
	//
	// > This parameter is available and required only if the instance is a [cluster master-replica](~~52228~~) or [read/write splitting](~~62870~~) instance.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The validity period of the bandwidth that you purchase. Unit: day. Valid values: **1**, **2**, **3**, **7**, **14**, **30**, **60**, **90**, **180**, **365**, **730**, **1095**, and **1825**.
	//
	// > If you want to continue using the purchased bandwidth after the specified period of time elapses, you must call the [RenewAdditionalBandwidth](~~211199~~) operation to submit a renewal order.
	OrderTimeLength      *string `json:"OrderTimeLength,omitempty" xml:"OrderTimeLength,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.
	SourceBiz *string `json:"SourceBiz,omitempty" xml:"SourceBiz,omitempty"`
}

func (EnableAdditionalBandwidthRequest) GoString

func (*EnableAdditionalBandwidthRequest) SetAutoPay

func (*EnableAdditionalBandwidthRequest) SetAutoRenew

func (*EnableAdditionalBandwidthRequest) SetAutoRenewPeriod

func (*EnableAdditionalBandwidthRequest) SetBandwidth

func (*EnableAdditionalBandwidthRequest) SetChargeType added in v3.0.2

func (*EnableAdditionalBandwidthRequest) SetCouponNo

func (*EnableAdditionalBandwidthRequest) SetInstanceId

func (*EnableAdditionalBandwidthRequest) SetNodeId

func (*EnableAdditionalBandwidthRequest) SetOrderTimeLength

func (*EnableAdditionalBandwidthRequest) SetOwnerAccount

func (*EnableAdditionalBandwidthRequest) SetOwnerId

func (*EnableAdditionalBandwidthRequest) SetResourceOwnerAccount

func (*EnableAdditionalBandwidthRequest) SetResourceOwnerId

func (*EnableAdditionalBandwidthRequest) SetSecurityToken

func (*EnableAdditionalBandwidthRequest) SetSourceBiz

func (EnableAdditionalBandwidthRequest) String

type EnableAdditionalBandwidthResponse

type EnableAdditionalBandwidthResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableAdditionalBandwidthResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableAdditionalBandwidthResponse) GoString

func (*EnableAdditionalBandwidthResponse) SetHeaders

func (*EnableAdditionalBandwidthResponse) SetStatusCode

func (EnableAdditionalBandwidthResponse) String

type EnableAdditionalBandwidthResponseBody

type EnableAdditionalBandwidthResponseBody struct {
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnableAdditionalBandwidthResponseBody) GoString

func (*EnableAdditionalBandwidthResponseBody) SetOrderId

func (*EnableAdditionalBandwidthResponseBody) SetRequestId

func (EnableAdditionalBandwidthResponseBody) String

type FlushExpireKeysRequest

type FlushExpireKeysRequest struct {
	// The time when the minor version is upgraded. Valid values:
	//
	// *   **Immediately**: immediately deletes expired keys.
	// *   **MaintainTime**:deletes expired key in the maintenance window.
	//
	// >  You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to modify the maintenance window of an ApsaraDB for Redis instance.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (FlushExpireKeysRequest) GoString

func (s FlushExpireKeysRequest) GoString() string

func (*FlushExpireKeysRequest) SetEffectiveTime

func (s *FlushExpireKeysRequest) SetEffectiveTime(v string) *FlushExpireKeysRequest

func (*FlushExpireKeysRequest) SetInstanceId

func (*FlushExpireKeysRequest) SetOwnerAccount

func (s *FlushExpireKeysRequest) SetOwnerAccount(v string) *FlushExpireKeysRequest

func (*FlushExpireKeysRequest) SetOwnerId

func (*FlushExpireKeysRequest) SetResourceOwnerAccount

func (s *FlushExpireKeysRequest) SetResourceOwnerAccount(v string) *FlushExpireKeysRequest

func (*FlushExpireKeysRequest) SetResourceOwnerId

func (s *FlushExpireKeysRequest) SetResourceOwnerId(v int64) *FlushExpireKeysRequest

func (*FlushExpireKeysRequest) SetSecurityToken

func (s *FlushExpireKeysRequest) SetSecurityToken(v string) *FlushExpireKeysRequest

func (FlushExpireKeysRequest) String

func (s FlushExpireKeysRequest) String() string

type FlushExpireKeysResponse

type FlushExpireKeysResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *FlushExpireKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (FlushExpireKeysResponse) GoString

func (s FlushExpireKeysResponse) GoString() string

func (*FlushExpireKeysResponse) SetBody

func (*FlushExpireKeysResponse) SetHeaders

func (*FlushExpireKeysResponse) SetStatusCode

func (FlushExpireKeysResponse) String

func (s FlushExpireKeysResponse) String() string

type FlushExpireKeysResponseBody

type FlushExpireKeysResponseBody struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (FlushExpireKeysResponseBody) GoString

func (s FlushExpireKeysResponseBody) GoString() string

func (*FlushExpireKeysResponseBody) SetInstanceId

func (*FlushExpireKeysResponseBody) SetRequestId

func (*FlushExpireKeysResponseBody) SetTaskId

func (FlushExpireKeysResponseBody) String

type FlushInstanceForDBRequest added in v3.0.3

type FlushInstanceForDBRequest struct {
	// The index number of the database. Valid values: 0 to 255.
	DbIndex *int32 `json:"DbIndex,omitempty" xml:"DbIndex,omitempty"`
	// The instance ID. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (FlushInstanceForDBRequest) GoString added in v3.0.3

func (s FlushInstanceForDBRequest) GoString() string

func (*FlushInstanceForDBRequest) SetDbIndex added in v3.0.3

func (*FlushInstanceForDBRequest) SetInstanceId added in v3.0.3

func (*FlushInstanceForDBRequest) SetOwnerAccount added in v3.0.3

func (*FlushInstanceForDBRequest) SetOwnerId added in v3.0.3

func (*FlushInstanceForDBRequest) SetResourceOwnerAccount added in v3.0.3

func (s *FlushInstanceForDBRequest) SetResourceOwnerAccount(v string) *FlushInstanceForDBRequest

func (*FlushInstanceForDBRequest) SetResourceOwnerId added in v3.0.3

func (s *FlushInstanceForDBRequest) SetResourceOwnerId(v int64) *FlushInstanceForDBRequest

func (FlushInstanceForDBRequest) String added in v3.0.3

func (s FlushInstanceForDBRequest) String() string

type FlushInstanceForDBResponse added in v3.0.3

type FlushInstanceForDBResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *FlushInstanceForDBResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (FlushInstanceForDBResponse) GoString added in v3.0.3

func (s FlushInstanceForDBResponse) GoString() string

func (*FlushInstanceForDBResponse) SetBody added in v3.0.3

func (*FlushInstanceForDBResponse) SetHeaders added in v3.0.3

func (*FlushInstanceForDBResponse) SetStatusCode added in v3.0.3

func (FlushInstanceForDBResponse) String added in v3.0.3

type FlushInstanceForDBResponseBody added in v3.0.3

type FlushInstanceForDBResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (FlushInstanceForDBResponseBody) GoString added in v3.0.3

func (*FlushInstanceForDBResponseBody) SetRequestId added in v3.0.3

func (FlushInstanceForDBResponseBody) String added in v3.0.3

type FlushInstanceRequest

type FlushInstanceRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (FlushInstanceRequest) GoString

func (s FlushInstanceRequest) GoString() string

func (*FlushInstanceRequest) SetInstanceId

func (s *FlushInstanceRequest) SetInstanceId(v string) *FlushInstanceRequest

func (*FlushInstanceRequest) SetOwnerAccount

func (s *FlushInstanceRequest) SetOwnerAccount(v string) *FlushInstanceRequest

func (*FlushInstanceRequest) SetOwnerId

func (*FlushInstanceRequest) SetResourceOwnerAccount

func (s *FlushInstanceRequest) SetResourceOwnerAccount(v string) *FlushInstanceRequest

func (*FlushInstanceRequest) SetResourceOwnerId

func (s *FlushInstanceRequest) SetResourceOwnerId(v int64) *FlushInstanceRequest

func (*FlushInstanceRequest) SetSecurityToken

func (s *FlushInstanceRequest) SetSecurityToken(v string) *FlushInstanceRequest

func (FlushInstanceRequest) String

func (s FlushInstanceRequest) String() string

type FlushInstanceResponse

type FlushInstanceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *FlushInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (FlushInstanceResponse) GoString

func (s FlushInstanceResponse) GoString() string

func (*FlushInstanceResponse) SetBody

func (*FlushInstanceResponse) SetHeaders

func (*FlushInstanceResponse) SetStatusCode

func (s *FlushInstanceResponse) SetStatusCode(v int32) *FlushInstanceResponse

func (FlushInstanceResponse) String

func (s FlushInstanceResponse) String() string

type FlushInstanceResponseBody

type FlushInstanceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (FlushInstanceResponseBody) GoString

func (s FlushInstanceResponseBody) GoString() string

func (*FlushInstanceResponseBody) SetRequestId

func (FlushInstanceResponseBody) String

func (s FlushInstanceResponseBody) String() string

type GrantAccountPrivilegeRequest

type GrantAccountPrivilegeRequest struct {
	// The name of the account. You can call the [DescribeAccounts](~~DescribeAccounts~~) operation to obtain the name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The permissions of the account. Default value: RoleReadWrite. Valid values:
	//
	// *   RoleReadOnly: The account has the read-only permissions.
	// *   RoleReadWrite: The account has the read and write permissions.
	AccountPrivilege *string `json:"AccountPrivilege,omitempty" xml:"AccountPrivilege,omitempty"`
	// The ID of the instance to which the account belongs.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (GrantAccountPrivilegeRequest) GoString

func (s GrantAccountPrivilegeRequest) GoString() string

func (*GrantAccountPrivilegeRequest) SetAccountName

func (*GrantAccountPrivilegeRequest) SetAccountPrivilege

func (*GrantAccountPrivilegeRequest) SetInstanceId

func (*GrantAccountPrivilegeRequest) SetOwnerAccount

func (*GrantAccountPrivilegeRequest) SetOwnerId

func (*GrantAccountPrivilegeRequest) SetResourceOwnerAccount

func (s *GrantAccountPrivilegeRequest) SetResourceOwnerAccount(v string) *GrantAccountPrivilegeRequest

func (*GrantAccountPrivilegeRequest) SetResourceOwnerId

func (*GrantAccountPrivilegeRequest) SetSecurityToken

func (GrantAccountPrivilegeRequest) String

type GrantAccountPrivilegeResponse

type GrantAccountPrivilegeResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GrantAccountPrivilegeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GrantAccountPrivilegeResponse) GoString

func (*GrantAccountPrivilegeResponse) SetBody

func (*GrantAccountPrivilegeResponse) SetHeaders

func (*GrantAccountPrivilegeResponse) SetStatusCode

func (GrantAccountPrivilegeResponse) String

type GrantAccountPrivilegeResponseBody

type GrantAccountPrivilegeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GrantAccountPrivilegeResponseBody) GoString

func (*GrantAccountPrivilegeResponseBody) SetRequestId

func (GrantAccountPrivilegeResponseBody) String

type InitializeKvstorePermissionRequest

type InitializeKvstorePermissionRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (InitializeKvstorePermissionRequest) GoString

func (*InitializeKvstorePermissionRequest) SetOwnerAccount

func (*InitializeKvstorePermissionRequest) SetOwnerId

func (*InitializeKvstorePermissionRequest) SetRegionId

func (*InitializeKvstorePermissionRequest) SetResourceOwnerAccount

func (*InitializeKvstorePermissionRequest) SetResourceOwnerId

func (*InitializeKvstorePermissionRequest) SetSecurityToken

func (InitializeKvstorePermissionRequest) String

type InitializeKvstorePermissionResponse

type InitializeKvstorePermissionResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *InitializeKvstorePermissionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (InitializeKvstorePermissionResponse) GoString

func (*InitializeKvstorePermissionResponse) SetHeaders

func (*InitializeKvstorePermissionResponse) SetStatusCode

func (InitializeKvstorePermissionResponse) String

type InitializeKvstorePermissionResponseBody

type InitializeKvstorePermissionResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (InitializeKvstorePermissionResponseBody) GoString

func (*InitializeKvstorePermissionResponseBody) SetRequestId

func (InitializeKvstorePermissionResponseBody) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The token used to start the next query to retrieve more results.
	//
	// > This parameter is not required in the first query. If not all results are returned in one query, you can specify the **NextToken** value returned for the query to perform the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The IDs of the instances.
	//
	// > *   You must specify this parameter or the **Tag** parameter.
	ResourceId           []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64    `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The resource type. Set the value to **INSTANCE**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags of the instance. You must specify this parameter or the **ResourceId** parameter.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetOwnerAccount

func (*ListTagResourcesRequest) SetOwnerId

func (*ListTagResourcesRequest) SetRegionId

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceOwnerAccount

func (s *ListTagResourcesRequest) SetResourceOwnerAccount(v string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceOwnerId

func (s *ListTagResourcesRequest) SetResourceOwnerId(v int64) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag

type ListTagResourcesRequestTag struct {
	// The keys of the tags associated with the instances you want to query.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The values of the tags associated with the instances you want to query.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey

func (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) String

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// The token required to obtain more results. If a query does not return all results, in the next query, you can provide the token returned by the previous query to obtain more results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details of the instances and tags.
	TagResources *ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Struct"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	TagResource []*ListTagResourcesResponseBodyTagResourcesTagResource `json:"TagResource,omitempty" xml:"TagResource,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (ListTagResourcesResponseBodyTagResources) String

type ListTagResourcesResponseBodyTagResourcesTagResource

type ListTagResourcesResponseBodyTagResourcesTagResource struct {
	// The resource ID, which is also the ID of the instance.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The resource type. The return value is **ALIYUN::KVSTORE::INSTANCE**. This value indicates an ApsaraDB for Redis instance.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The keys of the tags.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The values of the tags.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResourcesTagResource) GoString

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagKey

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue

func (ListTagResourcesResponseBodyTagResourcesTagResource) String

type LockDBInstanceWriteRequest added in v3.2.0

type LockDBInstanceWriteRequest struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The reason why write operations on the instance are locked.
	LockReason           *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (LockDBInstanceWriteRequest) GoString added in v3.2.0

func (s LockDBInstanceWriteRequest) GoString() string

func (*LockDBInstanceWriteRequest) SetDBInstanceId added in v3.2.0

func (*LockDBInstanceWriteRequest) SetLockReason added in v3.2.0

func (*LockDBInstanceWriteRequest) SetOwnerAccount added in v3.2.0

func (*LockDBInstanceWriteRequest) SetOwnerId added in v3.2.0

func (*LockDBInstanceWriteRequest) SetResourceOwnerAccount added in v3.2.0

func (s *LockDBInstanceWriteRequest) SetResourceOwnerAccount(v string) *LockDBInstanceWriteRequest

func (*LockDBInstanceWriteRequest) SetResourceOwnerId added in v3.2.0

func (*LockDBInstanceWriteRequest) SetSecurityToken added in v3.2.0

func (LockDBInstanceWriteRequest) String added in v3.2.0

type LockDBInstanceWriteResponse added in v3.2.0

type LockDBInstanceWriteResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *LockDBInstanceWriteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (LockDBInstanceWriteResponse) GoString added in v3.2.0

func (s LockDBInstanceWriteResponse) GoString() string

func (*LockDBInstanceWriteResponse) SetBody added in v3.2.0

func (*LockDBInstanceWriteResponse) SetHeaders added in v3.2.0

func (*LockDBInstanceWriteResponse) SetStatusCode added in v3.2.0

func (LockDBInstanceWriteResponse) String added in v3.2.0

type LockDBInstanceWriteResponseBody added in v3.2.0

type LockDBInstanceWriteResponseBody struct {
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The reason why write operations on the instance are locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (LockDBInstanceWriteResponseBody) GoString added in v3.2.0

func (*LockDBInstanceWriteResponseBody) SetDBInstanceName added in v3.2.0

func (*LockDBInstanceWriteResponseBody) SetLockReason added in v3.2.0

func (*LockDBInstanceWriteResponseBody) SetRequestId added in v3.2.0

func (*LockDBInstanceWriteResponseBody) SetTaskId added in v3.2.0

func (LockDBInstanceWriteResponseBody) String added in v3.2.0

type MigrateToOtherZoneRequest

type MigrateToOtherZoneRequest struct {
	// The ID of the ApsaraDB for Redis instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies the time when the database is switched after data is migrated. Valid values:
	//
	// *   **Immediately**: immediately switched after the data is migrated.
	// *   **MaintainTime**: switched within the maintenance window.
	//
	// >  Default value: **Immediately**.
	EffectiveTime        *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the destination secondary zone. You can call the [DescribeZones](~~DescribeZones~~) operation to query zone IDs.
	//
	// >  You can specify this parameter to deploy the master node and replica node in different zones to implement zone-disaster recovery. This helps withstand data center-level breakdowns.
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	SecurityToken   *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The ID of the vSwitch.
	//
	// > *   The vSwitch must be deployed in the zone that is specified by the ZoneId parameter.
	// > *   If the network type of the instance is VPC, this parameter is required.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the destination primary zone. You can call the [DescribeZones](~~94527~~) operation to query zone IDs.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (MigrateToOtherZoneRequest) GoString

func (s MigrateToOtherZoneRequest) GoString() string

func (*MigrateToOtherZoneRequest) SetDBInstanceId

func (*MigrateToOtherZoneRequest) SetEffectiveTime

func (*MigrateToOtherZoneRequest) SetOwnerAccount

func (*MigrateToOtherZoneRequest) SetOwnerId

func (*MigrateToOtherZoneRequest) SetResourceOwnerAccount

func (s *MigrateToOtherZoneRequest) SetResourceOwnerAccount(v string) *MigrateToOtherZoneRequest

func (*MigrateToOtherZoneRequest) SetResourceOwnerId

func (s *MigrateToOtherZoneRequest) SetResourceOwnerId(v int64) *MigrateToOtherZoneRequest

func (*MigrateToOtherZoneRequest) SetSecondaryZoneId

func (*MigrateToOtherZoneRequest) SetSecurityToken

func (*MigrateToOtherZoneRequest) SetVSwitchId

func (*MigrateToOtherZoneRequest) SetZoneId

func (MigrateToOtherZoneRequest) String

func (s MigrateToOtherZoneRequest) String() string

type MigrateToOtherZoneResponse

type MigrateToOtherZoneResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *MigrateToOtherZoneResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (MigrateToOtherZoneResponse) GoString

func (s MigrateToOtherZoneResponse) GoString() string

func (*MigrateToOtherZoneResponse) SetBody

func (*MigrateToOtherZoneResponse) SetHeaders

func (*MigrateToOtherZoneResponse) SetStatusCode

func (MigrateToOtherZoneResponse) String

type MigrateToOtherZoneResponseBody

type MigrateToOtherZoneResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (MigrateToOtherZoneResponseBody) GoString

func (*MigrateToOtherZoneResponseBody) SetRequestId

func (MigrateToOtherZoneResponseBody) String

type ModifyAccountDescriptionRequest

type ModifyAccountDescriptionRequest struct {
	// The description of the account.
	//
	// *   The description must start with a letter and cannot start with `http://` or `https://`.
	// *   The description can contain letters, digits, underscores (\_), and hyphens (-).
	// *   The description must be 2 to 256 characters in length.
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The username of the account. You can call the [DescribeAccounts](~~95802~~) operation to query the username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyAccountDescriptionRequest) GoString

func (*ModifyAccountDescriptionRequest) SetAccountDescription

func (*ModifyAccountDescriptionRequest) SetAccountName

func (*ModifyAccountDescriptionRequest) SetInstanceId

func (*ModifyAccountDescriptionRequest) SetOwnerAccount

func (*ModifyAccountDescriptionRequest) SetOwnerId

func (*ModifyAccountDescriptionRequest) SetResourceOwnerAccount

func (*ModifyAccountDescriptionRequest) SetResourceOwnerId

func (*ModifyAccountDescriptionRequest) SetSecurityToken

func (ModifyAccountDescriptionRequest) String

type ModifyAccountDescriptionResponse

type ModifyAccountDescriptionResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyAccountDescriptionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyAccountDescriptionResponse) GoString

func (*ModifyAccountDescriptionResponse) SetHeaders

func (*ModifyAccountDescriptionResponse) SetStatusCode

func (ModifyAccountDescriptionResponse) String

type ModifyAccountDescriptionResponseBody

type ModifyAccountDescriptionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyAccountDescriptionResponseBody) GoString

func (*ModifyAccountDescriptionResponseBody) SetRequestId

func (ModifyAccountDescriptionResponseBody) String

type ModifyAccountPasswordRequest

type ModifyAccountPasswordRequest struct {
	// The username of the account for which you want to change the password. You can call the [DescribeAccounts](~~95802~~) operation to query the username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The new password to be set for the account. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`
	NewAccountPassword *string `json:"NewAccountPassword,omitempty" xml:"NewAccountPassword,omitempty"`
	// The current password of the account.
	//
	// > If you forget your password, you can call the [ResetAccountPassword](~~95941~~) operation to reset your password.
	OldAccountPassword   *string `json:"OldAccountPassword,omitempty" xml:"OldAccountPassword,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyAccountPasswordRequest) GoString

func (s ModifyAccountPasswordRequest) GoString() string

func (*ModifyAccountPasswordRequest) SetAccountName

func (*ModifyAccountPasswordRequest) SetInstanceId

func (*ModifyAccountPasswordRequest) SetNewAccountPassword

func (*ModifyAccountPasswordRequest) SetOldAccountPassword

func (*ModifyAccountPasswordRequest) SetOwnerAccount

func (*ModifyAccountPasswordRequest) SetOwnerId

func (*ModifyAccountPasswordRequest) SetResourceOwnerAccount

func (s *ModifyAccountPasswordRequest) SetResourceOwnerAccount(v string) *ModifyAccountPasswordRequest

func (*ModifyAccountPasswordRequest) SetResourceOwnerId

func (*ModifyAccountPasswordRequest) SetSecurityToken

func (ModifyAccountPasswordRequest) String

type ModifyAccountPasswordResponse

type ModifyAccountPasswordResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyAccountPasswordResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyAccountPasswordResponse) GoString

func (*ModifyAccountPasswordResponse) SetBody

func (*ModifyAccountPasswordResponse) SetHeaders

func (*ModifyAccountPasswordResponse) SetStatusCode

func (ModifyAccountPasswordResponse) String

type ModifyAccountPasswordResponseBody

type ModifyAccountPasswordResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyAccountPasswordResponseBody) GoString

func (*ModifyAccountPasswordResponseBody) SetRequestId

func (ModifyAccountPasswordResponseBody) String

type ModifyActiveOperationTaskRequest

type ModifyActiveOperationTaskRequest struct {
	// The ID of the O\&M task. Separate multiple IDs with commas (,).
	//
	// > You can call the [DescribeActiveOperationTask](~~197387~~) operation to query the ID of an O\&M task.
	Ids                  *string `json:"Ids,omitempty" xml:"Ids,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The scheduled switchover time to be specified. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// > The time cannot be later than the latest operation time. You can call the [DescribeActiveOperationTask](~~197387~~) operation to obtain the latest operation time, which is the value of the **Deadline** parameter in the response.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
}

func (ModifyActiveOperationTaskRequest) GoString

func (*ModifyActiveOperationTaskRequest) SetIds

func (*ModifyActiveOperationTaskRequest) SetOwnerAccount

func (*ModifyActiveOperationTaskRequest) SetOwnerId

func (*ModifyActiveOperationTaskRequest) SetResourceOwnerAccount

func (*ModifyActiveOperationTaskRequest) SetResourceOwnerId

func (*ModifyActiveOperationTaskRequest) SetSecurityToken

func (*ModifyActiveOperationTaskRequest) SetSwitchTime

func (ModifyActiveOperationTaskRequest) String

type ModifyActiveOperationTaskResponse

type ModifyActiveOperationTaskResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyActiveOperationTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyActiveOperationTaskResponse) GoString

func (*ModifyActiveOperationTaskResponse) SetHeaders

func (*ModifyActiveOperationTaskResponse) SetStatusCode

func (ModifyActiveOperationTaskResponse) String

type ModifyActiveOperationTaskResponseBody

type ModifyActiveOperationTaskResponseBody struct {
	// The ID of the O\&M task. IDs are separated by commas (,).
	Ids *string `json:"Ids,omitempty" xml:"Ids,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyActiveOperationTaskResponseBody) GoString

func (*ModifyActiveOperationTaskResponseBody) SetIds

func (*ModifyActiveOperationTaskResponseBody) SetRequestId

func (ModifyActiveOperationTaskResponseBody) String

type ModifyAuditLogConfigRequest

type ModifyAuditLogConfigRequest struct {
	// Specifies whether to enable the audit log feature. Default value: true. Valid values:
	//
	// *   **true**: enables the audit log feature.
	// *   **false**: disables the audit log feature.
	//
	// > If the instance uses the [cluster architecture](~~52228~~) or [read/write splitting architecture](~~62870~~), the audit log feature is enabled or disabled for both the data nodes and proxy nodes. You cannot separately enable the audit log feature for the data nodes or proxy nodes.
	DbAudit *bool `json:"DbAudit,omitempty" xml:"DbAudit,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The retention period of audit logs. Valid values: **1** to **365**. Unit: days.
	//
	// > *   This parameter is required only if the **DbAudit** parameter is set to **true**.
	// > *   The value of this parameter takes effect for all ApsaraDB for Redis instances in the current region.
	Retention     *int32  `json:"Retention,omitempty" xml:"Retention,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyAuditLogConfigRequest) GoString

func (s ModifyAuditLogConfigRequest) GoString() string

func (*ModifyAuditLogConfigRequest) SetDbAudit

func (*ModifyAuditLogConfigRequest) SetInstanceId

func (*ModifyAuditLogConfigRequest) SetOwnerAccount

func (*ModifyAuditLogConfigRequest) SetOwnerId

func (*ModifyAuditLogConfigRequest) SetResourceOwnerAccount

func (s *ModifyAuditLogConfigRequest) SetResourceOwnerAccount(v string) *ModifyAuditLogConfigRequest

func (*ModifyAuditLogConfigRequest) SetResourceOwnerId

func (*ModifyAuditLogConfigRequest) SetRetention

func (*ModifyAuditLogConfigRequest) SetSecurityToken

func (ModifyAuditLogConfigRequest) String

type ModifyAuditLogConfigResponse

type ModifyAuditLogConfigResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyAuditLogConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyAuditLogConfigResponse) GoString

func (s ModifyAuditLogConfigResponse) GoString() string

func (*ModifyAuditLogConfigResponse) SetBody

func (*ModifyAuditLogConfigResponse) SetHeaders

func (*ModifyAuditLogConfigResponse) SetStatusCode

func (ModifyAuditLogConfigResponse) String

type ModifyAuditLogConfigResponseBody

type ModifyAuditLogConfigResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyAuditLogConfigResponseBody) GoString

func (*ModifyAuditLogConfigResponseBody) SetRequestId

func (ModifyAuditLogConfigResponseBody) String

type ModifyBackupPolicyRequest

type ModifyBackupPolicyRequest struct {
	BackupRetentionPeriod *int32 `json:"BackupRetentionPeriod,omitempty" xml:"BackupRetentionPeriod,omitempty"`
	// Specifies whether to enable incremental data backup. Default value: 0. Valid values:
	//
	// *   **1**: enables incremental data backup.
	// *   **0**: disables incremental data backup.
	// >This parameter is available only for ApsaraDB for Redis Enhanced Edition (Tair) DRAM-based and persistent memory-optimized instances. For more information, see [Data flashback](~~443784~~).
	EnableBackupLog *int32 `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The days of the week to back up data. Valid values:
	//
	// *   **Monday**
	// *   **Tuesday**
	// *   **Wednesday**
	// *   **Thursday**
	// *   **Friday**
	// *   **Saturday**
	// *   **Sunday**
	//
	// > Separate multiple options with commas (,).
	PreferredBackupPeriod *string `json:"PreferredBackupPeriod,omitempty" xml:"PreferredBackupPeriod,omitempty"`
	// The time range to back up data. Specify the time in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.
	//
	// > The beginning and end of the time range must be on the hour. The duration must be an hour.
	PreferredBackupTime  *string `json:"PreferredBackupTime,omitempty" xml:"PreferredBackupTime,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyBackupPolicyRequest) GoString

func (s ModifyBackupPolicyRequest) GoString() string

func (*ModifyBackupPolicyRequest) SetBackupRetentionPeriod added in v3.5.4

func (s *ModifyBackupPolicyRequest) SetBackupRetentionPeriod(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetEnableBackupLog

func (s *ModifyBackupPolicyRequest) SetEnableBackupLog(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetInstanceId

func (*ModifyBackupPolicyRequest) SetOwnerAccount

func (*ModifyBackupPolicyRequest) SetOwnerId

func (*ModifyBackupPolicyRequest) SetPreferredBackupPeriod

func (s *ModifyBackupPolicyRequest) SetPreferredBackupPeriod(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetPreferredBackupTime

func (s *ModifyBackupPolicyRequest) SetPreferredBackupTime(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetResourceOwnerAccount

func (s *ModifyBackupPolicyRequest) SetResourceOwnerAccount(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetResourceOwnerId

func (s *ModifyBackupPolicyRequest) SetResourceOwnerId(v int64) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetSecurityToken

func (ModifyBackupPolicyRequest) String

func (s ModifyBackupPolicyRequest) String() string

type ModifyBackupPolicyResponse

type ModifyBackupPolicyResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyBackupPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyBackupPolicyResponse) GoString

func (s ModifyBackupPolicyResponse) GoString() string

func (*ModifyBackupPolicyResponse) SetBody

func (*ModifyBackupPolicyResponse) SetHeaders

func (*ModifyBackupPolicyResponse) SetStatusCode

func (ModifyBackupPolicyResponse) String

type ModifyBackupPolicyResponseBody

type ModifyBackupPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyBackupPolicyResponseBody) GoString

func (*ModifyBackupPolicyResponseBody) SetRequestId

func (ModifyBackupPolicyResponseBody) String

type ModifyDBInstanceConnectionStringRequest

type ModifyDBInstanceConnectionStringRequest struct {
	// The current endpoint of the instance.
	CurrentConnectionString *string `json:"CurrentConnectionString,omitempty" xml:"CurrentConnectionString,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the endpoint. Valid values:
	//
	// *   **Private**: internal network
	// *   **Public**: Internet
	IPType *string `json:"IPType,omitempty" xml:"IPType,omitempty"`
	// The prefix of the new endpoint. Specify the endpoint in the `<prefix>.redis.rds.aliyuncs.com` format. The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter.
	//
	// >  You must specify one of the **NewConnectionString** and **Port** parameters.
	NewConnectionString *string `json:"NewConnectionString,omitempty" xml:"NewConnectionString,omitempty"`
	OwnerAccount        *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId             *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The port number that is used to connect to the instance. Valid values: **1024** to **65535**.
	//
	// > You must specify one of the **NewConnectionString** and **Port** parameters.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyDBInstanceConnectionStringRequest) GoString

func (*ModifyDBInstanceConnectionStringRequest) SetCurrentConnectionString

func (*ModifyDBInstanceConnectionStringRequest) SetDBInstanceId

func (*ModifyDBInstanceConnectionStringRequest) SetIPType

func (*ModifyDBInstanceConnectionStringRequest) SetNewConnectionString

func (*ModifyDBInstanceConnectionStringRequest) SetOwnerAccount

func (*ModifyDBInstanceConnectionStringRequest) SetOwnerId

func (*ModifyDBInstanceConnectionStringRequest) SetPort

func (*ModifyDBInstanceConnectionStringRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceConnectionStringRequest) SetResourceOwnerId

func (*ModifyDBInstanceConnectionStringRequest) SetSecurityToken

func (ModifyDBInstanceConnectionStringRequest) String

type ModifyDBInstanceConnectionStringResponse

type ModifyDBInstanceConnectionStringResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDBInstanceConnectionStringResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDBInstanceConnectionStringResponse) GoString

func (*ModifyDBInstanceConnectionStringResponse) SetHeaders

func (*ModifyDBInstanceConnectionStringResponse) SetStatusCode

func (ModifyDBInstanceConnectionStringResponse) String

type ModifyDBInstanceConnectionStringResponseBody

type ModifyDBInstanceConnectionStringResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceConnectionStringResponseBody) GoString

func (*ModifyDBInstanceConnectionStringResponseBody) SetRequestId

func (ModifyDBInstanceConnectionStringResponseBody) String

type ModifyGlobalSecurityIPGroupNameRequest added in v3.0.1

type ModifyGlobalSecurityIPGroupNameRequest struct {
	// The name of the global IP whitelist template. The name must meet the following requirements:
	//
	// *   The name can contain lowercase letters, digits, and underscores (\_).
	// *   The name must start with a letter and end with a letter or a digit.
	// *   The name must be 2 to 120 characters in length.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	OwnerAccount          *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId               *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyGlobalSecurityIPGroupNameRequest) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetGlobalIgName added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetGlobalSecurityGroupId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetOwnerAccount added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetOwnerId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetRegionId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetResourceGroupId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetResourceOwnerAccount added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetResourceOwnerId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameRequest) SetSecurityToken added in v3.0.1

func (ModifyGlobalSecurityIPGroupNameRequest) String added in v3.0.1

type ModifyGlobalSecurityIPGroupNameResponse added in v3.0.1

type ModifyGlobalSecurityIPGroupNameResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyGlobalSecurityIPGroupNameResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyGlobalSecurityIPGroupNameResponse) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameResponse) SetBody added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameResponse) SetHeaders added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameResponse) SetStatusCode added in v3.0.1

func (ModifyGlobalSecurityIPGroupNameResponse) String added in v3.0.1

type ModifyGlobalSecurityIPGroupNameResponseBody added in v3.0.1

type ModifyGlobalSecurityIPGroupNameResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupNameResponseBody) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupNameResponseBody) SetRequestId added in v3.0.1

func (ModifyGlobalSecurityIPGroupNameResponseBody) String added in v3.0.1

type ModifyGlobalSecurityIPGroupRelationRequest added in v3.0.1

type ModifyGlobalSecurityIPGroupRelationRequest struct {
	// The instance ID.
	DBClusterId *string `json:"DBClusterId,omitempty" xml:"DBClusterId,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	OwnerAccount          *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId               *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyGlobalSecurityIPGroupRelationRequest) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetDBClusterId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetGlobalSecurityGroupId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetOwnerAccount added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetOwnerId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetRegionId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetResourceGroupId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetResourceOwnerAccount added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetResourceOwnerId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetSecurityToken added in v3.0.1

func (ModifyGlobalSecurityIPGroupRelationRequest) String added in v3.0.1

type ModifyGlobalSecurityIPGroupRelationResponse added in v3.0.1

type ModifyGlobalSecurityIPGroupRelationResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyGlobalSecurityIPGroupRelationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyGlobalSecurityIPGroupRelationResponse) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationResponse) SetBody added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationResponse) SetHeaders added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationResponse) SetStatusCode added in v3.0.1

func (ModifyGlobalSecurityIPGroupRelationResponse) String added in v3.0.1

type ModifyGlobalSecurityIPGroupRelationResponseBody added in v3.0.1

type ModifyGlobalSecurityIPGroupRelationResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupRelationResponseBody) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRelationResponseBody) SetRequestId added in v3.0.1

func (ModifyGlobalSecurityIPGroupRelationResponseBody) String added in v3.0.1

type ModifyGlobalSecurityIPGroupRequest added in v3.0.1

type ModifyGlobalSecurityIPGroupRequest struct {
	// The IP addresses in the IP whitelist template.
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// *   The name can contain lowercase letters, digits, and underscores (\_).
	// *   The name must start with a letter and end with a letter or a digit.
	// *   The name must be 2 to 120 characters in length.
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	OwnerAccount          *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId               *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyGlobalSecurityIPGroupRequest) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetGIpList added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetGlobalIgName added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetGlobalSecurityGroupId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetOwnerAccount added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetOwnerId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetRegionId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetResourceGroupId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetResourceOwnerAccount added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetResourceOwnerId added in v3.0.1

func (*ModifyGlobalSecurityIPGroupRequest) SetSecurityToken added in v3.0.1

func (ModifyGlobalSecurityIPGroupRequest) String added in v3.0.1

type ModifyGlobalSecurityIPGroupResponse added in v3.0.1

type ModifyGlobalSecurityIPGroupResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyGlobalSecurityIPGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyGlobalSecurityIPGroupResponse) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupResponse) SetBody added in v3.0.1

func (*ModifyGlobalSecurityIPGroupResponse) SetHeaders added in v3.0.1

func (*ModifyGlobalSecurityIPGroupResponse) SetStatusCode added in v3.0.1

func (ModifyGlobalSecurityIPGroupResponse) String added in v3.0.1

type ModifyGlobalSecurityIPGroupResponseBody added in v3.0.1

type ModifyGlobalSecurityIPGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupResponseBody) GoString added in v3.0.1

func (*ModifyGlobalSecurityIPGroupResponseBody) SetRequestId added in v3.0.1

func (ModifyGlobalSecurityIPGroupResponseBody) String added in v3.0.1

type ModifyInstanceAttributeRequest

type ModifyInstanceAttributeRequest struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The new name of the instance. The name must be 2 to 80 characters in length. The name must start with a letter and cannot contain spaces and the following special characters: `@ / : = " < > { [ ] }`
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// [The release protection state of the instance.](~~165005~~) Valid values:
	//
	// *   **true**: enabled
	// *   **false**: disabled
	//
	// > This parameter is available only for pay-as-you-go instances.
	InstanceReleaseProtection *bool `json:"InstanceReleaseProtection,omitempty" xml:"InstanceReleaseProtection,omitempty"`
	// The new password for the default account. The default account is named after the instance ID. Example: r-bp10noxlhcoim2\*\*\*\*.
	//
	// > The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. These special characters include `! @ # $ % ^ & * ( ) _ + - =`
	NewPassword          *string `json:"NewPassword,omitempty" xml:"NewPassword,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceAttributeRequest) GoString

func (*ModifyInstanceAttributeRequest) SetInstanceId

func (*ModifyInstanceAttributeRequest) SetInstanceName

func (*ModifyInstanceAttributeRequest) SetInstanceReleaseProtection

func (s *ModifyInstanceAttributeRequest) SetInstanceReleaseProtection(v bool) *ModifyInstanceAttributeRequest

func (*ModifyInstanceAttributeRequest) SetNewPassword

func (*ModifyInstanceAttributeRequest) SetOwnerAccount

func (*ModifyInstanceAttributeRequest) SetOwnerId

func (*ModifyInstanceAttributeRequest) SetResourceOwnerAccount

func (*ModifyInstanceAttributeRequest) SetResourceOwnerId

func (*ModifyInstanceAttributeRequest) SetSecurityToken

func (ModifyInstanceAttributeRequest) String

type ModifyInstanceAttributeResponse

type ModifyInstanceAttributeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceAttributeResponse) GoString

func (*ModifyInstanceAttributeResponse) SetHeaders

func (*ModifyInstanceAttributeResponse) SetStatusCode

func (ModifyInstanceAttributeResponse) String

type ModifyInstanceAttributeResponseBody

type ModifyInstanceAttributeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceAttributeResponseBody) GoString

func (*ModifyInstanceAttributeResponseBody) SetRequestId

func (ModifyInstanceAttributeResponseBody) String

type ModifyInstanceAutoRenewalAttributeRequest

type ModifyInstanceAutoRenewalAttributeRequest struct {
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// *   **true**: enables auto-renewal.
	// *   **false**: disables auto-renewal.
	//
	// > The default value is **false**.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The ID of the instance. Separate multiple instance IDs with commas (,).
	//
	// > You can specify up to 30 instance IDs.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The auto-renewal period. Valid values: **1** to **12**. Unit: months. When the instance is about to expire, the instance is automatically renewed based on the number of months specified by this parameter.
	//
	// > This parameter is available and required only if the **AutoRenew** parameter is set to **true**.
	Duration             *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceAutoRenewalAttributeRequest) GoString

func (*ModifyInstanceAutoRenewalAttributeRequest) SetAutoRenew

func (*ModifyInstanceAutoRenewalAttributeRequest) SetDBInstanceId

func (*ModifyInstanceAutoRenewalAttributeRequest) SetDuration

func (*ModifyInstanceAutoRenewalAttributeRequest) SetOwnerAccount

func (*ModifyInstanceAutoRenewalAttributeRequest) SetOwnerId

func (*ModifyInstanceAutoRenewalAttributeRequest) SetResourceOwnerAccount

func (*ModifyInstanceAutoRenewalAttributeRequest) SetResourceOwnerId

func (*ModifyInstanceAutoRenewalAttributeRequest) SetSecurityToken

func (ModifyInstanceAutoRenewalAttributeRequest) String

type ModifyInstanceAutoRenewalAttributeResponse

type ModifyInstanceAutoRenewalAttributeResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceAutoRenewalAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceAutoRenewalAttributeResponse) GoString

func (*ModifyInstanceAutoRenewalAttributeResponse) SetHeaders

func (*ModifyInstanceAutoRenewalAttributeResponse) SetStatusCode

func (ModifyInstanceAutoRenewalAttributeResponse) String

type ModifyInstanceAutoRenewalAttributeResponseBody

type ModifyInstanceAutoRenewalAttributeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceAutoRenewalAttributeResponseBody) GoString

func (*ModifyInstanceAutoRenewalAttributeResponseBody) SetRequestId

func (ModifyInstanceAutoRenewalAttributeResponseBody) String

type ModifyInstanceConfigRequest

type ModifyInstanceConfigRequest struct {
	// The instance parameter settings that you want to modify. Specify this parameter in the JSON format. The new value of a parameter overwrites the original value.
	//
	// **
	//
	// **Description** For more information, see [Supported parameters](~~259681~~).
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceConfigRequest) GoString

func (s ModifyInstanceConfigRequest) GoString() string

func (*ModifyInstanceConfigRequest) SetConfig

func (*ModifyInstanceConfigRequest) SetInstanceId

func (*ModifyInstanceConfigRequest) SetOwnerAccount

func (*ModifyInstanceConfigRequest) SetOwnerId

func (*ModifyInstanceConfigRequest) SetResourceOwnerAccount

func (s *ModifyInstanceConfigRequest) SetResourceOwnerAccount(v string) *ModifyInstanceConfigRequest

func (*ModifyInstanceConfigRequest) SetResourceOwnerId

func (*ModifyInstanceConfigRequest) SetSecurityToken

func (ModifyInstanceConfigRequest) String

type ModifyInstanceConfigResponse

type ModifyInstanceConfigResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceConfigResponse) GoString

func (s ModifyInstanceConfigResponse) GoString() string

func (*ModifyInstanceConfigResponse) SetBody

func (*ModifyInstanceConfigResponse) SetHeaders

func (*ModifyInstanceConfigResponse) SetStatusCode

func (ModifyInstanceConfigResponse) String

type ModifyInstanceConfigResponseBody

type ModifyInstanceConfigResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceConfigResponseBody) GoString

func (*ModifyInstanceConfigResponseBody) SetRequestId

func (ModifyInstanceConfigResponseBody) String

type ModifyInstanceMaintainTimeRequest

type ModifyInstanceMaintainTimeRequest struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The end time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance to end at 2:00 (UTC+8), set this parameter to `18:00Z`.
	//
	// > The end time must be one hour later than the start time. For example, if the value of the MaintainStartTime parameter is `17:00Z`, the value of the MaintainEndTime parameter must be `18:00Z`.
	MaintainEndTime *string `json:"MaintainEndTime,omitempty" xml:"MaintainEndTime,omitempty"`
	// The start time of the maintenance window. The time is in the *HH:mm*Z format. The time is displayed in UTC. For example, if you want the maintenance to start at 1:00 (UTC+8), set this parameter to `17:00Z`. After you call the API operation, you can view the actual time in the ApsaraDB for Redis console. For more information, see [Set a maintenance window](~~55252~~).
	MaintainStartTime    *string `json:"MaintainStartTime,omitempty" xml:"MaintainStartTime,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceMaintainTimeRequest) GoString

func (*ModifyInstanceMaintainTimeRequest) SetInstanceId

func (*ModifyInstanceMaintainTimeRequest) SetMaintainEndTime

func (*ModifyInstanceMaintainTimeRequest) SetMaintainStartTime

func (*ModifyInstanceMaintainTimeRequest) SetOwnerAccount

func (*ModifyInstanceMaintainTimeRequest) SetOwnerId

func (*ModifyInstanceMaintainTimeRequest) SetResourceOwnerAccount

func (*ModifyInstanceMaintainTimeRequest) SetResourceOwnerId

func (*ModifyInstanceMaintainTimeRequest) SetSecurityToken

func (ModifyInstanceMaintainTimeRequest) String

type ModifyInstanceMaintainTimeResponse

type ModifyInstanceMaintainTimeResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceMaintainTimeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceMaintainTimeResponse) GoString

func (*ModifyInstanceMaintainTimeResponse) SetHeaders

func (*ModifyInstanceMaintainTimeResponse) SetStatusCode

func (ModifyInstanceMaintainTimeResponse) String

type ModifyInstanceMaintainTimeResponseBody

type ModifyInstanceMaintainTimeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceMaintainTimeResponseBody) GoString

func (*ModifyInstanceMaintainTimeResponseBody) SetRequestId

func (ModifyInstanceMaintainTimeResponseBody) String

type ModifyInstanceMajorVersionRequest

type ModifyInstanceMajorVersionRequest struct {
	// The time when the major version is upgraded. Valid values:
	//
	// *   **Immediately**: immediately upgrades the major version. This is the default value.
	// *   **MaintainTime**: upgrades the major version in the maintenance window.
	//
	// >  You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to modify the maintenance window of an ApsaraDB for Redis instance.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The major version to which you want to upgrade the instance. Valid values: **4.0** and **5.0**.
	MajorVersion         *string `json:"MajorVersion,omitempty" xml:"MajorVersion,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceMajorVersionRequest) GoString

func (*ModifyInstanceMajorVersionRequest) SetEffectiveTime

func (*ModifyInstanceMajorVersionRequest) SetInstanceId

func (*ModifyInstanceMajorVersionRequest) SetMajorVersion

func (*ModifyInstanceMajorVersionRequest) SetOwnerAccount

func (*ModifyInstanceMajorVersionRequest) SetOwnerId

func (*ModifyInstanceMajorVersionRequest) SetResourceOwnerAccount

func (*ModifyInstanceMajorVersionRequest) SetResourceOwnerId

func (*ModifyInstanceMajorVersionRequest) SetSecurityToken

func (ModifyInstanceMajorVersionRequest) String

type ModifyInstanceMajorVersionResponse

type ModifyInstanceMajorVersionResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceMajorVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceMajorVersionResponse) GoString

func (*ModifyInstanceMajorVersionResponse) SetHeaders

func (*ModifyInstanceMajorVersionResponse) SetStatusCode

func (ModifyInstanceMajorVersionResponse) String

type ModifyInstanceMajorVersionResponseBody

type ModifyInstanceMajorVersionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceMajorVersionResponseBody) GoString

func (*ModifyInstanceMajorVersionResponseBody) SetRequestId

func (ModifyInstanceMajorVersionResponseBody) String

type ModifyInstanceMinorVersionRequest

type ModifyInstanceMinorVersionRequest struct {
	// The time when the minor version is updated. Valid values:
	//
	// *   **Immediately**: The minor version is immediately updated.
	// *   **MaintainTime**: The minor version is updated within the maintenance window.
	//
	// >  You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to modify the maintenance window of an ApsaraDB for Redis instance.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The minor version to which you want to update. Default value: **latest_version**.
	Minorversion         *string `json:"Minorversion,omitempty" xml:"Minorversion,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceMinorVersionRequest) GoString

func (*ModifyInstanceMinorVersionRequest) SetEffectiveTime

func (*ModifyInstanceMinorVersionRequest) SetInstanceId

func (*ModifyInstanceMinorVersionRequest) SetMinorversion

func (*ModifyInstanceMinorVersionRequest) SetOwnerAccount

func (*ModifyInstanceMinorVersionRequest) SetOwnerId

func (*ModifyInstanceMinorVersionRequest) SetResourceOwnerAccount

func (*ModifyInstanceMinorVersionRequest) SetResourceOwnerId

func (*ModifyInstanceMinorVersionRequest) SetSecurityToken

func (ModifyInstanceMinorVersionRequest) String

type ModifyInstanceMinorVersionResponse

type ModifyInstanceMinorVersionResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceMinorVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceMinorVersionResponse) GoString

func (*ModifyInstanceMinorVersionResponse) SetHeaders

func (*ModifyInstanceMinorVersionResponse) SetStatusCode

func (ModifyInstanceMinorVersionResponse) String

type ModifyInstanceMinorVersionResponseBody

type ModifyInstanceMinorVersionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceMinorVersionResponseBody) GoString

func (*ModifyInstanceMinorVersionResponseBody) SetRequestId

func (ModifyInstanceMinorVersionResponseBody) String

type ModifyInstanceNetExpireTimeRequest

type ModifyInstanceNetExpireTimeRequest struct {
	// The extension period to retain the classic network endpoint of the instance. Unit: days. Valid values: **14**, **30**, **60**, and **120**.
	ClassicExpiredDays *int32 `json:"ClassicExpiredDays,omitempty" xml:"ClassicExpiredDays,omitempty"`
	// The endpoint of the classic network.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceNetExpireTimeRequest) GoString

func (*ModifyInstanceNetExpireTimeRequest) SetClassicExpiredDays

func (*ModifyInstanceNetExpireTimeRequest) SetConnectionString

func (*ModifyInstanceNetExpireTimeRequest) SetInstanceId

func (*ModifyInstanceNetExpireTimeRequest) SetOwnerAccount

func (*ModifyInstanceNetExpireTimeRequest) SetOwnerId

func (*ModifyInstanceNetExpireTimeRequest) SetResourceOwnerAccount

func (*ModifyInstanceNetExpireTimeRequest) SetResourceOwnerId

func (*ModifyInstanceNetExpireTimeRequest) SetSecurityToken

func (ModifyInstanceNetExpireTimeRequest) String

type ModifyInstanceNetExpireTimeResponse

type ModifyInstanceNetExpireTimeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceNetExpireTimeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceNetExpireTimeResponse) GoString

func (*ModifyInstanceNetExpireTimeResponse) SetHeaders

func (*ModifyInstanceNetExpireTimeResponse) SetStatusCode

func (ModifyInstanceNetExpireTimeResponse) String

type ModifyInstanceNetExpireTimeResponseBody

type ModifyInstanceNetExpireTimeResponseBody struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Details of the extension period for which the classic network endpoint of the instance is retained.
	NetInfoItems *ModifyInstanceNetExpireTimeResponseBodyNetInfoItems `json:"NetInfoItems,omitempty" xml:"NetInfoItems,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceNetExpireTimeResponseBody) GoString

func (*ModifyInstanceNetExpireTimeResponseBody) SetInstanceId

func (*ModifyInstanceNetExpireTimeResponseBody) SetRequestId

func (ModifyInstanceNetExpireTimeResponseBody) String

type ModifyInstanceNetExpireTimeResponseBodyNetInfoItems

type ModifyInstanceNetExpireTimeResponseBodyNetInfoItems struct {
	NetInfoItem []*ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem `json:"NetInfoItem,omitempty" xml:"NetInfoItem,omitempty" type:"Repeated"`
}

func (ModifyInstanceNetExpireTimeResponseBodyNetInfoItems) GoString

func (ModifyInstanceNetExpireTimeResponseBodyNetInfoItems) String

type ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem

type ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem struct {
	// The endpoint of the classic network.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The network type of the instance. The returned value is **Classic**.
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The expiration time of the classic network endpoint.
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The IP address of the instance in the classic network.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The port number that is used to connect to the instance.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
}

func (ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) GoString

func (*ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) SetConnectionString

func (*ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) SetDBInstanceNetType

func (*ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) SetExpiredTime

func (*ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) SetIPAddress

func (*ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) SetPort

func (ModifyInstanceNetExpireTimeResponseBodyNetInfoItemsNetInfoItem) String

type ModifyInstanceParameterRequest added in v3.1.0

type ModifyInstanceParameterRequest struct {
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ParameterGroupId     *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	Parameters           *string `json:"Parameters,omitempty" xml:"Parameters,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceParameterRequest) GoString added in v3.1.0

func (*ModifyInstanceParameterRequest) SetInstanceId added in v3.1.0

func (*ModifyInstanceParameterRequest) SetOwnerAccount added in v3.1.0

func (*ModifyInstanceParameterRequest) SetOwnerId added in v3.1.0

func (*ModifyInstanceParameterRequest) SetParameterGroupId added in v3.1.0

func (*ModifyInstanceParameterRequest) SetParameters added in v3.1.0

func (*ModifyInstanceParameterRequest) SetResourceOwnerAccount added in v3.1.0

func (*ModifyInstanceParameterRequest) SetResourceOwnerId added in v3.1.0

func (*ModifyInstanceParameterRequest) SetSecurityToken added in v3.1.0

func (ModifyInstanceParameterRequest) String added in v3.1.0

type ModifyInstanceParameterResponse added in v3.1.0

type ModifyInstanceParameterResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceParameterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceParameterResponse) GoString added in v3.1.0

func (*ModifyInstanceParameterResponse) SetBody added in v3.1.0

func (*ModifyInstanceParameterResponse) SetHeaders added in v3.1.0

func (*ModifyInstanceParameterResponse) SetStatusCode added in v3.1.0

func (ModifyInstanceParameterResponse) String added in v3.1.0

type ModifyInstanceParameterResponseBody added in v3.1.0

type ModifyInstanceParameterResponseBody struct {
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Id of the request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	TaskId    *int64  `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyInstanceParameterResponseBody) GoString added in v3.1.0

func (*ModifyInstanceParameterResponseBody) SetInstanceId added in v3.1.0

func (*ModifyInstanceParameterResponseBody) SetRequestId added in v3.1.0

func (*ModifyInstanceParameterResponseBody) SetTaskId added in v3.1.0

func (ModifyInstanceParameterResponseBody) String added in v3.1.0

type ModifyInstanceSSLRequest

type ModifyInstanceSSLRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Modifies SSL encryption configurations. Valid values:
	//
	// *   **Disable**: The SSL encryption is disabled.
	// *   **Enable**: The SSL encryption is enabled.
	// *   **Update**: The SSL certificate is updated.
	SSLEnabled    *string `json:"SSLEnabled,omitempty" xml:"SSLEnabled,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyInstanceSSLRequest) GoString

func (s ModifyInstanceSSLRequest) GoString() string

func (*ModifyInstanceSSLRequest) SetInstanceId

func (*ModifyInstanceSSLRequest) SetOwnerAccount

func (*ModifyInstanceSSLRequest) SetOwnerId

func (*ModifyInstanceSSLRequest) SetResourceOwnerAccount

func (s *ModifyInstanceSSLRequest) SetResourceOwnerAccount(v string) *ModifyInstanceSSLRequest

func (*ModifyInstanceSSLRequest) SetResourceOwnerId

func (s *ModifyInstanceSSLRequest) SetResourceOwnerId(v int64) *ModifyInstanceSSLRequest

func (*ModifyInstanceSSLRequest) SetSSLEnabled

func (*ModifyInstanceSSLRequest) SetSecurityToken

func (ModifyInstanceSSLRequest) String

func (s ModifyInstanceSSLRequest) String() string

type ModifyInstanceSSLResponse

type ModifyInstanceSSLResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceSSLResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceSSLResponse) GoString

func (s ModifyInstanceSSLResponse) GoString() string

func (*ModifyInstanceSSLResponse) SetBody

func (*ModifyInstanceSSLResponse) SetHeaders

func (*ModifyInstanceSSLResponse) SetStatusCode

func (ModifyInstanceSSLResponse) String

func (s ModifyInstanceSSLResponse) String() string

type ModifyInstanceSSLResponseBody

type ModifyInstanceSSLResponseBody struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyInstanceSSLResponseBody) GoString

func (*ModifyInstanceSSLResponseBody) SetInstanceId

func (*ModifyInstanceSSLResponseBody) SetRequestId

func (*ModifyInstanceSSLResponseBody) SetTaskId

func (ModifyInstanceSSLResponseBody) String

type ModifyInstanceSpecRequest

type ModifyInstanceSpecRequest struct {
	// Specifies whether to enable auto-renewal. Default value: true. Valid values:
	//
	// *   **true**: enables auto-renewal.
	// *   **false**: disables auto-renewal. If you set this parameter to **false**, the instance must be manually renewed before it expires. For more information, see [Renew an instance](~~26352~~).
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The ID of the promotional event or business information.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The time when to change the configurations. Default value: Immediately. Valid values:
	//
	// *   **Immediately**: The configurations are immediately changed.
	// *   **MaintainTime**: The configurations are changed within the maintenance window. You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to change the maintenance window.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// Specifies whether to enable forced transmission during a configuration change. Valid values:
	//
	// *   **false** (default): Before the configuration change, the system checks the minor version of the instance. If the minor version of the instance is outdated, an error is reported. You must update the minor version of the instance and try again.
	// *   **true**: The system skips the version check and directly performs the configuration change.
	ForceTrans *bool `json:"ForceTrans,omitempty" xml:"ForceTrans,omitempty"`
	// Specifies whether to forcefully change the configurations of the instance. Default value: true. Valid values:
	//
	// *   **false**: The system does not forcefully change the configurations.
	// *   **true**: The system forcefully changes the configurations.
	ForceUpgrade *bool `json:"ForceUpgrade,omitempty" xml:"ForceUpgrade,omitempty"`
	// The new instance type. You can call the [DescribeAvailableResource](~~120580~~) operation to query the instance types available for configuration change within the zone to which the instance belongs.
	//
	// >  For more information about the instance types, see [Overview](~~26350~~).
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The major version to which you want to upgrade. When you change the configurations of an instance, you can upgrade the major version of the instance by setting this parameter. Valid values: **4.0** and **5.0**.
	MajorVersion *string `json:"MajorVersion,omitempty" xml:"MajorVersion,omitempty"`
	// The change type. This parameter is required when you change the configurations of a subscription instance. Default value: UPGRADE. Valid values:
	//
	// *   **UPGRADE**: upgrades the configurations of a subscription instance.
	// *   **DOWNGRADE**: downgrades the configurations of a subscription instance.
	//
	// > *   To downgrade a subscription instance, you must set this parameter to **DOWNGRADE**.
	// > *   If the price of an instance increases after its configurations are changed, the instance is upgraded. If the price decreases, the instance is downgraded. For example, the price of an 8 GB read/write splitting instance with five read replicas is higher than that of a 16 GB cluster instance. If you want to change a 16 GB cluster instance to an 8 GB read/write splitting instance with five read replicas, you must upgrade the instance.
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of read-only nodes. This parameter is available only for read/write splitting instances that use cloud disks. Valid values: 1 to 5.
	ReadOnlyCount *int32 `json:"ReadOnlyCount,omitempty" xml:"ReadOnlyCount,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The number of shards. This parameter is available only for cluster instances that use cloud disks.
	ShardCount         *int32 `json:"ShardCount,omitempty" xml:"ShardCount,omitempty"`
	SlaveReadOnlyCount *int32 `json:"SlaveReadOnlyCount,omitempty" xml:"SlaveReadOnlyCount,omitempty"`
	// The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.
	SourceBiz *string `json:"SourceBiz,omitempty" xml:"SourceBiz,omitempty"`
}

func (ModifyInstanceSpecRequest) GoString

func (s ModifyInstanceSpecRequest) GoString() string

func (*ModifyInstanceSpecRequest) SetAutoPay

func (*ModifyInstanceSpecRequest) SetBusinessInfo

func (*ModifyInstanceSpecRequest) SetClientToken

func (*ModifyInstanceSpecRequest) SetCouponNo

func (*ModifyInstanceSpecRequest) SetEffectiveTime

func (*ModifyInstanceSpecRequest) SetForceTrans added in v3.0.2

func (*ModifyInstanceSpecRequest) SetForceUpgrade

func (*ModifyInstanceSpecRequest) SetInstanceClass

func (*ModifyInstanceSpecRequest) SetInstanceId

func (*ModifyInstanceSpecRequest) SetMajorVersion

func (*ModifyInstanceSpecRequest) SetOrderType

func (*ModifyInstanceSpecRequest) SetOwnerAccount

func (*ModifyInstanceSpecRequest) SetOwnerId

func (*ModifyInstanceSpecRequest) SetReadOnlyCount

func (*ModifyInstanceSpecRequest) SetRegionId

func (*ModifyInstanceSpecRequest) SetResourceOwnerAccount

func (s *ModifyInstanceSpecRequest) SetResourceOwnerAccount(v string) *ModifyInstanceSpecRequest

func (*ModifyInstanceSpecRequest) SetResourceOwnerId

func (s *ModifyInstanceSpecRequest) SetResourceOwnerId(v int64) *ModifyInstanceSpecRequest

func (*ModifyInstanceSpecRequest) SetSecurityToken

func (*ModifyInstanceSpecRequest) SetShardCount

func (*ModifyInstanceSpecRequest) SetSlaveReadOnlyCount added in v3.5.3

func (s *ModifyInstanceSpecRequest) SetSlaveReadOnlyCount(v int32) *ModifyInstanceSpecRequest

func (*ModifyInstanceSpecRequest) SetSourceBiz

func (ModifyInstanceSpecRequest) String

func (s ModifyInstanceSpecRequest) String() string

type ModifyInstanceSpecResponse

type ModifyInstanceSpecResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceSpecResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceSpecResponse) GoString

func (s ModifyInstanceSpecResponse) GoString() string

func (*ModifyInstanceSpecResponse) SetBody

func (*ModifyInstanceSpecResponse) SetHeaders

func (*ModifyInstanceSpecResponse) SetStatusCode

func (ModifyInstanceSpecResponse) String

type ModifyInstanceSpecResponseBody

type ModifyInstanceSpecResponseBody struct {
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceSpecResponseBody) GoString

func (*ModifyInstanceSpecResponseBody) SetOrderId

func (*ModifyInstanceSpecResponseBody) SetRequestId

func (ModifyInstanceSpecResponseBody) String

type ModifyInstanceTDERequest

type ModifyInstanceTDERequest struct {
	// The ID of the custom key. You can call the [DescribeEncryptionKeyList](~~302339~~) operation to query the key ID.
	//
	// >
	//
	// *   If you do not specify this parameter, [Key Management Service (KMS)](~~28935~~) automatically generates a key.
	//
	// *   To create a custom key, you can call the [CreateKey](~~28947~~) operation of the KMS API.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The encryption algorithm. Default value: AES-CTR-256.
	//
	// > This parameter is available only if the **TDEStatus** parameter is set to **Enabled**.
	EncryptionName *string `json:"EncryptionName,omitempty" xml:"EncryptionName,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that you want to attach to your ApsaraDB for Redis instance. The ARN must be in the format of `acs:ram::$accountID:role/$roleName`. After the role is attached, your ApsaraDB for Redis instance can use KMS.
	//
	// >
	//
	// *   `$accountID`: the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud console, move the pointer over your profile picture in the upper-right corner of the page, and then click **Security Settings**.
	//
	// *   `$roleName`: the name of the RAM role. Replace $roleName with **AliyunRdsInstanceEncryptionDefaultRole**.
	RoleArn       *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// Specifies whether to enable TDE. Set the value to **Enabled**.
	//
	// > TDE cannot be disabled after it is enabled. Before you enable it, evaluate whether this feature affects your business. For more information, see [Enable TDE](~~265913~~).
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (ModifyInstanceTDERequest) GoString

func (s ModifyInstanceTDERequest) GoString() string

func (*ModifyInstanceTDERequest) SetEncryptionKey

func (*ModifyInstanceTDERequest) SetEncryptionName

func (s *ModifyInstanceTDERequest) SetEncryptionName(v string) *ModifyInstanceTDERequest

func (*ModifyInstanceTDERequest) SetInstanceId

func (*ModifyInstanceTDERequest) SetOwnerAccount

func (*ModifyInstanceTDERequest) SetOwnerId

func (*ModifyInstanceTDERequest) SetResourceOwnerAccount

func (s *ModifyInstanceTDERequest) SetResourceOwnerAccount(v string) *ModifyInstanceTDERequest

func (*ModifyInstanceTDERequest) SetResourceOwnerId

func (s *ModifyInstanceTDERequest) SetResourceOwnerId(v int64) *ModifyInstanceTDERequest

func (*ModifyInstanceTDERequest) SetRoleArn

func (*ModifyInstanceTDERequest) SetSecurityToken

func (*ModifyInstanceTDERequest) SetTDEStatus

func (ModifyInstanceTDERequest) String

func (s ModifyInstanceTDERequest) String() string

type ModifyInstanceTDEResponse

type ModifyInstanceTDEResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceTDEResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceTDEResponse) GoString

func (s ModifyInstanceTDEResponse) GoString() string

func (*ModifyInstanceTDEResponse) SetBody

func (*ModifyInstanceTDEResponse) SetHeaders

func (*ModifyInstanceTDEResponse) SetStatusCode

func (ModifyInstanceTDEResponse) String

func (s ModifyInstanceTDEResponse) String() string

type ModifyInstanceTDEResponseBody

type ModifyInstanceTDEResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceTDEResponseBody) GoString

func (*ModifyInstanceTDEResponseBody) SetRequestId

func (ModifyInstanceTDEResponseBody) String

type ModifyInstanceVpcAuthModeRequest

type ModifyInstanceVpcAuthModeRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// Specifies whether to disable password-free access. Valid values:
	//
	// *   **Open**: disables password-free access.
	// *   **Close**: enables password-free access.
	//
	// **
	//
	// **Description** Default value: **Open**.
	VpcAuthMode *string `json:"VpcAuthMode,omitempty" xml:"VpcAuthMode,omitempty"`
}

func (ModifyInstanceVpcAuthModeRequest) GoString

func (*ModifyInstanceVpcAuthModeRequest) SetInstanceId

func (*ModifyInstanceVpcAuthModeRequest) SetOwnerAccount

func (*ModifyInstanceVpcAuthModeRequest) SetOwnerId

func (*ModifyInstanceVpcAuthModeRequest) SetResourceOwnerAccount

func (*ModifyInstanceVpcAuthModeRequest) SetResourceOwnerId

func (*ModifyInstanceVpcAuthModeRequest) SetSecurityToken

func (*ModifyInstanceVpcAuthModeRequest) SetVpcAuthMode

func (ModifyInstanceVpcAuthModeRequest) String

type ModifyInstanceVpcAuthModeResponse

type ModifyInstanceVpcAuthModeResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyInstanceVpcAuthModeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyInstanceVpcAuthModeResponse) GoString

func (*ModifyInstanceVpcAuthModeResponse) SetHeaders

func (*ModifyInstanceVpcAuthModeResponse) SetStatusCode

func (ModifyInstanceVpcAuthModeResponse) String

type ModifyInstanceVpcAuthModeResponseBody

type ModifyInstanceVpcAuthModeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceVpcAuthModeResponseBody) GoString

func (*ModifyInstanceVpcAuthModeResponseBody) SetRequestId

func (ModifyInstanceVpcAuthModeResponseBody) String

type ModifyIntranetAttributeRequest

type ModifyIntranetAttributeRequest struct {
	// The amount of bandwidth that you want to add. Unit: Mbit/s. The value must be an integer greater than or equal to 0. In most cases, the maximum bandwidth that can be added can be two times the default maximum bandwidth of the current instance type. For more information about the bandwidth specifications supported by different instance types, see [Overview](~~26350~~). The bandwidth is also subject to the following limits:
	//
	// *   The bandwidth of an individual instance cannot exceed 75% of the bandwidth of the host. For more information about the host specifications and bandwidth, see [Instance types of hosts](~~206343~~).
	// *   The total bandwidth of all of the instances on the host cannot exceed 150% of the bandwidth of the host. You can configure resource overcommitment to handle traffic spikes. For more information, see [Configure resource overcommitment to reduce costs](~~183798~~).
	//
	// > If you do not specify this parameter for a standard instance, the bandwidth of the instance is set to two times that of the current bandwidth.
	BandWidth *int64 `json:"BandWidth,omitempty" xml:"BandWidth,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the data node. You can call the [DescribeClusterMemberInfo](~~193462~~) operation to query the node ID. Separate multiple IDs with commas (,).
	//
	// > This parameter is available and required only when the instance uses the [cluster architecture](~~52228~~).
	NodeId               *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyIntranetAttributeRequest) GoString

func (*ModifyIntranetAttributeRequest) SetBandWidth

func (*ModifyIntranetAttributeRequest) SetInstanceId

func (*ModifyIntranetAttributeRequest) SetNodeId

func (*ModifyIntranetAttributeRequest) SetOwnerAccount

func (*ModifyIntranetAttributeRequest) SetOwnerId

func (*ModifyIntranetAttributeRequest) SetResourceOwnerAccount

func (*ModifyIntranetAttributeRequest) SetResourceOwnerId

func (*ModifyIntranetAttributeRequest) SetSecurityToken

func (ModifyIntranetAttributeRequest) String

type ModifyIntranetAttributeResponse

type ModifyIntranetAttributeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyIntranetAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyIntranetAttributeResponse) GoString

func (*ModifyIntranetAttributeResponse) SetHeaders

func (*ModifyIntranetAttributeResponse) SetStatusCode

func (ModifyIntranetAttributeResponse) String

type ModifyIntranetAttributeResponseBody

type ModifyIntranetAttributeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyIntranetAttributeResponseBody) GoString

func (*ModifyIntranetAttributeResponseBody) SetRequestId

func (ModifyIntranetAttributeResponseBody) String

type ModifyResourceGroupRequest

type ModifyResourceGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the generated token is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which you want to move the instance.
	//
	// >
	//
	// *   You can query resource group IDs by using the ApsaraDB for Redis console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).
	//
	// *   Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the resource group of the instance.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyResourceGroupRequest) GoString

func (s ModifyResourceGroupRequest) GoString() string

func (*ModifyResourceGroupRequest) SetClientToken

func (*ModifyResourceGroupRequest) SetInstanceId

func (*ModifyResourceGroupRequest) SetOwnerAccount

func (*ModifyResourceGroupRequest) SetOwnerId

func (*ModifyResourceGroupRequest) SetRegionId

func (*ModifyResourceGroupRequest) SetResourceGroupId

func (*ModifyResourceGroupRequest) SetResourceOwnerAccount

func (s *ModifyResourceGroupRequest) SetResourceOwnerAccount(v string) *ModifyResourceGroupRequest

func (*ModifyResourceGroupRequest) SetResourceOwnerId

func (ModifyResourceGroupRequest) String

type ModifyResourceGroupResponse

type ModifyResourceGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyResourceGroupResponse) GoString

func (s ModifyResourceGroupResponse) GoString() string

func (*ModifyResourceGroupResponse) SetBody

func (*ModifyResourceGroupResponse) SetHeaders

func (*ModifyResourceGroupResponse) SetStatusCode

func (ModifyResourceGroupResponse) String

type ModifyResourceGroupResponseBody

type ModifyResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyResourceGroupResponseBody) GoString

func (*ModifyResourceGroupResponseBody) SetRequestId

func (ModifyResourceGroupResponseBody) String

type ModifySecurityGroupConfigurationRequest

type ModifySecurityGroupConfigurationRequest struct {
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the security group that you want to manage. You can specify up to 10 security groups. Separate multiple security group IDs with commas (,).
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	SecurityToken   *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifySecurityGroupConfigurationRequest) GoString

func (*ModifySecurityGroupConfigurationRequest) SetDBInstanceId

func (*ModifySecurityGroupConfigurationRequest) SetOwnerAccount

func (*ModifySecurityGroupConfigurationRequest) SetOwnerId

func (*ModifySecurityGroupConfigurationRequest) SetResourceOwnerAccount

func (*ModifySecurityGroupConfigurationRequest) SetResourceOwnerId

func (*ModifySecurityGroupConfigurationRequest) SetSecurityGroupId

func (*ModifySecurityGroupConfigurationRequest) SetSecurityToken

func (ModifySecurityGroupConfigurationRequest) String

type ModifySecurityGroupConfigurationResponse

type ModifySecurityGroupConfigurationResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifySecurityGroupConfigurationResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifySecurityGroupConfigurationResponse) GoString

func (*ModifySecurityGroupConfigurationResponse) SetHeaders

func (*ModifySecurityGroupConfigurationResponse) SetStatusCode

func (ModifySecurityGroupConfigurationResponse) String

type ModifySecurityGroupConfigurationResponseBody

type ModifySecurityGroupConfigurationResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifySecurityGroupConfigurationResponseBody) GoString

func (*ModifySecurityGroupConfigurationResponseBody) SetRequestId

func (ModifySecurityGroupConfigurationResponseBody) String

type ModifySecurityIpsRequest

type ModifySecurityIpsRequest struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The method that is used to modify the whitelist. Valid values:
	//
	// *   **Cover**: overwrites the original whitelist.
	// *   **Append**: appends data to the whitelist.
	// *   **Delete**: deletes the whitelist.
	ModifyMode           *string `json:"ModifyMode,omitempty" xml:"ModifyMode,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is **hidden**.
	SecurityIpGroupAttribute *string `json:"SecurityIpGroupAttribute,omitempty" xml:"SecurityIpGroupAttribute,omitempty"`
	// The name of the whitelist.
	SecurityIpGroupName *string `json:"SecurityIpGroupName,omitempty" xml:"SecurityIpGroupName,omitempty"`
	// The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
	SecurityIps   *string `json:"SecurityIps,omitempty" xml:"SecurityIps,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifySecurityIpsRequest) GoString

func (s ModifySecurityIpsRequest) GoString() string

func (*ModifySecurityIpsRequest) SetInstanceId

func (*ModifySecurityIpsRequest) SetModifyMode

func (*ModifySecurityIpsRequest) SetOwnerAccount

func (*ModifySecurityIpsRequest) SetOwnerId

func (*ModifySecurityIpsRequest) SetResourceOwnerAccount

func (s *ModifySecurityIpsRequest) SetResourceOwnerAccount(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetResourceOwnerId

func (s *ModifySecurityIpsRequest) SetResourceOwnerId(v int64) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetSecurityIpGroupAttribute

func (s *ModifySecurityIpsRequest) SetSecurityIpGroupAttribute(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetSecurityIpGroupName

func (s *ModifySecurityIpsRequest) SetSecurityIpGroupName(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetSecurityIps

func (*ModifySecurityIpsRequest) SetSecurityToken

func (ModifySecurityIpsRequest) String

func (s ModifySecurityIpsRequest) String() string

type ModifySecurityIpsResponse

type ModifySecurityIpsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifySecurityIpsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifySecurityIpsResponse) GoString

func (s ModifySecurityIpsResponse) GoString() string

func (*ModifySecurityIpsResponse) SetBody

func (*ModifySecurityIpsResponse) SetHeaders

func (*ModifySecurityIpsResponse) SetStatusCode

func (ModifySecurityIpsResponse) String

func (s ModifySecurityIpsResponse) String() string

type ModifySecurityIpsResponseBody

type ModifySecurityIpsResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifySecurityIpsResponseBody) GoString

func (*ModifySecurityIpsResponseBody) SetRequestId

func (ModifySecurityIpsResponseBody) String

type ReleaseDirectConnectionRequest

type ReleaseDirectConnectionRequest struct {
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ReleaseDirectConnectionRequest) GoString

func (*ReleaseDirectConnectionRequest) SetInstanceId

func (*ReleaseDirectConnectionRequest) SetOwnerAccount

func (*ReleaseDirectConnectionRequest) SetOwnerId

func (*ReleaseDirectConnectionRequest) SetResourceOwnerAccount

func (*ReleaseDirectConnectionRequest) SetResourceOwnerId

func (*ReleaseDirectConnectionRequest) SetSecurityToken

func (ReleaseDirectConnectionRequest) String

type ReleaseDirectConnectionResponse

type ReleaseDirectConnectionResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReleaseDirectConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReleaseDirectConnectionResponse) GoString

func (*ReleaseDirectConnectionResponse) SetHeaders

func (*ReleaseDirectConnectionResponse) SetStatusCode

func (ReleaseDirectConnectionResponse) String

type ReleaseDirectConnectionResponseBody

type ReleaseDirectConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseDirectConnectionResponseBody) GoString

func (*ReleaseDirectConnectionResponseBody) SetRequestId

func (ReleaseDirectConnectionResponseBody) String

type ReleaseInstancePublicConnectionRequest

type ReleaseInstancePublicConnectionRequest struct {
	// The public endpoint to be released.
	CurrentConnectionString *string `json:"CurrentConnectionString,omitempty" xml:"CurrentConnectionString,omitempty"`
	// The ID of the instance for which you want to release a public endpoint.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ReleaseInstancePublicConnectionRequest) GoString

func (*ReleaseInstancePublicConnectionRequest) SetCurrentConnectionString

func (*ReleaseInstancePublicConnectionRequest) SetInstanceId

func (*ReleaseInstancePublicConnectionRequest) SetOwnerAccount

func (*ReleaseInstancePublicConnectionRequest) SetOwnerId

func (*ReleaseInstancePublicConnectionRequest) SetResourceOwnerAccount

func (*ReleaseInstancePublicConnectionRequest) SetResourceOwnerId

func (*ReleaseInstancePublicConnectionRequest) SetSecurityToken

func (ReleaseInstancePublicConnectionRequest) String

type ReleaseInstancePublicConnectionResponse

type ReleaseInstancePublicConnectionResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReleaseInstancePublicConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReleaseInstancePublicConnectionResponse) GoString

func (*ReleaseInstancePublicConnectionResponse) SetHeaders

func (*ReleaseInstancePublicConnectionResponse) SetStatusCode

func (ReleaseInstancePublicConnectionResponse) String

type ReleaseInstancePublicConnectionResponseBody

type ReleaseInstancePublicConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseInstancePublicConnectionResponseBody) GoString

func (*ReleaseInstancePublicConnectionResponseBody) SetRequestId

func (ReleaseInstancePublicConnectionResponseBody) String

type RemoveSubInstanceRequest

type RemoveSubInstanceRequest struct {
	// Instance ID.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (RemoveSubInstanceRequest) GoString

func (s RemoveSubInstanceRequest) GoString() string

func (*RemoveSubInstanceRequest) SetInstanceId

func (*RemoveSubInstanceRequest) SetOwnerAccount

func (*RemoveSubInstanceRequest) SetOwnerId

func (*RemoveSubInstanceRequest) SetResourceOwnerAccount

func (s *RemoveSubInstanceRequest) SetResourceOwnerAccount(v string) *RemoveSubInstanceRequest

func (*RemoveSubInstanceRequest) SetResourceOwnerId

func (s *RemoveSubInstanceRequest) SetResourceOwnerId(v int64) *RemoveSubInstanceRequest

func (*RemoveSubInstanceRequest) SetSecurityToken

func (RemoveSubInstanceRequest) String

func (s RemoveSubInstanceRequest) String() string

type RemoveSubInstanceResponse

type RemoveSubInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RemoveSubInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RemoveSubInstanceResponse) GoString

func (s RemoveSubInstanceResponse) GoString() string

func (*RemoveSubInstanceResponse) SetBody

func (*RemoveSubInstanceResponse) SetHeaders

func (*RemoveSubInstanceResponse) SetStatusCode

func (RemoveSubInstanceResponse) String

func (s RemoveSubInstanceResponse) String() string

type RemoveSubInstanceResponseBody

type RemoveSubInstanceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RemoveSubInstanceResponseBody) GoString

func (*RemoveSubInstanceResponseBody) SetRequestId

func (RemoveSubInstanceResponseBody) String

type RenewAdditionalBandwidthRequest

type RenewAdditionalBandwidthRequest struct {
	// Specifies whether to enable automatic payment. Default value: true. Valid values:
	//
	// *   **true**: enables automatic payment.
	// *   **false**: disables automatic payment. If automatic payment is disabled, you must perform the following steps to complete the payment in the ApsaraDB for Redis console: In the top navigation bar, choose **Expenses** > **Renewal Management**. In the left-side navigation pane, click **Orders**. On the **Orders** page, find the order and complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The ID of the coupon.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The validity period of the bandwidth that you purchase. Unit: days. Valid values: **1**, **2**, **3**, **7**, **14**, **30**, **60**, **90**, **180**, **365**, **730**, **1095**, and **1825**.
	OrderTimeLength      *string `json:"OrderTimeLength,omitempty" xml:"OrderTimeLength,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.
	SourceBiz *string `json:"SourceBiz,omitempty" xml:"SourceBiz,omitempty"`
}

func (RenewAdditionalBandwidthRequest) GoString

func (*RenewAdditionalBandwidthRequest) SetAutoPay

func (*RenewAdditionalBandwidthRequest) SetCouponNo

func (*RenewAdditionalBandwidthRequest) SetInstanceId

func (*RenewAdditionalBandwidthRequest) SetOrderTimeLength

func (*RenewAdditionalBandwidthRequest) SetOwnerAccount

func (*RenewAdditionalBandwidthRequest) SetOwnerId

func (*RenewAdditionalBandwidthRequest) SetResourceOwnerAccount

func (*RenewAdditionalBandwidthRequest) SetResourceOwnerId

func (*RenewAdditionalBandwidthRequest) SetSecurityToken

func (*RenewAdditionalBandwidthRequest) SetSourceBiz

func (RenewAdditionalBandwidthRequest) String

type RenewAdditionalBandwidthResponse

type RenewAdditionalBandwidthResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RenewAdditionalBandwidthResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RenewAdditionalBandwidthResponse) GoString

func (*RenewAdditionalBandwidthResponse) SetHeaders

func (*RenewAdditionalBandwidthResponse) SetStatusCode

func (RenewAdditionalBandwidthResponse) String

type RenewAdditionalBandwidthResponseBody

type RenewAdditionalBandwidthResponseBody struct {
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RenewAdditionalBandwidthResponseBody) GoString

func (*RenewAdditionalBandwidthResponseBody) SetOrderId

func (*RenewAdditionalBandwidthResponseBody) SetRequestId

func (RenewAdditionalBandwidthResponseBody) String

type RenewInstanceRequest

type RenewInstanceRequest struct {
	// Specifies whether to enable automatic payment. Default value: true. Valid values:
	//
	// *   **true**: enables automatic payment.
	// *   **false**: disables automatic payment.
	//
	// If you select false, you must choose **Expenses** > **Renewal Management** in the top navigation bar. In the left-side navigation pane, click **Orders**. Find the specified order and pay for it.
	AutoPay   *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	AutoRenew *bool `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The ID of the promotional event or business information.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The storage capacity of the instance. Unit: MB. When you renew the instance, you can specify this parameter to change specifications of the instance.
	//
	// > To change the specifications when you renew the instance, you must specify at least one of the `Capacity` and `InstanceClass` parameters.
	Capacity *string `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token is case-sensitive. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The source of the request. The default value is **OpenAPI** and cannot be changed.
	FromApp *string `json:"FromApp,omitempty" xml:"FromApp,omitempty"`
	// The instance type code. For more information, see [Instance specifications overview](~~26350~~). When you renew the instance, you can specify this parameter to change specifications of the instance.
	//
	// > To change the specifications when you renew the instance, you must specify at least one of the `Capacity` and `InstanceClass` parameters.
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The renewal period. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, and **36**. Unit: months.
	Period               *int64  `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (RenewInstanceRequest) GoString

func (s RenewInstanceRequest) GoString() string

func (*RenewInstanceRequest) SetAutoPay

func (*RenewInstanceRequest) SetAutoRenew added in v3.5.4

func (s *RenewInstanceRequest) SetAutoRenew(v bool) *RenewInstanceRequest

func (*RenewInstanceRequest) SetBusinessInfo

func (s *RenewInstanceRequest) SetBusinessInfo(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetCapacity

func (*RenewInstanceRequest) SetClientToken

func (s *RenewInstanceRequest) SetClientToken(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetCouponNo

func (*RenewInstanceRequest) SetFromApp

func (*RenewInstanceRequest) SetInstanceClass

func (s *RenewInstanceRequest) SetInstanceClass(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetInstanceId

func (s *RenewInstanceRequest) SetInstanceId(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetOwnerAccount

func (s *RenewInstanceRequest) SetOwnerAccount(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetOwnerId

func (*RenewInstanceRequest) SetPeriod

func (*RenewInstanceRequest) SetResourceOwnerAccount

func (s *RenewInstanceRequest) SetResourceOwnerAccount(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetResourceOwnerId

func (s *RenewInstanceRequest) SetResourceOwnerId(v int64) *RenewInstanceRequest

func (*RenewInstanceRequest) SetSecurityToken

func (s *RenewInstanceRequest) SetSecurityToken(v string) *RenewInstanceRequest

func (RenewInstanceRequest) String

func (s RenewInstanceRequest) String() string

type RenewInstanceResponse

type RenewInstanceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RenewInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RenewInstanceResponse) GoString

func (s RenewInstanceResponse) GoString() string

func (*RenewInstanceResponse) SetBody

func (*RenewInstanceResponse) SetHeaders

func (*RenewInstanceResponse) SetStatusCode

func (s *RenewInstanceResponse) SetStatusCode(v int32) *RenewInstanceResponse

func (RenewInstanceResponse) String

func (s RenewInstanceResponse) String() string

type RenewInstanceResponseBody

type RenewInstanceResponseBody struct {
	// The end time of the order.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RenewInstanceResponseBody) GoString

func (s RenewInstanceResponseBody) GoString() string

func (*RenewInstanceResponseBody) SetEndTime

func (*RenewInstanceResponseBody) SetOrderId

func (*RenewInstanceResponseBody) SetRequestId

func (RenewInstanceResponseBody) String

func (s RenewInstanceResponseBody) String() string

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	// The name of the account. You can call the [DescribeAccounts](~~DescribeAccounts~~) operation to obtain the name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The new password for the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The ID of the instance to which the account belongs.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ResetAccountPasswordRequest) GoString

func (s ResetAccountPasswordRequest) GoString() string

func (*ResetAccountPasswordRequest) SetAccountName

func (*ResetAccountPasswordRequest) SetAccountPassword

func (*ResetAccountPasswordRequest) SetInstanceId

func (*ResetAccountPasswordRequest) SetOwnerAccount

func (*ResetAccountPasswordRequest) SetOwnerId

func (*ResetAccountPasswordRequest) SetResourceOwnerAccount

func (s *ResetAccountPasswordRequest) SetResourceOwnerAccount(v string) *ResetAccountPasswordRequest

func (*ResetAccountPasswordRequest) SetResourceOwnerId

func (*ResetAccountPasswordRequest) SetSecurityToken

func (ResetAccountPasswordRequest) String

type ResetAccountPasswordResponse

type ResetAccountPasswordResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ResetAccountPasswordResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ResetAccountPasswordResponse) GoString

func (s ResetAccountPasswordResponse) GoString() string

func (*ResetAccountPasswordResponse) SetBody

func (*ResetAccountPasswordResponse) SetHeaders

func (*ResetAccountPasswordResponse) SetStatusCode

func (ResetAccountPasswordResponse) String

type ResetAccountPasswordResponseBody

type ResetAccountPasswordResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ResetAccountPasswordResponseBody) GoString

func (*ResetAccountPasswordResponseBody) SetRequestId

func (ResetAccountPasswordResponseBody) String

type RestartInstanceRequest

type RestartInstanceRequest struct {
	// The time when you want to restart the instance. Default value: Immediately. Valid values:
	//
	// *   **Immediately**: immediately restarts the instance.
	// *   **MaintainTime**: restarts the instance during the maintenance window.
	//
	// Enumeration values:
	//
	// *   0
	// *   1
	// *   Immediately
	// *   MaintainTime
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The operation that you want to perform. Set the value to **RestartInstance**.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// Specifies whether to update the instance to the latest minor version when the instance is restarted. Valid values:
	//
	// *   **true**: updates the minor version.
	// *   **false**: does not update the minor version.
	//
	// > The default value is **true**.
	UpgradeMinorVersion *bool `json:"UpgradeMinorVersion,omitempty" xml:"UpgradeMinorVersion,omitempty"`
}

func (RestartInstanceRequest) GoString

func (s RestartInstanceRequest) GoString() string

func (*RestartInstanceRequest) SetEffectiveTime

func (s *RestartInstanceRequest) SetEffectiveTime(v string) *RestartInstanceRequest

func (*RestartInstanceRequest) SetInstanceId

func (*RestartInstanceRequest) SetOwnerAccount

func (s *RestartInstanceRequest) SetOwnerAccount(v string) *RestartInstanceRequest

func (*RestartInstanceRequest) SetOwnerId

func (*RestartInstanceRequest) SetResourceOwnerAccount

func (s *RestartInstanceRequest) SetResourceOwnerAccount(v string) *RestartInstanceRequest

func (*RestartInstanceRequest) SetResourceOwnerId

func (s *RestartInstanceRequest) SetResourceOwnerId(v int64) *RestartInstanceRequest

func (*RestartInstanceRequest) SetSecurityToken

func (s *RestartInstanceRequest) SetSecurityToken(v string) *RestartInstanceRequest

func (*RestartInstanceRequest) SetUpgradeMinorVersion

func (s *RestartInstanceRequest) SetUpgradeMinorVersion(v bool) *RestartInstanceRequest

func (RestartInstanceRequest) String

func (s RestartInstanceRequest) String() string

type RestartInstanceResponse

type RestartInstanceResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RestartInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RestartInstanceResponse) GoString

func (s RestartInstanceResponse) GoString() string

func (*RestartInstanceResponse) SetBody

func (*RestartInstanceResponse) SetHeaders

func (*RestartInstanceResponse) SetStatusCode

func (RestartInstanceResponse) String

func (s RestartInstanceResponse) String() string

type RestartInstanceResponseBody

type RestartInstanceResponseBody struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (RestartInstanceResponseBody) GoString

func (s RestartInstanceResponseBody) GoString() string

func (*RestartInstanceResponseBody) SetInstanceId

func (*RestartInstanceResponseBody) SetRequestId

func (*RestartInstanceResponseBody) SetTaskId

func (RestartInstanceResponseBody) String

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	// The ID of the backup file. You can call the [DescribeBackups](~~61081~~) operation to query the IDs of backup files.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The key that you want to restore. You can specify multiple keys. Separate multiple keys with commas (,). Regular expressions are supported.
	//
	// >
	//
	// *   In a regular expression, an asterisk (`*`) matches zero or more occurrences of a subexpression that occurs before. For example, if you set this parameter to `h.*llo`, strings such as `hllo` and `heeeello` are matched.
	//
	// *   This parameter is available only if you set the **RestoreType** parameter to **1**.
	FilterKey *string `json:"FilterKey,omitempty" xml:"FilterKey,omitempty"`
	// The ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// >
	//
	// *   If the [data flashback](~~148479~~) feature is enabled for the instance, you can specify this parameter and the **FilterKey** parameter to restore the data of the specified key to the specified point in time that is accurate to the second. Other keys are not affected. This way, you can achieve more fine-grained data restoration.
	//
	// *   This parameter is available only if you set the **RestoreType** parameter to **1**.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The restoration mode. Default value: 0. Valid values:
	//
	// *   **0**: restores data from the specified backup set.
	// *   **1**: restores data to a specified point in time. You can specify this value only if the [data flashback](~~148479~~) feature is enabled for the instance. If you specify this value, you must also specify the **RestoreTime** parameter.
	RestoreType   *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The expiration offset time point of a key. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. The key expires after the remaining validity period of the key elapses based on the expiration offset time point.
	//
	// > This time point must be between the specified flashback time point and the submission time of the data restoration task.
	TimeShift *string `json:"TimeShift,omitempty" xml:"TimeShift,omitempty"`
}

func (RestoreInstanceRequest) GoString

func (s RestoreInstanceRequest) GoString() string

func (*RestoreInstanceRequest) SetBackupId

func (*RestoreInstanceRequest) SetFilterKey

func (*RestoreInstanceRequest) SetInstanceId

func (*RestoreInstanceRequest) SetOwnerAccount

func (s *RestoreInstanceRequest) SetOwnerAccount(v string) *RestoreInstanceRequest

func (*RestoreInstanceRequest) SetOwnerId

func (*RestoreInstanceRequest) SetResourceOwnerAccount

func (s *RestoreInstanceRequest) SetResourceOwnerAccount(v string) *RestoreInstanceRequest

func (*RestoreInstanceRequest) SetResourceOwnerId

func (s *RestoreInstanceRequest) SetResourceOwnerId(v int64) *RestoreInstanceRequest

func (*RestoreInstanceRequest) SetRestoreTime

func (*RestoreInstanceRequest) SetRestoreType

func (*RestoreInstanceRequest) SetSecurityToken

func (s *RestoreInstanceRequest) SetSecurityToken(v string) *RestoreInstanceRequest

func (*RestoreInstanceRequest) SetTimeShift added in v3.0.1

func (RestoreInstanceRequest) String

func (s RestoreInstanceRequest) String() string

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RestoreInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RestoreInstanceResponse) GoString

func (s RestoreInstanceResponse) GoString() string

func (*RestoreInstanceResponse) SetBody

func (*RestoreInstanceResponse) SetHeaders

func (*RestoreInstanceResponse) SetStatusCode

func (RestoreInstanceResponse) String

func (s RestoreInstanceResponse) String() string

type RestoreInstanceResponseBody

type RestoreInstanceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RestoreInstanceResponseBody) GoString

func (s RestoreInstanceResponseBody) GoString() string

func (*RestoreInstanceResponseBody) SetRequestId

func (RestoreInstanceResponseBody) String

type SwitchInstanceHARequest

type SwitchInstanceHARequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the data shard. You can call the [DescribeRoleZoneInfo](~~190794~~) operation to obtain the value of the CustinsId parameter. Separate multiple data shard IDs with commas (,). `all` indicates that all data shards are specified.
	//
	// > This parameter is available and required only for read/write splitting and cluster instances.
	NodeId               *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The time when to perform the switchover. Default value: 0. Valid values:
	//
	// *   **0**: immediately performs the switchover.
	// *   **1**: performs the switchover during the maintenance window.
	//
	// > You can call the [ModifyInstanceMaintainTime](~~61000~~) operation to modify the maintenance window of an ApsaraDB for Redis instance.
	SwitchMode *int32 `json:"SwitchMode,omitempty" xml:"SwitchMode,omitempty"`
	// The switching mode. Valid values:
	//
	// *   **AvailablePriority**: prioritizes the availability and performs a switchover immediately without considering the latency of data synchronization between the master and replica nodes. This may cause data loss.
	// *   **ReliabilityPriority**: prioritizes the reliability and performs a switchover after no latency of data synchronization between the master and replica nodes exists. This ensures data integrity. This mode may cause a switchover failure in scenarios that involve a large volume of data writes and persistent latency of data synchronization.
	//
	// > You must evaluate the requirements for data and services based on your business scenarios and then select a switching mode.
	SwitchType *string `json:"SwitchType,omitempty" xml:"SwitchType,omitempty"`
}

func (SwitchInstanceHARequest) GoString

func (s SwitchInstanceHARequest) GoString() string

func (*SwitchInstanceHARequest) SetInstanceId

func (*SwitchInstanceHARequest) SetNodeId

func (*SwitchInstanceHARequest) SetOwnerAccount

func (*SwitchInstanceHARequest) SetOwnerId

func (*SwitchInstanceHARequest) SetResourceOwnerAccount

func (s *SwitchInstanceHARequest) SetResourceOwnerAccount(v string) *SwitchInstanceHARequest

func (*SwitchInstanceHARequest) SetResourceOwnerId

func (s *SwitchInstanceHARequest) SetResourceOwnerId(v int64) *SwitchInstanceHARequest

func (*SwitchInstanceHARequest) SetSecurityToken

func (s *SwitchInstanceHARequest) SetSecurityToken(v string) *SwitchInstanceHARequest

func (*SwitchInstanceHARequest) SetSwitchMode

func (*SwitchInstanceHARequest) SetSwitchType

func (SwitchInstanceHARequest) String

func (s SwitchInstanceHARequest) String() string

type SwitchInstanceHAResponse

type SwitchInstanceHAResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SwitchInstanceHAResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SwitchInstanceHAResponse) GoString

func (s SwitchInstanceHAResponse) GoString() string

func (*SwitchInstanceHAResponse) SetBody

func (*SwitchInstanceHAResponse) SetHeaders

func (*SwitchInstanceHAResponse) SetStatusCode

func (SwitchInstanceHAResponse) String

func (s SwitchInstanceHAResponse) String() string

type SwitchInstanceHAResponseBody

type SwitchInstanceHAResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SwitchInstanceHAResponseBody) GoString

func (s SwitchInstanceHAResponseBody) GoString() string

func (*SwitchInstanceHAResponseBody) SetRequestId

func (SwitchInstanceHAResponseBody) String

type SwitchInstanceProxyRequest

type SwitchInstanceProxyRequest struct {
	// The ID of the instance. You can call the [DescribeInstances](~~60933~~) operation to query the ID of the instance.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (SwitchInstanceProxyRequest) GoString

func (s SwitchInstanceProxyRequest) GoString() string

func (*SwitchInstanceProxyRequest) SetInstanceId

func (*SwitchInstanceProxyRequest) SetOwnerAccount

func (*SwitchInstanceProxyRequest) SetOwnerId

func (*SwitchInstanceProxyRequest) SetResourceOwnerAccount

func (s *SwitchInstanceProxyRequest) SetResourceOwnerAccount(v string) *SwitchInstanceProxyRequest

func (*SwitchInstanceProxyRequest) SetResourceOwnerId

func (*SwitchInstanceProxyRequest) SetSecurityToken

func (SwitchInstanceProxyRequest) String

type SwitchInstanceProxyResponse

type SwitchInstanceProxyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SwitchInstanceProxyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SwitchInstanceProxyResponse) GoString

func (s SwitchInstanceProxyResponse) GoString() string

func (*SwitchInstanceProxyResponse) SetBody

func (*SwitchInstanceProxyResponse) SetHeaders

func (*SwitchInstanceProxyResponse) SetStatusCode

func (SwitchInstanceProxyResponse) String

type SwitchInstanceProxyResponseBody

type SwitchInstanceProxyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SwitchInstanceProxyResponseBody) GoString

func (*SwitchInstanceProxyResponseBody) SetRequestId

func (SwitchInstanceProxyResponseBody) String

type SwitchNetworkRequest

type SwitchNetworkRequest struct {
	// The retention period of the endpoint for the classic network. Valid values: **14**, **30**, **60**, and **120**. Unit: days.
	//
	// > *   This parameter is required when **RetainClassic** is set to **True**.
	// > *   After you complete the switchover operation, you can also call the [ModifyInstanceNetExpireTime](~~ModifyInstanceNetExpireTime~~) operation to modify the retention period of the endpoint for the classic network.
	ClassicExpiredDays *string `json:"ClassicExpiredDays,omitempty" xml:"ClassicExpiredDays,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query instance IDs.
	InstanceId           *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to retain the original endpoint for the classic network after you switch the instance from classic network to VPC. Valid values:
	//
	// *   **True**: retains the original endpoint.
	// *   **False**: does not retain the original endpoint. This is the default value.
	//
	// >  This parameter can be used only when the network type of the instance is classic network.
	RetainClassic *string `json:"RetainClassic,omitempty" xml:"RetainClassic,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The network type to which you want to switch. Set the value to **VPC**.
	TargetNetworkType *string `json:"TargetNetworkType,omitempty" xml:"TargetNetworkType,omitempty"`
	// The ID of the vSwitch that belongs to the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query vSwitch IDs.
	//
	// >  The vSwitch and the ApsaraDB for Redis instance must belong to the same zone.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC to which you want to switch. You can call the [DescribeVpcs](~~35739~~) operation to query VPC IDs.
	//
	// > *   The VPC and the ApsaraDB for Redis instance must be deployed in the same region.
	// > *   After you set this parameter, you must also set the **VSwitchId** parameter.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (SwitchNetworkRequest) GoString

func (s SwitchNetworkRequest) GoString() string

func (*SwitchNetworkRequest) SetClassicExpiredDays

func (s *SwitchNetworkRequest) SetClassicExpiredDays(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetInstanceId

func (s *SwitchNetworkRequest) SetInstanceId(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetOwnerAccount

func (s *SwitchNetworkRequest) SetOwnerAccount(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetOwnerId

func (*SwitchNetworkRequest) SetResourceOwnerAccount

func (s *SwitchNetworkRequest) SetResourceOwnerAccount(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetResourceOwnerId

func (s *SwitchNetworkRequest) SetResourceOwnerId(v int64) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetRetainClassic

func (s *SwitchNetworkRequest) SetRetainClassic(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetSecurityToken

func (s *SwitchNetworkRequest) SetSecurityToken(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetTargetNetworkType

func (s *SwitchNetworkRequest) SetTargetNetworkType(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetVSwitchId

func (s *SwitchNetworkRequest) SetVSwitchId(v string) *SwitchNetworkRequest

func (*SwitchNetworkRequest) SetVpcId

func (SwitchNetworkRequest) String

func (s SwitchNetworkRequest) String() string

type SwitchNetworkResponse

type SwitchNetworkResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SwitchNetworkResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SwitchNetworkResponse) GoString

func (s SwitchNetworkResponse) GoString() string

func (*SwitchNetworkResponse) SetBody

func (*SwitchNetworkResponse) SetHeaders

func (*SwitchNetworkResponse) SetStatusCode

func (s *SwitchNetworkResponse) SetStatusCode(v int32) *SwitchNetworkResponse

func (SwitchNetworkResponse) String

func (s SwitchNetworkResponse) String() string

type SwitchNetworkResponseBody

type SwitchNetworkResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (SwitchNetworkResponseBody) GoString

func (s SwitchNetworkResponseBody) GoString() string

func (*SwitchNetworkResponseBody) SetRequestId

func (*SwitchNetworkResponseBody) SetTaskId

func (SwitchNetworkResponseBody) String

func (s SwitchNetworkResponseBody) String() string

type SyncDtsStatusRequest

type SyncDtsStatusRequest struct {
	// The ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// Disables configuration changes for the instance. Valid values:
	//
	// *   **0**: does not disable configuration changes.
	// *   **1**: disables configuration changes. In this case, if you attempt to modify the configurations of the instance, the system informs you that the operation cannot be performed.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the DTS instance. You can view the ID in the [DTS console](https://dts.console.aliyun.com/).
	//
	// > An ApsaraDB for Redis instance may be involved in multiple data migration or synchronization tasks. If you want to cancel the restriction on the instance, you can specify this parameter to prevent repeated operation calls.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (SyncDtsStatusRequest) GoString

func (s SyncDtsStatusRequest) GoString() string

func (*SyncDtsStatusRequest) SetInstanceId

func (s *SyncDtsStatusRequest) SetInstanceId(v string) *SyncDtsStatusRequest

func (*SyncDtsStatusRequest) SetOwnerAccount

func (s *SyncDtsStatusRequest) SetOwnerAccount(v string) *SyncDtsStatusRequest

func (*SyncDtsStatusRequest) SetOwnerId

func (*SyncDtsStatusRequest) SetRegionId

func (*SyncDtsStatusRequest) SetResourceOwnerAccount

func (s *SyncDtsStatusRequest) SetResourceOwnerAccount(v string) *SyncDtsStatusRequest

func (*SyncDtsStatusRequest) SetResourceOwnerId

func (s *SyncDtsStatusRequest) SetResourceOwnerId(v int64) *SyncDtsStatusRequest

func (*SyncDtsStatusRequest) SetSecurityToken

func (s *SyncDtsStatusRequest) SetSecurityToken(v string) *SyncDtsStatusRequest

func (*SyncDtsStatusRequest) SetStatus

func (*SyncDtsStatusRequest) SetTaskId

func (SyncDtsStatusRequest) String

func (s SyncDtsStatusRequest) String() string

type SyncDtsStatusResponse

type SyncDtsStatusResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SyncDtsStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SyncDtsStatusResponse) GoString

func (s SyncDtsStatusResponse) GoString() string

func (*SyncDtsStatusResponse) SetBody

func (*SyncDtsStatusResponse) SetHeaders

func (*SyncDtsStatusResponse) SetStatusCode

func (s *SyncDtsStatusResponse) SetStatusCode(v int32) *SyncDtsStatusResponse

func (SyncDtsStatusResponse) String

func (s SyncDtsStatusResponse) String() string

type SyncDtsStatusResponseBody

type SyncDtsStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SyncDtsStatusResponseBody) GoString

func (s SyncDtsStatusResponseBody) GoString() string

func (*SyncDtsStatusResponseBody) SetRequestId

func (SyncDtsStatusResponseBody) String

func (s SyncDtsStatusResponseBody) String() string

type TagResourcesRequest

type TagResourcesRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the instance.
	ResourceId           []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64    `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The resource type. Set the value to **INSTANCE**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags of the instance.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetOwnerAccount

func (s *TagResourcesRequest) SetOwnerAccount(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetOwnerId

func (s *TagResourcesRequest) SetOwnerId(v int64) *TagResourcesRequest

func (*TagResourcesRequest) SetRegionId

func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceOwnerAccount

func (s *TagResourcesRequest) SetResourceOwnerAccount(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceOwnerId

func (s *TagResourcesRequest) SetResourceOwnerId(v int64) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// The key of the tag associated with the instance.
	//
	// > * **N** specifies the serial number of the tag. For example, **Tag.1.Key** specifies the key of the first tag and **Tag.2.Key** specifies the key of the second tag.
	// > * If the key of the tag does not exist, the key is automatically created.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag associated with the instance.
	//
	// > **N** specifies the serial number of the tag. For example, **Tag.1.Value** specifies the value of the first tag and **Tag.2.Value** specifies the value of the second tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey

func (*TagResourcesRequestTag) SetValue

func (TagResourcesRequestTag) String

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type TransformInstanceChargeTypeRequest

type TransformInstanceChargeTypeRequest struct {
	// Specifies whether to enable automatic payment. Default value: true. Valid values:
	//
	// *   **true**: Automatic payment is enabled.
	// *   **false**: Automatic payment is disabled. If automatic payment is disabled, you must perform the following steps to complete the payment: In the top navigation bar of the ApsaraDB for Redis console, choose **Expenses** > **Renewal Management**. In the left-side navigation pane of the Billing Management console, click **Orders**. On the **Orders** page, find the order and complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Valid values:
	//
	// *   **true**: enables auto-renewal.
	// *   **false** (default): disables auto-renewal.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The subscription duration that is supported by auto-renewal. Unit: month. Valid values: **1**, **2**, **3**, **6**, and **12**.
	//
	// >  This parameter is required if the **AutoRenew** parameter is set to **true**.
	AutoRenewPeriod *int64 `json:"AutoRenewPeriod,omitempty" xml:"AutoRenewPeriod,omitempty"`
	// The new billing method. Valid values:
	//
	// *   **PrePaid**: subscription. If you set this parameter to PrePaid, you must also specify the **Period** parameter.
	// *   **PostPaid**: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query the ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The subscription duration. Unit: months. Valid values: **1**, 2, 3, 4, 5, 6, 7, 8, **9**, **12**, **24**, **36**.
	//
	// >  This parameter is valid and required only if you set the **ChargeType** parameter to **PrePaid**.
	Period               *int64  `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (TransformInstanceChargeTypeRequest) GoString

func (*TransformInstanceChargeTypeRequest) SetAutoPay

func (*TransformInstanceChargeTypeRequest) SetAutoRenew added in v3.3.1

func (*TransformInstanceChargeTypeRequest) SetAutoRenewPeriod added in v3.3.1

func (*TransformInstanceChargeTypeRequest) SetChargeType

func (*TransformInstanceChargeTypeRequest) SetInstanceId

func (*TransformInstanceChargeTypeRequest) SetOwnerAccount

func (*TransformInstanceChargeTypeRequest) SetOwnerId

func (*TransformInstanceChargeTypeRequest) SetPeriod

func (*TransformInstanceChargeTypeRequest) SetResourceOwnerAccount

func (*TransformInstanceChargeTypeRequest) SetResourceOwnerId

func (*TransformInstanceChargeTypeRequest) SetSecurityToken

func (TransformInstanceChargeTypeRequest) String

type TransformInstanceChargeTypeResponse

type TransformInstanceChargeTypeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TransformInstanceChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TransformInstanceChargeTypeResponse) GoString

func (*TransformInstanceChargeTypeResponse) SetHeaders

func (*TransformInstanceChargeTypeResponse) SetStatusCode

func (TransformInstanceChargeTypeResponse) String

type TransformInstanceChargeTypeResponseBody

type TransformInstanceChargeTypeResponseBody struct {
	// The time when the instance expires.
	//
	// >  A value is returned for this parameter only if the instance was changed from pay-as-you-go to subscription.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TransformInstanceChargeTypeResponseBody) GoString

func (*TransformInstanceChargeTypeResponseBody) SetEndTime

func (*TransformInstanceChargeTypeResponseBody) SetOrderId

func (*TransformInstanceChargeTypeResponseBody) SetRequestId

func (TransformInstanceChargeTypeResponseBody) String

type TransformToPrePaidRequest

type TransformToPrePaidRequest struct {
	// Specifies whether to enable auto-renewal. Default value: false. Valid values:
	//
	// *   **true**: yes
	// *   **false**: no. In this case, you can renew your instance in the ApsaraDB for Redis console. For more information, see [Manually renew an instance](~~26352~~).
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The ID of the instance. You can call the [DescribeInstances](~~DescribeInstances~~) operation to query the ID of the instance.
	InstanceId   *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The subscription duration of the instance. Unit: months. Valid values: **1** to **9**, **12**, **24**, and **36**.
	Period               *int64  `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (TransformToPrePaidRequest) GoString

func (s TransformToPrePaidRequest) GoString() string

func (*TransformToPrePaidRequest) SetAutoPay

func (*TransformToPrePaidRequest) SetInstanceId

func (*TransformToPrePaidRequest) SetOwnerAccount

func (*TransformToPrePaidRequest) SetOwnerId

func (*TransformToPrePaidRequest) SetPeriod

func (*TransformToPrePaidRequest) SetResourceOwnerAccount

func (s *TransformToPrePaidRequest) SetResourceOwnerAccount(v string) *TransformToPrePaidRequest

func (*TransformToPrePaidRequest) SetResourceOwnerId

func (s *TransformToPrePaidRequest) SetResourceOwnerId(v int64) *TransformToPrePaidRequest

func (*TransformToPrePaidRequest) SetSecurityToken

func (TransformToPrePaidRequest) String

func (s TransformToPrePaidRequest) String() string

type TransformToPrePaidResponse

type TransformToPrePaidResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TransformToPrePaidResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TransformToPrePaidResponse) GoString

func (s TransformToPrePaidResponse) GoString() string

func (*TransformToPrePaidResponse) SetBody

func (*TransformToPrePaidResponse) SetHeaders

func (*TransformToPrePaidResponse) SetStatusCode

func (TransformToPrePaidResponse) String

type TransformToPrePaidResponseBody

type TransformToPrePaidResponseBody struct {
	// The time when the instance expires after the billing method of the instance is changed from pay-as-you-go to subscription.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TransformToPrePaidResponseBody) GoString

func (*TransformToPrePaidResponseBody) SetEndTime

func (*TransformToPrePaidResponseBody) SetOrderId

func (*TransformToPrePaidResponseBody) SetRequestId

func (TransformToPrePaidResponseBody) String

type UnlockDBInstanceWriteRequest added in v3.2.0

type UnlockDBInstanceWriteRequest struct {
	// The instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (UnlockDBInstanceWriteRequest) GoString added in v3.2.0

func (s UnlockDBInstanceWriteRequest) GoString() string

func (*UnlockDBInstanceWriteRequest) SetDBInstanceId added in v3.2.0

func (*UnlockDBInstanceWriteRequest) SetOwnerAccount added in v3.2.0

func (*UnlockDBInstanceWriteRequest) SetOwnerId added in v3.2.0

func (*UnlockDBInstanceWriteRequest) SetResourceOwnerAccount added in v3.2.0

func (s *UnlockDBInstanceWriteRequest) SetResourceOwnerAccount(v string) *UnlockDBInstanceWriteRequest

func (*UnlockDBInstanceWriteRequest) SetResourceOwnerId added in v3.2.0

func (*UnlockDBInstanceWriteRequest) SetSecurityToken added in v3.2.0

func (UnlockDBInstanceWriteRequest) String added in v3.2.0

type UnlockDBInstanceWriteResponse added in v3.2.0

type UnlockDBInstanceWriteResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UnlockDBInstanceWriteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UnlockDBInstanceWriteResponse) GoString added in v3.2.0

func (*UnlockDBInstanceWriteResponse) SetBody added in v3.2.0

func (*UnlockDBInstanceWriteResponse) SetHeaders added in v3.2.0

func (*UnlockDBInstanceWriteResponse) SetStatusCode added in v3.2.0

func (UnlockDBInstanceWriteResponse) String added in v3.2.0

type UnlockDBInstanceWriteResponseBody added in v3.2.0

type UnlockDBInstanceWriteResponseBody struct {
	// The name of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (UnlockDBInstanceWriteResponseBody) GoString added in v3.2.0

func (*UnlockDBInstanceWriteResponseBody) SetDBInstanceName added in v3.2.0

func (*UnlockDBInstanceWriteResponseBody) SetRequestId added in v3.2.0

func (*UnlockDBInstanceWriteResponseBody) SetTaskId added in v3.2.0

func (UnlockDBInstanceWriteResponseBody) String added in v3.2.0

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags from the instance. Valid values:
	//
	// *   **true**: removes all tags from the instance.
	// *   **false** (default): does not remove all tags from the instance.
	//
	// > If you specify both this parameter and the **TagKey.N** parameter, this parameter does not take effect.
	All          *bool   `json:"All,omitempty" xml:"All,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~61012~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The IDs of the instances.
	ResourceId           []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64    `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The resource type. Set the value to **INSTANCE**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The list of tag keys.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetOwnerAccount

func (s *UntagResourcesRequest) SetOwnerAccount(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetOwnerId

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceOwnerAccount

func (s *UntagResourcesRequest) SetResourceOwnerAccount(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceOwnerId

func (s *UntagResourcesRequest) SetResourceOwnerId(v int64) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

type UntagResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL