client

package
v9.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 AllocateNodePrivateNetworkAddressRequest

type AllocateNodePrivateNetworkAddressRequest struct {
	// The username of the account.
	//
	// >
	//
	// 	- The username must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). The username must start with a lowercase letter.
	//
	// 	- You must configure the account and password only when you apply for the endpoint of a shard or Configserver node for the first time. The account and password are required for all shard and Configserver nodes.
	//
	// 	- The permissions of this account are fixed to read-only.
	//
	// example:
	//
	// shardcsaccount
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password for the account.
	//
	// 	- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `! # $ % ^ & 	- ( ) _ + - =`
	//
	// 	- The password must be 8 to 32 characters in length.
	//
	// example:
	//
	// Test123456
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The ID of the sharded cluster instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1fa5efaa93****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard or Configserver node.
	//
	// >  You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the ID of the shard or Configserver node.
	//
	// This parameter is required.
	//
	// example:
	//
	// d-bp124beeb0ac****
	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"`
	// The ID of the zone to which the instance belongs.
	//
	// >  You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the zone ID of the instance.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (AllocateNodePrivateNetworkAddressRequest) GoString

func (*AllocateNodePrivateNetworkAddressRequest) SetAccountName

func (*AllocateNodePrivateNetworkAddressRequest) SetAccountPassword

func (*AllocateNodePrivateNetworkAddressRequest) SetDBInstanceId

func (*AllocateNodePrivateNetworkAddressRequest) SetNodeId

func (*AllocateNodePrivateNetworkAddressRequest) SetOwnerAccount

func (*AllocateNodePrivateNetworkAddressRequest) SetOwnerId

func (*AllocateNodePrivateNetworkAddressRequest) SetResourceOwnerAccount

func (*AllocateNodePrivateNetworkAddressRequest) SetResourceOwnerId

func (*AllocateNodePrivateNetworkAddressRequest) SetZoneId

func (AllocateNodePrivateNetworkAddressRequest) String

type AllocateNodePrivateNetworkAddressResponse

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

func (AllocateNodePrivateNetworkAddressResponse) GoString

func (*AllocateNodePrivateNetworkAddressResponse) SetHeaders

func (*AllocateNodePrivateNetworkAddressResponse) SetStatusCode

func (AllocateNodePrivateNetworkAddressResponse) String

type AllocateNodePrivateNetworkAddressResponseBody

type AllocateNodePrivateNetworkAddressResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 60EEBD77-227C-5B39-86EA-D89163C5****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AllocateNodePrivateNetworkAddressResponseBody) GoString

func (*AllocateNodePrivateNetworkAddressResponseBody) SetRequestId

func (AllocateNodePrivateNetworkAddressResponseBody) String

type AllocatePublicNetworkAddressRequest

type AllocatePublicNetworkAddressRequest struct {
	// The ID of the instance
	//
	// > If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp11483712c1****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the mongos, shard, or Configserver node in the sharded cluster instance. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to view the ID of the mongos, shard, or Configserver node.
	//
	// > This parameter is required only when you specify the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// s-bp18e6d84ae3****
	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"`
}

func (AllocatePublicNetworkAddressRequest) GoString

func (*AllocatePublicNetworkAddressRequest) SetDBInstanceId

func (*AllocatePublicNetworkAddressRequest) SetNodeId

func (*AllocatePublicNetworkAddressRequest) SetOwnerAccount

func (*AllocatePublicNetworkAddressRequest) SetOwnerId

func (*AllocatePublicNetworkAddressRequest) SetResourceOwnerAccount

func (*AllocatePublicNetworkAddressRequest) SetResourceOwnerId

func (AllocatePublicNetworkAddressRequest) String

type AllocatePublicNetworkAddressResponse

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

func (AllocatePublicNetworkAddressResponse) GoString

func (*AllocatePublicNetworkAddressResponse) SetHeaders

func (*AllocatePublicNetworkAddressResponse) SetStatusCode

func (AllocatePublicNetworkAddressResponse) String

type AllocatePublicNetworkAddressResponseBody

type AllocatePublicNetworkAddressResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 8AA45036-497F-52E7-B951-F9C7B239****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AllocatePublicNetworkAddressResponseBody) GoString

func (*AllocatePublicNetworkAddressResponseBody) SetRequestId

func (AllocatePublicNetworkAddressResponseBody) String

type CheckCloudResourceAuthorizedRequest

type CheckCloudResourceAuthorizedRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp18f7d6b6a7****
	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 region ID of the instance. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the region ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	TargetRegionId *string `json:"TargetRegionId,omitempty" xml:"TargetRegionId,omitempty"`
}

func (CheckCloudResourceAuthorizedRequest) GoString

func (*CheckCloudResourceAuthorizedRequest) SetDBInstanceId

func (*CheckCloudResourceAuthorizedRequest) SetOwnerAccount

func (*CheckCloudResourceAuthorizedRequest) SetOwnerId

func (*CheckCloudResourceAuthorizedRequest) SetResourceOwnerAccount

func (*CheckCloudResourceAuthorizedRequest) SetResourceOwnerId

func (*CheckCloudResourceAuthorizedRequest) SetTargetRegionId

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 KMS keys are authorized to ApsaraDB for MongoDB instances. Valid values:
	//
	// 	- **0**: KMS keys are not authorized.
	//
	// 	- **1**: KMS keys are authorized.
	//
	// 	- **2**: KMS is not enabled.
	//
	// example:
	//
	// 1
	AuthorizationState *int32 `json:"AuthorizationState,omitempty" xml:"AuthorizationState,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// A0181AC4-F186-46ED-87CA-100C70B86729
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The role information of the authorized Alibaba Resource Name (ARN).
	//
	// >  This parameter is returned only when the value of the **AuthorizationState*	- parameter is **1**.
	//
	// example:
	//
	// acs:ram::140****:role/aliyunrdsinstanceencryptiondefaultrole
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
}

func (CheckCloudResourceAuthorizedResponseBody) GoString

func (*CheckCloudResourceAuthorizedResponseBody) SetAuthorizationState

func (*CheckCloudResourceAuthorizedResponseBody) SetRequestId

func (*CheckCloudResourceAuthorizedResponseBody) SetRoleArn

func (CheckCloudResourceAuthorizedResponseBody) String

type CheckRecoveryConditionRequest

type CheckRecoveryConditionRequest struct {
	// The backup ID.
	//
	// > 	- You can call the [DescribeBackups](https://help.aliyun.com/document_detail/62172.html) operation to query the backup ID.
	//
	// > 	- You must specify one of the **RestoreTime*	- and BackupId parameters.
	//
	// > 	- This parameter is not applicable to sharded cluster instances.
	//
	// example:
	//
	// 5664****
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The name of the source database. The value is a JSON array.
	//
	// >  If you do not specify this parameter, all databases are restored by default.
	//
	// example:
	//
	// ["db1","db2"]
	DatabaseNames *string `json:"DatabaseNames,omitempty" xml:"DatabaseNames,omitempty"`
	// The region of the backup set used for the cross-region backup and restoration.
	//
	// >  This parameter is required when you set the RestoreType parameter to 3.
	//
	// example:
	//
	// cn-hangzhou
	DestRegion    *string `json:"DestRegion,omitempty" xml:"DestRegion,omitempty"`
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The instance architecture. Valid values:
	//
	// 	- replicate
	//
	// 	- sharding
	//
	// > 	- This parameter is required when you set the RestoreType parameter to 2.
	//
	// > 	- This parameter is required when you set the RestoreType parameter to 3.
	//
	// example:
	//
	// replicate
	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 resource group to which the instance belongs.
	//
	// example:
	//
	// sg-bp179****
	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 to which the instance is restored. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	//
	// > 	- The time can be a point in time within the past seven days. The time must be earlier than the current time, but later than the time when the instance was created.
	//
	// > 	- You must specify one of the RestoreTime and **BackupId*	- parameters.
	//
	// example:
	//
	// 2022-08-22T08:00:00Z
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The restoration type.
	//
	// > 	- 0: The data of the source instance is restored to a new instance in the same region.
	//
	// > 	- 1: The data of the source instance is restored to an earlier point in time.
	//
	// > 	- 2: The data of a deleted instance is restored to a new instance from the backup set.
	//
	// > 	- 3: The data of a deleted instance is restored to a new instance in another region from the backup set.
	//
	// example:
	//
	// 0
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	// The ID of the source instance.
	//
	// example:
	//
	// dds-bp1378****
	SourceDBInstance *string `json:"SourceDBInstance,omitempty" xml:"SourceDBInstance,omitempty"`
	// The region where the source instance resides.
	//
	// > 	- This parameter is required when you set the RestoreType parameter to 2.
	//
	// > 	- This parameter is required when you set the RestoreType parameter to 3.
	//
	// example:
	//
	// cn-beijing
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,omitempty"`
}

func (CheckRecoveryConditionRequest) GoString

func (*CheckRecoveryConditionRequest) SetBackupId

func (*CheckRecoveryConditionRequest) SetDatabaseNames

func (*CheckRecoveryConditionRequest) SetDestRegion

func (*CheckRecoveryConditionRequest) SetEngineVersion added in v9.1.0

func (*CheckRecoveryConditionRequest) SetInstanceType

func (*CheckRecoveryConditionRequest) SetOwnerAccount

func (*CheckRecoveryConditionRequest) SetOwnerId

func (*CheckRecoveryConditionRequest) SetResourceGroupId

func (*CheckRecoveryConditionRequest) SetResourceOwnerAccount

func (*CheckRecoveryConditionRequest) SetResourceOwnerId

func (*CheckRecoveryConditionRequest) SetRestoreTime

func (*CheckRecoveryConditionRequest) SetRestoreType

func (*CheckRecoveryConditionRequest) SetSourceDBInstance

func (*CheckRecoveryConditionRequest) SetSrcRegion

func (CheckRecoveryConditionRequest) String

type CheckRecoveryConditionResponse

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

func (CheckRecoveryConditionResponse) GoString

func (*CheckRecoveryConditionResponse) SetHeaders

func (*CheckRecoveryConditionResponse) SetStatusCode

func (CheckRecoveryConditionResponse) String

type CheckRecoveryConditionResponseBody

type CheckRecoveryConditionResponseBody struct {
	// The instance ID
	//
	// example:
	//
	// dds-bp1378****
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// Indicates whether the data of the instance can be restored. Valid values:
	//
	// 	- **true**: The data of the instance can be restored.
	//
	// 	- **false**: The data of the instance cannot be restored.
	//
	// example:
	//
	// true
	IsValid *bool `json:"IsValid,omitempty" xml:"IsValid,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D563A3E7-6010-45FE-A0CD-9283414C9657
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckRecoveryConditionResponseBody) GoString

func (*CheckRecoveryConditionResponseBody) SetDBInstanceName

func (*CheckRecoveryConditionResponseBody) SetIsValid

func (*CheckRecoveryConditionResponseBody) SetRequestId

func (CheckRecoveryConditionResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AllocateNodePrivateNetworkAddress

func (client *Client) AllocateNodePrivateNetworkAddress(request *AllocateNodePrivateNetworkAddressRequest) (_result *AllocateNodePrivateNetworkAddressResponse, _err error)

Summary:

Applies for an internal endpoint for a shard or Configserver node in an ApsaraDB for MongoDB sharded cluster instance.

Description:

This operation is applicable only to sharded cluster instances. For more information, see [Apply for an endpoint for a shard or Configserver node](https://help.aliyun.com/document_detail/134037.html).

> The allocated endpoints can be used only for internal access. To gain Internet access, you must call the [AllocatePublicNetworkAddress](https://help.aliyun.com/document_detail/67602.html) operation to apply for public endpoints.

@param request - AllocateNodePrivateNetworkAddressRequest

@return AllocateNodePrivateNetworkAddressResponse

func (*Client) AllocateNodePrivateNetworkAddressWithOptions

func (client *Client) AllocateNodePrivateNetworkAddressWithOptions(request *AllocateNodePrivateNetworkAddressRequest, runtime *util.RuntimeOptions) (_result *AllocateNodePrivateNetworkAddressResponse, _err error)

Summary:

Applies for an internal endpoint for a shard or Configserver node in an ApsaraDB for MongoDB sharded cluster instance.

Description:

This operation is applicable only to sharded cluster instances. For more information, see [Apply for an endpoint for a shard or Configserver node](https://help.aliyun.com/document_detail/134037.html).

> The allocated endpoints can be used only for internal access. To gain Internet access, you must call the [AllocatePublicNetworkAddress](https://help.aliyun.com/document_detail/67602.html) operation to apply for public endpoints.

@param request - AllocateNodePrivateNetworkAddressRequest

@param runtime - runtime options for this request RuntimeOptions

@return AllocateNodePrivateNetworkAddressResponse

func (*Client) AllocatePublicNetworkAddress

func (client *Client) AllocatePublicNetworkAddress(request *AllocatePublicNetworkAddressRequest) (_result *AllocatePublicNetworkAddressResponse, _err error)

Summary:

Allocates a public endpoint to an instance.

@param request - AllocatePublicNetworkAddressRequest

@return AllocatePublicNetworkAddressResponse

func (*Client) AllocatePublicNetworkAddressWithOptions

func (client *Client) AllocatePublicNetworkAddressWithOptions(request *AllocatePublicNetworkAddressRequest, runtime *util.RuntimeOptions) (_result *AllocatePublicNetworkAddressResponse, _err error)

Summary:

Allocates a public endpoint to an instance.

@param request - AllocatePublicNetworkAddressRequest

@param runtime - runtime options for this request RuntimeOptions

@return AllocatePublicNetworkAddressResponse

func (*Client) CheckCloudResourceAuthorized

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

Summary:

You can call this operation to check whether KMS keys are authorized to ApsaraDB for MongoDB instances.

Description:

Before you enable Transparent Data Encryption (TDE) by calling the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation, you can call this operation to check whether KMS keys are authorized to ApsaraDB for MongoDB instances.

@param request - CheckCloudResourceAuthorizedRequest

@return CheckCloudResourceAuthorizedResponse

func (*Client) CheckCloudResourceAuthorizedWithOptions

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

Summary:

You can call this operation to check whether KMS keys are authorized to ApsaraDB for MongoDB instances.

Description:

Before you enable Transparent Data Encryption (TDE) by calling the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation, you can call this operation to check whether KMS keys are authorized to ApsaraDB for MongoDB instances.

@param request - CheckCloudResourceAuthorizedRequest

@param runtime - runtime options for this request RuntimeOptions

@return CheckCloudResourceAuthorizedResponse

func (*Client) CheckRecoveryCondition

func (client *Client) CheckRecoveryCondition(request *CheckRecoveryConditionRequest) (_result *CheckRecoveryConditionResponse, _err error)

Summary:

Queries whether the data of an ApsaraDB for MongoDB instance can be restored.

Description:

This operation is applicable to replica set instances and sharded cluster instances.

> After you call this operation to confirm that the data of the instance can be restored, you can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation to restore data to a new instance.

@param request - CheckRecoveryConditionRequest

@return CheckRecoveryConditionResponse

func (*Client) CheckRecoveryConditionWithOptions

func (client *Client) CheckRecoveryConditionWithOptions(request *CheckRecoveryConditionRequest, runtime *util.RuntimeOptions) (_result *CheckRecoveryConditionResponse, _err error)

Summary:

Queries whether the data of an ApsaraDB for MongoDB instance can be restored.

Description:

This operation is applicable to replica set instances and sharded cluster instances.

> After you call this operation to confirm that the data of the instance can be restored, you can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation to restore data to a new instance.

@param request - CheckRecoveryConditionRequest

@param runtime - runtime options for this request RuntimeOptions

@return CheckRecoveryConditionResponse

func (*Client) CreateAccount

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

Summary:

Creates an account that is granted read-only permissions for shard nodes in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

Description:

  You can create an account for shard nodes only in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

	- The account is granted read-only permissions.

@param request - CreateAccountRequest

@return CreateAccountResponse

func (*Client) CreateAccountWithOptions

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

Summary:

Creates an account that is granted read-only permissions for shard nodes in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

Description:

  You can create an account for shard nodes only in an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

	- The account is granted read-only permissions.

@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)

Summary:

Creates a backup set for an ApsaraDB for MongoDB instance.

Description:

When you call this operation, the instance must be in the Running state.

@param request - CreateBackupRequest

@return CreateBackupResponse

func (*Client) CreateBackupWithOptions

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

Summary:

Creates a backup set for an ApsaraDB for MongoDB instance.

Description:

When you call this operation, the instance must be in the Running state.

@param request - CreateBackupRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateBackupResponse

func (*Client) CreateDBInstance

func (client *Client) CreateDBInstance(request *CreateDBInstanceRequest) (_result *CreateDBInstanceResponse, _err error)

Summary:

Creates or clones an ApsaraDB for MongoDB replica set instance.

Description:

Make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB before you call this operation.

For more information about the instance types of ApsaraDB for MongoDB instances, see [Instance types](https://www.alibabacloud.com/help/en/mongodb/product-overview/instance-types-1).

To create sharded cluster instances, you can call the [CreateShardingDBInstance](~~CreateShardingDBInstance~~) operation.

@param request - CreateDBInstanceRequest

@return CreateDBInstanceResponse

func (*Client) CreateDBInstanceWithOptions

func (client *Client) CreateDBInstanceWithOptions(request *CreateDBInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateDBInstanceResponse, _err error)

Summary:

Creates or clones an ApsaraDB for MongoDB replica set instance.

Description:

Make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB before you call this operation.

For more information about the instance types of ApsaraDB for MongoDB instances, see [Instance types](https://www.alibabacloud.com/help/en/mongodb/product-overview/instance-types-1).

To create sharded cluster instances, you can call the [CreateShardingDBInstance](~~CreateShardingDBInstance~~) operation.

@param request - CreateDBInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateDBInstanceResponse

func (*Client) CreateGlobalSecurityIPGroup

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

Summary:

Creates a global IP whitelist template.

@param request - CreateGlobalSecurityIPGroupRequest

@return CreateGlobalSecurityIPGroupResponse

func (*Client) CreateGlobalSecurityIPGroupWithOptions

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

Summary:

Creates a global IP whitelist template.

@param request - CreateGlobalSecurityIPGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateGlobalSecurityIPGroupResponse

func (*Client) CreateNode

func (client *Client) CreateNode(request *CreateNodeRequest) (_result *CreateNodeResponse, _err error)

Summary:

Adds a shard or mongos node to an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

This operation applies only to sharded cluster instances.

@param request - CreateNodeRequest

@return CreateNodeResponse

func (*Client) CreateNodeBatch

func (client *Client) CreateNodeBatch(request *CreateNodeBatchRequest) (_result *CreateNodeBatchResponse, _err error)

Summary:

Batch adds mongos or shard nodes for a sharded cluster instance.

Description:

Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

This operation is applicable only to sharded cluster instances.

@param request - CreateNodeBatchRequest

@return CreateNodeBatchResponse

func (*Client) CreateNodeBatchWithOptions

func (client *Client) CreateNodeBatchWithOptions(request *CreateNodeBatchRequest, runtime *util.RuntimeOptions) (_result *CreateNodeBatchResponse, _err error)

Summary:

Batch adds mongos or shard nodes for a sharded cluster instance.

Description:

Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

This operation is applicable only to sharded cluster instances.

@param request - CreateNodeBatchRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateNodeBatchResponse

func (*Client) CreateNodeWithOptions

func (client *Client) CreateNodeWithOptions(request *CreateNodeRequest, runtime *util.RuntimeOptions) (_result *CreateNodeResponse, _err error)

Summary:

Adds a shard or mongos node to an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

This operation applies only to sharded cluster instances.

@param request - CreateNodeRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateNodeResponse

func (*Client) CreateShardingDBInstance

func (client *Client) CreateShardingDBInstance(request *CreateShardingDBInstanceRequest) (_result *CreateShardingDBInstanceResponse, _err error)

Summary:

Creates or clones an ApsaraDB for MongoDB sharded cluster instance.

Description:

  Make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB before you call this operation.

	- For more information about the instance types of ApsaraDB for MongoDB, see [Instance types](https://help.aliyun.com/document_detail/57141.html).

	- To create standalone instances and replica set instances, you can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation.

@param request - CreateShardingDBInstanceRequest

@return CreateShardingDBInstanceResponse

func (*Client) CreateShardingDBInstanceWithOptions

func (client *Client) CreateShardingDBInstanceWithOptions(request *CreateShardingDBInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateShardingDBInstanceResponse, _err error)

Summary:

Creates or clones an ApsaraDB for MongoDB sharded cluster instance.

Description:

  Make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB before you call this operation.

	- For more information about the instance types of ApsaraDB for MongoDB, see [Instance types](https://help.aliyun.com/document_detail/57141.html).

	- To create standalone instances and replica set instances, you can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation.

@param request - CreateShardingDBInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateShardingDBInstanceResponse

func (*Client) DeleteDBInstance

func (client *Client) DeleteDBInstance(request *DeleteDBInstanceRequest) (_result *DeleteDBInstanceResponse, _err error)

Summary:

Releases an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements

  • The instance is in the Running state.

  • The billing method of the instance is pay-as-you-go.

> After an instance is released, all data in the instance is cleared and cannot be recovered. Proceed with caution.

@param request - DeleteDBInstanceRequest

@return DeleteDBInstanceResponse

func (*Client) DeleteDBInstanceWithOptions

func (client *Client) DeleteDBInstanceWithOptions(request *DeleteDBInstanceRequest, runtime *util.RuntimeOptions) (_result *DeleteDBInstanceResponse, _err error)

Summary:

Releases an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements

  • The instance is in the Running state.

  • The billing method of the instance is pay-as-you-go.

> After an instance is released, all data in the instance is cleared and cannot be recovered. Proceed with caution.

@param request - DeleteDBInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteDBInstanceResponse

func (*Client) DeleteGlobalSecurityIPGroup

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

Summary:

Deletes a global IP whitelist template.

@param request - DeleteGlobalSecurityIPGroupRequest

@return DeleteGlobalSecurityIPGroupResponse

func (*Client) DeleteGlobalSecurityIPGroupWithOptions

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

Summary:

Deletes a global IP whitelist template.

@param request - DeleteGlobalSecurityIPGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteGlobalSecurityIPGroupResponse

func (*Client) DeleteNode

func (client *Client) DeleteNode(request *DeleteNodeRequest) (_result *DeleteNodeResponse, _err error)

Summary:

Deletes a shard or mongos node from an ApsaraDB for MongoDB sharded cluster instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is in the Running state.

  • The instance is a sharded cluster instance.

  • The billing method of the instance is pay-as-you-go.

  • The number of the shard or mongos nodes in the instance is greater than two.

@param request - DeleteNodeRequest

@return DeleteNodeResponse

func (*Client) DeleteNodeWithOptions

func (client *Client) DeleteNodeWithOptions(request *DeleteNodeRequest, runtime *util.RuntimeOptions) (_result *DeleteNodeResponse, _err error)

Summary:

Deletes a shard or mongos node from an ApsaraDB for MongoDB sharded cluster instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is in the Running state.

  • The instance is a sharded cluster instance.

  • The billing method of the instance is pay-as-you-go.

  • The number of the shard or mongos nodes in the instance is greater than two.

@param request - DeleteNodeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteNodeResponse

func (*Client) DescribeAccounts

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

Summary:

Queries the database accounts of an ApsaraDB for MongoDB instance.

Description:

> This operation can be used to query only the information of the root account.

@param request - DescribeAccountsRequest

@return DescribeAccountsResponse

func (*Client) DescribeAccountsWithOptions

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

Summary:

Queries the database accounts of an ApsaraDB for MongoDB instance.

Description:

> This operation can be used to query only the information of the root account.

@param request - DescribeAccountsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAccountsResponse

func (*Client) DescribeActiveOperationTaskCount

func (client *Client) DescribeActiveOperationTaskCount(request *DescribeActiveOperationTaskCountRequest) (_result *DescribeActiveOperationTaskCountResponse, _err error)

Summary:

Queries the number of operation and maintenance tasks on an ApsaraDB for MongoDB instance.

@param request - DescribeActiveOperationTaskCountRequest

@return DescribeActiveOperationTaskCountResponse

func (*Client) DescribeActiveOperationTaskCountWithOptions

func (client *Client) DescribeActiveOperationTaskCountWithOptions(request *DescribeActiveOperationTaskCountRequest, runtime *util.RuntimeOptions) (_result *DescribeActiveOperationTaskCountResponse, _err error)

Summary:

Queries the number of operation and maintenance tasks on an ApsaraDB for MongoDB instance.

@param request - DescribeActiveOperationTaskCountRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeActiveOperationTaskCountResponse

func (*Client) DescribeActiveOperationTaskType

func (client *Client) DescribeActiveOperationTaskType(request *DescribeActiveOperationTaskTypeRequest) (_result *DescribeActiveOperationTaskTypeResponse, _err error)

Summary:

Queries the types of Operation and Maintenance tasks and the number of tasks of each type for an ApsaraDB for MongoDB instance.

Description:

This operation is no longer updated and will be unavailable.

@param request - DescribeActiveOperationTaskTypeRequest

@return DescribeActiveOperationTaskTypeResponse

func (*Client) DescribeActiveOperationTaskTypeWithOptions

func (client *Client) DescribeActiveOperationTaskTypeWithOptions(request *DescribeActiveOperationTaskTypeRequest, runtime *util.RuntimeOptions) (_result *DescribeActiveOperationTaskTypeResponse, _err error)

Summary:

Queries the types of Operation and Maintenance tasks and the number of tasks of each type for an ApsaraDB for MongoDB instance.

Description:

This operation is no longer updated and will be unavailable.

@param request - DescribeActiveOperationTaskTypeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeActiveOperationTaskTypeResponse

func (*Client) DescribeActiveOperationTasks

func (client *Client) DescribeActiveOperationTasks(request *DescribeActiveOperationTasksRequest) (_result *DescribeActiveOperationTasksResponse, _err error)

Summary:

Queries a list of operation and maintenance tasks initiated for an ApsaraDB for MongoDB instance.

@param request - DescribeActiveOperationTasksRequest

@return DescribeActiveOperationTasksResponse

func (*Client) DescribeActiveOperationTasksWithOptions

func (client *Client) DescribeActiveOperationTasksWithOptions(request *DescribeActiveOperationTasksRequest, runtime *util.RuntimeOptions) (_result *DescribeActiveOperationTasksResponse, _err error)

Summary:

Queries a list of operation and maintenance tasks initiated for an ApsaraDB for MongoDB instance.

@param request - DescribeActiveOperationTasksRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeActiveOperationTasksResponse

func (*Client) DescribeAuditLogFilter

func (client *Client) DescribeAuditLogFilter(request *DescribeAuditLogFilterRequest) (_result *DescribeAuditLogFilterResponse, _err error)

Summary:

Queries the types of entries in the audit log collected for an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the running state when you call this operation.

	- This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeAuditLogFilterRequest

@return DescribeAuditLogFilterResponse

func (*Client) DescribeAuditLogFilterWithOptions

func (client *Client) DescribeAuditLogFilterWithOptions(request *DescribeAuditLogFilterRequest, runtime *util.RuntimeOptions) (_result *DescribeAuditLogFilterResponse, _err error)

Summary:

Queries the types of entries in the audit log collected for an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the running state when you call this operation.

	- This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeAuditLogFilterRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAuditLogFilterResponse

func (*Client) DescribeAuditPolicy

func (client *Client) DescribeAuditPolicy(request *DescribeAuditPolicyRequest) (_result *DescribeAuditPolicyResponse, _err error)

Summary:

Queries whether the audit log feature is enabled for an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the running state when you call this operation.

	- This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeAuditPolicyRequest

@return DescribeAuditPolicyResponse

func (*Client) DescribeAuditPolicyWithOptions

func (client *Client) DescribeAuditPolicyWithOptions(request *DescribeAuditPolicyRequest, runtime *util.RuntimeOptions) (_result *DescribeAuditPolicyResponse, _err error)

Summary:

Queries whether the audit log feature is enabled for an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the running state when you call this operation.

	- This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeAuditPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAuditPolicyResponse

func (*Client) DescribeAuditRecords

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

Summary:

Queries the audit logs of an ApsaraDB for MongoDB instance.

Description:

  When you call this operation, ensure that the audit log feature of the instance is enabled. Otherwise, the operation returns an empty audit log.

	- This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeAuditRecordsRequest

@return DescribeAuditRecordsResponse

func (*Client) DescribeAuditRecordsWithOptions

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

Summary:

Queries the audit logs of an ApsaraDB for MongoDB instance.

Description:

  When you call this operation, ensure that the audit log feature of the instance is enabled. Otherwise, the operation returns an empty audit log.

	- This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeAuditRecordsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAuditRecordsResponse

func (*Client) DescribeAvailabilityZones

func (client *Client) DescribeAvailabilityZones(request *DescribeAvailabilityZonesRequest) (_result *DescribeAvailabilityZonesResponse, _err error)

Summary:

Queries a list of the zones that are supported by an ApsaraDB for MongoDB instance.

Description:

Queries the zones in which an ApsaraDB for MongoDB instance can be deployed under specified purchase conditions. The region ID is required in the purchase condition.

@param request - DescribeAvailabilityZonesRequest

@return DescribeAvailabilityZonesResponse

func (*Client) DescribeAvailabilityZonesWithOptions

func (client *Client) DescribeAvailabilityZonesWithOptions(request *DescribeAvailabilityZonesRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailabilityZonesResponse, _err error)

Summary:

Queries a list of the zones that are supported by an ApsaraDB for MongoDB instance.

Description:

Queries the zones in which an ApsaraDB for MongoDB instance can be deployed under specified purchase conditions. The region ID is required in the purchase condition.

@param request - DescribeAvailabilityZonesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAvailabilityZonesResponse

func (*Client) DescribeAvailableEngineVersion

func (client *Client) DescribeAvailableEngineVersion(request *DescribeAvailableEngineVersionRequest) (_result *DescribeAvailableEngineVersionResponse, _err error)

Summary:

You can call this operation to query the engine versions to which an ApsaraDB for MongoDB instance can be upgraded.

@param request - DescribeAvailableEngineVersionRequest

@return DescribeAvailableEngineVersionResponse

func (*Client) DescribeAvailableEngineVersionWithOptions

func (client *Client) DescribeAvailableEngineVersionWithOptions(request *DescribeAvailableEngineVersionRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableEngineVersionResponse, _err error)

Summary:

You can call this operation to query the engine versions to which an ApsaraDB for MongoDB instance can be upgraded.

@param request - DescribeAvailableEngineVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAvailableEngineVersionResponse

func (*Client) DescribeAvailableResource

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

Summary:

Queries the available resources in the specified zone.

@param request - DescribeAvailableResourceRequest

@return DescribeAvailableResourceResponse

func (*Client) DescribeAvailableResourceWithOptions

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

Summary:

Queries the available resources in the specified zone.

@param request - DescribeAvailableResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAvailableResourceResponse

func (*Client) DescribeBackupDBs

func (client *Client) DescribeBackupDBs(request *DescribeBackupDBsRequest) (_result *DescribeBackupDBsResponse, _err error)

Summary:

Queries the databases at a specified time or the databases in a specified backup set before you restore a database for an ApsaraDB for MongoDB instance.

Description:

You can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation to restore a database for an ApsaraDB for MongoDB instance. For more information, see [Restore one database of an ApsaraDB for MongoDB instance](https://help.aliyun.com/document_detail/112274.html).

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance was created after March 26, 2019.

  • The instance is located in the China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), or Singapore region. Other regions are not supported.

  • The instance is a replica set instance.

  • The instance runs MongoDB 3.4, MongoDB 4.0, or MongoDB 4.2. In addition, the instance uses local disks to store data.

  • The storage engine of the instance is WiredTiger.

@param request - DescribeBackupDBsRequest

@return DescribeBackupDBsResponse

func (*Client) DescribeBackupDBsWithOptions

func (client *Client) DescribeBackupDBsWithOptions(request *DescribeBackupDBsRequest, runtime *util.RuntimeOptions) (_result *DescribeBackupDBsResponse, _err error)

Summary:

Queries the databases at a specified time or the databases in a specified backup set before you restore a database for an ApsaraDB for MongoDB instance.

Description:

You can call the [CreateDBInstance](https://help.aliyun.com/document_detail/61763.html) operation to restore a database for an ApsaraDB for MongoDB instance. For more information, see [Restore one database of an ApsaraDB for MongoDB instance](https://help.aliyun.com/document_detail/112274.html).

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance was created after March 26, 2019.

  • The instance is located in the China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Hangzhou), China (Shanghai), China (Shenzhen), or Singapore region. Other regions are not supported.

  • The instance is a replica set instance.

  • The instance runs MongoDB 3.4, MongoDB 4.0, or MongoDB 4.2. In addition, the instance uses local disks to store data.

  • The storage engine of the instance is WiredTiger.

@param request - DescribeBackupDBsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBackupDBsResponse

func (*Client) DescribeBackupPolicy

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

Summary:

Queries the backup policy of an ApsaraDB for MongoDB instance.

@param request - DescribeBackupPolicyRequest

@return DescribeBackupPolicyResponse

func (*Client) DescribeBackupPolicyWithOptions

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

Summary:

Queries the backup policy of an ApsaraDB for MongoDB instance.

@param request - DescribeBackupPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBackupPolicyResponse

func (*Client) DescribeBackupStorage

func (client *Client) DescribeBackupStorage(request *DescribeBackupStorageRequest) (_result *DescribeBackupStorageResponse, _err error)

Summary:

Queries the storage used for backup in an ApsaraDB for MongoDB replica set or sharded cluster instance that uses cloud disks. Note that you are charged only for the backup-used storage of each shard in a sharded cluster instance. You can call this operation only to query the storage used by a single shard in the instance for backup.

@param request - DescribeBackupStorageRequest

@return DescribeBackupStorageResponse

func (*Client) DescribeBackupStorageWithOptions

func (client *Client) DescribeBackupStorageWithOptions(request *DescribeBackupStorageRequest, runtime *util.RuntimeOptions) (_result *DescribeBackupStorageResponse, _err error)

Summary:

Queries the storage used for backup in an ApsaraDB for MongoDB replica set or sharded cluster instance that uses cloud disks. Note that you are charged only for the backup-used storage of each shard in a sharded cluster instance. You can call this operation only to query the storage used by a single shard in the instance for backup.

@param request - DescribeBackupStorageRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBackupStorageResponse

func (*Client) DescribeBackupTasks

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

Summary:

Queries backup tasks running in an ApsaraDB for MongoDB replica set or sharded cluster instance that uses cloud disks.

@param request - DescribeBackupTasksRequest

@return DescribeBackupTasksResponse

func (*Client) DescribeBackupTasksWithOptions

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

Summary:

Queries backup tasks running in an ApsaraDB for MongoDB replica set or sharded cluster instance that uses cloud disks.

@param request - DescribeBackupTasksRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBackupTasksResponse

func (*Client) DescribeBackups

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

Summary:

Queries the backup sets of an ApsaraDB for MongoDB instance.

@param request - DescribeBackupsRequest

@return DescribeBackupsResponse

func (*Client) DescribeBackupsWithOptions

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

Summary:

Queries the backup sets of an ApsaraDB for MongoDB instance.

@param request - DescribeBackupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBackupsResponse

func (*Client) DescribeClusterBackups

func (client *Client) DescribeClusterBackups(request *DescribeClusterBackupsRequest) (_result *DescribeClusterBackupsResponse, _err error)

Summary:

Queries the backup sets of an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

Description:

For a sharded cluster instance that is created before October 19, 2023 and uses cloud disks, you must call the [TransferClusterBackup](https://help.aliyun.com/document_detail/2587931.html) operation to switch the instance from the shard backup mode to the cluster backup mode before you call the DescribeClusterBackups operation.

By default, cloud disk-based sharded cluster instances that are created after October 19, 2023 are in the cluster backup mode.

@param request - DescribeClusterBackupsRequest

@return DescribeClusterBackupsResponse

func (*Client) DescribeClusterBackupsWithOptions

func (client *Client) DescribeClusterBackupsWithOptions(request *DescribeClusterBackupsRequest, runtime *util.RuntimeOptions) (_result *DescribeClusterBackupsResponse, _err error)

Summary:

Queries the backup sets of an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

Description:

For a sharded cluster instance that is created before October 19, 2023 and uses cloud disks, you must call the [TransferClusterBackup](https://help.aliyun.com/document_detail/2587931.html) operation to switch the instance from the shard backup mode to the cluster backup mode before you call the DescribeClusterBackups operation.

By default, cloud disk-based sharded cluster instances that are created after October 19, 2023 are in the cluster backup mode.

@param request - DescribeClusterBackupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeClusterBackupsResponse

func (*Client) DescribeClusterRecoverTime

func (client *Client) DescribeClusterRecoverTime(request *DescribeClusterRecoverTimeRequest) (_result *DescribeClusterRecoverTimeResponse, _err error)

Summary:

Queries the time range to which you can restore the data of an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

Description:

  The instance is an ApsaraDB for MongoDB sharded cluster instance that runs MongoDB 4.4 or later and uses enhanced SSDs (ESSDs) to store data.

	- You can call the TransferClusterBackup operation only for instances that are created before October 19, 2023 to switch the instances to the cluster backup mode. The DescribeClusterRecoverTime operation is applicable only to instances that are switched to the cluster backup mode or instances that are created on or after October 19, 2023.

@param request - DescribeClusterRecoverTimeRequest

@return DescribeClusterRecoverTimeResponse

func (*Client) DescribeClusterRecoverTimeWithOptions

func (client *Client) DescribeClusterRecoverTimeWithOptions(request *DescribeClusterRecoverTimeRequest, runtime *util.RuntimeOptions) (_result *DescribeClusterRecoverTimeResponse, _err error)

Summary:

Queries the time range to which you can restore the data of an ApsaraDB for MongoDB sharded cluster instance that uses cloud disks.

Description:

  The instance is an ApsaraDB for MongoDB sharded cluster instance that runs MongoDB 4.4 or later and uses enhanced SSDs (ESSDs) to store data.

	- You can call the TransferClusterBackup operation only for instances that are created before October 19, 2023 to switch the instances to the cluster backup mode. The DescribeClusterRecoverTime operation is applicable only to instances that are switched to the cluster backup mode or instances that are created on or after October 19, 2023.

@param request - DescribeClusterRecoverTimeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeClusterRecoverTimeResponse

func (*Client) DescribeDBInstanceAttribute

func (client *Client) DescribeDBInstanceAttribute(request *DescribeDBInstanceAttributeRequest) (_result *DescribeDBInstanceAttributeResponse, _err error)

Summary:

Queries the details of an ApsaraDB for MongoDB instance.

@param request - DescribeDBInstanceAttributeRequest

@return DescribeDBInstanceAttributeResponse

func (*Client) DescribeDBInstanceAttributeWithOptions

func (client *Client) DescribeDBInstanceAttributeWithOptions(request *DescribeDBInstanceAttributeRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceAttributeResponse, _err error)

Summary:

Queries the details of an ApsaraDB for MongoDB instance.

@param request - DescribeDBInstanceAttributeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstanceAttributeResponse

func (*Client) DescribeDBInstanceEncryptionKey

func (client *Client) DescribeDBInstanceEncryptionKey(request *DescribeDBInstanceEncryptionKeyRequest) (_result *DescribeDBInstanceEncryptionKeyResponse, _err error)

Summary:

Queries the details of a key for an ApsaraDB for MongoDB instance.

Description:

When you call the DescribeDBInstanceEncryptionKey operation, the instance must have transparent data encryption (TDE) enabled in BYOK mode. You can call the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation to enable TDE.

@param request - DescribeDBInstanceEncryptionKeyRequest

@return DescribeDBInstanceEncryptionKeyResponse

func (*Client) DescribeDBInstanceEncryptionKeyWithOptions

func (client *Client) DescribeDBInstanceEncryptionKeyWithOptions(request *DescribeDBInstanceEncryptionKeyRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceEncryptionKeyResponse, _err error)

Summary:

Queries the details of a key for an ApsaraDB for MongoDB instance.

Description:

When you call the DescribeDBInstanceEncryptionKey operation, the instance must have transparent data encryption (TDE) enabled in BYOK mode. You can call the [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html) operation to enable TDE.

@param request - DescribeDBInstanceEncryptionKeyRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstanceEncryptionKeyResponse

func (*Client) DescribeDBInstanceMonitor

func (client *Client) DescribeDBInstanceMonitor(request *DescribeDBInstanceMonitorRequest) (_result *DescribeDBInstanceMonitorResponse, _err error)

Summary:

Queries the collection frequency of monitoring data for an ApsaraDB for MongoDB instance.

@param request - DescribeDBInstanceMonitorRequest

@return DescribeDBInstanceMonitorResponse

func (*Client) DescribeDBInstanceMonitorWithOptions

func (client *Client) DescribeDBInstanceMonitorWithOptions(request *DescribeDBInstanceMonitorRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceMonitorResponse, _err error)

Summary:

Queries the collection frequency of monitoring data for an ApsaraDB for MongoDB instance.

@param request - DescribeDBInstanceMonitorRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstanceMonitorResponse

func (*Client) DescribeDBInstancePerformance

func (client *Client) DescribeDBInstancePerformance(request *DescribeDBInstancePerformanceRequest) (_result *DescribeDBInstancePerformanceResponse, _err error)

Summary:

Queries the performance data of an ApsaraDB for MongoDB instance.

@param request - DescribeDBInstancePerformanceRequest

@return DescribeDBInstancePerformanceResponse

func (*Client) DescribeDBInstancePerformanceWithOptions

func (client *Client) DescribeDBInstancePerformanceWithOptions(request *DescribeDBInstancePerformanceRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancePerformanceResponse, _err error)

Summary:

Queries the performance data of an ApsaraDB for MongoDB instance.

@param request - DescribeDBInstancePerformanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstancePerformanceResponse

func (*Client) DescribeDBInstanceSSL

func (client *Client) DescribeDBInstanceSSL(request *DescribeDBInstanceSSLRequest) (_result *DescribeDBInstanceSSLResponse, _err error)

Summary:

Queries the Secure Sockets Layer (SSL) settings of an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the following requirements are met:

  • The instance is in the Running state.

  • The instance is a replica set instance.

  • The instance runs MongoDB 3.4 or later.

@param request - DescribeDBInstanceSSLRequest

@return DescribeDBInstanceSSLResponse

func (*Client) DescribeDBInstanceSSLWithOptions

func (client *Client) DescribeDBInstanceSSLWithOptions(request *DescribeDBInstanceSSLRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceSSLResponse, _err error)

Summary:

Queries the Secure Sockets Layer (SSL) settings of an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the following requirements are met:

  • The instance is in the Running state.

  • The instance is a replica set instance.

  • The instance runs MongoDB 3.4 or later.

@param request - DescribeDBInstanceSSLRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstanceSSLResponse

func (*Client) DescribeDBInstanceSwitchLog

func (client *Client) DescribeDBInstanceSwitchLog(request *DescribeDBInstanceSwitchLogRequest) (_result *DescribeDBInstanceSwitchLogResponse, _err error)

Summary:

Queries the primary/secondary switching logs of an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is a replica set or sharded cluster instance.

  • The instance uses local physical disks to store data.

@param request - DescribeDBInstanceSwitchLogRequest

@return DescribeDBInstanceSwitchLogResponse

func (*Client) DescribeDBInstanceSwitchLogWithOptions

func (client *Client) DescribeDBInstanceSwitchLogWithOptions(request *DescribeDBInstanceSwitchLogRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceSwitchLogResponse, _err error)

Summary:

Queries the primary/secondary switching logs of an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is a replica set or sharded cluster instance.

  • The instance uses local physical disks to store data.

@param request - DescribeDBInstanceSwitchLogRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstanceSwitchLogResponse

func (*Client) DescribeDBInstanceTDEInfo

func (client *Client) DescribeDBInstanceTDEInfo(request *DescribeDBInstanceTDEInfoRequest) (_result *DescribeDBInstanceTDEInfoResponse, _err error)

Summary:

Queries whether Transparent Data Encryption (TDE) is enabled for an ApsaraDB for MongoDB instance.

Description:

> For more information about TDE, see [TDE](https://help.aliyun.com/document_detail/131048.html).

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is a replica set or sharded cluster instance.

  • The storage engine of the instance is WiredTiger.

  • The database engine version of the instance is 4.0 or 4.2. If the database engine version is earlier than 4.0, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine.

@param request - DescribeDBInstanceTDEInfoRequest

@return DescribeDBInstanceTDEInfoResponse

func (*Client) DescribeDBInstanceTDEInfoWithOptions

func (client *Client) DescribeDBInstanceTDEInfoWithOptions(request *DescribeDBInstanceTDEInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceTDEInfoResponse, _err error)

Summary:

Queries whether Transparent Data Encryption (TDE) is enabled for an ApsaraDB for MongoDB instance.

Description:

> For more information about TDE, see [TDE](https://help.aliyun.com/document_detail/131048.html).

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is a replica set or sharded cluster instance.

  • The storage engine of the instance is WiredTiger.

  • The database engine version of the instance is 4.0 or 4.2. If the database engine version is earlier than 4.0, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine.

@param request - DescribeDBInstanceTDEInfoRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstanceTDEInfoResponse

func (*Client) DescribeDBInstances

func (client *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (_result *DescribeDBInstancesResponse, _err error)

Summary:

Queries a list of ApsaraDB for MongoDB instances.

Description:

The list of replica set and standalone instances is displayed when the **DBInstanceType* - parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType* - parameter to **sharding**.

@param request - DescribeDBInstancesRequest

@return DescribeDBInstancesResponse

func (*Client) DescribeDBInstancesOverview

func (client *Client) DescribeDBInstancesOverview(request *DescribeDBInstancesOverviewRequest) (_result *DescribeDBInstancesOverviewResponse, _err error)

Summary:

Queries the overview information of one or more ApsaraDB for MongoDB instances.

Description:

  If you do not specify an instance when you call this operation, the overview information of all instances in a specific region within this account is returned.

	- Paged query is disabled for this operation.

@param request - DescribeDBInstancesOverviewRequest

@return DescribeDBInstancesOverviewResponse

func (*Client) DescribeDBInstancesOverviewWithOptions

func (client *Client) DescribeDBInstancesOverviewWithOptions(request *DescribeDBInstancesOverviewRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancesOverviewResponse, _err error)

Summary:

Queries the overview information of one or more ApsaraDB for MongoDB instances.

Description:

  If you do not specify an instance when you call this operation, the overview information of all instances in a specific region within this account is returned.

	- Paged query is disabled for this operation.

@param request - DescribeDBInstancesOverviewRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstancesOverviewResponse

func (*Client) DescribeDBInstancesWithOptions

func (client *Client) DescribeDBInstancesWithOptions(request *DescribeDBInstancesRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancesResponse, _err error)

Summary:

Queries a list of ApsaraDB for MongoDB instances.

Description:

The list of replica set and standalone instances is displayed when the **DBInstanceType* - parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType* - parameter to **sharding**.

@param request - DescribeDBInstancesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDBInstancesResponse

func (*Client) DescribeErrorLogRecords

func (client *Client) DescribeErrorLogRecords(request *DescribeErrorLogRecordsRequest) (_result *DescribeErrorLogRecordsResponse, _err error)

Summary:

Queries entries in error logs of an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeErrorLogRecordsRequest

@return DescribeErrorLogRecordsResponse

func (*Client) DescribeErrorLogRecordsWithOptions

func (client *Client) DescribeErrorLogRecordsWithOptions(request *DescribeErrorLogRecordsRequest, runtime *util.RuntimeOptions) (_result *DescribeErrorLogRecordsResponse, _err error)

Summary:

Queries entries in error logs of an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeErrorLogRecordsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeErrorLogRecordsResponse

func (*Client) DescribeGlobalSecurityIPGroup

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

Summary:

Queries the global IP whitelist template of an ApsaraDB for MongoDB instance.

@param request - DescribeGlobalSecurityIPGroupRequest

@return DescribeGlobalSecurityIPGroupResponse

func (*Client) DescribeGlobalSecurityIPGroupRelation

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

Summary:

Queries the global IP whitelist templates associated with an ApsaraDB for MongoDB instance.

@param request - DescribeGlobalSecurityIPGroupRelationRequest

@return DescribeGlobalSecurityIPGroupRelationResponse

func (*Client) DescribeGlobalSecurityIPGroupRelationWithOptions

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

Summary:

Queries the global IP whitelist templates associated with an ApsaraDB for MongoDB instance.

@param request - DescribeGlobalSecurityIPGroupRelationRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeGlobalSecurityIPGroupRelationResponse

func (*Client) DescribeGlobalSecurityIPGroupWithOptions

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

Summary:

Queries the global IP whitelist template of an ApsaraDB for MongoDB instance.

@param request - DescribeGlobalSecurityIPGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeGlobalSecurityIPGroupResponse

func (*Client) DescribeHistoryTasks

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

Summary:

Queries a list of tasks in the task center.

@param request - DescribeHistoryTasksRequest

@return DescribeHistoryTasksResponse

func (*Client) DescribeHistoryTasksStat

func (client *Client) DescribeHistoryTasksStat(request *DescribeHistoryTasksStatRequest) (_result *DescribeHistoryTasksStatResponse, _err error)

Summary:

Queries the overview of a task in the task center.

@param request - DescribeHistoryTasksStatRequest

@return DescribeHistoryTasksStatResponse

func (*Client) DescribeHistoryTasksStatWithOptions

func (client *Client) DescribeHistoryTasksStatWithOptions(request *DescribeHistoryTasksStatRequest, runtime *util.RuntimeOptions) (_result *DescribeHistoryTasksStatResponse, _err error)

Summary:

Queries the overview of a task in the task center.

@param request - DescribeHistoryTasksStatRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHistoryTasksStatResponse

func (*Client) DescribeHistoryTasksWithOptions

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

Summary:

Queries a list of tasks in the task center.

@param request - DescribeHistoryTasksRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHistoryTasksResponse

func (*Client) DescribeInstanceAutoRenewalAttribute

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

Summary:

You can call this operation to query whether auto-renewal is enabled for an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to subscription instances.

@param request - DescribeInstanceAutoRenewalAttributeRequest

@return DescribeInstanceAutoRenewalAttributeResponse

func (*Client) DescribeInstanceAutoRenewalAttributeWithOptions

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

Summary:

You can call this operation to query whether auto-renewal is enabled for an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to subscription instances.

@param request - DescribeInstanceAutoRenewalAttributeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeInstanceAutoRenewalAttributeResponse

func (*Client) DescribeInstanceRecoverTime

func (client *Client) DescribeInstanceRecoverTime(request *DescribeInstanceRecoverTimeRequest) (_result *DescribeInstanceRecoverTimeResponse, _err error)

Summary:

Queries the time required to restore the data of an ApsaraDB for MongoDB replica set instance that uses cloud disks.

@param request - DescribeInstanceRecoverTimeRequest

@return DescribeInstanceRecoverTimeResponse

func (*Client) DescribeInstanceRecoverTimeWithOptions

func (client *Client) DescribeInstanceRecoverTimeWithOptions(request *DescribeInstanceRecoverTimeRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceRecoverTimeResponse, _err error)

Summary:

Queries the time required to restore the data of an ApsaraDB for MongoDB replica set instance that uses cloud disks.

@param request - DescribeInstanceRecoverTimeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeInstanceRecoverTimeResponse

func (*Client) DescribeKernelReleaseNotes

func (client *Client) DescribeKernelReleaseNotes(request *DescribeKernelReleaseNotesRequest) (_result *DescribeKernelReleaseNotesResponse, _err error)

Summary:

Queries the release notes of the minor versions of an ApsaraDB for MongoDB instance.

@param request - DescribeKernelReleaseNotesRequest

@return DescribeKernelReleaseNotesResponse

func (*Client) DescribeKernelReleaseNotesWithOptions

func (client *Client) DescribeKernelReleaseNotesWithOptions(request *DescribeKernelReleaseNotesRequest, runtime *util.RuntimeOptions) (_result *DescribeKernelReleaseNotesResponse, _err error)

Summary:

Queries the release notes of the minor versions of an ApsaraDB for MongoDB instance.

@param request - DescribeKernelReleaseNotesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeKernelReleaseNotesResponse

func (*Client) DescribeKmsKeys

func (client *Client) DescribeKmsKeys(request *DescribeKmsKeysRequest) (_result *DescribeKmsKeysResponse, _err error)

Summary:

Queries Key Management Service (KMS) keys that are available for disk encryption.

Description:

Queried keys are available only for disk encryption.

@param request - DescribeKmsKeysRequest

@return DescribeKmsKeysResponse

func (*Client) DescribeKmsKeysWithOptions

func (client *Client) DescribeKmsKeysWithOptions(request *DescribeKmsKeysRequest, runtime *util.RuntimeOptions) (_result *DescribeKmsKeysResponse, _err error)

Summary:

Queries Key Management Service (KMS) keys that are available for disk encryption.

Description:

Queried keys are available only for disk encryption.

@param request - DescribeKmsKeysRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeKmsKeysResponse

func (*Client) DescribeMongoDBLogConfig

func (client *Client) DescribeMongoDBLogConfig(request *DescribeMongoDBLogConfigRequest) (_result *DescribeMongoDBLogConfigResponse, _err error)

Summary:

Queries the logging configurations of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable only to **general-purpose local-disk* - and **dedicated local-disk* - instances.

This operation depends on the audit log feature of ApsaraDB for MongoDB. You can enable the audit log feature based on your business requirements. For more information, see [Enable the audit log feature](https://help.aliyun.com/document_detail/59903.html).

  • Starting from January 6, 2022, the official edition of the audit log feature has been launched in all regions, and new applications for the free trial edition have ended. For more information, see [Notice on official launch of the pay-as-you-go audit log feature and no more application for the free trial edition](https://help.aliyun.com/document_detail/377480.html)

  • You are charged for the official edition of the audit log feature based on the storage capacity that is consumed by audit logs and the retention period of the audit logs. For more information, see [Pricing of ApsaraDB for MongoDB instances](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

@param request - DescribeMongoDBLogConfigRequest

@return DescribeMongoDBLogConfigResponse

func (*Client) DescribeMongoDBLogConfigWithOptions

func (client *Client) DescribeMongoDBLogConfigWithOptions(request *DescribeMongoDBLogConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeMongoDBLogConfigResponse, _err error)

Summary:

Queries the logging configurations of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable only to **general-purpose local-disk* - and **dedicated local-disk* - instances.

This operation depends on the audit log feature of ApsaraDB for MongoDB. You can enable the audit log feature based on your business requirements. For more information, see [Enable the audit log feature](https://help.aliyun.com/document_detail/59903.html).

  • Starting from January 6, 2022, the official edition of the audit log feature has been launched in all regions, and new applications for the free trial edition have ended. For more information, see [Notice on official launch of the pay-as-you-go audit log feature and no more application for the free trial edition](https://help.aliyun.com/document_detail/377480.html)

  • You are charged for the official edition of the audit log feature based on the storage capacity that is consumed by audit logs and the retention period of the audit logs. For more information, see [Pricing of ApsaraDB for MongoDB instances](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

@param request - DescribeMongoDBLogConfigRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeMongoDBLogConfigResponse

func (*Client) DescribeParameterModificationHistory

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

Summary:

Queries the parameter modification records of an ApsaraDB for MongoDB instance.

@param request - DescribeParameterModificationHistoryRequest

@return DescribeParameterModificationHistoryResponse

func (*Client) DescribeParameterModificationHistoryWithOptions

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

Summary:

Queries the parameter modification records of an ApsaraDB for MongoDB instance.

@param request - DescribeParameterModificationHistoryRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeParameterModificationHistoryResponse

func (*Client) DescribeParameterTemplates

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

Summary:

Queries the list of default parameter templates for ApsaraDB for MongoDB instances.

@param request - DescribeParameterTemplatesRequest

@return DescribeParameterTemplatesResponse

func (*Client) DescribeParameterTemplatesWithOptions

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

Summary:

Queries the list of default parameter templates for ApsaraDB for MongoDB instances.

@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)

Summary:

Queries the parameter settings of an ApsaraDB for MongoDB instance.

@param request - DescribeParametersRequest

@return DescribeParametersResponse

func (*Client) DescribeParametersWithOptions

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

Summary:

Queries the parameter settings of an ApsaraDB for MongoDB instance.

@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)

Summary:

Queries the fees incurred when you create, upgrade, or renew an ApsaraDB for MongoDB instance.

@param request - DescribePriceRequest

@return DescribePriceResponse

func (*Client) DescribePriceWithOptions

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

Summary:

Queries the fees incurred when you create, upgrade, or renew an ApsaraDB for MongoDB instance.

@param request - DescribePriceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribePriceResponse

func (*Client) DescribeRegions

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

Summary:

Queries all regions and zones supported for an ApsaraDB for MongoDB instance.

Description:

> To query available regions and zones in which an ApsaraDB for MongoDB instance can be created, call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/149719.html) operation.

@param request - DescribeRegionsRequest

@return DescribeRegionsResponse

func (*Client) DescribeRegionsWithOptions

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

Summary:

Queries all regions and zones supported for an ApsaraDB for MongoDB instance.

Description:

> To query available regions and zones in which an ApsaraDB for MongoDB instance can be created, call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/149719.html) operation.

@param request - DescribeRegionsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRegionsResponse

func (*Client) DescribeRenewalPrice

func (client *Client) DescribeRenewalPrice(request *DescribeRenewalPriceRequest) (_result *DescribeRenewalPriceResponse, _err error)

Summary:

Queries the monthly renewal price of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to subscription instances.

@param request - DescribeRenewalPriceRequest

@return DescribeRenewalPriceResponse

func (*Client) DescribeRenewalPriceWithOptions

func (client *Client) DescribeRenewalPriceWithOptions(request *DescribeRenewalPriceRequest, runtime *util.RuntimeOptions) (_result *DescribeRenewalPriceResponse, _err error)

Summary:

Queries the monthly renewal price of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to subscription instances.

@param request - DescribeRenewalPriceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRenewalPriceResponse

func (*Client) DescribeReplicaSetRole

func (client *Client) DescribeReplicaSetRole(request *DescribeReplicaSetRoleRequest) (_result *DescribeReplicaSetRoleResponse, _err error)

Summary:

Queries the role and connection information of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to replica set instances and standalone instances, but not to sharded cluster instances.

@param request - DescribeReplicaSetRoleRequest

@return DescribeReplicaSetRoleResponse

func (*Client) DescribeReplicaSetRoleWithOptions

func (client *Client) DescribeReplicaSetRoleWithOptions(request *DescribeReplicaSetRoleRequest, runtime *util.RuntimeOptions) (_result *DescribeReplicaSetRoleResponse, _err error)

Summary:

Queries the role and connection information of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to replica set instances and standalone instances, but not to sharded cluster instances.

@param request - DescribeReplicaSetRoleRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeReplicaSetRoleResponse

func (*Client) DescribeRestoreDBInstanceList added in v9.1.0

func (client *Client) DescribeRestoreDBInstanceList(request *DescribeRestoreDBInstanceListRequest) (_result *DescribeRestoreDBInstanceListResponse, _err error)

Summary:

Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.

@param request - DescribeRestoreDBInstanceListRequest

@return DescribeRestoreDBInstanceListResponse

func (*Client) DescribeRestoreDBInstanceListWithOptions added in v9.1.0

func (client *Client) DescribeRestoreDBInstanceListWithOptions(request *DescribeRestoreDBInstanceListRequest, runtime *util.RuntimeOptions) (_result *DescribeRestoreDBInstanceListResponse, _err error)

Summary:

Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.

@param request - DescribeRestoreDBInstanceListRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRestoreDBInstanceListResponse

func (*Client) DescribeRoleZoneInfo

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

Summary:

Queries the role and zone of each node in an ApsaraDB for MongoDB instance.

Description:

> For more information, see [View the zone of a node](https://help.aliyun.com/document_detail/123825.html).

This operation is applicable to replica set instances and sharded cluster instances, but cannot be performed on standalone instances.

@param request - DescribeRoleZoneInfoRequest

@return DescribeRoleZoneInfoResponse

func (*Client) DescribeRoleZoneInfoWithOptions

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

Summary:

Queries the role and zone of each node in an ApsaraDB for MongoDB instance.

Description:

> For more information, see [View the zone of a node](https://help.aliyun.com/document_detail/123825.html).

This operation is applicable to replica set instances and sharded cluster instances, but cannot be performed on standalone instances.

@param request - DescribeRoleZoneInfoRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRoleZoneInfoResponse

func (*Client) DescribeRunningLogRecords

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

Summary:

Queries entries in operational logs of an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeRunningLogRecordsRequest

@return DescribeRunningLogRecordsResponse

func (*Client) DescribeRunningLogRecordsWithOptions

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

Summary:

Queries entries in operational logs of an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@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)

Summary:

You can call this operation to query ECS security groups that are bound to an ApsaraDB for MongoDB instance.

@param request - DescribeSecurityGroupConfigurationRequest

@return DescribeSecurityGroupConfigurationResponse

func (*Client) DescribeSecurityGroupConfigurationWithOptions

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

Summary:

You can call this operation to query ECS security groups that are bound to an ApsaraDB for MongoDB instance.

@param request - DescribeSecurityGroupConfigurationRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSecurityGroupConfigurationResponse

func (*Client) DescribeSecurityIps

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

Summary:

You can call this operation to query the IP whitelists of an ApsaraDB for MongoDB instance.

@param request - DescribeSecurityIpsRequest

@return DescribeSecurityIpsResponse

func (*Client) DescribeSecurityIpsWithOptions

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

Summary:

You can call this operation to query the IP whitelists of an ApsaraDB for MongoDB instance.

@param request - DescribeSecurityIpsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSecurityIpsResponse

func (*Client) DescribeShardingNetworkAddress

func (client *Client) DescribeShardingNetworkAddress(request *DescribeShardingNetworkAddressRequest) (_result *DescribeShardingNetworkAddressResponse, _err error)

Summary:

Queries connection information about an ApsaraDB for MongoDB sharded cluster instance.

Description:

This operation is applicable only to sharded cluster instances.

@param request - DescribeShardingNetworkAddressRequest

@return DescribeShardingNetworkAddressResponse

func (*Client) DescribeShardingNetworkAddressWithOptions

func (client *Client) DescribeShardingNetworkAddressWithOptions(request *DescribeShardingNetworkAddressRequest, runtime *util.RuntimeOptions) (_result *DescribeShardingNetworkAddressResponse, _err error)

Summary:

Queries connection information about an ApsaraDB for MongoDB sharded cluster instance.

Description:

This operation is applicable only to sharded cluster instances.

@param request - DescribeShardingNetworkAddressRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeShardingNetworkAddressResponse

func (*Client) DescribeSlowLogRecords

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

Summary:

Queries the details of entries in slow query logs of an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeSlowLogRecordsRequest

@return DescribeSlowLogRecordsResponse

func (*Client) DescribeSlowLogRecordsWithOptions

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

Summary:

Queries the details of entries in slow query logs of an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - DescribeSlowLogRecordsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSlowLogRecordsResponse

func (*Client) DescribeTags

func (client *Client) DescribeTags(request *DescribeTagsRequest) (_result *DescribeTagsResponse, _err error)

Summary:

Queries all tags in a specified region.

@param request - DescribeTagsRequest

@return DescribeTagsResponse

func (*Client) DescribeTagsWithOptions

func (client *Client) DescribeTagsWithOptions(request *DescribeTagsRequest, runtime *util.RuntimeOptions) (_result *DescribeTagsResponse, _err error)

Summary:

Queries all tags in a specified region.

@param request - DescribeTagsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeTagsResponse

func (*Client) DescribeUserEncryptionKeyList

func (client *Client) DescribeUserEncryptionKeyList(request *DescribeUserEncryptionKeyListRequest) (_result *DescribeUserEncryptionKeyListResponse, _err error)

Summary:

Queries the list of custom keys for an ApsaraDB for MongoDB instance.

Description:

You can use the custom key obtained by calling the DescribeUserEncryptionKeyList operation to enable TDE. For more information, see [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html).

@param request - DescribeUserEncryptionKeyListRequest

@return DescribeUserEncryptionKeyListResponse

func (*Client) DescribeUserEncryptionKeyListWithOptions

func (client *Client) DescribeUserEncryptionKeyListWithOptions(request *DescribeUserEncryptionKeyListRequest, runtime *util.RuntimeOptions) (_result *DescribeUserEncryptionKeyListResponse, _err error)

Summary:

Queries the list of custom keys for an ApsaraDB for MongoDB instance.

Description:

You can use the custom key obtained by calling the DescribeUserEncryptionKeyList operation to enable TDE. For more information, see [ModifyDBInstanceTDE](https://help.aliyun.com/document_detail/131267.html).

@param request - DescribeUserEncryptionKeyListRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserEncryptionKeyListResponse

func (*Client) DestroyInstance

func (client *Client) DestroyInstance(request *DestroyInstanceRequest) (_result *DestroyInstanceResponse, _err error)

Summary:

Destroys an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is a replica set instance or a sharded cluster instance that uses local disks.

  • The billing method of the instance is subscription.

  • The instance has expired and is in the **Locking* - state.

**

**Warning* - Data cannot be restored after the instance is destroyed. Proceed with caution.

@param request - DestroyInstanceRequest

@return DestroyInstanceResponse

func (*Client) DestroyInstanceWithOptions

func (client *Client) DestroyInstanceWithOptions(request *DestroyInstanceRequest, runtime *util.RuntimeOptions) (_result *DestroyInstanceResponse, _err error)

Summary:

Destroys an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is a replica set instance or a sharded cluster instance that uses local disks.

  • The billing method of the instance is subscription.

  • The instance has expired and is in the **Locking* - state.

**

**Warning* - Data cannot be restored after the instance is destroyed. Proceed with caution.

@param request - DestroyInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DestroyInstanceResponse

func (*Client) EvaluateResource

func (client *Client) EvaluateResource(request *EvaluateResourceRequest) (_result *EvaluateResourceResponse, _err error)

Summary:

Checks whether sufficient resources are available in a region in which you want to create or upgrade an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to replica set instances and sharded cluster instances. You can call this operation to check whether resources are sufficient for creating an instance, upgrading a replica set or sharded cluster instance, or upgrading a single node of the sharded cluster instance.

> You can call this operation a maximum of 200 times per minute.

@param request - EvaluateResourceRequest

@return EvaluateResourceResponse

func (*Client) EvaluateResourceWithOptions

func (client *Client) EvaluateResourceWithOptions(request *EvaluateResourceRequest, runtime *util.RuntimeOptions) (_result *EvaluateResourceResponse, _err error)

Summary:

Checks whether sufficient resources are available in a region in which you want to create or upgrade an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to replica set instances and sharded cluster instances. You can call this operation to check whether resources are sufficient for creating an instance, upgrading a replica set or sharded cluster instance, or upgrading a single node of the sharded cluster instance.

> You can call this operation a maximum of 200 times per minute.

@param request - EvaluateResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return EvaluateResourceResponse

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) Init

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

func (*Client) ListTagResources

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

Summary:

Queries the relationship between ApsaraDB for MongoDB instances and tags.

@param request - ListTagResourcesRequest

@return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

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

Summary:

Queries the relationship between ApsaraDB for MongoDB instances and tags.

@param request - ListTagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListTagResourcesResponse

func (*Client) MigrateAvailableZone

func (client *Client) MigrateAvailableZone(request *MigrateAvailableZoneRequest) (_result *MigrateAvailableZoneResponse, _err error)

Summary:

Migrates an ApsaraDB for MongoDB instance to a specific zone.

Description:

  This operation is available only for replica set instances that run MongoDB 4.2 or earlier and sharded cluster instances.

	- If you have applied for a public endpoint for the ApsaraDB for MongoDB instance, you must call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint before you call the MigrateAvailableZone operation.

	- Transparent data encryption (TDE) is disabled for the ApsaraDB for MongoDB instance.

	- The source zone and the destination zone belong to the same region.

	- A vSwitch is created in the destination zone. This prerequisite must be met if the instance resides in a virtual private cloud (VPC). For more information about how to create a vSwitch, see [Work with vSwitches](https://help.aliyun.com/document_detail/65387.html).

@param request - MigrateAvailableZoneRequest

@return MigrateAvailableZoneResponse

func (*Client) MigrateAvailableZoneWithOptions

func (client *Client) MigrateAvailableZoneWithOptions(request *MigrateAvailableZoneRequest, runtime *util.RuntimeOptions) (_result *MigrateAvailableZoneResponse, _err error)

Summary:

Migrates an ApsaraDB for MongoDB instance to a specific zone.

Description:

  This operation is available only for replica set instances that run MongoDB 4.2 or earlier and sharded cluster instances.

	- If you have applied for a public endpoint for the ApsaraDB for MongoDB instance, you must call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint before you call the MigrateAvailableZone operation.

	- Transparent data encryption (TDE) is disabled for the ApsaraDB for MongoDB instance.

	- The source zone and the destination zone belong to the same region.

	- A vSwitch is created in the destination zone. This prerequisite must be met if the instance resides in a virtual private cloud (VPC). For more information about how to create a vSwitch, see [Work with vSwitches](https://help.aliyun.com/document_detail/65387.html).

@param request - MigrateAvailableZoneRequest

@param runtime - runtime options for this request RuntimeOptions

@return MigrateAvailableZoneResponse

func (*Client) MigrateToOtherZone

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

Summary:

You can call this operation to migrate an ApsaraDB for MongoDB instance to another zone.

Description:

This operation is applicable only to replica set instances, but not to standalone instances or sharded cluster instances.

> If you have applied for a public endpoint of the instance, you must first call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint.

@param request - MigrateToOtherZoneRequest

@return MigrateToOtherZoneResponse

func (*Client) MigrateToOtherZoneWithOptions

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

Summary:

You can call this operation to migrate an ApsaraDB for MongoDB instance to another zone.

Description:

This operation is applicable only to replica set instances, but not to standalone instances or sharded cluster instances.

> If you have applied for a public endpoint of the instance, you must first call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation to release the public endpoint.

@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)

Summary:

Modifies the description of the root account in an ApsaraDB for MongoDB instance.

@param request - ModifyAccountDescriptionRequest

@return ModifyAccountDescriptionResponse

func (*Client) ModifyAccountDescriptionWithOptions

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

Summary:

Modifies the description of the root account in an ApsaraDB for MongoDB instance.

@param request - ModifyAccountDescriptionRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyAccountDescriptionResponse

func (*Client) ModifyActiveOperationTasks

func (client *Client) ModifyActiveOperationTasks(request *ModifyActiveOperationTasksRequest) (_result *ModifyActiveOperationTasksResponse, _err error)

Summary:

Modifies the switching time of scheduled O\\\\\\&M tasks for an ApsaraDB for MongoDB instance.

@param request - ModifyActiveOperationTasksRequest

@return ModifyActiveOperationTasksResponse

func (*Client) ModifyActiveOperationTasksWithOptions

func (client *Client) ModifyActiveOperationTasksWithOptions(request *ModifyActiveOperationTasksRequest, runtime *util.RuntimeOptions) (_result *ModifyActiveOperationTasksResponse, _err error)

Summary:

Modifies the switching time of scheduled O\\\\\\&M tasks for an ApsaraDB for MongoDB instance.

@param request - ModifyActiveOperationTasksRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyActiveOperationTasksResponse

func (*Client) ModifyAuditLogFilter

func (client *Client) ModifyAuditLogFilter(request *ModifyAuditLogFilterRequest) (_result *ModifyAuditLogFilterResponse, _err error)

Summary:

Queries the types of logs collected by the audit log feature of an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the running state when you call this operation.

	- This operation is applicable only to **general-purpose local-disk*	- or **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - ModifyAuditLogFilterRequest

@return ModifyAuditLogFilterResponse

func (*Client) ModifyAuditLogFilterWithOptions

func (client *Client) ModifyAuditLogFilterWithOptions(request *ModifyAuditLogFilterRequest, runtime *util.RuntimeOptions) (_result *ModifyAuditLogFilterResponse, _err error)

Summary:

Queries the types of logs collected by the audit log feature of an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the running state when you call this operation.

	- This operation is applicable only to **general-purpose local-disk*	- or **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - ModifyAuditLogFilterRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyAuditLogFilterResponse

func (*Client) ModifyAuditPolicy

func (client *Client) ModifyAuditPolicy(request *ModifyAuditPolicyRequest) (_result *ModifyAuditPolicyResponse, _err error)

Summary:

Enables or disables the audit log feature or configures the log storage duration for an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - ModifyAuditPolicyRequest

@return ModifyAuditPolicyResponse

func (*Client) ModifyAuditPolicyWithOptions

func (client *Client) ModifyAuditPolicyWithOptions(request *ModifyAuditPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifyAuditPolicyResponse, _err error)

Summary:

Enables or disables the audit log feature or configures the log storage duration for an ApsaraDB for MongoDB instance.

Description:

  This operation is applicable only to **general-purpose local-disk*	- and **dedicated local-disk*	- instances.

	- You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see [Manage a Logstore](https://help.aliyun.com/document_detail/48990.html).

@param request - ModifyAuditPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyAuditPolicyResponse

func (*Client) ModifyBackupPolicy

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

Summary:

Modifies a backup policy for an ApsaraDB for MongoDB instance.

Description:

Cross-regional backup only supports MongoDB sharded cluster instance and MongoDB replica set.

@param request - ModifyBackupPolicyRequest

@return ModifyBackupPolicyResponse

func (*Client) ModifyBackupPolicyWithOptions

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

Summary:

Modifies a backup policy for an ApsaraDB for MongoDB instance.

Description:

Cross-regional backup only supports MongoDB sharded cluster instance and MongoDB replica set.

@param request - ModifyBackupPolicyRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyBackupPolicyResponse

func (*Client) ModifyDBInstanceConnectionString

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

Summary:

Modifies the endpoint that is used to connect to an ApsaraDB for MongoDB instance.

Description:

You can modify the connection strings and ports of the following instances:

  • You can modify the connection strings of instances that use local or cloud disks.

  • You can only modify the ports of instances that use cloud disks.

@param request - ModifyDBInstanceConnectionStringRequest

@return ModifyDBInstanceConnectionStringResponse

func (*Client) ModifyDBInstanceConnectionStringWithOptions

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

Summary:

Modifies the endpoint that is used to connect to an ApsaraDB for MongoDB instance.

Description:

You can modify the connection strings and ports of the following instances:

  • You can modify the connection strings of instances that use local or cloud disks.

  • You can only modify the ports of instances that use cloud disks.

@param request - ModifyDBInstanceConnectionStringRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceConnectionStringResponse

func (*Client) ModifyDBInstanceDescription

func (client *Client) ModifyDBInstanceDescription(request *ModifyDBInstanceDescriptionRequest) (_result *ModifyDBInstanceDescriptionResponse, _err error)

Summary:

Modifies the name of an ApsaraDB for MongoDB instance.

@param request - ModifyDBInstanceDescriptionRequest

@return ModifyDBInstanceDescriptionResponse

func (*Client) ModifyDBInstanceDescriptionWithOptions

func (client *Client) ModifyDBInstanceDescriptionWithOptions(request *ModifyDBInstanceDescriptionRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceDescriptionResponse, _err error)

Summary:

Modifies the name of an ApsaraDB for MongoDB instance.

@param request - ModifyDBInstanceDescriptionRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceDescriptionResponse

func (*Client) ModifyDBInstanceDiskType

func (client *Client) ModifyDBInstanceDiskType(request *ModifyDBInstanceDiskTypeRequest) (_result *ModifyDBInstanceDiskTypeResponse, _err error)

Summary:

Modifies the disk type of an ApsaraDB for MongoDB instance.

@param request - ModifyDBInstanceDiskTypeRequest

@return ModifyDBInstanceDiskTypeResponse

func (*Client) ModifyDBInstanceDiskTypeWithOptions

func (client *Client) ModifyDBInstanceDiskTypeWithOptions(request *ModifyDBInstanceDiskTypeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceDiskTypeResponse, _err error)

Summary:

Modifies the disk type of an ApsaraDB for MongoDB instance.

@param request - ModifyDBInstanceDiskTypeRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceDiskTypeResponse

func (*Client) ModifyDBInstanceMaintainTime

func (client *Client) ModifyDBInstanceMaintainTime(request *ModifyDBInstanceMaintainTimeRequest) (_result *ModifyDBInstanceMaintainTimeResponse, _err error)

Summary:

Modifies the maintenance window of an ApsaraDB for MongoDB instance.

@param request - ModifyDBInstanceMaintainTimeRequest

@return ModifyDBInstanceMaintainTimeResponse

func (*Client) ModifyDBInstanceMaintainTimeWithOptions

func (client *Client) ModifyDBInstanceMaintainTimeWithOptions(request *ModifyDBInstanceMaintainTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceMaintainTimeResponse, _err error)

Summary:

Modifies the maintenance window of an ApsaraDB for MongoDB instance.

@param request - ModifyDBInstanceMaintainTimeRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceMaintainTimeResponse

func (*Client) ModifyDBInstanceMonitor

func (client *Client) ModifyDBInstanceMonitor(request *ModifyDBInstanceMonitorRequest) (_result *ModifyDBInstanceMonitorResponse, _err error)

Summary:

You can call this operation to set the monitoring granularity for an ApsaraDB for MongoDB instance.

Description:

> This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the feature of adjusting collection intervals of monitoring data.

Before you call this operation, make sure that the following requirements are met:

  • A replica set or sharded cluster instance is used.

  • MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.

@param request - ModifyDBInstanceMonitorRequest

@return ModifyDBInstanceMonitorResponse

func (*Client) ModifyDBInstanceMonitorWithOptions

func (client *Client) ModifyDBInstanceMonitorWithOptions(request *ModifyDBInstanceMonitorRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceMonitorResponse, _err error)

Summary:

You can call this operation to set the monitoring granularity for an ApsaraDB for MongoDB instance.

Description:

> This operation is applicable only to the ApsaraDB for MongoDB console of the previous version due to the change in the feature of adjusting collection intervals of monitoring data.

Before you call this operation, make sure that the following requirements are met:

  • A replica set or sharded cluster instance is used.

  • MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.

@param request - ModifyDBInstanceMonitorRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceMonitorResponse

func (*Client) ModifyDBInstanceNetExpireTime

func (client *Client) ModifyDBInstanceNetExpireTime(request *ModifyDBInstanceNetExpireTimeRequest) (_result *ModifyDBInstanceNetExpireTimeResponse, _err error)

Summary:

Extends the retention period of the classic network endpoint of an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is in the Running state.

  • The network of the instance is in hybrid access mode.

> This operation is supported by replica set instances and sharded cluster instances. This operation is not supported by standalone instances.

@param request - ModifyDBInstanceNetExpireTimeRequest

@return ModifyDBInstanceNetExpireTimeResponse

func (*Client) ModifyDBInstanceNetExpireTimeWithOptions

func (client *Client) ModifyDBInstanceNetExpireTimeWithOptions(request *ModifyDBInstanceNetExpireTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceNetExpireTimeResponse, _err error)

Summary:

Extends the retention period of the classic network endpoint of an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is in the Running state.

  • The network of the instance is in hybrid access mode.

> This operation is supported by replica set instances and sharded cluster instances. This operation is not supported by standalone instances.

@param request - ModifyDBInstanceNetExpireTimeRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceNetExpireTimeResponse

func (*Client) ModifyDBInstanceNetworkType

func (client *Client) ModifyDBInstanceNetworkType(request *ModifyDBInstanceNetworkTypeRequest) (_result *ModifyDBInstanceNetworkTypeResponse, _err error)

Summary:

Changes the network type of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to replica set instances and sharded cluster instances, but not standalone instances. You can call this operation to change the network of an instance from a classic network to a VPC.

@param request - ModifyDBInstanceNetworkTypeRequest

@return ModifyDBInstanceNetworkTypeResponse

func (*Client) ModifyDBInstanceNetworkTypeWithOptions

func (client *Client) ModifyDBInstanceNetworkTypeWithOptions(request *ModifyDBInstanceNetworkTypeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceNetworkTypeResponse, _err error)

Summary:

Changes the network type of an ApsaraDB for MongoDB instance.

Description:

This operation is applicable to replica set instances and sharded cluster instances, but not standalone instances. You can call this operation to change the network of an instance from a classic network to a VPC.

@param request - ModifyDBInstanceNetworkTypeRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceNetworkTypeResponse

func (*Client) ModifyDBInstanceSSL

func (client *Client) ModifyDBInstanceSSL(request *ModifyDBInstanceSSLRequest) (_result *ModifyDBInstanceSSLResponse, _err error)

Summary:

Modifies the SSL settings of an ApsaraDB for MongoDB instance.

Description:

## Usage

Before you call this operation, make sure that the following requirements are met:

  • The instance is in the running state.

  • The instance is a replica set instance.

  • The engine version of the instance is 3.4 or 4.0.

> When you enable or disable SSL encryption or update the SSL certificate, the instance restarts. We recommend that you call this operation during off-peak hours.

@param request - ModifyDBInstanceSSLRequest

@return ModifyDBInstanceSSLResponse

func (*Client) ModifyDBInstanceSSLWithOptions

func (client *Client) ModifyDBInstanceSSLWithOptions(request *ModifyDBInstanceSSLRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceSSLResponse, _err error)

Summary:

Modifies the SSL settings of an ApsaraDB for MongoDB instance.

Description:

## Usage

Before you call this operation, make sure that the following requirements are met:

  • The instance is in the running state.

  • The instance is a replica set instance.

  • The engine version of the instance is 3.4 or 4.0.

> When you enable or disable SSL encryption or update the SSL certificate, the instance restarts. We recommend that you call this operation during off-peak hours.

@param request - ModifyDBInstanceSSLRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceSSLResponse

func (*Client) ModifyDBInstanceSpec

func (client *Client) ModifyDBInstanceSpec(request *ModifyDBInstanceSpecRequest) (_result *ModifyDBInstanceSpecResponse, _err error)

Summary:

Modifies the specifications or storage space of an ApsaraDB for MongoDB standalone, replica set, or serverless instance. Serverless instances are available only on the China site (aliyun.com).

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

This operation applies only to standalone and replica set instances. To modify the specifications of sharded cluster instances, you can call the [ModifyNodeSpec](https://help.aliyun.com/document_detail/61911.html), [CreateNode](https://help.aliyun.com/document_detail/61922.html), [DeleteNode](https://help.aliyun.com/document_detail/61816.html), or [ModifyNodeSpecBatch](https://help.aliyun.com/document_detail/61923.html) operation.

@param request - ModifyDBInstanceSpecRequest

@return ModifyDBInstanceSpecResponse

func (*Client) ModifyDBInstanceSpecWithOptions

func (client *Client) ModifyDBInstanceSpecWithOptions(request *ModifyDBInstanceSpecRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceSpecResponse, _err error)

Summary:

Modifies the specifications or storage space of an ApsaraDB for MongoDB standalone, replica set, or serverless instance. Serverless instances are available only on the China site (aliyun.com).

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

This operation applies only to standalone and replica set instances. To modify the specifications of sharded cluster instances, you can call the [ModifyNodeSpec](https://help.aliyun.com/document_detail/61911.html), [CreateNode](https://help.aliyun.com/document_detail/61922.html), [DeleteNode](https://help.aliyun.com/document_detail/61816.html), or [ModifyNodeSpecBatch](https://help.aliyun.com/document_detail/61923.html) operation.

@param request - ModifyDBInstanceSpecRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceSpecResponse

func (*Client) ModifyDBInstanceTDE

func (client *Client) ModifyDBInstanceTDE(request *ModifyDBInstanceTDERequest) (_result *ModifyDBInstanceTDEResponse, _err error)

Summary:

Modifies the transparent data encryption (TDE) status of an ApsaraDB for MongoDB instance.

Description:

TDE allows you to perform real-time I/O encryption and decryption on data files. Data is encrypted before it is written to a disk and is decrypted when it is read from the disk to the memory. For more information, see [Configure TDE](https://help.aliyun.com/document_detail/131048.html).

> TDE cannot be disabled after it is enabled.

Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • A replica set or sharded cluster instance is used.

  • The storage engine of the instance is WiredTiger.

  • The instance uses local disks to store data.

  • The database engine version of the instance is 4.0 or 4.2. If the database engine version is earlier than 4.0, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine.

@param request - ModifyDBInstanceTDERequest

@return ModifyDBInstanceTDEResponse

func (*Client) ModifyDBInstanceTDEWithOptions

func (client *Client) ModifyDBInstanceTDEWithOptions(request *ModifyDBInstanceTDERequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceTDEResponse, _err error)

Summary:

Modifies the transparent data encryption (TDE) status of an ApsaraDB for MongoDB instance.

Description:

TDE allows you to perform real-time I/O encryption and decryption on data files. Data is encrypted before it is written to a disk and is decrypted when it is read from the disk to the memory. For more information, see [Configure TDE](https://help.aliyun.com/document_detail/131048.html).

> TDE cannot be disabled after it is enabled.

Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • A replica set or sharded cluster instance is used.

  • The storage engine of the instance is WiredTiger.

  • The instance uses local disks to store data.

  • The database engine version of the instance is 4.0 or 4.2. If the database engine version is earlier than 4.0, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine.

@param request - ModifyDBInstanceTDERequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDBInstanceTDEResponse

func (*Client) ModifyGlobalSecurityIPGroup

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

Summary:

Modifies the global IP whitelist template associated with an ApsaraDB for MongoDB instance.

@param request - ModifyGlobalSecurityIPGroupRequest

@return ModifyGlobalSecurityIPGroupResponse

func (*Client) ModifyGlobalSecurityIPGroupName

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

Summary:

Modifies the name of a global IP whitelist template associated with an ApsaraDB for MongoDB instance.

@param request - ModifyGlobalSecurityIPGroupNameRequest

@return ModifyGlobalSecurityIPGroupNameResponse

func (*Client) ModifyGlobalSecurityIPGroupNameWithOptions

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

Summary:

Modifies the name of a global IP whitelist template associated with an ApsaraDB for MongoDB instance.

@param request - ModifyGlobalSecurityIPGroupNameRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyGlobalSecurityIPGroupNameResponse

func (*Client) ModifyGlobalSecurityIPGroupRelation

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

Summary:

Modifies the mapping between a global whitelist template and an ApsaraDB for MongoDB instance.

@param request - ModifyGlobalSecurityIPGroupRelationRequest

@return ModifyGlobalSecurityIPGroupRelationResponse

func (*Client) ModifyGlobalSecurityIPGroupRelationWithOptions

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

Summary:

Modifies the mapping between a global whitelist template and an ApsaraDB for MongoDB instance.

@param request - ModifyGlobalSecurityIPGroupRelationRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyGlobalSecurityIPGroupRelationResponse

func (*Client) ModifyGlobalSecurityIPGroupWithOptions

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

Summary:

Modifies the global IP whitelist template associated with an ApsaraDB for MongoDB instance.

@param request - ModifyGlobalSecurityIPGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyGlobalSecurityIPGroupResponse

func (*Client) ModifyInstanceAutoRenewalAttribute

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

Summary:

Enables or disables auto-renewal for an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

This operation is applicable to subscription instances.

> When auto-renewal is enabled, your payment will be collected nine days before the expiration date of ApsaraDB for MongoDB. Ensure that your account has sufficient balance.

@param request - ModifyInstanceAutoRenewalAttributeRequest

@return ModifyInstanceAutoRenewalAttributeResponse

func (*Client) ModifyInstanceAutoRenewalAttributeWithOptions

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

Summary:

Enables or disables auto-renewal for an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

This operation is applicable to subscription instances.

> When auto-renewal is enabled, your payment will be collected nine days before the expiration date of ApsaraDB for MongoDB. Ensure that your account has sufficient balance.

@param request - ModifyInstanceAutoRenewalAttributeRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyInstanceAutoRenewalAttributeResponse

func (*Client) ModifyInstanceVpcAuthMode

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

Summary:

Disables password-free access over Virtual Private Cloud (VPC) for an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is a replica set or sharded cluster instance.

  • The database engine version of the instance is 4.0 (with the minor version of mongodb_20190408_3.0.11 or later) or 4.2. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to view the database engine version of the instance. If necessary, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine version of the instance.

  • The network type of the instance must be VPC. If the network type of the instance is classic network, you must call the [ModifyDBInstanceNetworkType](https://help.aliyun.com/document_detail/62138.html) operation to change the network type to VPC.

  • You can only disable but not enable password-free access over VPC.

@param request - ModifyInstanceVpcAuthModeRequest

@return ModifyInstanceVpcAuthModeResponse

func (*Client) ModifyInstanceVpcAuthModeWithOptions

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

Summary:

Disables password-free access over Virtual Private Cloud (VPC) for an ApsaraDB for MongoDB instance.

Description:

Before you call this operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is a replica set or sharded cluster instance.

  • The database engine version of the instance is 4.0 (with the minor version of mongodb_20190408_3.0.11 or later) or 4.2. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to view the database engine version of the instance. If necessary, you can call the [UpgradeDBInstanceEngineVersion](https://help.aliyun.com/document_detail/67608.html) operation to upgrade the database engine version of the instance.

  • The network type of the instance must be VPC. If the network type of the instance is classic network, you must call the [ModifyDBInstanceNetworkType](https://help.aliyun.com/document_detail/62138.html) operation to change the network type to VPC.

  • You can only disable but not enable password-free access over VPC.

@param request - ModifyInstanceVpcAuthModeRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyInstanceVpcAuthModeResponse

func (*Client) ModifyNodeSpec

func (client *Client) ModifyNodeSpec(request *ModifyNodeSpecRequest) (_result *ModifyNodeSpecResponse, _err error)

Summary:

Changes the specifications and storage capacity of a node of an ApsaraDB for MongoDB sharded cluster instance.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

> This operation is applicable only to sharded cluster instances.

@param request - ModifyNodeSpecRequest

@return ModifyNodeSpecResponse

func (*Client) ModifyNodeSpecBatch

func (client *Client) ModifyNodeSpecBatch(request *ModifyNodeSpecBatchRequest) (_result *ModifyNodeSpecBatchResponse, _err error)

Summary:

Changes the configurations of mongos or shard nodes in an ApsaraDB for MongoDB sharded cluster instance.

Description:

Make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB before you call this operation.

This operation is applicable only to sharded cluster instances.

When you upgrade or downgrade the configurations of multiple sharded cluster instances in batches, the specifications of the instances are limited. For example, if you want to expand the storage capacity of the instances, the storage capacity of the instances after expansion must be greater than the current capacity. When the specifications of multiple sharded cluster instances are different, limits are defined based on the specifications of a random sharded cluster instance. In this case, you may be unable to upgrade or downgrade the configurations of the instances. In this case, we recommend that you call the ModifyNodeSpec operation to individually change the configurations of each sharded cluster instance.

@param request - ModifyNodeSpecBatchRequest

@return ModifyNodeSpecBatchResponse

func (*Client) ModifyNodeSpecBatchWithOptions

func (client *Client) ModifyNodeSpecBatchWithOptions(request *ModifyNodeSpecBatchRequest, runtime *util.RuntimeOptions) (_result *ModifyNodeSpecBatchResponse, _err error)

Summary:

Changes the configurations of mongos or shard nodes in an ApsaraDB for MongoDB sharded cluster instance.

Description:

Make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB before you call this operation.

This operation is applicable only to sharded cluster instances.

When you upgrade or downgrade the configurations of multiple sharded cluster instances in batches, the specifications of the instances are limited. For example, if you want to expand the storage capacity of the instances, the storage capacity of the instances after expansion must be greater than the current capacity. When the specifications of multiple sharded cluster instances are different, limits are defined based on the specifications of a random sharded cluster instance. In this case, you may be unable to upgrade or downgrade the configurations of the instances. In this case, we recommend that you call the ModifyNodeSpec operation to individually change the configurations of each sharded cluster instance.

@param request - ModifyNodeSpecBatchRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyNodeSpecBatchResponse

func (*Client) ModifyNodeSpecWithOptions

func (client *Client) ModifyNodeSpecWithOptions(request *ModifyNodeSpecRequest, runtime *util.RuntimeOptions) (_result *ModifyNodeSpecResponse, _err error)

Summary:

Changes the specifications and storage capacity of a node of an ApsaraDB for MongoDB sharded cluster instance.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB.

> This operation is applicable only to sharded cluster instances.

@param request - ModifyNodeSpecRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyNodeSpecResponse

func (*Client) ModifyParameters

func (client *Client) ModifyParameters(request *ModifyParametersRequest) (_result *ModifyParametersResponse, _err error)

Summary:

Modifies the parameters of an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the Running state when you call this operation.

	- If you call this operation to modify specific instance parameters and the modification for part of the parameters can take effect only after an instance restart, the instance is automatically restarted after this operation is called. You can call the [DescribeParameterTemplates](https://help.aliyun.com/document_detail/67618.html) operation to query the parameters that take effect only after the instance is restarted.

@param request - ModifyParametersRequest

@return ModifyParametersResponse

func (*Client) ModifyParametersWithOptions

func (client *Client) ModifyParametersWithOptions(request *ModifyParametersRequest, runtime *util.RuntimeOptions) (_result *ModifyParametersResponse, _err error)

Summary:

Modifies the parameters of an ApsaraDB for MongoDB instance.

Description:

  The instance must be in the Running state when you call this operation.

	- If you call this operation to modify specific instance parameters and the modification for part of the parameters can take effect only after an instance restart, the instance is automatically restarted after this operation is called. You can call the [DescribeParameterTemplates](https://help.aliyun.com/document_detail/67618.html) operation to query the parameters that take effect only after the instance is restarted.

@param request - ModifyParametersRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyParametersResponse

func (*Client) ModifyResourceGroup

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

Summary:

Moves an ApsaraDB for MongoDB instance to a specified resource group.

Description:

Resource Management allows you to build an organizational structure for resources based on your business requirements. You can use resource directories, folders, accounts, and resource groups to hierarchically organize and manage resources. For more information, see [What is Resource Management?](https://help.aliyun.com/document_detail/94475.html)

@param request - ModifyResourceGroupRequest

@return ModifyResourceGroupResponse

func (*Client) ModifyResourceGroupWithOptions

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

Summary:

Moves an ApsaraDB for MongoDB instance to a specified resource group.

Description:

Resource Management allows you to build an organizational structure for resources based on your business requirements. You can use resource directories, folders, accounts, and resource groups to hierarchically organize and manage resources. For more information, see [What is Resource Management?](https://help.aliyun.com/document_detail/94475.html)

@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)

Summary:

You can call this operation to modify an ECS Security group that is bound to an ApsaraDB for MongoDB instance.

Description:

> For a sharded cluster instance, the bound ECS security group takes effect only for mongos nodes.

@param request - ModifySecurityGroupConfigurationRequest

@return ModifySecurityGroupConfigurationResponse

func (*Client) ModifySecurityGroupConfigurationWithOptions

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

Summary:

You can call this operation to modify an ECS Security group that is bound to an ApsaraDB for MongoDB instance.

Description:

> For a sharded cluster instance, the bound ECS security group takes effect only for mongos nodes.

@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)

Summary:

Modifies the IP address whitelist of an ApsaraDB for MongoDB instance.

@param request - ModifySecurityIpsRequest

@return ModifySecurityIpsResponse

func (*Client) ModifySecurityIpsWithOptions

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

Summary:

Modifies the IP address whitelist of an ApsaraDB for MongoDB instance.

@param request - ModifySecurityIpsRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifySecurityIpsResponse

func (*Client) ModifyTaskInfo

func (client *Client) ModifyTaskInfo(request *ModifyTaskInfoRequest) (_result *ModifyTaskInfoResponse, _err error)

Summary:

Modifies the information of a task in the task center for an ApsaraDB for MongoDB instance.

Description:

The actions performed by this operation for a task vary based on the current state of the task. The supported actions for a task can be obtained from the value of the actionInfo parameter in the DescribeHistoryTasks operation.

@param request - ModifyTaskInfoRequest

@return ModifyTaskInfoResponse

func (*Client) ModifyTaskInfoWithOptions

func (client *Client) ModifyTaskInfoWithOptions(request *ModifyTaskInfoRequest, runtime *util.RuntimeOptions) (_result *ModifyTaskInfoResponse, _err error)

Summary:

Modifies the information of a task in the task center for an ApsaraDB for MongoDB instance.

Description:

The actions performed by this operation for a task vary based on the current state of the task. The supported actions for a task can be obtained from the value of the actionInfo parameter in the DescribeHistoryTasks operation.

@param request - ModifyTaskInfoRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyTaskInfoResponse

func (*Client) ReleaseNodePrivateNetworkAddress

func (client *Client) ReleaseNodePrivateNetworkAddress(request *ReleaseNodePrivateNetworkAddressRequest) (_result *ReleaseNodePrivateNetworkAddressResponse, _err error)

Summary:

Releases the internal endpoint of a shard or Configserver node in a sharded cluster instance.

Description:

  This operation can be used to release the internal endpoint of a shard or Configserver node in a sharded cluster instance. For more information, see [Release the endpoint of a shard or Configserver node](https://help.aliyun.com/document_detail/134067.html).

	- To release the public endpoint of a shard or Configserver node in a sharded cluster instance, you can call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation.

@param request - ReleaseNodePrivateNetworkAddressRequest

@return ReleaseNodePrivateNetworkAddressResponse

func (*Client) ReleaseNodePrivateNetworkAddressWithOptions

func (client *Client) ReleaseNodePrivateNetworkAddressWithOptions(request *ReleaseNodePrivateNetworkAddressRequest, runtime *util.RuntimeOptions) (_result *ReleaseNodePrivateNetworkAddressResponse, _err error)

Summary:

Releases the internal endpoint of a shard or Configserver node in a sharded cluster instance.

Description:

  This operation can be used to release the internal endpoint of a shard or Configserver node in a sharded cluster instance. For more information, see [Release the endpoint of a shard or Configserver node](https://help.aliyun.com/document_detail/134067.html).

	- To release the public endpoint of a shard or Configserver node in a sharded cluster instance, you can call the [ReleasePublicNetworkAddress](https://help.aliyun.com/document_detail/67604.html) operation.

@param request - ReleaseNodePrivateNetworkAddressRequest

@param runtime - runtime options for this request RuntimeOptions

@return ReleaseNodePrivateNetworkAddressResponse

func (*Client) ReleasePublicNetworkAddress

func (client *Client) ReleasePublicNetworkAddress(request *ReleasePublicNetworkAddressRequest) (_result *ReleasePublicNetworkAddressResponse, _err error)

Summary:

Releases the public endpoint of an ApsaraDB for MongoDB instance.

@param request - ReleasePublicNetworkAddressRequest

@return ReleasePublicNetworkAddressResponse

func (*Client) ReleasePublicNetworkAddressWithOptions

func (client *Client) ReleasePublicNetworkAddressWithOptions(request *ReleasePublicNetworkAddressRequest, runtime *util.RuntimeOptions) (_result *ReleasePublicNetworkAddressResponse, _err error)

Summary:

Releases the public endpoint of an ApsaraDB for MongoDB instance.

@param request - ReleasePublicNetworkAddressRequest

@param runtime - runtime options for this request RuntimeOptions

@return ReleasePublicNetworkAddressResponse

func (*Client) RenewDBInstance

func (client *Client) RenewDBInstance(request *RenewDBInstanceRequest) (_result *RenewDBInstanceResponse, _err error)

Summary:

Manually renews an ApsaraDB for MongoDB subscription instance.

Description:

Make sure that you fully understand the billing methods and pricing of ApsaraDB for MongoDB before you call this operation. For more information about the pricing of ApsaraDB for MongoDB, visit the [pricing tab of the product buy page](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

This operation is only applicable to instances that use the subscription billing method.

@param request - RenewDBInstanceRequest

@return RenewDBInstanceResponse

func (*Client) RenewDBInstanceWithOptions

func (client *Client) RenewDBInstanceWithOptions(request *RenewDBInstanceRequest, runtime *util.RuntimeOptions) (_result *RenewDBInstanceResponse, _err error)

Summary:

Manually renews an ApsaraDB for MongoDB subscription instance.

Description:

Make sure that you fully understand the billing methods and pricing of ApsaraDB for MongoDB before you call this operation. For more information about the pricing of ApsaraDB for MongoDB, visit the [pricing tab of the product buy page](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

This operation is only applicable to instances that use the subscription billing method.

@param request - RenewDBInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return RenewDBInstanceResponse

func (*Client) ResetAccountPassword

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

Summary:

Resets the password of the root account in an ApsaraDB for MongoDB instance.

Description:

> This operation can be used to reset only the password of the root account of an instance.

@param request - ResetAccountPasswordRequest

@return ResetAccountPasswordResponse

func (*Client) ResetAccountPasswordWithOptions

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

Summary:

Resets the password of the root account in an ApsaraDB for MongoDB instance.

Description:

> This operation can be used to reset only the password of the root account of an instance.

@param request - ResetAccountPasswordRequest

@param runtime - runtime options for this request RuntimeOptions

@return ResetAccountPasswordResponse

func (*Client) RestartDBInstance

func (client *Client) RestartDBInstance(request *RestartDBInstanceRequest) (_result *RestartDBInstanceResponse, _err error)

Summary:

Restarts an ApsaraDB for MongoDB instance.

Description:

This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.

@param request - RestartDBInstanceRequest

@return RestartDBInstanceResponse

func (*Client) RestartDBInstanceWithOptions

func (client *Client) RestartDBInstanceWithOptions(request *RestartDBInstanceRequest, runtime *util.RuntimeOptions) (_result *RestartDBInstanceResponse, _err error)

Summary:

Restarts an ApsaraDB for MongoDB instance.

Description:

This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.

@param request - RestartDBInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return RestartDBInstanceResponse

func (*Client) RestartNode

func (client *Client) RestartNode(request *RestartNodeRequest) (_result *RestartNodeResponse, _err error)

Summary:

Restarts a node in an ApsaraDB for MongoDB instance.

Description:

You can call this operation to restart a node in a replica set instance or a child instance in a sharded cluster instance.

> When you call this operation, the instance must meet the following requirements:

  • The instance is in the Running state.

  • The instance is a replica set or sharded cluster instance of the standard edition.

@param request - RestartNodeRequest

@return RestartNodeResponse

func (*Client) RestartNodeWithOptions

func (client *Client) RestartNodeWithOptions(request *RestartNodeRequest, runtime *util.RuntimeOptions) (_result *RestartNodeResponse, _err error)

Summary:

Restarts a node in an ApsaraDB for MongoDB instance.

Description:

You can call this operation to restart a node in a replica set instance or a child instance in a sharded cluster instance.

> When you call this operation, the instance must meet the following requirements:

  • The instance is in the Running state.

  • The instance is a replica set or sharded cluster instance of the standard edition.

@param request - RestartNodeRequest

@param runtime - runtime options for this request RuntimeOptions

@return RestartNodeResponse

func (*Client) SwitchDBInstanceHA

func (client *Client) SwitchDBInstanceHA(request *SwitchDBInstanceHARequest) (_result *SwitchDBInstanceHAResponse, _err error)

Summary:

Switches the primary and secondary nodes for an ApsaraDB for MongoDB instance.

Description:

The instance must be running when you call this operation.

>

  • This operation is applicable to replica set instances and sharded cluster instances, but cannot be performed on standalone instances.

  • On replica set instances, the switch is performed between instances. On sharded cluster instances, the switch is performed between shards.

@param request - SwitchDBInstanceHARequest

@return SwitchDBInstanceHAResponse

func (*Client) SwitchDBInstanceHAWithOptions

func (client *Client) SwitchDBInstanceHAWithOptions(request *SwitchDBInstanceHARequest, runtime *util.RuntimeOptions) (_result *SwitchDBInstanceHAResponse, _err error)

Summary:

Switches the primary and secondary nodes for an ApsaraDB for MongoDB instance.

Description:

The instance must be running when you call this operation.

>

  • This operation is applicable to replica set instances and sharded cluster instances, but cannot be performed on standalone instances.

  • On replica set instances, the switch is performed between instances. On sharded cluster instances, the switch is performed between shards.

@param request - SwitchDBInstanceHARequest

@param runtime - runtime options for this request RuntimeOptions

@return SwitchDBInstanceHAResponse

func (*Client) TagResources

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

Summary:

Binds tags to ApsaraDB for MongoDB instances.

Description:

If you have a large number of instances, you can create multiple tags, bind the tags to the instances, and filter the 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 bound to the specified instance.

  • If a tag that has the same key is already bound to the instance, the new tag overwrites the existing tag.

  • You can bind up to 20 tags to each instance.

  • You can bind tags to up to 50 instances each time you call the operation.

@param request - TagResourcesRequest

@return TagResourcesResponse

func (*Client) TagResourcesWithOptions

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

Summary:

Binds tags to ApsaraDB for MongoDB instances.

Description:

If you have a large number of instances, you can create multiple tags, bind the tags to the instances, and filter the 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 bound to the specified instance.

  • If a tag that has the same key is already bound to the instance, the new tag overwrites the existing tag.

  • You can bind up to 20 tags to each instance.

  • You can bind tags to up to 50 instances each time you call the operation.

@param request - TagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return TagResourcesResponse

func (*Client) TransferClusterBackup

func (client *Client) TransferClusterBackup(request *TransferClusterBackupRequest) (_result *TransferClusterBackupResponse, _err error)

Summary:

Switches the backup mode of an ApsaraDB for MongoDB sharded cluster instance to the cluster backup mode. After the instance is switched to the cluster backup mode, the instance supports high-frequency backup.

Description:

  The instance is an ApsaraDB for MongoDB sharded cluster instance that runs MongoDB 4.4 or later and uses enhanced SSDs (ESSDs) to store data.

	- You can call the TransferClusterBackup operation only for instances that are created before October 19, 2023 to switch the instances to the cluster backup mode. Cloud disk-based sharded cluster instances that are created on or after October 19, 2023 are set to the cluster backup mode by default.

@param request - TransferClusterBackupRequest

@return TransferClusterBackupResponse

func (*Client) TransferClusterBackupWithOptions

func (client *Client) TransferClusterBackupWithOptions(request *TransferClusterBackupRequest, runtime *util.RuntimeOptions) (_result *TransferClusterBackupResponse, _err error)

Summary:

Switches the backup mode of an ApsaraDB for MongoDB sharded cluster instance to the cluster backup mode. After the instance is switched to the cluster backup mode, the instance supports high-frequency backup.

Description:

  The instance is an ApsaraDB for MongoDB sharded cluster instance that runs MongoDB 4.4 or later and uses enhanced SSDs (ESSDs) to store data.

	- You can call the TransferClusterBackup operation only for instances that are created before October 19, 2023 to switch the instances to the cluster backup mode. Cloud disk-based sharded cluster instances that are created on or after October 19, 2023 are set to the cluster backup mode by default.

@param request - TransferClusterBackupRequest

@param runtime - runtime options for this request RuntimeOptions

@return TransferClusterBackupResponse

func (*Client) TransformInstanceChargeType

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

Summary:

Changes the billing method of an instance from pay-as-you-go to subscription or from subscription to pay-as-you-go.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB

Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is in the Running state.

  • Your instance has no unpaid billing method change orders.

  • The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).

> To change the billing method of an instance whose instance type is no longer available to purchase, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to change the instance type first.

@param request - TransformInstanceChargeTypeRequest

@return TransformInstanceChargeTypeResponse

func (*Client) TransformInstanceChargeTypeWithOptions

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

Summary:

Changes the billing method of an instance from pay-as-you-go to subscription or from subscription to pay-as-you-go.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/product/apsaradb-for-mongodb/pricing) of ApsaraDB for MongoDB

Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is in the Running state.

  • Your instance has no unpaid billing method change orders.

  • The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).

> To change the billing method of an instance whose instance type is no longer available to purchase, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to change the instance type first.

@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)

Summary:

Changes the billing method of an ApsaraDB for MongoDB instance from pay-as-you-go to subscription.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

A subscription instance cannot be changed to a pay-as-you-go instance. To avoid wasting resources, proceed with caution.

Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is in the running state.

  • The billing method of the instance is pay-as-you-go.

  • The instance has no unpaid subscription orders.

  • The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).

> To change the billing method of an instance whose instance type is no longer available to subscription, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to first change the instance type.

@param request - TransformToPrePaidRequest

@return TransformToPrePaidResponse

func (*Client) TransformToPrePaidWithOptions

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

Summary:

Changes the billing method of an ApsaraDB for MongoDB instance from pay-as-you-go to subscription.

Description:

Before you call this operation, make sure that you understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/apsaradb-for-mongodb/pricing).

A subscription instance cannot be changed to a pay-as-you-go instance. To avoid wasting resources, proceed with caution.

Before you call this API operation, make sure that the ApsaraDB for MongoDB instance meets the following requirements:

  • The instance is in the running state.

  • The billing method of the instance is pay-as-you-go.

  • The instance has no unpaid subscription orders.

  • The instance type is available for purchase. For more information about unavailable instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).

> To change the billing method of an instance whose instance type is no longer available to subscription, call the [ModifyDBInstanceSpec](https://help.aliyun.com/document_detail/61816.html) or [ModifyNodeSpec](https://help.aliyun.com/document_detail/61923.html) operation to first change the instance type.

@param request - TransformToPrePaidRequest

@param runtime - runtime options for this request RuntimeOptions

@return TransformToPrePaidResponse

func (*Client) UntagResources

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

Summary:

Removes a tag if the tag is not added to another instance.

Description:

>

  • You can remove up to 20 tags at a time.

  • If you remove a tag from all instances, the tag is automatically deleted.

@param request - UntagResourcesRequest

@return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

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

Summary:

Removes a tag if the tag is not added to another instance.

Description:

>

  • You can remove up to 20 tags at a time.

  • If you remove a tag from all instances, the tag is automatically deleted.

@param request - UntagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return UntagResourcesResponse

func (*Client) UpgradeDBInstanceEngineVersion

func (client *Client) UpgradeDBInstanceEngineVersion(request *UpgradeDBInstanceEngineVersionRequest) (_result *UpgradeDBInstanceEngineVersionResponse, _err error)

Summary:

Upgrades the database version of an ApsaraDB for MongoDB instance.

Description:

The instance must be in the running state when you call this operation.

> - The available database versions depend on the storage engine used by the instance. For more information, see [Upgrades of MongoDB major versions](https://help.aliyun.com/document_detail/398673.html). You can also call the [DescribeAvailableEngineVersion](https://help.aliyun.com/document_detail/141355.html) operation to query the available database versions.

> - You cannot downgrade the MongoDB version of an instance after you upgrade it.

> - The instance is automatically restarted for two to three times during the upgrade process. Make sure that you upgrade the instance during off-peak hours.

@param request - UpgradeDBInstanceEngineVersionRequest

@return UpgradeDBInstanceEngineVersionResponse

func (*Client) UpgradeDBInstanceEngineVersionWithOptions

func (client *Client) UpgradeDBInstanceEngineVersionWithOptions(request *UpgradeDBInstanceEngineVersionRequest, runtime *util.RuntimeOptions) (_result *UpgradeDBInstanceEngineVersionResponse, _err error)

Summary:

Upgrades the database version of an ApsaraDB for MongoDB instance.

Description:

The instance must be in the running state when you call this operation.

> - The available database versions depend on the storage engine used by the instance. For more information, see [Upgrades of MongoDB major versions](https://help.aliyun.com/document_detail/398673.html). You can also call the [DescribeAvailableEngineVersion](https://help.aliyun.com/document_detail/141355.html) operation to query the available database versions.

> - You cannot downgrade the MongoDB version of an instance after you upgrade it.

> - The instance is automatically restarted for two to three times during the upgrade process. Make sure that you upgrade the instance during off-peak hours.

@param request - UpgradeDBInstanceEngineVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpgradeDBInstanceEngineVersionResponse

func (*Client) UpgradeDBInstanceKernelVersion

func (client *Client) UpgradeDBInstanceKernelVersion(request *UpgradeDBInstanceKernelVersionRequest) (_result *UpgradeDBInstanceKernelVersionResponse, _err error)

Summary:

Upgrades the minor version of an ApsaraDB for MongoDB instance.

Description:

When you call the UpgradeDBInstanceKernelVersion operation, the instance must be in the Running state.

> - The UpgradeDBInstanceKernelVersion operation is applicable to replica set and sharded cluster instances, but not to standalone instances.

> - The instance will be restarted once during the upgrade. Call this operation during off-peak hours.

@param request - UpgradeDBInstanceKernelVersionRequest

@return UpgradeDBInstanceKernelVersionResponse

func (*Client) UpgradeDBInstanceKernelVersionWithOptions

func (client *Client) UpgradeDBInstanceKernelVersionWithOptions(request *UpgradeDBInstanceKernelVersionRequest, runtime *util.RuntimeOptions) (_result *UpgradeDBInstanceKernelVersionResponse, _err error)

Summary:

Upgrades the minor version of an ApsaraDB for MongoDB instance.

Description:

When you call the UpgradeDBInstanceKernelVersion operation, the instance must be in the Running state.

> - The UpgradeDBInstanceKernelVersion operation is applicable to replica set and sharded cluster instances, but not to standalone instances.

> - The instance will be restarted once during the upgrade. Call this operation during off-peak hours.

@param request - UpgradeDBInstanceKernelVersionRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpgradeDBInstanceKernelVersionResponse

type CreateAccountRequest

type CreateAccountRequest struct {
	// The name of the database account. The name must be 4 to 16 characters in length. It can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter. The account is granted read-only permissions.
	//
	// This parameter is required.
	//
	// example:
	//
	// admin1
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password of the database account. The password must be 8 to 32 characters in length. It can contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! # $ % ^ & \\	- ( ) _ + - =
	//
	// This parameter is required.
	//
	// example:
	//
	// Test123456!
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The cluster ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-uf6e9433e955xxxx
	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"`
}

func (CreateAccountRequest) GoString

func (s CreateAccountRequest) GoString() string

func (*CreateAccountRequest) SetAccountName

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

func (*CreateAccountRequest) SetAccountPassword

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

func (*CreateAccountRequest) SetDBInstanceId

func (s *CreateAccountRequest) SetDBInstanceId(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) 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 request ID.
	//
	// example:
	//
	// 7FEF1BEF-2842-5758-9126-415A297XXXXX
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAccountResponseBody) GoString

func (s CreateAccountResponseBody) GoString() string

func (*CreateAccountResponseBody) SetRequestId

func (CreateAccountResponseBody) String

func (s CreateAccountResponseBody) String() string

type CreateBackupRequest

type CreateBackupRequest struct {
	// The backup method of the instance. Valid values:
	//
	// 	- **Logical**
	//
	// 	- **Physical*	- (default)
	//
	// > Only replica set instances and sharded cluster instances support this parameter. You do not need to specify this parameter for standalone instances. All standalone instances use snapshot backup.
	//
	// example:
	//
	// Logical
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// d-bp2235****
	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"`
}

func (CreateBackupRequest) GoString

func (s CreateBackupRequest) GoString() string

func (*CreateBackupRequest) SetBackupMethod

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

func (*CreateBackupRequest) SetDBInstanceId

func (s *CreateBackupRequest) SetDBInstanceId(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) 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 set.
	//
	// example:
	//
	// 5664****
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 7016B12F-7F64-40A4-BAFF-013F02AC82FC
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateBackupResponseBody) GoString

func (s CreateBackupResponseBody) GoString() string

func (*CreateBackupResponseBody) SetBackupId

func (*CreateBackupResponseBody) SetRequestId

func (CreateBackupResponseBody) String

func (s CreateBackupResponseBody) String() string

type CreateDBInstanceRequest

type CreateDBInstanceRequest struct {
	// The password of the root account. The password must meet the following requirements:
	//
	// 	- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// 	- Special characters include ! # $ % ^ & \\	- ( ) _ + - =
	//
	// 	- The password of the account must be 8 to 32 characters in length.
	//
	// example:
	//
	// 123456Aa
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values:
	//
	// 	- **true**: The instance is automatically renewed.
	//
	// 	- **false**: The instance is manually renewed.
	//
	// > This parameter is valid and optional when the **ChargeType*	- parameter is set to **PrePaid**.
	//
	// example:
	//
	// true
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The ID of the backup set. You can call the [DescribeBackups](https://help.aliyun.com/document_detail/62172.html) operation to query the backup set ID.
	//
	// > When you call this operation to clone an instance based on the backup set, this parameter is required. The **SrcDBInstanceId*	- parameter is also required.
	//
	// example:
	//
	// 32994****
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PostPaid**: pay-as-you-go. This is the default value.
	//
	// 	- **PrePaid**: subscription.
	//
	// > If you set this parameter to **PrePaid**, you must also specify the **Period*	- parameter.
	//
	// example:
	//
	// PrePaid
	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 it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the dedicated cluster to which the instance belongs.
	//
	// example:
	//
	// dhg-2x78****
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// Specifies whether to use coupons. Default value: null. Valid values:
	//
	// - **default*	- or **null**: uses coupons.
	//
	// - **youhuiquan_promotion_option_id_for_blank**: does not use coupons.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The instance type. You can also call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/149719.html) operation to query the instance type.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds.mongo.standard
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The name of the instance. The name of the instance must meet the following requirements:
	//
	// 	- The name must start with a letter.
	//
	// 	- The name can contain digits, letters, underscores (_), and hyphens (-).
	//
	// 	- The name must be 2 to 256 characters in length.
	//
	// example:
	//
	// test
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The storage capacity of the instance. Unit: GB.
	//
	// The values that can be specified for this parameter vary based on the instance types. For more information, see [Replica set instance types](https://help.aliyun.com/document_detail/311410.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// 10
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The name of the database.
	//
	// > When you call this operation to clone an instance, you can set this parameter to specify the database to clone. Otherwise, all databases of the instance are cloned.
	//
	// example:
	//
	// mongodbtest
	DatabaseNames *string `json:"DatabaseNames,omitempty" xml:"DatabaseNames,omitempty"`
	// Specifies whether to enable disk encryption.
	//
	// example:
	//
	// true
	Encrypted *bool `json:"Encrypted,omitempty" xml:"Encrypted,omitempty"`
	// The ID of the custom key.
	//
	// example:
	//
	// 2axxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The database engine of the instance. Set the value to **MongoDB**.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine. Valid values:
	//
	// 	- **6.0**
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// > When you call this operation to clone an instance or restore an instance from the recycle bin, set the value of this parameter to the engine version of the source instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// 4.4
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The global IP address whitelist template name of the instance. Multiple IP address whitelist template names are separated by commas (,) and each template name must be unique. (The template feature is available only in canary release.)
	//
	// example:
	//
	// g-qxieqf40xjst1ngp****
	GlobalSecurityGroupIds *string `json:"GlobalSecurityGroupIds,omitempty" xml:"GlobalSecurityGroupIds,omitempty"`
	// The zone where the hidden node resides for multi-zone deployment. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G.
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H.
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I.
	//
	// 	- **cn-hongkong-b**: Hongkong Zone B.
	//
	// 	- **cn-hongkong-c**: Hongkong Zone C.
	//
	// 	- **cn-hongkong-d**: Hongkong Zone D.
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A.
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B.
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C.
	//
	// 	- **ap-southeast-1a**: Singapore Zone A.
	//
	// 	- **ap-southeast-1b**: Singapore Zone B.
	//
	// 	- **ap-southeast-1c**: Singapore Zone C.
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A.
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B.
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C.
	//
	// 	- **eu-central-1a**: Frankfurt Zone A.
	//
	// 	- **eu-central-1b**: Frankfurt Zone B.
	//
	// 	- **eu-central-1c**: Frankfurt Zone C.
	//
	// >  	- This parameter is valid and required when the **EngineVersion*	- parameter is set to **4.4*	- or **5.0**.
	//
	// >  	- The value of this parameter cannot be the same as the value of the **ZoneId*	- or **SecondaryZoneId*	- parameter.
	//
	// example:
	//
	// cn-hangzhou-i
	HiddenZoneId *string `json:"HiddenZoneId,omitempty" xml:"HiddenZoneId,omitempty"`
	// The network type of the instance. Valid value:
	//
	// **VPC**: Virtual Private Cloud (VPC)
	//
	// example:
	//
	// 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 subscription period of the instance. Unit: months.
	//
	// Valid values: **1*	- to **9**, **12**, **24**, **36**, and **60**.
	//
	// > When you set the **ChargeType*	- parameter to **PrePaid**, this parameter is valid and required.
	//
	// example:
	//
	// 1
	Period *int32 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The provisioned IOPS. Valid values: 0 to 50000.
	//
	// example:
	//
	// 1960
	ProvisionedIops *int64 `json:"ProvisionedIops,omitempty" xml:"ProvisionedIops,omitempty"`
	// The number of **read-only nodes*	- in the replica set instance. Default value: **0**. Valid values: **0*	- to **5**.
	//
	// example:
	//
	// 0
	ReadonlyReplicas *string `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of **nodes*	- in the replica set instance. Default value: 3. Valid values:
	//
	// 	- **3**
	//
	// 	- **5**
	//
	// 	- **7**
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group to which the instance belongs.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 to which the instance is restored, which must be within seven days. The time is displayed in the *yyyy-MM-dd*T*HH:mm:ss*Z format (UTC time).
	//
	// > When you call this operation to restore an instance to the specified time, this parameter is required. The **SrcDBInstanceId*	- parameter is also required.
	//
	// example:
	//
	// 2022-03-13T12:11:14Z
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The backup restore type of the instance.
	//
	// - 0: restore an instance to the specified backup set.
	//
	// - 1:  restore an instance to the specified time.
	//
	// - 2: restore an  released instance to the specified backup set.
	//
	// - 3:restore an instance to the specified cross-regional backup set.
	//
	// example:
	//
	// 0
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	// The zone where the secondary node resides for multi-zone deployment. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G.
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H.
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I.
	//
	// 	- **cn-hongkong-b**: Hongkong Zone B.
	//
	// 	- **cn-hongkong-c**: Hongkong Zone C.
	//
	// 	- **cn-hongkong-d**: Hongkong Zone D.
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A.
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B.
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C.
	//
	// 	- **ap-southeast-1a**: Singapore Zone A.
	//
	// 	- **ap-southeast-1b**: Singapore Zone B.
	//
	// 	- **ap-southeast-1c**: Singapore Zone C.
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A.
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B.
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C.
	//
	// 	- **eu-central-1a**: Frankfurt Zone A.
	//
	// 	- **eu-central-1b**: Frankfurt Zone B.
	//
	// 	- **eu-central-1c**: Frankfurt Zone C.
	//
	// >  	- This parameter is valid and required when the **EngineVersion*	- parameter is set to **4.4*	- or **5.0**.
	//
	// >  	- The value of this parameter cannot be the same as the value of the **ZoneId*	- or **HiddenZoneId*	- parameter.
	//
	// example:
	//
	// cn-hangzhou-h
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The IP addresses in an IP address whitelist. Multiple IP addresses are separated by commas (,), and each IP address in the IP address whitelist must be unique. The following types of values are supported:
	//
	// 	- 0.0.0.0/0
	//
	// 	- IP addresses, such as 10.23.12.24.
	//
	// 	- Classless Inter-Domain Routing (CIDR) blocks, such as 10.23.12.0/24. In this case, /24 indicates that the prefix of each IP address is 24-bit long. You can replace 24 with a value within the range of 1 to 32.
	//
	// > 	- A maximum of 1,000 IP addresses or CIDR blocks can be configured for each instance.
	//
	// > 	- If you enter 0.0.0.0/0, all IP addresses can access the instance. This may introduce security risks to the instance. Proceed with caution.
	//
	// example:
	//
	// 192.168.xx.xx,192.168.xx.xx
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The ID of the source instance.
	//
	// > When you call this operation to clone an instance, this parameter is required. The **BackupId*	- or **RestoreTime*	- parameter is also required. When you call this operation to restore an instance from the recycle bin, this parameter is required. The **BackupId*	- or **RestoreTime*	- parameter is not required.
	//
	// example:
	//
	// dds-bp1ee12ad351****
	SrcDBInstanceId *string `json:"SrcDBInstanceId,omitempty" xml:"SrcDBInstanceId,omitempty"`
	// The region ID of the instance.
	//
	// > -  This parameter is required when restore type is set to 2 or 3.
	//
	// example:
	//
	// 2
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,omitempty"`
	// The storage engine of the instance. Set the value to **WiredTiger**.
	//
	// > 	- If you call this operation to clone an instance or restore an instance from the recycle bin, set this parameter to the storage engine of the source instance.
	//
	// > 	- For more information about the limits on database versions and storage engines of an instance, see [MongoDB versions and storage engines](https://help.aliyun.com/document_detail/61906.html).
	//
	// example:
	//
	// WiredTiger
	StorageEngine *string `json:"StorageEngine,omitempty" xml:"StorageEngine,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// 	- **cloud_essd1*	- :ESSD PL1.
	//
	// 	- **cloud_essd2**: ESSD PL2.
	//
	// 	- **cloud_essd3**: ESSD PL3.
	//
	// 	- **local_ssd**: local SSD.
	//
	// example:
	//
	// cloud_essd1
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The custom tags added to the instance.
	Tag []*CreateDBInstanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the vSwitch to which the instance is connected.
	//
	// example:
	//
	// vsw-bp1gzt31twhlo0sa5****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	//
	// example:
	//
	// vpc-bp175iuvg8nxqraf2****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent zone list.
	//
	// example:
	//
	// cn-hangzhou-g
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateDBInstanceRequest) GoString

func (s CreateDBInstanceRequest) GoString() string

func (*CreateDBInstanceRequest) SetAccountPassword

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

func (*CreateDBInstanceRequest) SetAutoRenew

func (*CreateDBInstanceRequest) SetBackupId

func (*CreateDBInstanceRequest) SetBusinessInfo

func (*CreateDBInstanceRequest) SetChargeType

func (*CreateDBInstanceRequest) SetClientToken

func (*CreateDBInstanceRequest) SetClusterId

func (*CreateDBInstanceRequest) SetCouponNo

func (*CreateDBInstanceRequest) SetDBInstanceClass

func (s *CreateDBInstanceRequest) SetDBInstanceClass(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetDBInstanceDescription

func (s *CreateDBInstanceRequest) SetDBInstanceDescription(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetDBInstanceStorage

func (s *CreateDBInstanceRequest) SetDBInstanceStorage(v int32) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetDatabaseNames

func (s *CreateDBInstanceRequest) SetDatabaseNames(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetEncrypted

func (*CreateDBInstanceRequest) SetEncryptionKey

func (s *CreateDBInstanceRequest) SetEncryptionKey(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetEngine

func (*CreateDBInstanceRequest) SetEngineVersion

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

func (*CreateDBInstanceRequest) SetGlobalSecurityGroupIds

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

func (*CreateDBInstanceRequest) SetHiddenZoneId

func (*CreateDBInstanceRequest) SetNetworkType

func (*CreateDBInstanceRequest) SetOwnerAccount

func (*CreateDBInstanceRequest) SetOwnerId

func (*CreateDBInstanceRequest) SetPeriod

func (*CreateDBInstanceRequest) SetProvisionedIops

func (s *CreateDBInstanceRequest) SetProvisionedIops(v int64) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetReadonlyReplicas

func (s *CreateDBInstanceRequest) SetReadonlyReplicas(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetRegionId

func (*CreateDBInstanceRequest) SetReplicationFactor

func (s *CreateDBInstanceRequest) SetReplicationFactor(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetResourceGroupId

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

func (*CreateDBInstanceRequest) SetResourceOwnerAccount

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

func (*CreateDBInstanceRequest) SetResourceOwnerId

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

func (*CreateDBInstanceRequest) SetRestoreTime

func (*CreateDBInstanceRequest) SetRestoreType

func (*CreateDBInstanceRequest) SetSecondaryZoneId

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

func (*CreateDBInstanceRequest) SetSecurityIPList

func (s *CreateDBInstanceRequest) SetSecurityIPList(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetSrcDBInstanceId

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

func (*CreateDBInstanceRequest) SetSrcRegion

func (*CreateDBInstanceRequest) SetStorageEngine

func (s *CreateDBInstanceRequest) SetStorageEngine(v string) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetStorageType

func (*CreateDBInstanceRequest) SetTag

func (*CreateDBInstanceRequest) SetVSwitchId

func (*CreateDBInstanceRequest) SetVpcId

func (*CreateDBInstanceRequest) SetZoneId

func (CreateDBInstanceRequest) String

func (s CreateDBInstanceRequest) String() string

type CreateDBInstanceRequestTag

type CreateDBInstanceRequestTag struct {
	// The key of the tag.
	//
	// > **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.
	//
	// example:
	//
	// testdatabase
	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.
	//
	// example:
	//
	// apitest
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDBInstanceRequestTag) GoString

func (s CreateDBInstanceRequestTag) GoString() string

func (*CreateDBInstanceRequestTag) SetKey

func (*CreateDBInstanceRequestTag) SetValue

func (CreateDBInstanceRequestTag) String

type CreateDBInstanceResponse

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

func (CreateDBInstanceResponse) GoString

func (s CreateDBInstanceResponse) GoString() string

func (*CreateDBInstanceResponse) SetBody

func (*CreateDBInstanceResponse) SetHeaders

func (*CreateDBInstanceResponse) SetStatusCode

func (CreateDBInstanceResponse) String

func (s CreateDBInstanceResponse) String() string

type CreateDBInstanceResponseBody

type CreateDBInstanceResponseBody struct {
	// The ID of the instance.
	//
	// example:
	//
	// dds-bp144a7f2db8****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	//
	// example:
	//
	// 21077576248****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// D8F1D721-6439-4257-A89C-F1E8E9C9****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDBInstanceResponseBody) GoString

func (s CreateDBInstanceResponseBody) GoString() string

func (*CreateDBInstanceResponseBody) SetDBInstanceId

func (*CreateDBInstanceResponseBody) SetOrderId

func (*CreateDBInstanceResponseBody) SetRequestId

func (CreateDBInstanceResponseBody) String

type CreateGlobalSecurityIPGroupRequest

type CreateGlobalSecurityIPGroupRequest struct {
	// The IP addresses 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 address whitelists.
	//
	// This parameter is required.
	//
	// example:
	//
	// 27.18.86.18,183.92.40.129
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// 	- It can contain lowercase letters, digits, and underscores (_).
	//
	// 	- It must start with a letter and end with a letter or digit.
	//
	// 	- It must be 2 to 120 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// aizy
	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 of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (CreateGlobalSecurityIPGroupRequest) GoString

func (*CreateGlobalSecurityIPGroupRequest) SetGIpList

func (*CreateGlobalSecurityIPGroupRequest) SetGlobalIgName

func (*CreateGlobalSecurityIPGroupRequest) SetOwnerAccount

func (*CreateGlobalSecurityIPGroupRequest) SetOwnerId

func (*CreateGlobalSecurityIPGroupRequest) SetRegionId

func (*CreateGlobalSecurityIPGroupRequest) SetResourceOwnerAccount

func (*CreateGlobalSecurityIPGroupRequest) SetResourceOwnerId

func (*CreateGlobalSecurityIPGroupRequest) SetSecurityToken

func (CreateGlobalSecurityIPGroupRequest) String

type CreateGlobalSecurityIPGroupResponse

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

func (*CreateGlobalSecurityIPGroupResponse) SetHeaders

func (*CreateGlobalSecurityIPGroupResponse) SetStatusCode

func (CreateGlobalSecurityIPGroupResponse) String

type CreateGlobalSecurityIPGroupResponseBody

type CreateGlobalSecurityIPGroupResponseBody struct {
	// The IP whitelist templates.
	GlobalSecurityIPGroup []*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup `json:"GlobalSecurityIPGroup,omitempty" xml:"GlobalSecurityIPGroup,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// F8CA8312-530A-413A-9129-F2BB32A8D404
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateGlobalSecurityIPGroupResponseBody) GoString

func (*CreateGlobalSecurityIPGroupResponseBody) SetRequestId

func (CreateGlobalSecurityIPGroupResponseBody) String

type CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup

type CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup struct {
	// The IP addresses 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 address whitelists.
	//
	// example:
	//
	// 111.207.194.217,61.149.7.154
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// 	- It can contain lowercase letters, digits, and underscores (_).
	//
	// 	- It must start with a letter and end with a letter or digit.
	//
	// 	- It must be 2 to 120 characters in length.
	//
	// example:
	//
	// developer
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// example:
	//
	// g-2ifynl1jfkdlhhxgva3q
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) GoString

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGIpList

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalIgName

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalSecurityGroupId

func (*CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetRegionId

func (CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) String

type CreateNodeBatchRequest

type CreateNodeBatchRequest struct {
	// The username of the account. The username must meet the following requirements:
	//
	// - The username starts with a lowercase letter.
	//
	// - The username contains lowercase letters, digits, and underscores (_).
	//
	// - The username is 4 to 16 characters in length.
	//
	// > - Keywords cannot be used as account usernames.
	//
	// > - The permissions of this account are fixed at read-only.
	//
	// > - The username and password are required to be set only when you apply for an endpoint for the shard node for the first time.
	//
	// example:
	//
	// ceshi
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password of the account. The password must meet the following requirements:
	//
	// - The password contains at least three of the following character types: uppercase letters, lowercase letters, digits, and specific special characters.
	//
	// - These special characters include ! @ # $ % ^ & 	- ( ) _ + - =
	//
	// - The password is 8 to 32 characters in length.
	//
	// > The account password of the shard node cannot be reset.
	//
	// example:
	//
	// 123+abc
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// 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. In this case, you must manually pay for the instance. You can perform the following operations to pay for the instance: Log on to the ApsaraDB for MongoDB console. In the upper-right corner of the page, choose **Expenses*	- > **Orders**. On the Orders page, find the order and complete the payment.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The business information.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	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 ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to use coupons. Default value: null. Valid values:
	//
	// 	- **default*	- or **null**: uses coupons.
	//
	// 	- **youhuiquan_promotion_option_id_for_blank**: does not use coupons.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance for which you want to add nodes.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp18b0934e70****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The source of the request. Valid values:
	//
	// - **OpenApi**: ApsaraDB for MongoDB API
	//
	// - **mongo_buy**: ApsaraDB for MongoDB console
	//
	// example:
	//
	// OpenApi
	FromApp *string `json:"FromApp,omitempty" xml:"FromApp,omitempty"`
	// The specifications of the mongos or shard node that you want to add. For more information, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// > Up to 32 mongos or shard nodes are supported for each sharded cluster instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// {"Shards":[{"DBInstanceClass":"mdb.shard.4x.large.d","Storage":20}]}
	NodesInfo            *string `json:"NodesInfo,omitempty" xml:"NodesInfo,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 apply for an endpoint for the shard node. Default value: false. Valid values:
	//
	// - **true**: applies for an endpoint for the shard node.
	//
	// - **false**: does not apply for an endpoint for the shard node.
	//
	// example:
	//
	// false
	ShardDirect *bool `json:"ShardDirect,omitempty" xml:"ShardDirect,omitempty"`
}

func (CreateNodeBatchRequest) GoString

func (s CreateNodeBatchRequest) GoString() string

func (*CreateNodeBatchRequest) SetAccountName

func (*CreateNodeBatchRequest) SetAccountPassword

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

func (*CreateNodeBatchRequest) SetAutoPay

func (*CreateNodeBatchRequest) SetBusinessInfo

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

func (*CreateNodeBatchRequest) SetClientToken

func (*CreateNodeBatchRequest) SetCouponNo

func (*CreateNodeBatchRequest) SetDBInstanceId

func (s *CreateNodeBatchRequest) SetDBInstanceId(v string) *CreateNodeBatchRequest

func (*CreateNodeBatchRequest) SetFromApp

func (*CreateNodeBatchRequest) SetNodesInfo

func (*CreateNodeBatchRequest) SetOwnerAccount

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

func (*CreateNodeBatchRequest) SetOwnerId

func (*CreateNodeBatchRequest) SetResourceOwnerAccount

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

func (*CreateNodeBatchRequest) SetResourceOwnerId

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

func (*CreateNodeBatchRequest) SetShardDirect

func (s *CreateNodeBatchRequest) SetShardDirect(v bool) *CreateNodeBatchRequest

func (CreateNodeBatchRequest) String

func (s CreateNodeBatchRequest) String() string

type CreateNodeBatchResponse

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

func (CreateNodeBatchResponse) GoString

func (s CreateNodeBatchResponse) GoString() string

func (*CreateNodeBatchResponse) SetBody

func (*CreateNodeBatchResponse) SetHeaders

func (*CreateNodeBatchResponse) SetStatusCode

func (CreateNodeBatchResponse) String

func (s CreateNodeBatchResponse) String() string

type CreateNodeBatchResponseBody

type CreateNodeBatchResponseBody struct {
	// The ID of the added mongos or shard node.
	//
	// example:
	//
	// d-bp18f7d6b6a7****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The ID of the order.
	//
	// example:
	//
	// 50179021707****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 55D41A94-1ACE-55E8-8BC7-67D622E7****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateNodeBatchResponseBody) GoString

func (s CreateNodeBatchResponseBody) GoString() string

func (*CreateNodeBatchResponseBody) SetNodeId

func (*CreateNodeBatchResponseBody) SetOrderId

func (*CreateNodeBatchResponseBody) SetRequestId

func (CreateNodeBatchResponseBody) String

type CreateNodeRequest

type CreateNodeRequest struct {
	// The username of the account. The username must meet the following requirements:
	//
	// 	- The username starts with a lowercase letter.
	//
	// 	- The username can contain lowercase letters, digits, and underscores (_).
	//
	// 	- The username must be 4 to 16 characters in length.
	//
	// >
	//
	// 	- Keywords cannot be used as accounts.
	//
	// 	- This account is granted the read-only permissions.
	//
	// 	- The username and password need to be set if you apply for an endpoint for the shard node for the first time.
	//
	// example:
	//
	// ceshi
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password of the account. The password must meet the following requirements:
	//
	// 	- The password contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// 	- These special characters include ! @ # $ % ^ & \\	- ( ) _ + - =
	//
	// 	- The password is 8 to 32 characters in length.
	//
	// >  ApsaraDB for MongoDB does not allow you to reset the password of an account.
	//
	// example:
	//
	// 123+abc
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// Specifies whether to enable automatic payment. Valid values:
	//
	// 	- **true*	- (default): enables automatic payment. Make sure that you have sufficient balance within your account.
	//
	// 	- **false**: disables automatic payment. You can perform the following operations to pay for the instance: Log on to the ApsaraDB for MongoDB console. In the upper-right corner of the page, choose **Expenses*	- > Orders. On the **Orders*	- page, find the order that you want to pay for and complete the payment.
	//
	// >  This parameter is required only when the billing method of the instance is subscription.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	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 token, but you must make sure that the generated token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The coupon code. Default value: **youhuiquan_promotion_option_id_for_blank**.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the sharded cluster instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp11501cd7b5****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The instance type of the shard or mongos node. For more information, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// dds.shard.mid
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The disk capacity of the node. Unit: GB.
	//
	// Valid values: **10*	- to **2000**. The value must be a multiple of 10.
	//
	// >  This parameter is required only when the NodeType parameter is set to **shard**.
	//
	// example:
	//
	// 10
	NodeStorage *int32 `json:"NodeStorage,omitempty" xml:"NodeStorage,omitempty"`
	// The type of the node. Valid values:
	//
	// 	- **shard**: shard node
	//
	// 	- **mongos**: mongos node
	//
	// This parameter is required.
	//
	// example:
	//
	// shard
	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 number of read-only nodes in the shard node.
	//
	// Valid values: **0**, 1, 2, 3, 4, and **5**. Default value: **0**.
	//
	// >  This parameter is available only for ApsaraDB for MongoDB instances that are purchased on the China site (aliyun.com).
	//
	// example:
	//
	// 5
	ReadonlyReplicas     *int32  `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to apply for an endpoint for the shard node. Valid values:
	//
	// 	- **true**: applies for an endpoint for the shard node.
	//
	// 	- **false*	- (default): does not apply for an endpoint for the shard node.
	//
	// example:
	//
	// false
	ShardDirect *bool `json:"ShardDirect,omitempty" xml:"ShardDirect,omitempty"`
}

func (CreateNodeRequest) GoString

func (s CreateNodeRequest) GoString() string

func (*CreateNodeRequest) SetAccountName

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

func (*CreateNodeRequest) SetAccountPassword

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

func (*CreateNodeRequest) SetAutoPay

func (s *CreateNodeRequest) SetAutoPay(v bool) *CreateNodeRequest

func (*CreateNodeRequest) SetBusinessInfo

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

func (*CreateNodeRequest) SetClientToken

func (s *CreateNodeRequest) SetClientToken(v string) *CreateNodeRequest

func (*CreateNodeRequest) SetCouponNo

func (s *CreateNodeRequest) SetCouponNo(v string) *CreateNodeRequest

func (*CreateNodeRequest) SetDBInstanceId

func (s *CreateNodeRequest) SetDBInstanceId(v string) *CreateNodeRequest

func (*CreateNodeRequest) SetNodeClass

func (s *CreateNodeRequest) SetNodeClass(v string) *CreateNodeRequest

func (*CreateNodeRequest) SetNodeStorage

func (s *CreateNodeRequest) SetNodeStorage(v int32) *CreateNodeRequest

func (*CreateNodeRequest) SetNodeType

func (s *CreateNodeRequest) SetNodeType(v string) *CreateNodeRequest

func (*CreateNodeRequest) SetOwnerAccount

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

func (*CreateNodeRequest) SetOwnerId

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

func (*CreateNodeRequest) SetReadonlyReplicas

func (s *CreateNodeRequest) SetReadonlyReplicas(v int32) *CreateNodeRequest

func (*CreateNodeRequest) SetResourceOwnerAccount

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

func (*CreateNodeRequest) SetResourceOwnerId

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

func (*CreateNodeRequest) SetShardDirect

func (s *CreateNodeRequest) SetShardDirect(v bool) *CreateNodeRequest

func (CreateNodeRequest) String

func (s CreateNodeRequest) String() string

type CreateNodeResponse

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

func (CreateNodeResponse) GoString

func (s CreateNodeResponse) GoString() string

func (*CreateNodeResponse) SetBody

func (*CreateNodeResponse) SetHeaders

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

func (*CreateNodeResponse) SetStatusCode

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

func (CreateNodeResponse) String

func (s CreateNodeResponse) String() string

type CreateNodeResponseBody

type CreateNodeResponseBody struct {
	// The node ID.
	//
	// example:
	//
	// d-bp1b234bf7a4****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The order ID.
	//
	// example:
	//
	// 20951063702****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 7D48FB19-20CA-4725-A870-3D8F5CE6****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateNodeResponseBody) GoString

func (s CreateNodeResponseBody) GoString() string

func (*CreateNodeResponseBody) SetNodeId

func (*CreateNodeResponseBody) SetOrderId

func (*CreateNodeResponseBody) SetRequestId

func (CreateNodeResponseBody) String

func (s CreateNodeResponseBody) String() string

type CreateShardingDBInstanceRequest

type CreateShardingDBInstanceRequest struct {
	// The password of the root account. The password must meet the following requirements:
	//
	// 	- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// 	- The special characters include ! # $ % ^ & \\	- ( ) _ + - =
	//
	// 	- The password of the account must be 8 to 32 characters in length.
	//
	// example:
	//
	// 123456Aa
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// > This parameter is available and optional if you set the value of **ChargeType*	- to **PrePaid**.
	//
	// example:
	//
	// true
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The ID of the backup set.
	//
	// > When you call this operation to clone an instance based on the backup set, this parameter is required. The **SrcDBInstanceId*	- parameter is also required.
	//
	// example:
	//
	// cb-xxx
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PostPaid*	- (default): pay-as-you-go
	//
	// 	- **PrePaid**: subscription
	//
	// >  If this parameter is set to **PrePaid**, you must also configure the **Period*	- parameter.
	//
	// example:
	//
	// PrePaid
	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 token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ConfigServer nodes of the instance.
	//
	// This parameter is required.
	ConfigServer []*CreateShardingDBInstanceRequestConfigServer `json:"ConfigServer,omitempty" xml:"ConfigServer,omitempty" type:"Repeated"`
	// The name of the instance. The name of the instance must meet the following requirements:
	//
	// 	- The name must start with a letter.
	//
	// 	- It can contain digits, letters, underscores (_), and hyphens (-).
	//
	// 	- It must be 2 to 256 characters in length.
	//
	// example:
	//
	// test
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The region of the backup set used for the cross-region backup and restoration.
	//
	// >  This parameter is required when you set the RestoreType parameter to 3.
	//
	// example:
	//
	// cn-hangzhou
	DestRegion *string `json:"DestRegion,omitempty" xml:"DestRegion,omitempty"`
	// Indicates whether disk encryption is enabled.
	//
	// example:
	//
	// true
	Encrypted *bool `json:"Encrypted,omitempty" xml:"Encrypted,omitempty"`
	// The ID of the custom key.
	//
	// example:
	//
	// 2axxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The database engine of the instance. Set the value to **MongoDB**.
	//
	// This parameter is required.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// 	- **7.0**
	//
	// 	- **6.0**
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// > 	- For more information about the limits on database versions and storage engines, see [MongoDB versions and storage engines](https://help.aliyun.com/document_detail/61906.html).
	//
	// > 	- If you call this operation to clone an instance, set the value of this parameter to the database engine version of the source instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// 4.4
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The global IP address whitelist template of the instance. Separate multiple templates with commas (,). The template name must be globally unique.
	//
	// example:
	//
	// g-qxieqf40xjst1ngp****
	GlobalSecurityGroupIds *string `json:"GlobalSecurityGroupIds,omitempty" xml:"GlobalSecurityGroupIds,omitempty"`
	// The ID of secondary zone 2 for multi-zone deployment. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I
	//
	// 	- **cn-hongkong-b**: Hong Kong Zone B
	//
	// 	- **cn-hongkong-c**: Hong Kong Zone C
	//
	// 	- **cn-hongkong-d**: Hong Kong Zone D
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C
	//
	// 	- **ap-southeast-1a**: Singapore Zone A
	//
	// 	- **ap-southeast-1b**: Singapore Zone B
	//
	// 	- **ap-southeast-1c**: Singapore Zone C
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C
	//
	// 	- **eu-central-1a**: Frankfurt Zone A
	//
	// 	- **eu-central-1b**: Frankfurt Zone B
	//
	// 	- **eu-central-1c**: Frankfurt Zone C
	//
	// > 	- This parameter is available and required if you set the value of **EngineVersion*	- to **4.4*	- or **5.0**.
	//
	// > 	- The value of this parameter cannot be the same as the value of **ZoneId*	- or **SecondaryZoneId**.
	//
	// > 	- For more information about the multi-zone deployment policy of a sharded cluster instance, see [Create a multi-zone sharded cluster instance](https://help.aliyun.com/document_detail/117865.html).
	//
	// example:
	//
	// cn-hangzhou-i
	HiddenZoneId *string `json:"HiddenZoneId,omitempty" xml:"HiddenZoneId,omitempty"`
	// The mongos nodes of the instance.
	//
	// This parameter is required.
	Mongos []*CreateShardingDBInstanceRequestMongos `json:"Mongos,omitempty" xml:"Mongos,omitempty" type:"Repeated"`
	// The network type of the instance.
	//
	// Set the value to **VPC**.
	//
	// example:
	//
	// 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 subscription period of the instance. Unit: months.
	//
	// Valid values: **1*	- to **9**, **12**, **24**, **36**, and **60**.
	//
	// > When you set the **ChargeType*	- parameter to **PrePaid**, this parameter is valid and required.
	//
	// example:
	//
	// 1
	Period *int32 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The access protocol type of the instance. Valid values:
	//
	// 	- **mongodb**
	//
	// 	- **dynamodb**
	//
	// example:
	//
	// mongodb
	ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"`
	// The provisioned IOPS of the instance:
	//
	// example:
	//
	// 1960
	ProvisionedIops *int64 `json:"ProvisionedIops,omitempty" xml:"ProvisionedIops,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The information of the shard node.
	//
	// This parameter is required.
	ReplicaSet []*CreateShardingDBInstanceRequestReplicaSet `json:"ReplicaSet,omitempty" xml:"ReplicaSet,omitempty" type:"Repeated"`
	// The resource group ID. For more information, see [View the basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 to restore the instance, which must be within seven days. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in Coordinated Universal Time (UTC).
	//
	// > This parameter is required only if you call this operation to clone an instance. If you specify this parameter, you must also specify **SrcDBInstanceId**.
	//
	// example:
	//
	// 2022-03-08T02:30:25Z
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The backup restore type of the instance.
	//
	// - 1:  restore an instance to the specified time.
	//
	// - 2: restore an  released instance to the specified backup set.
	//
	// - 3:restore an instance to the specified cross-regional backup set.
	//
	// example:
	//
	// 1
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	// The ID of secondary zone 1 for multi-zone deployment. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I
	//
	// 	- **cn-hongkong-b**: Hong Kong Zone B
	//
	// 	- **cn-hongkong-c**: Hong Kong Zone C
	//
	// 	- **cn-hongkong-d**: Hong Kong Zone D
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C
	//
	// 	- **ap-southeast-1a**: Singapore Zone A
	//
	// 	- **ap-southeast-1b**: Singapore Zone B
	//
	// 	- **ap-southeast-1c**: Singapore Zone C
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C
	//
	// 	- **eu-central-1a**: Frankfurt Zone A
	//
	// 	- **eu-central-1b**: Frankfurt Zone B
	//
	// 	- **eu-central-1c**: Frankfurt Zone C
	//
	// > 	- This parameter is available and required if you set the value of **EngineVersion*	- to **4.4*	- or **5.0**.
	//
	// > 	- The value of this parameter cannot be the same as the value of **ZoneId*	- or **HiddenZoneId**.
	//
	// > 	- For more information about the multi-zone deployment policy of a sharded cluster instance, see [Create a multi-zone sharded cluster instance](https://help.aliyun.com/document_detail/117865.html).
	//
	// example:
	//
	// cn-hangzhou-h
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The IP addresses in an IP address whitelist of the instance. Multiple IP addresses are separated by commas (,), and each IP address in the IP address whitelist must be unique. The following types of values are supported:
	//
	// 	- 0.0.0.0/0
	//
	// 	- IP addresses, such as 10.23.12.24.
	//
	// 	- CIDR blocks, such as 10.23.12.0/24. In this case, 24 indicates that the prefix of each IP address is 24-bit long. You can replace 24 with a value within the range of 1 to 32.
	//
	// > 	- A maximum of 1,000 IP addresses and CIDR blocks can be configured for each instance.
	//
	// > 	- If you enter 0.0.0.0/0, all IP addresses can access the instance. This may introduce security risks to the instance. Proceed with caution.
	//
	// example:
	//
	// 192.168.xx.xx,192.168.xx.xx
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The source instance ID.
	//
	// > This parameter is required only if you call this operation to clone an instance. If you specify this parameter, you must also specify **RestoreTime**.
	//
	// example:
	//
	// dds-bp11483712c1****
	SrcDBInstanceId *string `json:"SrcDBInstanceId,omitempty" xml:"SrcDBInstanceId,omitempty"`
	// The region ID of the instance.
	//
	// > This parameter is required when restore type is set to 2 or 3.
	//
	// example:
	//
	// cn-beijing
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,omitempty"`
	// The storage engine of the instance. Set the value to **WiredTiger**.
	//
	// > 	- If you call this operation to clone an instance, set the value of this parameter to the storage engine of the source instance.
	//
	// > 	- For more information about the limits on database versions and storage engines, see [MongoDB versions and storage engines](https://help.aliyun.com/document_detail/61906.html).
	//
	// example:
	//
	// WiredTiger
	StorageEngine *string `json:"StorageEngine,omitempty" xml:"StorageEngine,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// 	- **cloud_essd1**: ESSD PL1
	//
	// 	- **cloud_essd2**: ESSD PL2
	//
	// 	- **cloud_essd3**: ESSD PL3
	//
	// 	- **local_ssd**: local SSD
	//
	// > 	- Instances of MongoDB 4.4 and later support only cloud disks. **cloud_essd1*	- is selected if you leave this parameter empty.
	//
	// > 	- Instances of MongoDB 4.2 and earlier support only local disks. **local_ssd*	- is selected if you leave this parameter empty.
	//
	// example:
	//
	// cloud_essd1
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The custom tags that you want to add to the instance.
	Tag []*CreateShardingDBInstanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The vSwitch ID of the instance.
	//
	// example:
	//
	// vsw-bp1vj604nj5a9zz74****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	//
	// example:
	//
	// vpc-bp1n3i15v90el48nx****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent zone list.
	//
	// example:
	//
	// cn-hangzhou-g
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateShardingDBInstanceRequest) GoString

func (*CreateShardingDBInstanceRequest) SetAccountPassword

func (*CreateShardingDBInstanceRequest) SetAutoRenew

func (*CreateShardingDBInstanceRequest) SetBackupId

func (*CreateShardingDBInstanceRequest) SetChargeType

func (*CreateShardingDBInstanceRequest) SetClientToken

func (*CreateShardingDBInstanceRequest) SetDBInstanceDescription

func (*CreateShardingDBInstanceRequest) SetDestRegion

func (*CreateShardingDBInstanceRequest) SetEncrypted

func (*CreateShardingDBInstanceRequest) SetEncryptionKey

func (*CreateShardingDBInstanceRequest) SetEngine

func (*CreateShardingDBInstanceRequest) SetEngineVersion

func (*CreateShardingDBInstanceRequest) SetGlobalSecurityGroupIds

func (*CreateShardingDBInstanceRequest) SetHiddenZoneId

func (*CreateShardingDBInstanceRequest) SetNetworkType

func (*CreateShardingDBInstanceRequest) SetOwnerAccount

func (*CreateShardingDBInstanceRequest) SetOwnerId

func (*CreateShardingDBInstanceRequest) SetPeriod

func (*CreateShardingDBInstanceRequest) SetProtocolType

func (*CreateShardingDBInstanceRequest) SetProvisionedIops

func (*CreateShardingDBInstanceRequest) SetRegionId

func (*CreateShardingDBInstanceRequest) SetResourceGroupId

func (*CreateShardingDBInstanceRequest) SetResourceOwnerAccount

func (*CreateShardingDBInstanceRequest) SetResourceOwnerId

func (*CreateShardingDBInstanceRequest) SetRestoreTime

func (*CreateShardingDBInstanceRequest) SetRestoreType

func (*CreateShardingDBInstanceRequest) SetSecondaryZoneId

func (*CreateShardingDBInstanceRequest) SetSecurityIPList

func (*CreateShardingDBInstanceRequest) SetSrcDBInstanceId

func (*CreateShardingDBInstanceRequest) SetSrcRegion

func (*CreateShardingDBInstanceRequest) SetStorageEngine

func (*CreateShardingDBInstanceRequest) SetStorageType

func (*CreateShardingDBInstanceRequest) SetTag

func (*CreateShardingDBInstanceRequest) SetVSwitchId

func (*CreateShardingDBInstanceRequest) SetVpcId

func (*CreateShardingDBInstanceRequest) SetZoneId

func (CreateShardingDBInstanceRequest) String

type CreateShardingDBInstanceRequestConfigServer

type CreateShardingDBInstanceRequestConfigServer struct {
	// The instance type of the ConfigServer node. Valid values:
	//
	// 	- **mdb.shard.2x.xlarge.d**: 4 cores, 8 GB (dedicated). Only instances that run MongoDB 4.4 and later support this instance type.
	//
	// 	- **dds.cs.mid*	- :1 core, 2 GB (general-purpose). Only instances that run MongoDB 4.2 and earlier support this instance type.
	//
	// This parameter is required.
	//
	// example:
	//
	// mdb.shard.2x.xlarge.d
	Class *string `json:"Class,omitempty" xml:"Class,omitempty"`
	// The storage space of the ConfigServer node. Unit: GB.
	//
	// > The values that can be specified for this parameter vary based on the instance types. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// 20
	Storage *int32 `json:"Storage,omitempty" xml:"Storage,omitempty"`
}

func (CreateShardingDBInstanceRequestConfigServer) GoString

func (*CreateShardingDBInstanceRequestConfigServer) SetClass

func (*CreateShardingDBInstanceRequestConfigServer) SetStorage

func (CreateShardingDBInstanceRequestConfigServer) String

type CreateShardingDBInstanceRequestMongos

type CreateShardingDBInstanceRequestMongos struct {
	// The instance type of the mongos node. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
	//
	// > 	- **N*	- specifies the serial number of the mongos node for which the instance type is specified. For example, **Mongos.2.Class*	- specifies the instance type of the second mongos node.
	//
	// > 	- Valid values for **N**: **2*	- to **32**.
	//
	// This parameter is required.
	//
	// example:
	//
	// mdb.shard.2x.xlarge.d
	Class *string `json:"Class,omitempty" xml:"Class,omitempty"`
}

func (CreateShardingDBInstanceRequestMongos) GoString

func (*CreateShardingDBInstanceRequestMongos) SetClass

func (CreateShardingDBInstanceRequestMongos) String

type CreateShardingDBInstanceRequestReplicaSet

type CreateShardingDBInstanceRequestReplicaSet struct {
	// The instance type of the shard node. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
	//
	// > 	- **N*	- specifies the serial number of the shard node for which the instance type is specified. For example, **ReplicaSet.2.Class*	- specifies the instance type of the second shard node.
	//
	// > 	- Valid values of **N**: **2*	- to **32**.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds.shard.standard
	Class *string `json:"Class,omitempty" xml:"Class,omitempty"`
	// The number of read-only nodes in the shard node.
	//
	// Valid values: **0**, **1, 2, 3, 4, and 5**. Default value: **0**.
	//
	// >  **N*	- specifies the serial number of the shard node for which you want to set the number of read-only nodes. **ReplicaSet.2.ReadonlyReplicas*	- specifies the number of read-only nodes in the second shard node.
	//
	// example:
	//
	// 0
	ReadonlyReplicas *int32 `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	// The storage capacity of the shard node. Unit: GB.
	//
	// > 	- The values that can be specified for this parameter vary based on the instance types. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
	//
	// > 	- **N*	- specifies the serial number of the shard node for which the storage space is specified. For example, **ReplicaSet.2.Storage*	- specifies the storage space of the second shard node.
	//
	// This parameter is required.
	//
	// example:
	//
	// 10
	Storage *int32 `json:"Storage,omitempty" xml:"Storage,omitempty"`
}

func (CreateShardingDBInstanceRequestReplicaSet) GoString

func (*CreateShardingDBInstanceRequestReplicaSet) SetClass

func (*CreateShardingDBInstanceRequestReplicaSet) SetReadonlyReplicas

func (*CreateShardingDBInstanceRequestReplicaSet) SetStorage

func (CreateShardingDBInstanceRequestReplicaSet) String

type CreateShardingDBInstanceRequestTag

type CreateShardingDBInstanceRequestTag struct {
	// The tag key.
	//
	// >  **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.
	//
	// example:
	//
	// testdatabase
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	//
	// >  **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.
	//
	// example:
	//
	// apitest
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateShardingDBInstanceRequestTag) GoString

func (*CreateShardingDBInstanceRequestTag) SetKey

func (*CreateShardingDBInstanceRequestTag) SetValue

func (CreateShardingDBInstanceRequestTag) String

type CreateShardingDBInstanceResponse

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

func (CreateShardingDBInstanceResponse) GoString

func (*CreateShardingDBInstanceResponse) SetHeaders

func (*CreateShardingDBInstanceResponse) SetStatusCode

func (CreateShardingDBInstanceResponse) String

type CreateShardingDBInstanceResponseBody

type CreateShardingDBInstanceResponseBody struct {
	// The instance ID.
	//
	// example:
	//
	// dds-bp114f14849d****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The order ID.
	//
	// example:
	//
	// 21010996721****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D8F1D721-6439-4257-A89C-F1E8E9C9****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateShardingDBInstanceResponseBody) GoString

func (*CreateShardingDBInstanceResponseBody) SetDBInstanceId

func (*CreateShardingDBInstanceResponseBody) SetOrderId

func (*CreateShardingDBInstanceResponseBody) SetRequestId

func (CreateShardingDBInstanceResponseBody) String

type DeleteDBInstanceRequest

type DeleteDBInstanceRequest 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.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCzxxxxxxxxxx
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DeleteDBInstanceRequest) GoString

func (s DeleteDBInstanceRequest) GoString() string

func (*DeleteDBInstanceRequest) SetClientToken

func (*DeleteDBInstanceRequest) SetDBInstanceId

func (*DeleteDBInstanceRequest) SetOwnerAccount

func (*DeleteDBInstanceRequest) SetOwnerId

func (*DeleteDBInstanceRequest) SetResourceOwnerAccount

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

func (*DeleteDBInstanceRequest) SetResourceOwnerId

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

func (DeleteDBInstanceRequest) String

func (s DeleteDBInstanceRequest) String() string

type DeleteDBInstanceResponse

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

func (DeleteDBInstanceResponse) GoString

func (s DeleteDBInstanceResponse) GoString() string

func (*DeleteDBInstanceResponse) SetBody

func (*DeleteDBInstanceResponse) SetHeaders

func (*DeleteDBInstanceResponse) SetStatusCode

func (DeleteDBInstanceResponse) String

func (s DeleteDBInstanceResponse) String() string

type DeleteDBInstanceResponseBody

type DeleteDBInstanceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 72651AF9-7897-41A7-8B67-6C15C7F26A0A
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDBInstanceResponseBody) GoString

func (s DeleteDBInstanceResponseBody) GoString() string

func (*DeleteDBInstanceResponseBody) SetRequestId

func (DeleteDBInstanceResponseBody) String

type DeleteGlobalSecurityIPGroupRequest

type DeleteGlobalSecurityIPGroupRequest struct {
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// 	- It can contain lowercase letters, digits, and underscores (_).
	//
	// 	- It must start with a letter and end with a letter or digit.
	//
	// 	- It must be 2 to 120 characters in length.
	//
	// example:
	//
	// corp
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// This parameter is required.
	//
	// example:
	//
	// g-qxieqf40xjst1ngpr3jz
	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 of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (DeleteGlobalSecurityIPGroupRequest) GoString

func (*DeleteGlobalSecurityIPGroupRequest) SetGlobalIgName

func (*DeleteGlobalSecurityIPGroupRequest) SetGlobalSecurityGroupId

func (*DeleteGlobalSecurityIPGroupRequest) SetOwnerAccount

func (*DeleteGlobalSecurityIPGroupRequest) SetOwnerId

func (*DeleteGlobalSecurityIPGroupRequest) SetRegionId

func (*DeleteGlobalSecurityIPGroupRequest) SetResourceOwnerAccount

func (*DeleteGlobalSecurityIPGroupRequest) SetResourceOwnerId

func (*DeleteGlobalSecurityIPGroupRequest) SetSecurityToken

func (DeleteGlobalSecurityIPGroupRequest) String

type DeleteGlobalSecurityIPGroupResponse

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

func (*DeleteGlobalSecurityIPGroupResponse) SetHeaders

func (*DeleteGlobalSecurityIPGroupResponse) SetStatusCode

func (DeleteGlobalSecurityIPGroupResponse) String

type DeleteGlobalSecurityIPGroupResponseBody

type DeleteGlobalSecurityIPGroupResponseBody struct {
	// The unique ID of the request. If the request fails, provide this ID for technical support to troubleshoot the failure.
	//
	// example:
	//
	// 2F42BB4E-461F-5B55-A37C-53B1141C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteGlobalSecurityIPGroupResponseBody) GoString

func (*DeleteGlobalSecurityIPGroupResponseBody) SetRequestId

func (DeleteGlobalSecurityIPGroupResponseBody) String

type DeleteNodeRequest

type DeleteNodeRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the generated token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCzxxxxxxxxxx
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard or mongos node that you want to delete. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/61923.html) operation to query node IDs.
	//
	// This parameter is required.
	//
	// example:
	//
	// s-bpxxxxxxxx
	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"`
}

func (DeleteNodeRequest) GoString

func (s DeleteNodeRequest) GoString() string

func (*DeleteNodeRequest) SetClientToken

func (s *DeleteNodeRequest) SetClientToken(v string) *DeleteNodeRequest

func (*DeleteNodeRequest) SetDBInstanceId

func (s *DeleteNodeRequest) SetDBInstanceId(v string) *DeleteNodeRequest

func (*DeleteNodeRequest) SetNodeId

func (s *DeleteNodeRequest) SetNodeId(v string) *DeleteNodeRequest

func (*DeleteNodeRequest) SetOwnerAccount

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

func (*DeleteNodeRequest) SetOwnerId

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

func (*DeleteNodeRequest) SetResourceOwnerAccount

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

func (*DeleteNodeRequest) SetResourceOwnerId

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

func (DeleteNodeRequest) String

func (s DeleteNodeRequest) String() string

type DeleteNodeResponse

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

func (DeleteNodeResponse) GoString

func (s DeleteNodeResponse) GoString() string

func (*DeleteNodeResponse) SetBody

func (*DeleteNodeResponse) SetHeaders

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

func (*DeleteNodeResponse) SetStatusCode

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

func (DeleteNodeResponse) String

func (s DeleteNodeResponse) String() string

type DeleteNodeResponseBody

type DeleteNodeResponseBody struct {
	// The order ID.
	//
	// example:
	//
	// 111111111111111
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 9F9BDE64-BF30-41F3-BD29-C19CE4AB3404
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	//
	// example:
	//
	// 111111111
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DeleteNodeResponseBody) GoString

func (s DeleteNodeResponseBody) GoString() string

func (*DeleteNodeResponseBody) SetOrderId

func (*DeleteNodeResponseBody) SetRequestId

func (*DeleteNodeResponseBody) SetTaskId

func (DeleteNodeResponseBody) String

func (s DeleteNodeResponseBody) String() string

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	// The name of the account. Set the value to **root**.
	//
	// example:
	//
	// root
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1fd530f271****
	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"`
}

func (DescribeAccountsRequest) GoString

func (s DescribeAccountsRequest) GoString() string

func (*DescribeAccountsRequest) SetAccountName

func (*DescribeAccountsRequest) SetDBInstanceId

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) 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 {
	// The details of the account.
	Accounts *DescribeAccountsResponseBodyAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// B562A65B-39AB-4EE8-8635-5A222054FB35
	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.
	//
	// example:
	//
	// Admin
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The name of the account.
	//
	// example:
	//
	// root
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The status of the account. Valid values:
	//
	// 	- **Unavailable**
	//
	// 	- **Available**
	//
	// example:
	//
	// Available
	AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"`
	// The role of the account. Valid values:
	//
	// 	- **db**: shard node
	//
	// 	- **cs**: Configserver node
	//
	// 	- **mongos**: mongos node
	//
	// 	- **logic**: sharded cluster instance
	//
	// 	- **normal**: replica set instance
	//
	// example:
	//
	// mongos
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The ID of the instance to which the account belongs.
	//
	// example:
	//
	// dds-bp1fd530f271****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
}

func (DescribeAccountsResponseBodyAccountsAccount) GoString

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountDescription

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountName

func (*DescribeAccountsResponseBodyAccountsAccount) SetAccountStatus

func (*DescribeAccountsResponseBodyAccountsAccount) SetCharacterType

func (*DescribeAccountsResponseBodyAccountsAccount) SetDBInstanceId

func (DescribeAccountsResponseBodyAccountsAccount) String

type DescribeActiveOperationTaskCountRequest

type DescribeActiveOperationTaskCountRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// sg-bp5689ac****
	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 (DescribeActiveOperationTaskCountRequest) GoString

func (*DescribeActiveOperationTaskCountRequest) SetOwnerAccount

func (*DescribeActiveOperationTaskCountRequest) SetOwnerId

func (*DescribeActiveOperationTaskCountRequest) SetResourceGroupId

func (*DescribeActiveOperationTaskCountRequest) SetResourceOwnerAccount

func (*DescribeActiveOperationTaskCountRequest) SetResourceOwnerId

func (DescribeActiveOperationTaskCountRequest) String

type DescribeActiveOperationTaskCountResponse

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

func (DescribeActiveOperationTaskCountResponse) GoString

func (*DescribeActiveOperationTaskCountResponse) SetHeaders

func (*DescribeActiveOperationTaskCountResponse) SetStatusCode

func (DescribeActiveOperationTaskCountResponse) String

type DescribeActiveOperationTaskCountResponseBody

type DescribeActiveOperationTaskCountResponseBody struct {
	// Indicates whether any O\\&M tasks need pop-up windows to notify users actions. Valid values:
	//
	// 	- **0**: No O\\&M tasks need pop-up windows to notify users actions.
	//
	// 	- **1**: Some O\\&M tasks need pop-up windows to notify users actions.
	//
	// example:
	//
	// 0
	NeedPop *int32 `json:"NeedPop,omitempty" xml:"NeedPop,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 770D7F11-21A2-402B-9DF6-D1A620570EF9
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of pending O\\&M tasks.
	//
	// example:
	//
	// 0
	TaskCount *int32 `json:"TaskCount,omitempty" xml:"TaskCount,omitempty"`
}

func (DescribeActiveOperationTaskCountResponseBody) GoString

func (*DescribeActiveOperationTaskCountResponseBody) SetNeedPop

func (*DescribeActiveOperationTaskCountResponseBody) SetRequestId

func (*DescribeActiveOperationTaskCountResponseBody) SetTaskCount

func (DescribeActiveOperationTaskCountResponseBody) String

type DescribeActiveOperationTaskTypeRequest

type DescribeActiveOperationTaskTypeRequest struct {
	// Specifies whether to return historical O\\&M tasks. Valid values:
	//
	// 	- **0*	- (default): The system returns only pending O\\&M tasks.
	//
	// 	- **1**: The system returns historical O\\&M tasks.
	//
	// example:
	//
	// 0
	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 resource group ID. You can call the [DescribeSecurityGroupConfiguration](https://help.aliyun.com/document_detail/146130.html) operation to query the resource group ID.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 (DescribeActiveOperationTaskTypeRequest) GoString

func (*DescribeActiveOperationTaskTypeRequest) SetIsHistory

func (*DescribeActiveOperationTaskTypeRequest) SetOwnerAccount

func (*DescribeActiveOperationTaskTypeRequest) SetOwnerId

func (*DescribeActiveOperationTaskTypeRequest) SetResourceGroupId

func (*DescribeActiveOperationTaskTypeRequest) SetResourceOwnerAccount

func (*DescribeActiveOperationTaskTypeRequest) SetResourceOwnerId

func (DescribeActiveOperationTaskTypeRequest) String

type DescribeActiveOperationTaskTypeResponse

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

func (DescribeActiveOperationTaskTypeResponse) GoString

func (*DescribeActiveOperationTaskTypeResponse) SetHeaders

func (*DescribeActiveOperationTaskTypeResponse) SetStatusCode

func (DescribeActiveOperationTaskTypeResponse) String

type DescribeActiveOperationTaskTypeResponseBody

type DescribeActiveOperationTaskTypeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// C7EE83BF-7BA8-5087-BAC9-ED85ED54****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The O\\&M tasks.
	TypeList []*DescribeActiveOperationTaskTypeResponseBodyTypeList `json:"TypeList,omitempty" xml:"TypeList,omitempty" type:"Repeated"`
}

func (DescribeActiveOperationTaskTypeResponseBody) GoString

func (*DescribeActiveOperationTaskTypeResponseBody) SetRequestId

func (DescribeActiveOperationTaskTypeResponseBody) String

type DescribeActiveOperationTaskTypeResponseBodyTypeList

type DescribeActiveOperationTaskTypeResponseBodyTypeList struct {
	// The number of pending tasks.
	//
	// example:
	//
	// 1
	Count *int32 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The type of the task. Valid values:
	//
	// 	- **rds_apsaradb_transfer**: data migration
	//
	// 	- **rds_apsaradb_upgrade**: minor version update
	//
	// example:
	//
	// rds_apsaradb_upgrade
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The task type in English.
	//
	// example:
	//
	// rds_apsaradb_upgrade
	TaskTypeInfoEn *string `json:"TaskTypeInfoEn,omitempty" xml:"TaskTypeInfoEn,omitempty"`
	// The task type in Chinese.
	//
	// example:
	//
	// rds_apsaradb_upgrade
	TaskTypeInfoZh *string `json:"TaskTypeInfoZh,omitempty" xml:"TaskTypeInfoZh,omitempty"`
}

func (DescribeActiveOperationTaskTypeResponseBodyTypeList) GoString

func (*DescribeActiveOperationTaskTypeResponseBodyTypeList) SetCount

func (*DescribeActiveOperationTaskTypeResponseBodyTypeList) SetTaskType

func (*DescribeActiveOperationTaskTypeResponseBodyTypeList) SetTaskTypeInfoEn

func (*DescribeActiveOperationTaskTypeResponseBodyTypeList) SetTaskTypeInfoZh

func (DescribeActiveOperationTaskTypeResponseBodyTypeList) String

type DescribeActiveOperationTasksRequest

type DescribeActiveOperationTasksRequest struct {
	// Specifies whether to allow the cancellation operation. Valid values:
	//
	// 	- **0**: The cancellation operation is not allowed.
	//
	// 	- **1**: The cancellation operation is allowed.
	//
	// example:
	//
	// ***
	AllowCancel *int32 `json:"AllowCancel,omitempty" xml:"AllowCancel,omitempty"`
	// Specifies whether to allow the modification operation. Valid values:
	//
	// 	- **0**: The modification operation is not allowed.
	//
	// 	- **1**: The modification operation is allowed.
	//
	// example:
	//
	// -1
	AllowChange *int32 `json:"AllowChange,omitempty" xml:"AllowChange,omitempty"`
	// The type of task configuration change. Valid values:
	//
	// 	- **all*	- (default): The configurations of all O\\&M tasks are changed.
	//
	// 	- **S0**: The configurations of tasks initiated to fix exceptions are changed.
	//
	// 	- **S1**: The configurations of system O\\&M tasks are changed.
	//
	// example:
	//
	// ***
	ChangeLevel *string `json:"ChangeLevel,omitempty" xml:"ChangeLevel,omitempty"`
	// The type of the database engine.
	//
	// example:
	//
	// ***
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The name of the instance.
	//
	// example:
	//
	// dds-bp16aaccfe10e3e4
	InsName      *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number of the page to return.
	//
	// example:
	//
	// 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**.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the service.
	//
	// example:
	//
	// ***
	ProductId *string `json:"ProductId,omitempty" xml:"ProductId,omitempty"`
	// The region ID of the instance.
	//
	// >  If you set the Region parameter to **all**, all tasks created within your Alibaba Cloud account are queried. In this case, you must set the **taskType*	- parameter to **all**.
	//
	// example:
	//
	// cn-beijing
	Region               *string `json:"Region,omitempty" xml:"Region,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The status of the task. Valid values:
	//
	// 	- **0**: waiting for execution
	//
	// 	- **1**: being executed
	//
	// 	- **2**: successful
	//
	// 	- **3**: failed
	//
	// example:
	//
	// 0
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The task type.
	//
	// example:
	//
	// ***
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
}

func (DescribeActiveOperationTasksRequest) GoString

func (*DescribeActiveOperationTasksRequest) SetAllowCancel

func (*DescribeActiveOperationTasksRequest) SetAllowChange

func (*DescribeActiveOperationTasksRequest) SetChangeLevel

func (*DescribeActiveOperationTasksRequest) SetDbType

func (*DescribeActiveOperationTasksRequest) SetInsName

func (*DescribeActiveOperationTasksRequest) SetOwnerAccount

func (*DescribeActiveOperationTasksRequest) SetOwnerId

func (*DescribeActiveOperationTasksRequest) SetPageNumber

func (*DescribeActiveOperationTasksRequest) SetPageSize

func (*DescribeActiveOperationTasksRequest) SetProductId

func (*DescribeActiveOperationTasksRequest) SetRegion

func (*DescribeActiveOperationTasksRequest) SetResourceOwnerAccount

func (*DescribeActiveOperationTasksRequest) SetResourceOwnerId

func (*DescribeActiveOperationTasksRequest) SetStatus

func (*DescribeActiveOperationTasksRequest) SetTaskType

func (DescribeActiveOperationTasksRequest) String

type DescribeActiveOperationTasksResponse

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

func (DescribeActiveOperationTasksResponse) GoString

func (*DescribeActiveOperationTasksResponse) SetHeaders

func (*DescribeActiveOperationTasksResponse) SetStatusCode

func (DescribeActiveOperationTasksResponse) String

type DescribeActiveOperationTasksResponseBody

type DescribeActiveOperationTasksResponseBody struct {
	// The O\\&M tasks.
	Items []*DescribeActiveOperationTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 111E7B16-0A87-4CBA-B271-F34AD61E099F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	//
	// example:
	//
	// 727
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeActiveOperationTasksResponseBody) GoString

func (*DescribeActiveOperationTasksResponseBody) SetPageNumber

func (*DescribeActiveOperationTasksResponseBody) SetPageSize

func (*DescribeActiveOperationTasksResponseBody) SetRequestId

func (*DescribeActiveOperationTasksResponseBody) SetTotalRecordCount

func (DescribeActiveOperationTasksResponseBody) String

type DescribeActiveOperationTasksResponseBodyItems

type DescribeActiveOperationTasksResponseBodyItems struct {
	// N/A
	//
	// example:
	//
	// ***
	AllowCancel *string `json:"AllowCancel,omitempty" xml:"AllowCancel,omitempty"`
	// Indicates whether the modification operation is allowed.
	//
	// 	- **0**: The modification operation is not allowed.
	//
	// 	- **1**: The modification operation is allowed.
	//
	// example:
	//
	// 0
	AllowChange *string `json:"AllowChange,omitempty" xml:"AllowChange,omitempty"`
	// The change level of the O\\&M task.
	//
	// example:
	//
	// ***
	ChangeLevel *string `json:"ChangeLevel,omitempty" xml:"ChangeLevel,omitempty"`
	// N/A
	//
	// example:
	//
	// ***
	ChangeLevelEn *string `json:"ChangeLevelEn,omitempty" xml:"ChangeLevelEn,omitempty"`
	// The task type in English.
	//
	// example:
	//
	// ***
	ChangeLevelZh *string `json:"ChangeLevelZh,omitempty" xml:"ChangeLevelZh,omitempty"`
	// The time when the task was created.
	//
	// example:
	//
	// 2021-07-14 10:48:43
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// N/A
	//
	// example:
	//
	// ***
	CurrentAVZ *string `json:"CurrentAVZ,omitempty" xml:"CurrentAVZ,omitempty"`
	// The type of the database engine.
	//
	// example:
	//
	// mongoDb
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The version of the database engine.
	//
	// example:
	//
	// 5.6
	DbVersion *string `json:"DbVersion,omitempty" xml:"DbVersion,omitempty"`
	// The end time of the O\\&M task.
	//
	// example:
	//
	// 1646014421633
	Deadline *string `json:"Deadline,omitempty" xml:"Deadline,omitempty"`
	// The task ID.
	//
	// example:
	//
	// ***
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
	// N/A
	//
	// example:
	//
	// ***
	ImpactEn *string `json:"ImpactEn,omitempty" xml:"ImpactEn,omitempty"`
	// N/A
	//
	// example:
	//
	// ***
	ImpactZh *string `json:"ImpactZh,omitempty" xml:"ImpactZh,omitempty"`
	// The description of the instance.
	//
	// example:
	//
	// ***
	InsComment *string `json:"InsComment,omitempty" xml:"InsComment,omitempty"`
	// The ID of the node.
	//
	// example:
	//
	// ***
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The time when the task is 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.
	//
	// example:
	//
	// 2022-12-24T09:48:01Z
	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.
	//
	// example:
	//
	// ***
	PrepareInterval *string `json:"PrepareInterval,omitempty" xml:"PrepareInterval,omitempty"`
	// The region of the instance.
	//
	// example:
	//
	// cn-hangzhou
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The result information. The value of this parameter can be ignored.
	//
	// example:
	//
	// ***
	ResultInfo *string `json:"ResultInfo,omitempty" xml:"ResultInfo,omitempty"`
	// The start time of the 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.
	//
	// example:
	//
	// 2022-12-24T06:01:05Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// N/A
	//
	// example:
	//
	// ***
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The subinstances.
	SubInsNames []*string `json:"SubInsNames,omitempty" xml:"SubInsNames,omitempty" type:"Repeated"`
	// The switchover point in time in which disconnection may occur. The time follows the ISO 8601 standard in the *yyyy-mm-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-11-24T11:20:00Z
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The task type.
	//
	// example:
	//
	// ***
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// N/A
	//
	// example:
	//
	// ***
	TaskTypeEn *string `json:"TaskTypeEn,omitempty" xml:"TaskTypeEn,omitempty"`
	// The task type in Chinese.
	//
	// example:
	//
	// ***
	TaskTypeZh *string `json:"TaskTypeZh,omitempty" xml:"TaskTypeZh,omitempty"`
}

func (DescribeActiveOperationTasksResponseBodyItems) GoString

func (*DescribeActiveOperationTasksResponseBodyItems) SetAllowCancel

func (*DescribeActiveOperationTasksResponseBodyItems) SetAllowChange

func (*DescribeActiveOperationTasksResponseBodyItems) SetChangeLevel

func (*DescribeActiveOperationTasksResponseBodyItems) SetChangeLevelEn

func (*DescribeActiveOperationTasksResponseBodyItems) SetChangeLevelZh

func (*DescribeActiveOperationTasksResponseBodyItems) SetCreatedTime

func (*DescribeActiveOperationTasksResponseBodyItems) SetCurrentAVZ

func (*DescribeActiveOperationTasksResponseBodyItems) SetDbType

func (*DescribeActiveOperationTasksResponseBodyItems) SetDbVersion

func (*DescribeActiveOperationTasksResponseBodyItems) SetDeadline

func (*DescribeActiveOperationTasksResponseBodyItems) SetId

func (*DescribeActiveOperationTasksResponseBodyItems) SetImpactEn

func (*DescribeActiveOperationTasksResponseBodyItems) SetImpactZh

func (*DescribeActiveOperationTasksResponseBodyItems) SetInsComment

func (*DescribeActiveOperationTasksResponseBodyItems) SetInsName

func (*DescribeActiveOperationTasksResponseBodyItems) SetModifiedTime

func (*DescribeActiveOperationTasksResponseBodyItems) SetPrepareInterval

func (*DescribeActiveOperationTasksResponseBodyItems) SetRegion

func (*DescribeActiveOperationTasksResponseBodyItems) SetResultInfo

func (*DescribeActiveOperationTasksResponseBodyItems) SetStartTime

func (*DescribeActiveOperationTasksResponseBodyItems) SetStatus

func (*DescribeActiveOperationTasksResponseBodyItems) SetSubInsNames

func (*DescribeActiveOperationTasksResponseBodyItems) SetSwitchTime

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskType

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskTypeEn

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskTypeZh

func (DescribeActiveOperationTasksResponseBodyItems) String

type DescribeAuditLogFilterRequest

type DescribeAuditLogFilterRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	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 role of the node in the instance. Valid values:
	//
	// 	- **mongos**: mongos node.
	//
	// 	- **db*	- : shard node.
	//
	// 	- **logic*	- : logical instance.
	//
	// example:
	//
	// logic
	RoleType *string `json:"RoleType,omitempty" xml:"RoleType,omitempty"`
}

func (DescribeAuditLogFilterRequest) GoString

func (*DescribeAuditLogFilterRequest) SetDBInstanceId

func (*DescribeAuditLogFilterRequest) SetOwnerAccount

func (*DescribeAuditLogFilterRequest) SetOwnerId

func (*DescribeAuditLogFilterRequest) SetResourceOwnerAccount

func (*DescribeAuditLogFilterRequest) SetResourceOwnerId

func (*DescribeAuditLogFilterRequest) SetRoleType

func (DescribeAuditLogFilterRequest) String

type DescribeAuditLogFilterResponse

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

func (DescribeAuditLogFilterResponse) GoString

func (*DescribeAuditLogFilterResponse) SetHeaders

func (*DescribeAuditLogFilterResponse) SetStatusCode

func (DescribeAuditLogFilterResponse) String

type DescribeAuditLogFilterResponseBody

type DescribeAuditLogFilterResponseBody struct {
	// The type of the audit log entries. Valid values:
	//
	// 	- **admin**: O\\&M and management operations
	//
	// 	- **slow**: slow query logs
	//
	// 	- **query**: query operations
	//
	// 	- **insert**: insert operations
	//
	// 	- **update**: update operations
	//
	// 	- **delete**: delete operations
	//
	// 	- **command**: protocol commands such as the aggregate method
	//
	// example:
	//
	// admin,slow,insert,query,update,delete,command
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 7BAFB0B3-2A54-5B65-B13E-3937CF08FEE6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The role of the node.
	//
	// example:
	//
	// logic
	RoleType *string `json:"RoleType,omitempty" xml:"RoleType,omitempty"`
}

func (DescribeAuditLogFilterResponseBody) GoString

func (*DescribeAuditLogFilterResponseBody) SetFilter

func (*DescribeAuditLogFilterResponseBody) SetRequestId

func (*DescribeAuditLogFilterResponseBody) SetRoleType

func (DescribeAuditLogFilterResponseBody) String

type DescribeAuditPolicyRequest

type DescribeAuditPolicyRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	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"`
}

func (DescribeAuditPolicyRequest) GoString

func (s DescribeAuditPolicyRequest) GoString() string

func (*DescribeAuditPolicyRequest) SetDBInstanceId

func (*DescribeAuditPolicyRequest) SetOwnerAccount

func (*DescribeAuditPolicyRequest) SetOwnerId

func (*DescribeAuditPolicyRequest) SetResourceOwnerAccount

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

func (*DescribeAuditPolicyRequest) SetResourceOwnerId

func (DescribeAuditPolicyRequest) String

type DescribeAuditPolicyResponse

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

func (DescribeAuditPolicyResponse) GoString

func (s DescribeAuditPolicyResponse) GoString() string

func (*DescribeAuditPolicyResponse) SetBody

func (*DescribeAuditPolicyResponse) SetHeaders

func (*DescribeAuditPolicyResponse) SetStatusCode

func (DescribeAuditPolicyResponse) String

type DescribeAuditPolicyResponseBody

type DescribeAuditPolicyResponseBody struct {
	// Indicates whether the log audit feature is enabled. Valid values:
	//
	// 	- Enable
	//
	// 	- Disabled
	//
	// Default value: Disabled.
	//
	// example:
	//
	// Enable
	LogAuditStatus *string `json:"LogAuditStatus,omitempty" xml:"LogAuditStatus,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 111E7B16-0A87-4CBA-B271-F34AD61E099F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAuditPolicyResponseBody) GoString

func (*DescribeAuditPolicyResponseBody) SetLogAuditStatus

func (*DescribeAuditPolicyResponseBody) SetRequestId

func (DescribeAuditPolicyResponseBody) String

type DescribeAuditRecordsRequest

type DescribeAuditRecordsRequest struct {
	// The instance ID.
	//
	// > If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database to be queried. By default, all databases are queried.
	//
	// example:
	//
	// database****
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// 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-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// > The end time must be within 24 hours from the start time. Otherwise, the query fails.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-03-13T13:11:14Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The form of the audit log that the operation returns. Valid values:
	//
	// 	- **File**: triggers the generation of audit logs. If this parameter is set to File, only common parameters are returned.
	//
	// 	- **Stream*	- (default): returns data streams.
	//
	// example:
	//
	// Stream
	Form *string `json:"Form,omitempty" xml:"Form,omitempty"`
	// The logical relationship between multiple keywords. Valid values:
	//
	// 	- **or**
	//
	// 	- **and*	- (default value)
	//
	// example:
	//
	// and
	LogicalOperator *string `json:"LogicalOperator,omitempty" xml:"LogicalOperator,omitempty"`
	// The ID of the mongos node or shard node in the instance.
	//
	// > This parameter takes effect only when you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp128a003436****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The order of time in which the log entries to return are sorted. Valid values:
	//
	// 	- **asc**: The log entries are sorted by time in ascending order.
	//
	// 	- **desc**: The log entries are sorted by time in descending order.
	//
	// example:
	//
	// asc
	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 page number of the page to return. The valid value must be a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return per page. Default value: 30. Valid values: **30**, **50**, and **100**.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keywords used for query. You can enter up to 10 keywords at a time. If you enter multiple keywords, separate the keywords with spaces.
	//
	// example:
	//
	// slow
	QueryKeywords        *string `json:"QueryKeywords,omitempty" xml:"QueryKeywords,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,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:ss*Z format. The time must be in UTC.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-03-13T12:11:14Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The user of the database. If you do not specify this parameter, this operation returns records of all users.
	//
	// example:
	//
	// test
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (DescribeAuditRecordsRequest) GoString

func (s DescribeAuditRecordsRequest) GoString() string

func (*DescribeAuditRecordsRequest) SetDBInstanceId

func (*DescribeAuditRecordsRequest) SetDatabase

func (*DescribeAuditRecordsRequest) SetEndTime

func (*DescribeAuditRecordsRequest) SetForm

func (*DescribeAuditRecordsRequest) SetLogicalOperator

func (*DescribeAuditRecordsRequest) SetNodeId

func (*DescribeAuditRecordsRequest) SetOrderType

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) SetStartTime

func (*DescribeAuditRecordsRequest) SetUser

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 {
	// An array that consists of the information of audit log entries.
	Items *DescribeAuditRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The maximum number of entries on the current page.
	//
	// example:
	//
	// 30
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 3278BEB8-503B-4E46-8F7E-D26E040C9769
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	//
	// example:
	//
	// 40
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeAuditRecordsResponseBody) GoString

func (*DescribeAuditRecordsResponseBody) SetPageNumber

func (*DescribeAuditRecordsResponseBody) SetPageRecordCount

func (*DescribeAuditRecordsResponseBody) SetRequestId

func (*DescribeAuditRecordsResponseBody) SetTotalRecordCount

func (DescribeAuditRecordsResponseBody) String

type DescribeAuditRecordsResponseBodyItems

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

func (DescribeAuditRecordsResponseBodyItems) GoString

func (DescribeAuditRecordsResponseBodyItems) String

type DescribeAuditRecordsResponseBodyItemsSQLRecord

type DescribeAuditRecordsResponseBodyItemsSQLRecord struct {
	// The account of the database.
	//
	// example:
	//
	// test
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The name of the database.
	//
	// example:
	//
	// test123
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The time when the statement was executed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2019-03-11T03:30:27Z
	ExecuteTime *string `json:"ExecuteTime,omitempty" xml:"ExecuteTime,omitempty"`
	// The IP addresses of the client.
	//
	// example:
	//
	// 11.xxx.xxx.xxx
	HostAddress *string `json:"HostAddress,omitempty" xml:"HostAddress,omitempty"`
	// The number of SQL audit log entries that are returned.
	//
	// example:
	//
	// 2
	ReturnRowCounts *int64 `json:"ReturnRowCounts,omitempty" xml:"ReturnRowCounts,omitempty"`
	// The statement that was executed.
	//
	// example:
	//
	// { \\"atype\\" : \\"createCollection\\", \\"param\\" : { \\"ns\\" : \\"123.test1\\" }, \\"result\\": \\"OK\\" }
	Syntax *string `json:"Syntax,omitempty" xml:"Syntax,omitempty"`
	// The name of the collection.
	//
	// example:
	//
	// C1
	TableName *string `json:"TableName,omitempty" xml:"TableName,omitempty"`
	// The ID of the thread.
	//
	// example:
	//
	// 140682188297984
	ThreadID *string `json:"ThreadID,omitempty" xml:"ThreadID,omitempty"`
	// The duration of the statement execution. Unit: microseconds.
	//
	// example:
	//
	// 700
	TotalExecutionTimes *int64 `json:"TotalExecutionTimes,omitempty" xml:"TotalExecutionTimes,omitempty"`
}

func (DescribeAuditRecordsResponseBodyItemsSQLRecord) GoString

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetAccountName

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetDBName

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetExecuteTime

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetHostAddress

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetReturnRowCounts

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetSyntax

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetTableName

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetThreadID

func (*DescribeAuditRecordsResponseBodyItemsSQLRecord) SetTotalExecutionTimes

func (DescribeAuditRecordsResponseBodyItemsSQLRecord) String

type DescribeAvailabilityZonesRequest

type DescribeAvailabilityZonesRequest struct {
	// The language of the values of the returned **RegionName*	- and **ZoneName*	- parameters. Valid values:
	//
	// 	- **zh*	- (default): Chinese
	//
	// 	- **en**: English
	//
	// example:
	//
	// en
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	// The instance type of the instance.
	//
	// example:
	//
	// dds.mongo.standard
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **normal**: replica set instance
	//
	// 	- **sharding**: sharded cluster instance
	//
	// example:
	//
	// normal
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The database engine version of the instance.
	//
	// example:
	//
	// 5.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The secondary zone ID that is excluded from the query results. You can configure the ExcludeZoneId and ExcludeSecondaryZoneId parameters to specify the IDs of multiple zones that are excluded from the query results.
	//
	// example:
	//
	// cn-shanghai-b
	ExcludeSecondaryZoneId *string `json:"ExcludeSecondaryZoneId,omitempty" xml:"ExcludeSecondaryZoneId,omitempty"`
	// The zone ID that is excluded from the query results.
	//
	// example:
	//
	// cn-shanghai-g
	ExcludeZoneId *string `json:"ExcludeZoneId,omitempty" xml:"ExcludeZoneId,omitempty"`
	// The billing method. Valid values:
	//
	// 	- **PrePaid*	- (default): subscription
	//
	// 	- **PostPaid**: pay-as-you-go
	//
	// example:
	//
	// PrePaid
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" xml:"InstanceChargeType,omitempty"`
	// The edition of the instance. High-Available Edition and Preview Edition (dbfs) are supported.
	//
	// example:
	//
	// dbfs
	MongoType    *string `json:"MongoType,omitempty" xml:"MongoType,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](https://help.aliyun.com/document_detail/61933.html) operation to query the latest available regions.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of nodes. This parameter is available only for replica set instances.
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group. For more information, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// example:
	//
	// rg-acfmx2m4rqu7pry
	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 storage type of the instance.
	//
	// - **cloud**: The system displays only zones in which cloud disk-based instances can be deployed.
	//
	// - **local**: The system displays only zones in which local disk-based instances can be deployed.
	//
	// - **default*	- or null: The system displays only zones in which cloud disk-based and local disk-based instances can be deployed.
	//
	// example:
	//
	// local
	StorageSupport *string `json:"StorageSupport,omitempty" xml:"StorageSupport,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// 	- **cloud_essd1**: PL1 enhanced SSD (ESSD)
	//
	// 	- **cloud_essd2**: PL2 ESSD
	//
	// 	- **cloud_essd3**: PL3 ESSD
	//
	// 	- **local_ssd**: Local SSD
	//
	// > 	- Instances that run MongoDB 4.4 or later support only cloud disks. **cloud_essd1*	- is selected if you leave this parameter empty.
	//
	// > 	- Instances that run MongoDB 4.2 and earlier support only local disks. **local_ssd*	- is selected if you leave this parameter empty.
	//
	// example:
	//
	// local_ssd
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The zone ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query available zones.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailabilityZonesRequest) GoString

func (*DescribeAvailabilityZonesRequest) SetAcceptLanguage

func (*DescribeAvailabilityZonesRequest) SetDBInstanceClass

func (*DescribeAvailabilityZonesRequest) SetDbType

func (*DescribeAvailabilityZonesRequest) SetEngineVersion

func (*DescribeAvailabilityZonesRequest) SetExcludeSecondaryZoneId

func (*DescribeAvailabilityZonesRequest) SetExcludeZoneId

func (*DescribeAvailabilityZonesRequest) SetInstanceChargeType

func (*DescribeAvailabilityZonesRequest) SetMongoType

func (*DescribeAvailabilityZonesRequest) SetOwnerAccount

func (*DescribeAvailabilityZonesRequest) SetOwnerId

func (*DescribeAvailabilityZonesRequest) SetRegionId

func (*DescribeAvailabilityZonesRequest) SetReplicationFactor

func (*DescribeAvailabilityZonesRequest) SetResourceGroupId

func (*DescribeAvailabilityZonesRequest) SetResourceOwnerAccount

func (*DescribeAvailabilityZonesRequest) SetResourceOwnerId

func (*DescribeAvailabilityZonesRequest) SetStorageSupport

func (*DescribeAvailabilityZonesRequest) SetStorageType

func (*DescribeAvailabilityZonesRequest) SetZoneId

func (DescribeAvailabilityZonesRequest) String

type DescribeAvailabilityZonesResponse

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

func (DescribeAvailabilityZonesResponse) GoString

func (*DescribeAvailabilityZonesResponse) SetHeaders

func (*DescribeAvailabilityZonesResponse) SetStatusCode

func (DescribeAvailabilityZonesResponse) String

type DescribeAvailabilityZonesResponseBody

type DescribeAvailabilityZonesResponseBody struct {
	// The details of the zones in which you can create ApsaraDB for MongoDB instances.
	AvailableZones []*DescribeAvailabilityZonesResponseBodyAvailableZones `json:"AvailableZones,omitempty" xml:"AvailableZones,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 19A13A33-0FAD-5120-8AE1-B1636F74DD80
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailabilityZonesResponseBody) GoString

func (*DescribeAvailabilityZonesResponseBody) SetRequestId

func (DescribeAvailabilityZonesResponseBody) String

type DescribeAvailabilityZonesResponseBodyAvailableZones

type DescribeAvailabilityZonesResponseBodyAvailableZones struct {
	// The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the latest available regions.
	//
	// example:
	//
	// cn-beijing
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the zone.
	//
	// example:
	//
	// cn-beijing-f
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The name of the zone.
	//
	// The return value of the ZoneName parameter is in the language that is specified by the **AcceptLanguage*	- parameter. For example, if the value of the ZoneId parameter in the response is **cn-hangzhou-h**, the following values are returned for the ZoneName parameter:
	//
	// 	- If the value of the **AcceptLanguage*	- parameter is **zh**, **H*	- is returned for the ZoneName parameter.
	//
	// 	- If the value of the **AcceptLanguage*	- parameter is **en**, **Hangzhou Zone H*	- is returned for the ZoneName parameter.
	//
	// example:
	//
	// Hangzhou Zone H
	ZoneName *string `json:"ZoneName,omitempty" xml:"ZoneName,omitempty"`
}

func (DescribeAvailabilityZonesResponseBodyAvailableZones) GoString

func (*DescribeAvailabilityZonesResponseBodyAvailableZones) SetRegionId

func (*DescribeAvailabilityZonesResponseBodyAvailableZones) SetZoneId

func (*DescribeAvailabilityZonesResponseBodyAvailableZones) SetZoneName

func (DescribeAvailabilityZonesResponseBodyAvailableZones) String

type DescribeAvailableEngineVersionRequest

type DescribeAvailableEngineVersionRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DescribeAvailableEngineVersionRequest) GoString

func (*DescribeAvailableEngineVersionRequest) SetDBInstanceId

func (*DescribeAvailableEngineVersionRequest) SetOwnerAccount

func (*DescribeAvailableEngineVersionRequest) SetOwnerId

func (*DescribeAvailableEngineVersionRequest) SetResourceOwnerAccount

func (*DescribeAvailableEngineVersionRequest) SetResourceOwnerId

func (DescribeAvailableEngineVersionRequest) String

type DescribeAvailableEngineVersionResponse

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

func (DescribeAvailableEngineVersionResponse) GoString

func (*DescribeAvailableEngineVersionResponse) SetHeaders

func (*DescribeAvailableEngineVersionResponse) SetStatusCode

func (DescribeAvailableEngineVersionResponse) String

type DescribeAvailableEngineVersionResponseBody

type DescribeAvailableEngineVersionResponseBody struct {
	// The list of one or more engine versions to which an ApsaraDB for MongoDB instance can be upgraded.
	//
	// >  An empty string is returned if the latest version is being used.
	EngineVersions *DescribeAvailableEngineVersionResponseBodyEngineVersions `json:"EngineVersions,omitempty" xml:"EngineVersions,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// 52507B6B-003B-47A3-A0A3-9FE992C7A243
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailableEngineVersionResponseBody) GoString

func (*DescribeAvailableEngineVersionResponseBody) SetRequestId

func (DescribeAvailableEngineVersionResponseBody) String

type DescribeAvailableEngineVersionResponseBodyEngineVersions

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

func (DescribeAvailableEngineVersionResponseBodyEngineVersions) GoString

func (*DescribeAvailableEngineVersionResponseBodyEngineVersions) SetEngineVersion

func (DescribeAvailableEngineVersionResponseBodyEngineVersions) String

type DescribeAvailableResourceRequest

type DescribeAvailableResourceRequest struct {
	// The instance type of the instance.
	//
	// example:
	//
	// dds.mongo.standard
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **normal**: replica set instance
	//
	// 	- **sharding**: sharded cluster instance
	//
	// example:
	//
	// sharding
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The major engine version of the instance.
	//
	// example:
	//
	// 5.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid*	- (default): subscription
	//
	// 	- **PostPaid**: pay-as-you-go
	//
	// example:
	//
	// PrePaid
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" xml:"InstanceChargeType,omitempty"`
	OwnerAccount       *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId            *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the latest available regions.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of nodes, only applicable to replica sets.
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 storage type of the instance. Valid values:
	//
	// 	- local_ssd: local SSD
	//
	// 	- cloud_essd1: PL1 enhanced SSD (ESSD)
	//
	// 	- cloud_essd2: PL2 ESSD
	//
	// 	- cloud_essd3: PL3 ESSD
	//
	// 	- cloud_auto: ESSD AutoPL disk
	//
	// This parameter is empty by default, which indicates all types of storage resources are queried.
	//
	// if can be null:
	// true
	//
	// example:
	//
	// local_ssd
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The ID of the zone. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the available zones.
	//
	// example:
	//
	// cn-hangzhou-h
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailableResourceRequest) GoString

func (*DescribeAvailableResourceRequest) SetDBInstanceClass

func (*DescribeAvailableResourceRequest) SetDbType

func (*DescribeAvailableResourceRequest) SetEngineVersion

func (*DescribeAvailableResourceRequest) SetInstanceChargeType

func (*DescribeAvailableResourceRequest) SetOwnerAccount

func (*DescribeAvailableResourceRequest) SetOwnerId

func (*DescribeAvailableResourceRequest) SetRegionId

func (*DescribeAvailableResourceRequest) SetReplicationFactor

func (*DescribeAvailableResourceRequest) SetResourceGroupId

func (*DescribeAvailableResourceRequest) SetResourceOwnerAccount

func (*DescribeAvailableResourceRequest) SetResourceOwnerId

func (*DescribeAvailableResourceRequest) SetStorageType

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 {
	// The ID of the request.
	//
	// example:
	//
	// 344EE51D-8850-4935-B68B-58A8F4DCE3BD
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The supported database types.
	SupportedDBTypes *DescribeAvailableResourceResponseBodySupportedDBTypes `json:"SupportedDBTypes,omitempty" xml:"SupportedDBTypes,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBody) GoString

func (*DescribeAvailableResourceResponseBody) SetRequestId

func (DescribeAvailableResourceResponseBody) String

type DescribeAvailableResourceResponseBodySupportedDBTypes

type DescribeAvailableResourceResponseBodySupportedDBTypes struct {
	SupportedDBType []*DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType `json:"SupportedDBType,omitempty" xml:"SupportedDBType,omitempty" type:"Repeated"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypes) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypes) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType struct {
	// The available zones.
	AvailableZones *DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones `json:"AvailableZones,omitempty" xml:"AvailableZones,omitempty" type:"Struct"`
	// The architecture of the instance. Valid values:
	//
	// 	- **normal**: replica set instance
	//
	// 	- **sharding**: sharded cluster instance
	//
	// example:
	//
	// sharding
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType) GoString

func (*DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType) SetDbType

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBType) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones

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

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZones) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone struct {
	// The ID of the region.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The supported storage engine versions.
	SupportedEngineVersions *DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions `json:"SupportedEngineVersions,omitempty" xml:"SupportedEngineVersions,omitempty" type:"Struct"`
	// The ID of the zone.
	//
	// example:
	//
	// cn-hangzhou-h
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions

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

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersions) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion struct {
	// The supported storage engines.
	SupportedEngines *DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines `json:"SupportedEngines,omitempty" xml:"SupportedEngines,omitempty" type:"Struct"`
	// The database engine version of the instance.
	//
	// example:
	//
	// 4.0
	Version *string `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines

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

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEngines) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine struct {
	// The storage engine of the instance.
	//
	// example:
	//
	// WiredTiger
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The supported instance types.
	SupportedNodeTypes *DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes `json:"SupportedNodeTypes,omitempty" xml:"SupportedNodeTypes,omitempty" type:"Struct"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes

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

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypes) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType struct {
	// The details of the available resources.
	AvailableResources *DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResources `json:"AvailableResources,omitempty" xml:"AvailableResources,omitempty" type:"Struct"`
	// The network type of the instance.
	//
	// example:
	//
	// VPC
	NetworkTypes *string `json:"NetworkTypes,omitempty" xml:"NetworkTypes,omitempty"`
	// The number of nodes in the instance.
	//
	// example:
	//
	// 3
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResources

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

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResources) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResources) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource struct {
	// The storage capacity range of the instance.
	DBInstanceStorageRange *DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange `json:"DBInstanceStorageRange,omitempty" xml:"DBInstanceStorageRange,omitempty" type:"Struct"`
	// The instance family.
	//
	// example:
	//
	// mdb.shard.2x.xlarge.d
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The type of the instance.
	//
	// example:
	//
	// 4 cores, 8 GB (Dedicated) (Current instance type: mdb.shard.2x.xlarge.d (4 cores, 8 GB (Dedicated cloud-disk), maximum connections: 3000, maximum IOPS: min{1800 + 50 × Storage capacity, 21000}))
	InstanceClassRemark *string `json:"InstanceClassRemark,omitempty" xml:"InstanceClassRemark,omitempty"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource) String

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange

type DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange struct {
	// The maximum storage capacity. Unit: GB.
	//
	// example:
	//
	// 16000
	Max *int32 `json:"Max,omitempty" xml:"Max,omitempty"`
	// The minimum storage capacity. Unit: GB.
	//
	// example:
	//
	// 20
	Min *int32 `json:"Min,omitempty" xml:"Min,omitempty"`
	// The step size for adjusting the storage capacity. Unit: GB.
	//
	// example:
	//
	// 10
	Step *int32 `json:"Step,omitempty" xml:"Step,omitempty"`
}

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange) GoString

func (DescribeAvailableResourceResponseBodySupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResourceDBInstanceStorageRange) String

type DescribeBackupDBsRequest

type DescribeBackupDBsRequest struct {
	// The backup ID.
	//
	// >
	//
	// 	- You can call the [DescribeBackups](https://help.aliyun.com/document_detail/62172.html) operation to query the backup ID.
	//
	// 	- You must specify one of the **RestoreTime*	- and BackupId parameters.
	//
	// example:
	//
	// 5664****
	BackupId     *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number of the page to return. The value must be an integer that is greater than 0. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return per page. Default value: 30. Valid values: **30**, **50**, and **100**.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-ax68****
	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 to which the instance is restored. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	//
	// >
	//
	// 	- The time can be a point in time within the previous seven days. The time must be earlier than the current time, but later than the time when the instance was created.
	//
	// 	- You must specify one of the RestoreTime and **BackupId*	- parameters.
	//
	// example:
	//
	// 2019-08-22T12:00:00Z
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The ID of the source instance.
	//
	// example:
	//
	// dds-bp2286****
	SourceDBInstance *string `json:"SourceDBInstance,omitempty" xml:"SourceDBInstance,omitempty"`
}

func (DescribeBackupDBsRequest) GoString

func (s DescribeBackupDBsRequest) GoString() string

func (*DescribeBackupDBsRequest) SetBackupId

func (*DescribeBackupDBsRequest) SetOwnerAccount

func (*DescribeBackupDBsRequest) SetOwnerId

func (*DescribeBackupDBsRequest) SetPageNumber

func (*DescribeBackupDBsRequest) SetPageSize

func (*DescribeBackupDBsRequest) SetResourceGroupId

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

func (*DescribeBackupDBsRequest) SetResourceOwnerAccount

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

func (*DescribeBackupDBsRequest) SetResourceOwnerId

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

func (*DescribeBackupDBsRequest) SetRestoreTime

func (*DescribeBackupDBsRequest) SetSourceDBInstance

func (s *DescribeBackupDBsRequest) SetSourceDBInstance(v string) *DescribeBackupDBsRequest

func (DescribeBackupDBsRequest) String

func (s DescribeBackupDBsRequest) String() string

type DescribeBackupDBsResponse

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

func (DescribeBackupDBsResponse) GoString

func (s DescribeBackupDBsResponse) GoString() string

func (*DescribeBackupDBsResponse) SetBody

func (*DescribeBackupDBsResponse) SetHeaders

func (*DescribeBackupDBsResponse) SetStatusCode

func (DescribeBackupDBsResponse) String

func (s DescribeBackupDBsResponse) String() string

type DescribeBackupDBsResponseBody

type DescribeBackupDBsResponseBody struct {
	// The details of the databases.
	Databases *DescribeBackupDBsResponseBodyDatabases `json:"Databases,omitempty" xml:"Databases,omitempty" type:"Struct"`
	// The page number of the page returned.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 1AF0AD89-ED4F-44AD-B65F-BFC1D5CD9455
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of returned databases.
	//
	// example:
	//
	// 5
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeBackupDBsResponseBody) GoString

func (*DescribeBackupDBsResponseBody) SetPageNumber

func (*DescribeBackupDBsResponseBody) SetPageSize

func (*DescribeBackupDBsResponseBody) SetRequestId

func (*DescribeBackupDBsResponseBody) SetTotalCount

func (DescribeBackupDBsResponseBody) String

type DescribeBackupDBsResponseBodyDatabases

type DescribeBackupDBsResponseBodyDatabases struct {
	Database []*DescribeBackupDBsResponseBodyDatabasesDatabase `json:"Database,omitempty" xml:"Database,omitempty" type:"Repeated"`
}

func (DescribeBackupDBsResponseBodyDatabases) GoString

func (DescribeBackupDBsResponseBodyDatabases) String

type DescribeBackupDBsResponseBodyDatabasesDatabase

type DescribeBackupDBsResponseBodyDatabasesDatabase struct {
	// The name of the database.
	//
	// example:
	//
	// mongodbtest
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
}

func (DescribeBackupDBsResponseBodyDatabasesDatabase) GoString

func (*DescribeBackupDBsResponseBodyDatabasesDatabase) SetDBName

func (DescribeBackupDBsResponseBodyDatabasesDatabase) String

type DescribeBackupPolicyRequest

type DescribeBackupPolicyRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp16cb162771****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **sharding**: sharded cluster instance
	//
	// 	- **replicate**: replica set or standalone instance
	//
	// example:
	//
	// sharding
	InstanceType         *string `json:"InstanceType,omitempty" xml:"InstanceType,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 region ID of the instance.
	//
	// example:
	//
	// cn-beijing
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,omitempty"`
}

func (DescribeBackupPolicyRequest) GoString

func (s DescribeBackupPolicyRequest) GoString() string

func (*DescribeBackupPolicyRequest) SetDBInstanceId

func (*DescribeBackupPolicyRequest) SetInstanceType

func (*DescribeBackupPolicyRequest) SetOwnerAccount

func (*DescribeBackupPolicyRequest) SetOwnerId

func (*DescribeBackupPolicyRequest) SetResourceOwnerAccount

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

func (*DescribeBackupPolicyRequest) SetResourceOwnerId

func (*DescribeBackupPolicyRequest) SetSecurityToken

func (*DescribeBackupPolicyRequest) SetSrcRegion

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 {
	// The frequency at which high-frequency backup is created. Valid values:
	//
	// 	- **-1**: High-frequency backup is disabled.
	//
	// 	- **15**: every 15 minutes.
	//
	// 	- **30**: every 30 minutes.
	//
	// 	- **60**: every hour.
	//
	// 	- **120**: every 2 hours.
	//
	// 	- **180**: every 3 hours.
	//
	// 	- **240**: every 4 hours.
	//
	// 	- **360**: every 6 hours.
	//
	// 	- **480**: every 8 hours.
	//
	// 	- **720**: every 12 hours.
	//
	// example:
	//
	// -1
	BackupInterval *int32 `json:"BackupInterval,omitempty" xml:"BackupInterval,omitempty"`
	// The retention period of the backup data. Unit: day.
	//
	// example:
	//
	// 30
	BackupRetentionPeriod *string `json:"BackupRetentionPeriod,omitempty" xml:"BackupRetentionPeriod,omitempty"`
	// The backup retention policy configured for the instance. Valid values:
	//
	// 1.  0: All backup sets are immediately deleted when the instance is released.
	//
	// 2.  1: Automatic backup is performed and the backup set is retained for a long period of time when the instance is released.
	//
	// 3.  2: Automatic backup is performed and all backup sets are retained for a long period of time when the instance is released.
	//
	// For more information, see [Retain the backup files of an ApsaraDB for MongoDB instance for a long period of time](https://help.aliyun.com/document_detail/2779111.html).
	//
	// example:
	//
	// 0
	BackupRetentionPolicyOnClusterDeletion *int32 `json:"BackupRetentionPolicyOnClusterDeletion,omitempty" xml:"BackupRetentionPolicyOnClusterDeletion,omitempty"`
	// The retention period of Cross-regional backup.
	//
	// Valid values:
	//
	// 	- **Monday**
	//
	// 	- **Tuesday**
	//
	// 	- **Wednesday**
	//
	// 	- **Thursday**
	//
	// 	- **Friday**
	//
	// 	- **Saturday**
	//
	// 	- **Sunday**
	//
	// example:
	//
	// Monday
	CrossBackupPeriod *string `json:"CrossBackupPeriod,omitempty" xml:"CrossBackupPeriod,omitempty"`
	// The retention type of Cross-regional  log backup.
	//
	// - delay : retain the backup for a period of time.
	//
	// - never : retain the backup permanently.
	//
	// example:
	//
	// delay
	CrossLogRetentionType *string `json:"CrossLogRetentionType,omitempty" xml:"CrossLogRetentionType,omitempty"`
	// The retention time of Cross-regional log backup.
	//
	// example:
	//
	// 7
	CrossLogRetentionValue *int32 `json:"CrossLogRetentionValue,omitempty" xml:"CrossLogRetentionValue,omitempty"`
	// The retention type of Cross-regional backup.
	//
	// - delay : retain the backup for a period of time.
	//
	// - never : retain the backup permanently.
	//
	// example:
	//
	// delay
	CrossRetentionType *string `json:"CrossRetentionType,omitempty" xml:"CrossRetentionType,omitempty"`
	// The retention time of Cross-regional backup.
	//
	// example:
	//
	// 7
	CrossRetentionValue *int32 `json:"CrossRetentionValue,omitempty" xml:"CrossRetentionValue,omitempty"`
	// The region ID of the cross-regional backup..
	//
	// example:
	//
	// cn-shenzhen
	DestRegion *string `json:"DestRegion,omitempty" xml:"DestRegion,omitempty"`
	// Indicates whether the log backup feature is enabled. Valid values:
	//
	// 	- **0*	- (default): The log backup feature is disabled.
	//
	// 	- **1**: The log backup feature is enabled.
	//
	// example:
	//
	// 1
	EnableBackupLog *int32 `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// Whether to turn on cross-regional log backup.
	//
	// - 1: turn on . Used for sharded cluster.
	//
	// - 0: turn off. Used for replicate set.
	//
	// example:
	//
	// 1
	EnableCrossLogBackup *int32 `json:"EnableCrossLogBackup,omitempty" xml:"EnableCrossLogBackup,omitempty"`
	// The retention period of high-frequency backups. Unit: day.
	//
	// example:
	//
	// 1
	HighFrequencyBackupRetention *string `json:"HighFrequencyBackupRetention,omitempty" xml:"HighFrequencyBackupRetention,omitempty"`
	// The number of days for which log backups are retained. Valid values: 7 to 730.
	//
	// example:
	//
	// 7
	LogBackupRetentionPeriod *int32 `json:"LogBackupRetentionPeriod,omitempty" xml:"LogBackupRetentionPeriod,omitempty"`
	// The day of a week on which to back up data. Valid values:
	//
	// 	- **Monday**
	//
	// 	- **Tuesday**
	//
	// 	- **Wednesday**
	//
	// 	- **Thursday**
	//
	// 	- **Friday**
	//
	// 	- **Saturday**
	//
	// 	- **Sunday**
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// 09:00Z-10:00Z
	PreferredBackupTime *string `json:"PreferredBackupTime,omitempty" xml:"PreferredBackupTime,omitempty"`
	// The time of next standard backup.
	//
	// example:
	//
	// 2024-06-19T19:11Z
	PreferredNextBackupTime *string `json:"PreferredNextBackupTime,omitempty" xml:"PreferredNextBackupTime,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 5A9464CA-F7DC-5434-90B1-DF7F197C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The snapshot backup type. Valid values:
	//
	// 	- **Flash**: single-digit second backup
	//
	// 	- **Standard*	- (default): standard backup
	//
	// example:
	//
	// Standard
	SnapshotBackupType *string `json:"SnapshotBackupType,omitempty" xml:"SnapshotBackupType,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,omitempty"`
}

func (DescribeBackupPolicyResponseBody) GoString

func (*DescribeBackupPolicyResponseBody) SetBackupInterval

func (*DescribeBackupPolicyResponseBody) SetBackupRetentionPeriod

func (*DescribeBackupPolicyResponseBody) SetBackupRetentionPolicyOnClusterDeletion

func (s *DescribeBackupPolicyResponseBody) SetBackupRetentionPolicyOnClusterDeletion(v int32) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetCrossBackupPeriod

func (*DescribeBackupPolicyResponseBody) SetCrossLogRetentionType

func (*DescribeBackupPolicyResponseBody) SetCrossLogRetentionValue

func (*DescribeBackupPolicyResponseBody) SetCrossRetentionType

func (*DescribeBackupPolicyResponseBody) SetCrossRetentionValue

func (*DescribeBackupPolicyResponseBody) SetDestRegion

func (*DescribeBackupPolicyResponseBody) SetEnableBackupLog

func (*DescribeBackupPolicyResponseBody) SetEnableCrossLogBackup

func (*DescribeBackupPolicyResponseBody) SetHighFrequencyBackupRetention

func (s *DescribeBackupPolicyResponseBody) SetHighFrequencyBackupRetention(v string) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetLogBackupRetentionPeriod

func (s *DescribeBackupPolicyResponseBody) SetLogBackupRetentionPeriod(v int32) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetPreferredBackupPeriod

func (*DescribeBackupPolicyResponseBody) SetPreferredBackupTime

func (*DescribeBackupPolicyResponseBody) SetPreferredNextBackupTime

func (*DescribeBackupPolicyResponseBody) SetRequestId

func (*DescribeBackupPolicyResponseBody) SetSnapshotBackupType

func (*DescribeBackupPolicyResponseBody) SetSrcRegion

func (DescribeBackupPolicyResponseBody) String

type DescribeBackupStorageRequest

type DescribeBackupStorageRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-2zeb2d64cb46xxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard node in the sharded cluster instance.
	//
	// >  This parameter is required only when the **DBInstanceId*	- parameter is set to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-2zee48956b4axxxx
	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 [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-bejing
	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 (DescribeBackupStorageRequest) GoString

func (s DescribeBackupStorageRequest) GoString() string

func (*DescribeBackupStorageRequest) SetDBInstanceId

func (*DescribeBackupStorageRequest) SetNodeId

func (*DescribeBackupStorageRequest) SetOwnerAccount

func (*DescribeBackupStorageRequest) SetOwnerId

func (*DescribeBackupStorageRequest) SetRegionId

func (*DescribeBackupStorageRequest) SetResourceOwnerAccount

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

func (*DescribeBackupStorageRequest) SetResourceOwnerId

func (DescribeBackupStorageRequest) String

type DescribeBackupStorageResponse

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

func (DescribeBackupStorageResponse) GoString

func (*DescribeBackupStorageResponse) SetBody

func (*DescribeBackupStorageResponse) SetHeaders

func (*DescribeBackupStorageResponse) SetStatusCode

func (DescribeBackupStorageResponse) String

type DescribeBackupStorageResponseBody

type DescribeBackupStorageResponseBody struct {
	// The free quota for the storage capacity used for backup. Unit: bytes.
	//
	// example:
	//
	// 42949672960
	FreeSize *int64 `json:"FreeSize,omitempty" xml:"FreeSize,omitempty"`
	// The storage capacity used for the full backup. Unit: bytes.
	//
	// >  Instances that use cloud disks support snapshot backup. The size of the storage used for the current full backup is the size of the snapshot chain.
	//
	// example:
	//
	// 789221621
	FullStorageSize *int64 `json:"FullStorageSize,omitempty" xml:"FullStorageSize,omitempty"`
	// The storage capacity used for the log backup. Unit: bytes.
	//
	// example:
	//
	// 7892216
	LogStorageSize *int64 `json:"LogStorageSize,omitempty" xml:"LogStorageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D648B367-15B6-1B42-BD4B-4XXXXXXXXX
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBackupStorageResponseBody) GoString

func (*DescribeBackupStorageResponseBody) SetFreeSize

func (*DescribeBackupStorageResponseBody) SetFullStorageSize

func (*DescribeBackupStorageResponseBody) SetLogStorageSize

func (*DescribeBackupStorageResponseBody) SetRequestId

func (DescribeBackupStorageResponseBody) String

type DescribeBackupTasksRequest

type DescribeBackupTasksRequest struct {
	// The ID of the backup task.
	//
	// >  If you call the [CreateBackup](https://help.aliyun.com/document_detail/61075.html) operation to perform a manual backup task, you can set this parameter to the returned backup ID to query the backup progress of the task.
	//
	// example:
	//
	// 170034
	BackupJobId *string `json:"BackupJobId,omitempty" xml:"BackupJobId,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-2zeb2d64cb46xxxx
	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 (DescribeBackupTasksRequest) GoString

func (s DescribeBackupTasksRequest) GoString() string

func (*DescribeBackupTasksRequest) SetBackupJobId

func (*DescribeBackupTasksRequest) SetDBInstanceId

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 details of the backup task.
	BackupJobs []*DescribeBackupTasksResponseBodyBackupJobs `json:"BackupJobs,omitempty" xml:"BackupJobs,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D648B367-15B6-1B42-BD4B-47507C9CC****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBackupTasksResponseBody) GoString

func (*DescribeBackupTasksResponseBody) SetRequestId

func (DescribeBackupTasksResponseBody) String

type DescribeBackupTasksResponseBodyBackupJobs

type DescribeBackupTasksResponseBodyBackupJobs struct {
	// The backup task status. Valid values:
	//
	// 	- **Scheduled**: The backup task is in planning. Regular backup tasks that have not started are also in this state.
	//
	// 	- **Checking**: The instance is being checked before the backup.
	//
	// 	- **Backuping**: The backup task is in progress.
	//
	// 	- **Finished**: The backup task is completed.
	//
	// example:
	//
	// Scheduled
	BackupSetStatus *string `json:"BackupSetStatus,omitempty" xml:"BackupSetStatus,omitempty"`
	// The start time of the backup task.
	//
	// example:
	//
	// 2024-01-16T11:04:56Z
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The ID of the backup task.
	//
	// example:
	//
	// 170034
	BackupjobId *string `json:"BackupjobId,omitempty" xml:"BackupjobId,omitempty"`
	// The backup mode. Valid values:
	//
	// 	- **Automated**: automatic backup
	//
	// 	- **Manual**: manual backup
	//
	// example:
	//
	// Manual
	JobMode *string `json:"JobMode,omitempty" xml:"JobMode,omitempty"`
	// The progress of the backup task. Unit: %. The progress is returned only for running backup tasks.
	//
	// example:
	//
	// 18%
	Progress *string `json:"Progress,omitempty" xml:"Progress,omitempty"`
}

func (DescribeBackupTasksResponseBodyBackupJobs) GoString

func (*DescribeBackupTasksResponseBodyBackupJobs) SetBackupSetStatus

func (*DescribeBackupTasksResponseBodyBackupJobs) SetBackupStartTime

func (*DescribeBackupTasksResponseBodyBackupJobs) SetBackupjobId

func (*DescribeBackupTasksResponseBodyBackupJobs) SetJobMode

func (*DescribeBackupTasksResponseBodyBackupJobs) SetProgress

func (DescribeBackupTasksResponseBodyBackupJobs) String

type DescribeBackupsRequest

type DescribeBackupsRequest struct {
	// The ID of the backup set. You can call the [CreateBackup](https://help.aliyun.com/document_detail/62171.html) operation to query the backup set ID.
	//
	// If you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance, the number of backup IDs is the same as the number of shard nodes. Multiple backup IDs are separated with commas (,).
	//
	// example:
	//
	// 2072****,2072****,2072****
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The instance ID.
	//
	// > If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1a7009eb24****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The region ID of the Cross-regional backup.
	//
	// >  This parameter is required for the Cross-regional backup.
	//
	// example:
	//
	// cn-hangzhou
	DestRegion *string `json:"DestRegion,omitempty" xml:"DestRegion,omitempty"`
	// The end 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. The end time must be later than the start time.
	//
	// example:
	//
	// 2022-01-14T13:00Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the shard node in the sharded cluster instance.
	//
	// > This parameter takes effect only when you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp128a003436****
	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. The value must be a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return per page. Valid values:
	//
	// 	- **30*	- (default)
	//
	// 	- **50**
	//
	// 	- **100**
	//
	// example:
	//
	// 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"`
	// The region ID of the instance.
	//
	// >- This parameter is required if you want to query the backup sets of a released instance.
	//
	// >-  This parameter is required if you want to query cross-region backups.
	//
	// example:
	//
	// cn-beijing
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,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.
	//
	// example:
	//
	// 2022-01-13T13:00Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeBackupsRequest) GoString

func (s DescribeBackupsRequest) GoString() string

func (*DescribeBackupsRequest) SetBackupId

func (*DescribeBackupsRequest) SetDBInstanceId

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

func (*DescribeBackupsRequest) SetDestRegion

func (*DescribeBackupsRequest) SetEndTime

func (*DescribeBackupsRequest) SetNodeId

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) SetSrcRegion

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 {
	// The details of the backup set.
	Backups *DescribeBackupsResponseBodyBackups `json:"Backups,omitempty" xml:"Backups,omitempty" type:"Struct"`
	// The page number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page. Valid values:
	//
	// 	- **30*	- (default)
	//
	// 	- **50**
	//
	// 	- **100**
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 275D43C3-F12F-5224-B375-0C6BF453BD56
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of backup sets.
	//
	// example:
	//
	// 1
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeBackupsResponseBody) GoString

func (s DescribeBackupsResponseBody) GoString() string

func (*DescribeBackupsResponseBody) SetBackups

func (*DescribeBackupsResponseBody) SetPageNumber

func (*DescribeBackupsResponseBody) SetPageSize

func (*DescribeBackupsResponseBody) SetRequestId

func (*DescribeBackupsResponseBody) SetTotalCount

func (DescribeBackupsResponseBody) String

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 name of the database that has been backed up.
	//
	// example:
	//
	// database
	BackupDBNames *string `json:"BackupDBNames,omitempty" xml:"BackupDBNames,omitempty"`
	// The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, an empty string is returned.
	BackupDownloadURL *string `json:"BackupDownloadURL,omitempty" xml:"BackupDownloadURL,omitempty"`
	// The end time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-01-14T03:57:34Z
	BackupEndTime *string `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	// The ID of the backup set.
	//
	// example:
	//
	// 32102****
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The internal download URL of the backup set.
	//
	// >  You can use the URL to download the specified backup set on an Elastic Compute Service (ECS) instance that is in the same virtual private cloud (VPC) as the ApsaraDB for MongoDB instance.
	BackupIntranetDownloadURL *string `json:"BackupIntranetDownloadURL,omitempty" xml:"BackupIntranetDownloadURL,omitempty"`
	// The ID of the backup task.
	//
	// example:
	//
	// 1123xxxx
	BackupJobId *string `json:"BackupJobId,omitempty" xml:"BackupJobId,omitempty"`
	// The method that is used to generate the backup set. Valid values:
	//
	// 	- **Snapshot**
	//
	// 	- **Physical**
	//
	// 	- **Logical**
	//
	// example:
	//
	// Physical
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The backup mode of the backup set. Valid values:
	//
	// 	- **Automated**
	//
	// 	- **Manual**
	//
	// example:
	//
	// Automated
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The name of the backup set (invalid now).
	//
	// example:
	//
	// 12345678.tar.gz
	BackupName *string `json:"BackupName,omitempty" xml:"BackupName,omitempty"`
	// The scale of the backup set (invalid now).
	//
	// example:
	//
	// DBInstance
	BackupScale *string `json:"BackupScale,omitempty" xml:"BackupScale,omitempty"`
	// The size of the backup set. Unit: bytes.
	//
	// example:
	//
	// 6168576
	BackupSize *int64 `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	// The start time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-01-14T03:56:17Z
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The status of the backup task. Valid values:
	//
	// 	- **Success**: The backup task is successful.
	//
	// 	- **Failed**: The backup task failed.
	//
	// example:
	//
	// Success
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The backup type. Valid values:
	//
	// 	- **FullBackup**
	//
	// 	- **IncrementalBackup**
	//
	// example:
	//
	// FullBackup
	BackupType    *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Availability of the backup set.
	//
	// - 0: unavailable
	//
	// - 1: available
	//
	// example:
	//
	// 1
	IsAvail *bool `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
}

func (DescribeBackupsResponseBodyBackupsBackup) GoString

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupDBNames

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupDownloadURL

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupEndTime

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupId

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupIntranetDownloadURL

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupJobId

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupMethod

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupMode

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupName

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupScale

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupSize

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupStartTime

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupStatus

func (*DescribeBackupsResponseBodyBackupsBackup) SetBackupType

func (*DescribeBackupsResponseBodyBackupsBackup) SetEngineVersion added in v9.1.0

func (*DescribeBackupsResponseBodyBackupsBackup) SetIsAvail

func (DescribeBackupsResponseBodyBackupsBackup) String

type DescribeClusterBackupsRequest

type DescribeClusterBackupsRequest struct {
	// The ID of the cluster backup set.
	//
	// example:
	//
	// 5664****
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp16cb162771****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The region where cross-region backups reside.
	//
	// >  This parameter is required if you want to query cross-region backups.
	//
	// example:
	//
	// cn-shanghai
	DestRegion *string `json:"DestRegion,omitempty" xml:"DestRegion,omitempty"`
	// The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. The end time must be later than the start time.
	//
	// example:
	//
	// 2019-03-14T13:10Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Specifies whether to query information about child nodes in the cluster backup. Valid values:
	//
	// 	- **true**: The system returns only the basic information of the cluster backup.
	//
	// 	- **false*	- (default): The system returns the backup information of all child nodes.
	//
	// example:
	//
	// true
	IsOnlyGetClusterBackUp *bool   `json:"IsOnlyGetClusterBackUp,omitempty" xml:"IsOnlyGetClusterBackUp,omitempty"`
	OwnerAccount           *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId                *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Default value: **1**. The page number must be a positive integer.
	//
	// example:
	//
	// 1
	PageNo *int32 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// 	- **30*	- (default)
	//
	// 	- **50**
	//
	// 	- **100**
	//
	// example:
	//
	// 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"`
	// The region ID of the instance.
	//
	// >
	//
	// 	- This parameter is required if you want to query the backup sets of a released instance.
	//
	// 	- This parameter is required if you want to query cross-region backups.
	//
	// example:
	//
	// cn-hangzhou
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,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.
	//
	// example:
	//
	// 2019-03-13T12:11:14Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeClusterBackupsRequest) GoString

func (*DescribeClusterBackupsRequest) SetBackupId

func (*DescribeClusterBackupsRequest) SetDBInstanceId

func (*DescribeClusterBackupsRequest) SetDestRegion

func (*DescribeClusterBackupsRequest) SetEndTime

func (*DescribeClusterBackupsRequest) SetIsOnlyGetClusterBackUp

func (s *DescribeClusterBackupsRequest) SetIsOnlyGetClusterBackUp(v bool) *DescribeClusterBackupsRequest

func (*DescribeClusterBackupsRequest) SetOwnerAccount

func (*DescribeClusterBackupsRequest) SetOwnerId

func (*DescribeClusterBackupsRequest) SetPageNo

func (*DescribeClusterBackupsRequest) SetPageSize

func (*DescribeClusterBackupsRequest) SetResourceOwnerAccount

func (*DescribeClusterBackupsRequest) SetResourceOwnerId

func (*DescribeClusterBackupsRequest) SetSrcRegion

func (*DescribeClusterBackupsRequest) SetStartTime

func (DescribeClusterBackupsRequest) String

type DescribeClusterBackupsResponse

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

func (DescribeClusterBackupsResponse) GoString

func (*DescribeClusterBackupsResponse) SetHeaders

func (*DescribeClusterBackupsResponse) SetStatusCode

func (DescribeClusterBackupsResponse) String

type DescribeClusterBackupsResponseBody

type DescribeClusterBackupsResponseBody struct {
	// The cluster backup sets. A cluster backup file contains the backup sets of each node.
	ClusterBackups []*DescribeClusterBackupsResponseBodyClusterBackups `json:"ClusterBackups,omitempty" xml:"ClusterBackups,omitempty" type:"Repeated"`
	// The maximum number of entries returned.
	//
	// example:
	//
	// 10
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The page number of the page returned.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 2F42BB4E-461F-5B55-A37C-53B1141C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeClusterBackupsResponseBody) GoString

func (*DescribeClusterBackupsResponseBody) SetMaxResults

func (*DescribeClusterBackupsResponseBody) SetPageNumber

func (*DescribeClusterBackupsResponseBody) SetPageSize

func (*DescribeClusterBackupsResponseBody) SetRequestId

func (DescribeClusterBackupsResponseBody) String

type DescribeClusterBackupsResponseBodyClusterBackups

type DescribeClusterBackupsResponseBodyClusterBackups struct {
	// The backup status. Valid values:
	//
	// 	- **init**: The backup is being initialized.
	//
	// 	- **No_Need**: Log backup is not performed.
	//
	// 	- **Running**: Log backup is being performed.
	//
	// 	- **Ready**: Log backup is complete.
	//
	// 	- **Failed**: Log backup failed.
	//
	// >  If the **ClusterBackupStatus*	- parameter is set to OK, full backup is successful. If you want to perform point-in-time-restoration on an instance for which log backup is enabled or to implement consistency restoration, make sure that log backup is complete.
	//
	// example:
	//
	// Ready
	AttachLogStatus *string `json:"AttachLogStatus,omitempty" xml:"AttachLogStatus,omitempty"`
	// The collection of the backup sets of each child node in a cluster backup set.
	Backups []*DescribeClusterBackupsResponseBodyClusterBackupsBackups `json:"Backups,omitempty" xml:"Backups,omitempty" type:"Repeated"`
	// The end of the time range within which the cluster backup is performed.
	//
	// example:
	//
	// 2023-10-16T19:33:20Z
	ClusterBackupEndTime *string `json:"ClusterBackupEndTime,omitempty" xml:"ClusterBackupEndTime,omitempty"`
	// The backup set ID.
	//
	// example:
	//
	// cb-o8c2ugnxo26kx***
	ClusterBackupId *string `json:"ClusterBackupId,omitempty" xml:"ClusterBackupId,omitempty"`
	// The cluster backup mode.
	//
	// example:
	//
	// Automated
	ClusterBackupMode *string `json:"ClusterBackupMode,omitempty" xml:"ClusterBackupMode,omitempty"`
	// The size of the cluster backup set. Unit: bytes.
	//
	// example:
	//
	// 107374182400
	ClusterBackupSize *string `json:"ClusterBackupSize,omitempty" xml:"ClusterBackupSize,omitempty"`
	// The beginning of the time range within which the cluster backup is performed.
	//
	// example:
	//
	// 2023-10-16T19:33:20Z
	ClusterBackupStartTime *string `json:"ClusterBackupStartTime,omitempty" xml:"ClusterBackupStartTime,omitempty"`
	// The status of the cluster backup set.
	//
	// example:
	//
	// OK
	ClusterBackupStatus *string `json:"ClusterBackupStatus,omitempty" xml:"ClusterBackupStatus,omitempty"`
	EngineVersion       *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The additional information in the JSON format.
	ExtraInfo *DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo `json:"ExtraInfo,omitempty" xml:"ExtraInfo,omitempty" type:"Struct"`
	// Indicates whether the cluster backup sets take effect. Valid values:
	//
	// 	- **1**: The cluster backup sets take effect.
	//
	// 	- **0**: The backup sets of child nodes are incomplete or fail.
	//
	// example:
	//
	// 1
	IsAvail *int32 `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
	// The progress of the backup task. Unit: %. The progress is returned only for running backup tasks.
	//
	// example:
	//
	// 50
	Progress *string `json:"Progress,omitempty" xml:"Progress,omitempty"`
}

func (DescribeClusterBackupsResponseBodyClusterBackups) GoString

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetAttachLogStatus

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetClusterBackupEndTime

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetClusterBackupId

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetClusterBackupMode

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetClusterBackupSize

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetClusterBackupStartTime

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetClusterBackupStatus

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetEngineVersion added in v9.1.0

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetIsAvail

func (*DescribeClusterBackupsResponseBodyClusterBackups) SetProgress

func (DescribeClusterBackupsResponseBodyClusterBackups) String

type DescribeClusterBackupsResponseBodyClusterBackupsBackups

type DescribeClusterBackupsResponseBodyClusterBackupsBackups struct {
	// The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, an empty string is returned.
	//
	// example:
	//
	// http://oss.com/xxx
	BackupDownloadURL *string `json:"BackupDownloadURL,omitempty" xml:"BackupDownloadURL,omitempty"`
	// The end time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2023-10-16T19:33:20Z
	BackupEndTime *string `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	// The ID of the backup set.
	//
	// example:
	//
	// 738025367
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The URL that is used to download the backup set over an internal network. If the backup set cannot be downloaded, null is returned.
	//
	// example:
	//
	// http://oss.com/xxx
	BackupIntranetDownloadURL *string `json:"BackupIntranetDownloadURL,omitempty" xml:"BackupIntranetDownloadURL,omitempty"`
	// The backup name.
	//
	// example:
	//
	// 12345678.tar.gz
	BackupName *string `json:"BackupName,omitempty" xml:"BackupName,omitempty"`
	// The size of the backup file. Unit: bytes.
	//
	// example:
	//
	// 77544597650
	BackupSize *string `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	// The start time of the backup. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2023-10-16T19:33:20Z
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The status of the backup task. Valid values:
	//
	// 	- **Success**: The backup task is successful.
	//
	// 	- **Failed**: The backup task failed.
	//
	// example:
	//
	// Success
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The information of the node associated with the backup.
	ExtraInfo *DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo `json:"ExtraInfo,omitempty" xml:"ExtraInfo,omitempty" type:"Struct"`
	// The shard name.
	//
	// example:
	//
	// d-bp16cb162771****
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// Indicates whether the backup set is available. Valid values:
	//
	// 	- **0**: unavailable
	//
	// 	- **1**: available
	//
	// example:
	//
	// 1
	IsAvail *string `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
}

func (DescribeClusterBackupsResponseBodyClusterBackupsBackups) GoString

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupDownloadURL

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupEndTime

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupId

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupIntranetDownloadURL

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupName

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupSize

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupStartTime

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetBackupStatus

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetInstanceName

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackups) SetIsAvail

func (DescribeClusterBackupsResponseBodyClusterBackupsBackups) String

type DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo

type DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo struct {
	// The instance type of the node.
	//
	// example:
	//
	// mdb.shard.4x.large.d
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The node ID.
	//
	// example:
	//
	// d-2ze75ab1fa5d****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The node type.
	//
	// example:
	//
	// db
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The storage capacity of the node. Unit: MB.
	//
	// example:
	//
	// 20480
	StorageSize *string `json:"StorageSize,omitempty" xml:"StorageSize,omitempty"`
}

func (DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo) GoString

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo) SetInstanceClass

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo) SetNodeId

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo) SetNodeType

func (*DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo) SetStorageSize

func (DescribeClusterBackupsResponseBodyClusterBackupsBackupsExtraInfo) String

type DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo

type DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo struct {
	// Indicates whether the cluster backups are migrated from the historical backup sets. If the value of this parameter is **1**, the cluster backups are migrated from the historical backup sets.
	//
	// example:
	//
	// 1
	RegistryFromHistory *string `json:"RegistryFromHistory,omitempty" xml:"RegistryFromHistory,omitempty"`
}

func (DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo) GoString

func (*DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo) SetRegistryFromHistory

func (DescribeClusterBackupsResponseBodyClusterBackupsExtraInfo) String

type DescribeClusterRecoverTimeRequest

type DescribeClusterRecoverTimeRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp18f7d6b6a7****
	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"`
}

func (DescribeClusterRecoverTimeRequest) GoString

func (*DescribeClusterRecoverTimeRequest) SetDBInstanceId

func (*DescribeClusterRecoverTimeRequest) SetOwnerAccount

func (*DescribeClusterRecoverTimeRequest) SetOwnerId

func (*DescribeClusterRecoverTimeRequest) SetResourceOwnerAccount

func (*DescribeClusterRecoverTimeRequest) SetResourceOwnerId

func (DescribeClusterRecoverTimeRequest) String

type DescribeClusterRecoverTimeResponse

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

func (DescribeClusterRecoverTimeResponse) GoString

func (*DescribeClusterRecoverTimeResponse) SetHeaders

func (*DescribeClusterRecoverTimeResponse) SetStatusCode

func (DescribeClusterRecoverTimeResponse) String

type DescribeClusterRecoverTimeResponseBody

type DescribeClusterRecoverTimeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 60EEBD77-227C-5B39-86EA-D89163C5****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The cluster backup sets of the instance. A cluster backup file contains the backup sets of each node.
	RestoreRanges []*DescribeClusterRecoverTimeResponseBodyRestoreRanges `json:"RestoreRanges,omitempty" xml:"RestoreRanges,omitempty" type:"Repeated"`
}

func (DescribeClusterRecoverTimeResponseBody) GoString

func (*DescribeClusterRecoverTimeResponseBody) SetRequestId

func (DescribeClusterRecoverTimeResponseBody) String

type DescribeClusterRecoverTimeResponseBodyRestoreRanges

type DescribeClusterRecoverTimeResponseBodyRestoreRanges struct {
	// The beginning of the time range to which data can be restored.
	//
	// example:
	//
	// 2023-10-16T19:33:20Z
	RestoreBeginTime *string `json:"RestoreBeginTime,omitempty" xml:"RestoreBeginTime,omitempty"`
	// The end of the time range to which data can be restored.
	//
	// example:
	//
	// 2023-10-16T19:43:20Z
	RestoreEndTime *string `json:"RestoreEndTime,omitempty" xml:"RestoreEndTime,omitempty"`
	// The method used to restore data. Valid values:
	//
	// 	- **PointInTime*	- (default): Data is restored based on point in time
	//
	// example:
	//
	// PointInTime
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
}

func (DescribeClusterRecoverTimeResponseBodyRestoreRanges) GoString

func (*DescribeClusterRecoverTimeResponseBodyRestoreRanges) SetRestoreBeginTime

func (*DescribeClusterRecoverTimeResponseBodyRestoreRanges) SetRestoreEndTime

func (*DescribeClusterRecoverTimeResponseBodyRestoreRanges) SetRestoreType

func (DescribeClusterRecoverTimeResponseBodyRestoreRanges) String

type DescribeDBInstanceAttributeRequest

type DescribeDBInstanceAttributeRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp11483712c1****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database engine. Set the value to **MongoDB**.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// Specifies whether to query instances that are deleted. Valid values:
	//
	// 	- **false**: queries instances that are running.
	//
	// 	- **true**: queries instance that are deleted.
	//
	// example:
	//
	// false
	IsDelete     *bool   `json:"IsDelete,omitempty" xml:"IsDelete,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. For more information, see [View the basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// > This parameter is available only if you use the China site (aliyun.com).
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 (DescribeDBInstanceAttributeRequest) GoString

func (*DescribeDBInstanceAttributeRequest) SetDBInstanceId

func (*DescribeDBInstanceAttributeRequest) SetEngine

func (*DescribeDBInstanceAttributeRequest) SetIsDelete

func (*DescribeDBInstanceAttributeRequest) SetOwnerAccount

func (*DescribeDBInstanceAttributeRequest) SetOwnerId

func (*DescribeDBInstanceAttributeRequest) SetResourceGroupId

func (*DescribeDBInstanceAttributeRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceAttributeRequest) SetResourceOwnerId

func (*DescribeDBInstanceAttributeRequest) SetSecurityToken

func (DescribeDBInstanceAttributeRequest) String

type DescribeDBInstanceAttributeResponse

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

func (DescribeDBInstanceAttributeResponse) GoString

func (*DescribeDBInstanceAttributeResponse) SetHeaders

func (*DescribeDBInstanceAttributeResponse) SetStatusCode

func (DescribeDBInstanceAttributeResponse) String

type DescribeDBInstanceAttributeResponseBody

type DescribeDBInstanceAttributeResponseBody struct {
	// The instance details.
	DBInstances *DescribeDBInstanceAttributeResponseBodyDBInstances `json:"DBInstances,omitempty" xml:"DBInstances,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// A935A8EE-A6CC-53DE-98BA-20ABAA7E632B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBody) GoString

func (*DescribeDBInstanceAttributeResponseBody) SetRequestId

func (DescribeDBInstanceAttributeResponseBody) String

type DescribeDBInstanceAttributeResponseBodyDBInstances

type DescribeDBInstanceAttributeResponseBodyDBInstances struct {
	DBInstance []*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance `json:"DBInstance,omitempty" xml:"DBInstance,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstances) GoString

func (DescribeDBInstanceAttributeResponseBodyDBInstances) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance struct {
	// Indicates whether performance burst is enabled for the ESSD AutoPL disk.
	//
	// example:
	//
	// true
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The read and write throughput consumed by the instance.
	//
	// example:
	//
	// 100
	CapacityUnit *string `json:"CapacityUnit,omitempty" xml:"CapacityUnit,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid**: subscription
	//
	// 	- **PostPaid**: pay-as-you-go
	//
	// example:
	//
	// PostPaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The details of the ConfigServer node.
	//
	// >  This parameter is returned if the instance is a sharded cluster instance.
	ConfigserverList *DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverList `json:"ConfigserverList,omitempty" xml:"ConfigserverList,omitempty" type:"Struct"`
	// 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.
	//
	// example:
	//
	// 2022-01-02T07:43:59Z
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The minor version of the current database in the instance.
	//
	// example:
	//
	// 5.0.5-20220721143518_0
	CurrentKernelVersion *string `json:"CurrentKernelVersion,omitempty" xml:"CurrentKernelVersion,omitempty"`
	// The instance type of the instance.
	//
	// example:
	//
	// dds.mongo.mid
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The name of the instance.
	//
	// example:
	//
	// Test database
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	//
	// example:
	//
	// dds-bp11483712c1****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the orders generated for the instance. Valid values:
	//
	// 	- **all_completed**: All orders are being produced or complete.
	//
	// 	- **order_unpaid**: The instance has unpaid orders.
	//
	// 	- **order_wait_for_produce**: Orders are being delivered for production.
	//
	// >  The order production process includes the following steps: place an order, pay for an order, deliver an order for production, produce an order, and complete the production.
	//
	// 	- If an order is in the **order_wait_for_produce*	- state for a long time, an error occurs when the order is being delivered for production. The system will automatically retry.
	//
	// 	- The instance status changes only when the order is in the producing and complete state, such as changing configurations and running.
	//
	// example:
	//
	// all_completed
	DBInstanceOrderStatus *string `json:"DBInstanceOrderStatus,omitempty" xml:"DBInstanceOrderStatus,omitempty"`
	// Indicates whether release protection is enabled for the instance. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// false
	DBInstanceReleaseProtection *bool `json:"DBInstanceReleaseProtection,omitempty" xml:"DBInstanceReleaseProtection,omitempty"`
	// The status of the instance. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage capacity of the instance.
	//
	// example:
	//
	// 10
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **replicate**: replica set instance
	//
	// 	- **sharding**: sharded cluster instance
	//
	// example:
	//
	// replicate
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The time when the instance data was destroyed. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	//
	// example:
	//
	// 2021-12-10T16:00:00Z
	DestroyTime *string `json:"DestroyTime,omitempty" xml:"DestroyTime,omitempty"`
	// Indicates whether disk encryption is enabled.
	//
	// example:
	//
	// true
	Encrypted *bool `json:"Encrypted,omitempty" xml:"Encrypted,omitempty"`
	// The Key Management Service (KMS) key used for disk encryption.
	//
	// example:
	//
	// 07609cc3-3109-408f-a35e-c548e776da0b
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The database engine of the instance.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// 	- **6.0**
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// example:
	//
	// 4.4
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The time when the subscription instance expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	//
	// >  This parameter is returned if the instance is a subscription instance.
	//
	// example:
	//
	// 2022-02-05T16:00Z
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the secondary zone 2 of the instance. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I
	//
	// 	- **cn-hongkong-b**: Hongkong Zone B
	//
	// 	- **cn-hongkong-c**: Hongkong Zone C
	//
	// 	- **cn-hongkong-d**: Hongkong Zone D
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C
	//
	// 	- **ap-southeast-1a**: Singapore Zone A
	//
	// 	- **ap-southeast-1b**: Singapore Zone B
	//
	// 	- **ap-southeast-1c**: Singapore Zone C
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C
	//
	// 	- **eu-central-1a**: Frankfurt Zone A
	//
	// 	- **eu-central-1b**: Frankfurt Zone B
	//
	// 	- **eu-central-1c**: Frankfurt Zone C
	//
	// >
	//
	// 	- This parameter is returned if the instance is a replica set or sharded cluster instance that runs MongoDB 4.4 or 5.0 and uses multi-zone deployment.
	//
	// 	- This parameter is returned only if you use the China site (aliyun.com).
	//
	// example:
	//
	// cn-hangzhou-h
	HiddenZoneId *string `json:"HiddenZoneId,omitempty" xml:"HiddenZoneId,omitempty"`
	// The kind code of the instance. Valid values:
	//
	// 	- **0**: physical machine
	//
	// 	- **1**: Elastic Compute Service (ECS) instance
	//
	// 	- **2**: Docker cluster
	//
	// 	- **18**: Kubernetes cluster
	//
	// example:
	//
	// 1
	KindCode *string `json:"KindCode,omitempty" xml:"KindCode,omitempty"`
	// The date when the last downgrade operation was performed on the instance.
	//
	// example:
	//
	// 2022-01-08
	LastDowngradeTime *string `json:"LastDowngradeTime,omitempty" xml:"LastDowngradeTime,omitempty"`
	// The lock status of the instance. Valid values:
	//
	// 	- **Unlock**: The instance is not locked.
	//
	// 	- **ManualLock**: The instance is manually locked.
	//
	// 	- **LockByExpiration**: The instance is automatically locked due to instance expiration.
	//
	// 	- **LockByRestoration**: The instance is automatically locked before the instance is rolled back.
	//
	// 	- **LockByDiskQuota**: The instance is automatically locked after the storage space is exhausted.
	//
	// 	- **Released**: The instance is released.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The end time of the maintenance window. The time follows the ISO 8601 standard in the *HH:mm*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 03:00Z
	MaintainEndTime *string `json:"MaintainEndTime,omitempty" xml:"MaintainEndTime,omitempty"`
	// The start time of the maintenance window. The time follows the ISO 8601 standard in the *HH:mm*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 18:00Z
	MaintainStartTime *string `json:"MaintainStartTime,omitempty" xml:"MaintainStartTime,omitempty"`
	// The maximum number of connections to the instance.
	//
	// example:
	//
	// 500
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum IOPS of the instance.
	//
	// example:
	//
	// 1000
	MaxIOPS *int32 `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The maximum MBPS of the instance.
	//
	// example:
	//
	// 350
	MaxMBPS *int32 `json:"MaxMBPS,omitempty" xml:"MaxMBPS,omitempty"`
	// The details of the mongos node.
	//
	// >  This parameter is returned if the instance is a sharded cluster instance.
	MongosList *DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosList `json:"MongosList,omitempty" xml:"MongosList,omitempty" type:"Struct"`
	// The network type of the instance. Valid values:
	//
	// 	- **Classic**: classic network
	//
	// 	- **VPC**: VPC
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The access protocol type of the instance. Valid values:
	//
	// 	- **mongodb**
	//
	// 	- **dynamodb**
	//
	// >  This parameter is returned if the instance is a sharded cluster instance.
	//
	// example:
	//
	// mongodb
	ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"`
	// The provisioned performance of the ESSD AutoPL disk.
	//
	// example:
	//
	// 1960
	ProvisionedIops *int64 `json:"ProvisionedIops,omitempty" xml:"ProvisionedIops,omitempty"`
	// The number of read-only nodes in the instance.
	//
	// example:
	//
	// 1
	ReadonlyReplicas *string `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The logical ID of the replica set instance.
	//
	// >  ApsaraDB for MongoDB does not support new instances of this type. This parameter applies only to previous-version replica set instances.
	//
	// example:
	//
	// bls-m****
	ReplacateId *string `json:"ReplacateId,omitempty" xml:"ReplacateId,omitempty"`
	// The name of the replica set instance.
	//
	// >  This parameter is returned if the instance is a replica set instance.
	//
	// example:
	//
	// mgset-10ace****
	ReplicaSetName *string `json:"ReplicaSetName,omitempty" xml:"ReplicaSetName,omitempty"`
	// The information of the replica set instance.
	//
	// >  This parameter is returned if the instance is a replica set instance.
	ReplicaSets *DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSets `json:"ReplicaSets,omitempty" xml:"ReplicaSets,omitempty" type:"Struct"`
	// The number of nodes in the instance.
	//
	// >  This parameter is returned if the instance is a replica set instance.
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group to which the instance belongs.
	//
	// >  This parameter is returned only if you use the China site (aliyun.com).
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the secondary zone 1 of the instance. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I
	//
	// 	- **cn-hongkong-b**: Hongkong Zone B
	//
	// 	- **cn-hongkong-c**: Hongkong Zone C
	//
	// 	- **cn-hongkong-d**: Hongkong Zone D
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C
	//
	// 	- **ap-southeast-1a**: Singapore Zone A
	//
	// 	- **ap-southeast-1b**: Singapore Zone B
	//
	// 	- **ap-southeast-1c**: Singapore Zone C
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C
	//
	// 	- **eu-central-1a**: Frankfurt Zone A
	//
	// 	- **eu-central-1b**: Frankfurt Zone B
	//
	// 	- **eu-central-1c**: Frankfurt Zone C
	//
	// >
	//
	// 	- This parameter is returned if the instance is a replica set or sharded cluster instance that runs MongoDB 4.4 or 5.0 and uses multi-zone deployment.
	//
	// 	- This parameter is returned only if you use the China site (aliyun.com).
	//
	// example:
	//
	// cn-hangzhou-i
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The details of the shard node.
	//
	// >  This parameter is returned if the instance is a sharded cluster instance.
	ShardList *DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardList `json:"ShardList,omitempty" xml:"ShardList,omitempty" type:"Struct"`
	// The storage engine of the instance.
	//
	// example:
	//
	// WiredTiger
	StorageEngine *string `json:"StorageEngine,omitempty" xml:"StorageEngine,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// **cloud_essd1**: ESSD PL1 **cloud_essd2**: ESSD PL2 **cloud_essd3**: ESSD PL3 **local_ssd**: local SSD **cloud_essd_dbfs_s**: DBFS disk
	//
	// example:
	//
	// cloud_essd1
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The progress of data synchronization in percentage. When you are changing the configurations of the instance, you must synchronize the data of the instance. You can obtain the data synchronization progress based on the value returned for this parameter.
	//
	// example:
	//
	// 0.8
	SyncPercent *string `json:"SyncPercent,omitempty" xml:"SyncPercent,omitempty"`
	// The details of the instance tags.
	Tags *DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// Indicates whether the cluster backup mode is enabled. Valid values:
	//
	// 	- **true**: The cluster backup mode is enabled.
	//
	// 	- **false**: The cluster backup mode is disabled.
	//
	// example:
	//
	// true
	UseClusterBackup *bool `json:"UseClusterBackup,omitempty" xml:"UseClusterBackup,omitempty"`
	// The instance ID.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// dds-bp11483712c1****
	VPCCloudInstanceIds *string `json:"VPCCloudInstanceIds,omitempty" xml:"VPCCloudInstanceIds,omitempty"`
	// The VPC ID of the instance.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// vpc-bp1n3i15v90el48nx****
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the instance.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// vsw-bp1oo2a7isyrb8igf****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// Indicates whether password-free access within the VPC is enabled. Valid values:
	//
	// 	- **Open**: Password-free access within the VPC is enabled.
	//
	// 	- **Close**: Password-free access within the VPC is disabled, and you must use a password for access.
	//
	// 	- **NotSupport**: Password-free access within the VPC is not supported.
	//
	// example:
	//
	// Open
	VpcAuthMode *string `json:"VpcAuthMode,omitempty" xml:"VpcAuthMode,omitempty"`
	// The ID of the zone in which the instance resides.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) GoString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetBurstingEnabled

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetCapacityUnit

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetChargeType

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetCreationTime

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetCurrentKernelVersion

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceClass

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceDescription

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceOrderStatus

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceReleaseProtection

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceStatus

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceStorage

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDBInstanceType

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetDestroyTime

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetEncrypted

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetEncryptionKey

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetEngine

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetEngineVersion

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetExpireTime

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetHiddenZoneId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetKindCode

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetLastDowngradeTime

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetLockMode

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetMaintainEndTime

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetMaintainStartTime

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetMaxConnections

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetMaxIOPS

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetMaxMBPS

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetNetworkType

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetProtocolType

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetProvisionedIops

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetReadonlyReplicas

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetRegionId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetReplacateId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetReplicaSetName

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetReplicationFactor

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetResourceGroupId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetSecondaryZoneId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetStorageEngine

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetStorageType

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetSyncPercent

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetUseClusterBackup

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetVPCCloudInstanceIds

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetVPCId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetVSwitchId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetVpcAuthMode

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) SetZoneId

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverList

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverList struct {
	ConfigserverAttribute []*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute `json:"ConfigserverAttribute,omitempty" xml:"ConfigserverAttribute,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverList) GoString

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverList) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute struct {
	// The endpoint of the Configserver node.
	//
	// example:
	//
	// dds-bp18b0934e7053e4-cs****.mongodb.rds.aliyuncs.com
	ConnectString *string `json:"ConnectString,omitempty" xml:"ConnectString,omitempty"`
	// The minor version of the current MongoDB kernel.
	//
	// example:
	//
	// mongodb_20230613_4.0.25
	CurrentKernelVersion *string `json:"CurrentKernelVersion,omitempty" xml:"CurrentKernelVersion,omitempty"`
	// The lock status of the Configserver node. Valid values:
	//
	// 	- **Unlock**: The instance is not locked.
	//
	// 	- **ManualLock**: The instance is manually locked.
	//
	// 	- **LockByExpiration**: The instance is automatically locked due to instance expiration.
	//
	// 	- **LockByRestoration**: The instance is automatically locked before a rollback.
	//
	// 	- **LockByDiskQuota**: The instance is automatically locked because its storage capacity is exhausted and the instance is inaccessible.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The maximum number of connections to the Configserver node.
	//
	// example:
	//
	// 1000
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum IOPS of the Configserver node.
	//
	// example:
	//
	// 1000
	MaxIOPS *int32 `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The instance type of the Configserver node.
	//
	// example:
	//
	// dds.cs.mid
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The name of the Configserver node.
	//
	// example:
	//
	// testConfigserver
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the Configserver node.
	//
	// example:
	//
	// dds-bp11483712c1****-cs
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The storage capacity of the Configserver node. Unit: GB.
	//
	// example:
	//
	// 20
	NodeStorage *int32 `json:"NodeStorage,omitempty" xml:"NodeStorage,omitempty"`
	// The port number that is used to connect to the Configserver node.
	//
	// example:
	//
	// 3717
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The status of the Configserver node. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute) GoString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute) SetCurrentKernelVersion added in v9.1.0

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute) SetLockMode added in v9.0.1

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceConfigserverListConfigserverAttribute) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosList

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosList struct {
	MongosAttribute []*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute `json:"MongosAttribute,omitempty" xml:"MongosAttribute,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosList) GoString

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosList) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute struct {
	// The endpoint of the mongos node.
	//
	// example:
	//
	// s-bp1d8c262a15****.mongodb.rds.aliyuncs.com
	ConnectSting *string `json:"ConnectSting,omitempty" xml:"ConnectSting,omitempty"`
	// The minor version of the current MongoDB kernel.
	//
	// example:
	//
	// mongodb_20220518_4.0.21
	CurrentKernelVersion *string `json:"CurrentKernelVersion,omitempty" xml:"CurrentKernelVersion,omitempty"`
	// The lock status of the instance. Valid values:
	//
	// 	- **Unlock**: The instance is not locked.
	//
	// 	- **ManualLock**: The instance is manually locked.
	//
	// 	- **LockByExpiration**: The instance is automatically locked due to instance expiration.
	//
	// 	- **LockByRestoration**: The instance is automatically locked before a rollback.
	//
	// 	- **LockByDiskQuota**: The instance is automatically locked because its storage capacity is exhausted and the instance is inaccessible.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The maximum number of connections to the mongos node.
	//
	// example:
	//
	// 1000
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum IOPS of the mongos node.
	//
	// example:
	//
	// 800
	MaxIOPS *int32 `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The instance type of the mongos node.
	//
	// example:
	//
	// dds.mongos.mid
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The name of the mongos node.
	//
	// example:
	//
	// mongos1
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the mongos node.
	//
	// example:
	//
	// s-bp1d8c262a15****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The port number that is used to connect to the mongos node.
	//
	// example:
	//
	// 3717
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The status of the mongos node. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The VPC ID of the instance.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// vpc-bp1n3i15v90el48nx****
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the instance.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// vsw-bp1vj604nj5a9zz74****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the mongos node.
	//
	// example:
	//
	// s-bp1d8c262a158****
	VpcCloudInstanceId *string `json:"VpcCloudInstanceId,omitempty" xml:"VpcCloudInstanceId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) GoString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetConnectSting

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetCurrentKernelVersion added in v9.1.0

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetLockMode added in v9.0.1

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetMaxConnections

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetMaxIOPS

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetNodeClass

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetNodeDescription

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetVSwitchId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetVpcCloudInstanceId

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSets

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSets struct {
	ReplicaSet []*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet `json:"ReplicaSet,omitempty" xml:"ReplicaSet,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSets) GoString

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSets) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet struct {
	// The endpoint of the node.
	//
	// example:
	//
	// dds-bp11483712c1****.mongodb.rds.aliyuncs.com
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The port number that is used to connect to the node.
	//
	// example:
	//
	// 3717
	ConnectionPort *string `json:"ConnectionPort,omitempty" xml:"ConnectionPort,omitempty"`
	// The network type of the instance. Valid values:
	//
	// 	- **Classic**: classic network
	//
	// 	- **VPC**: VPC
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The role of the node. Valid values:
	//
	// 	- **Primary**
	//
	// 	- **Secondary**
	//
	// example:
	//
	// Primary
	ReplicaSetRole *string `json:"ReplicaSetRole,omitempty" xml:"ReplicaSetRole,omitempty"`
	// The instance ID.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// dds-bp11483712c1****
	VPCCloudInstanceId *string `json:"VPCCloudInstanceId,omitempty" xml:"VPCCloudInstanceId,omitempty"`
	// The VPC ID of the instance.
	//
	// >  This parameter is returned if the network type of the instance is VPC.
	//
	// example:
	//
	// vpc-bp1jk5vwkcri27qme****
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the instance.
	//
	// >  This parameter is returned if the network type of the instance is virtual private cloud (VPC).
	//
	// example:
	//
	// vpc-bp1jk5vwkcri27qme****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) GoString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetConnectionDomain

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetConnectionPort

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetNetworkType

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetReplicaSetRole

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetVPCCloudInstanceId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetVPCId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) SetVSwitchId

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceReplicaSetsReplicaSet) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardList

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardList struct {
	ShardAttribute []*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute `json:"ShardAttribute,omitempty" xml:"ShardAttribute,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardList) GoString

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardList) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute struct {
	// The endpoint of the shard node.
	//
	// example:
	//
	// d-bp1af0680a9c6d3****.mongodb.rds.aliyuncs.com:****
	ConnectString *string `json:"ConnectString,omitempty" xml:"ConnectString,omitempty"`
	// The minor version of the current MongoDB kernel.
	//
	// example:
	//
	// mongodb_20230613_4.0.25
	CurrentKernelVersion *string `json:"CurrentKernelVersion,omitempty" xml:"CurrentKernelVersion,omitempty"`
	// The lock status of the shard node. Valid values:
	//
	// 	- **Unlock**: The instance is not locked.
	//
	// 	- **ManualLock**: The instance is manually locked.
	//
	// 	- **LockByExpiration**: The instance is automatically locked due to instance expiration.
	//
	// 	- **LockByRestoration**: The instance is automatically locked before a rollback.
	//
	// 	- **LockByDiskQuota**: The instance is automatically locked because its storage capacity is exhausted and the instance is inaccessible.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The maximum number of connections to the shard node.
	//
	// example:
	//
	// 8000
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum MBPS of the shard node.
	//
	// example:
	//
	// 350
	MaxDiskMbps *string `json:"MaxDiskMbps,omitempty" xml:"MaxDiskMbps,omitempty"`
	// The maximum IOPS of the shard node.
	//
	// example:
	//
	// 8000
	MaxIOPS *int32 `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The instance type of the shard node.
	//
	// example:
	//
	// dds.shard.mid
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The name of the shard node.
	//
	// example:
	//
	// testshard
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the shard node.
	//
	// example:
	//
	// d-bp16e09d9c5d****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The storage capacity of the shard node. Unit: GB.
	//
	// example:
	//
	// 10
	NodeStorage *int32 `json:"NodeStorage,omitempty" xml:"NodeStorage,omitempty"`
	// The port number that is used to connect to the shard node.
	//
	// example:
	//
	// 3717
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The number of read-only nodes in the shard node. Valid values: **0*	- to **5**. The value must be an integer.
	//
	// example:
	//
	// 0
	ReadonlyReplicas *int32 `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	// The status of the shard node. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) GoString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetConnectString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetCurrentKernelVersion added in v9.1.0

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetLockMode added in v9.0.1

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetMaxConnections

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetMaxDiskMbps

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetMaxIOPS

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeClass

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeDescription

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeId

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeStorage

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetPort

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetReadonlyReplicas

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetStatus

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceShardListShardAttribute) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags

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

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags) GoString

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags) String

type DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTagsTag

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

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTagsTag) GoString

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTagsTag) SetKey

func (*DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTagsTag) SetValue

func (DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTagsTag) String

type DescribeDBInstanceEncryptionKeyRequest

type DescribeDBInstanceEncryptionKeyRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2235****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The custom key for the instance. You can call the [DescribeUserEncryptionKeyList](https://help.aliyun.com/document_detail/151729.html) operation to query the list of custom keys for an ApsaraDB for MongoDB instance.
	//
	// example:
	//
	// 2axxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	EncryptionKey        *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,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 (DescribeDBInstanceEncryptionKeyRequest) GoString

func (*DescribeDBInstanceEncryptionKeyRequest) SetDBInstanceId

func (*DescribeDBInstanceEncryptionKeyRequest) SetEncryptionKey

func (*DescribeDBInstanceEncryptionKeyRequest) SetOwnerAccount

func (*DescribeDBInstanceEncryptionKeyRequest) SetOwnerId

func (*DescribeDBInstanceEncryptionKeyRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceEncryptionKeyRequest) SetResourceOwnerId

func (DescribeDBInstanceEncryptionKeyRequest) String

type DescribeDBInstanceEncryptionKeyResponse

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

func (DescribeDBInstanceEncryptionKeyResponse) GoString

func (*DescribeDBInstanceEncryptionKeyResponse) SetHeaders

func (*DescribeDBInstanceEncryptionKeyResponse) SetStatusCode

func (DescribeDBInstanceEncryptionKeyResponse) String

type DescribeDBInstanceEncryptionKeyResponseBody

type DescribeDBInstanceEncryptionKeyResponseBody struct {
	// The UID of the key creator.
	//
	// example:
	//
	// 123456
	Creator *string `json:"Creator,omitempty" xml:"Creator,omitempty"`
	// The scheduled time when the key for the instance will be deleted. If the parameter is left empty, the key will not be deleted.
	//
	// example:
	//
	// 2020-07-06T18:22:03Z
	DeleteDate *string `json:"DeleteDate,omitempty" xml:"DeleteDate,omitempty"`
	// The description of the key for the instance.
	//
	// example:
	//
	// key description example
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The key for the instance.
	//
	// example:
	//
	// 2axxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// Indicates whether the key for the instance is enabled. Valid values:
	//
	// 	- **Enabled**
	//
	// 	- **Disabled**
	//
	// example:
	//
	// Enabled
	EncryptionKeyStatus *string `json:"EncryptionKeyStatus,omitempty" xml:"EncryptionKeyStatus,omitempty"`
	// The purpose of the key for the instance.
	//
	// example:
	//
	// ENCRYPT/DECRYPT
	KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"`
	// The expiration time of the key for the instance. The time is displayed in UTC. If the parameter is left empty, the key for the instance will not expire.
	//
	// example:
	//
	// 2020-07-06T18:22:03Z
	MaterialExpireTime *string `json:"MaterialExpireTime,omitempty" xml:"MaterialExpireTime,omitempty"`
	// The source of the key for the instance.
	//
	// example:
	//
	// Aliyun_KMS
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 783C2062-A2D3-4EA8-88AD-E43F990C23BB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceEncryptionKeyResponseBody) GoString

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetCreator

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetDeleteDate

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetDescription

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetEncryptionKey

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetEncryptionKeyStatus

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetKeyUsage

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetMaterialExpireTime

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetOrigin

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetRequestId

func (DescribeDBInstanceEncryptionKeyResponseBody) String

type DescribeDBInstanceMonitorRequest

type DescribeDBInstanceMonitorRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1143f90ff3****
	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"`
}

func (DescribeDBInstanceMonitorRequest) GoString

func (*DescribeDBInstanceMonitorRequest) SetDBInstanceId

func (*DescribeDBInstanceMonitorRequest) SetOwnerAccount

func (*DescribeDBInstanceMonitorRequest) SetOwnerId

func (*DescribeDBInstanceMonitorRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceMonitorRequest) SetResourceOwnerId

func (DescribeDBInstanceMonitorRequest) String

type DescribeDBInstanceMonitorResponse

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

func (DescribeDBInstanceMonitorResponse) GoString

func (*DescribeDBInstanceMonitorResponse) SetHeaders

func (*DescribeDBInstanceMonitorResponse) SetStatusCode

func (DescribeDBInstanceMonitorResponse) String

type DescribeDBInstanceMonitorResponseBody

type DescribeDBInstanceMonitorResponseBody struct {
	// The collection frequency of monitoring data for the instance. Valid value: **5**. Unit: seconds.
	//
	// example:
	//
	// 5
	Granularity *string `json:"Granularity,omitempty" xml:"Granularity,omitempty"`
	// The request ID.
	//
	// example:
	//
	// EFD65226-08CC-4C4D-B6A4-CB3C382F67B0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceMonitorResponseBody) GoString

func (*DescribeDBInstanceMonitorResponseBody) SetGranularity

func (*DescribeDBInstanceMonitorResponseBody) SetRequestId

func (DescribeDBInstanceMonitorResponseBody) String

type DescribeDBInstancePerformanceRequest

type DescribeDBInstancePerformanceRequest struct {
	// The instance ID.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2635****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end 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. The end time must be later than the start time.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2022-06-13T11:58Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The interval at which performance data is collected. Valid values: 5, 30, 60, 600, 1800, 3600, 86400.
	//
	// example:
	//
	// 60
	Interval *string `json:"Interval,omitempty" xml:"Interval,omitempty"`
	// The performance metric. For more information about valid values, see [Monitoring items and metrics](https://help.aliyun.com/document_detail/216973.html).
	//
	// >  If you need to specify multiple metrics, separate the metrics with commas (,).
	//
	// This parameter is required.
	//
	// example:
	//
	// CpuUsage
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The ID of the mongos or shard node in a sharded cluster instance. You can specify this parameter to view the performance data of a single node.
	//
	// >  This parameter is valid when you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp2287****
	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 role of the node in the standalone or replica set instance. Valid values:
	//
	// 	- **Primary**
	//
	// 	- **Secondary**
	//
	// >  	- This parameter is valid only when you specify the **DBInstanceId*	- parameter to the ID of a standalone instance or a replica set instance.
	//
	// > 	- This parameter can be set only to **Primary*	- when you specify the **DBInstanceId*	- parameter to the ID of a standalone instance.
	//
	// example:
	//
	// Primary
	ReplicaSetRole       *string `json:"ReplicaSetRole,omitempty" xml:"ReplicaSetRole,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The role ID of the node in a standalone or replica set instance. You can call the [DescribeReplicaSetRole](https://help.aliyun.com/document_detail/62134.html) operation to query the role ID of the node.
	//
	// >  This parameter is available when you set the **DBInstanceId*	- parameter to the ID of a standalone instance or a replica set instance.
	//
	// example:
	//
	// 6025****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2022-06-13T10:58Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBInstancePerformanceRequest) GoString

func (*DescribeDBInstancePerformanceRequest) SetDBInstanceId

func (*DescribeDBInstancePerformanceRequest) SetEndTime

func (*DescribeDBInstancePerformanceRequest) SetInterval

func (*DescribeDBInstancePerformanceRequest) SetKey

func (*DescribeDBInstancePerformanceRequest) SetNodeId

func (*DescribeDBInstancePerformanceRequest) SetOwnerAccount

func (*DescribeDBInstancePerformanceRequest) SetOwnerId

func (*DescribeDBInstancePerformanceRequest) SetReplicaSetRole

func (*DescribeDBInstancePerformanceRequest) SetResourceOwnerAccount

func (*DescribeDBInstancePerformanceRequest) SetResourceOwnerId

func (*DescribeDBInstancePerformanceRequest) SetRoleId

func (*DescribeDBInstancePerformanceRequest) SetStartTime

func (DescribeDBInstancePerformanceRequest) String

type DescribeDBInstancePerformanceResponse

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

func (DescribeDBInstancePerformanceResponse) GoString

func (*DescribeDBInstancePerformanceResponse) SetHeaders

func (*DescribeDBInstancePerformanceResponse) SetStatusCode

func (DescribeDBInstancePerformanceResponse) String

type DescribeDBInstancePerformanceResponseBody

type DescribeDBInstancePerformanceResponseBody struct {
	// The end of the queried time range. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-06-13T11:58Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The details of performance metrics.
	PerformanceKeys *DescribeDBInstancePerformanceResponseBodyPerformanceKeys `json:"PerformanceKeys,omitempty" xml:"PerformanceKeys,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 4A300BC7-6D8F-527F-A2DB-A7768D26E9AC
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The beginning of the queried time range. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-06-13T10:58Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBInstancePerformanceResponseBody) GoString

func (*DescribeDBInstancePerformanceResponseBody) SetEndTime

func (*DescribeDBInstancePerformanceResponseBody) SetRequestId

func (*DescribeDBInstancePerformanceResponseBody) SetStartTime

func (DescribeDBInstancePerformanceResponseBody) String

type DescribeDBInstancePerformanceResponseBodyPerformanceKeys

type DescribeDBInstancePerformanceResponseBodyPerformanceKeys struct {
	PerformanceKey []*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey `json:"PerformanceKey,omitempty" xml:"PerformanceKey,omitempty" type:"Repeated"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeys) GoString

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeys) String

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey struct {
	// The performance metrics that are returned.
	//
	// example:
	//
	// CpuUsage
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The details of the performance metric values.
	PerformanceValues *DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValues `json:"PerformanceValues,omitempty" xml:"PerformanceValues,omitempty" type:"Struct"`
	// The unit of the performance metric.
	//
	// example:
	//
	// %
	Unit *string `json:"Unit,omitempty" xml:"Unit,omitempty"`
	// The format of the performance metric value. If the performance metric contains multiple fields, the fields are separated with ampersands ( &).
	//
	// For example, if you query disk space usage, the returned value of the **ValueFormat*	- parameter is **ins_size\\&data_size\\&log_size**.
	//
	// example:
	//
	// cpu_usage
	ValueFormat *string `json:"ValueFormat,omitempty" xml:"ValueFormat,omitempty"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) GoString

func (*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) SetKey

func (*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) SetUnit

func (*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) SetValueFormat

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) String

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValues

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValues struct {
	PerformanceValue []*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue `json:"PerformanceValue,omitempty" xml:"PerformanceValue,omitempty" type:"Repeated"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValues) GoString

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValues) String

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue struct {
	// The date and time when the metric value was generated.
	//
	// example:
	//
	// 2022-06-13T10:58:00Z
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
	// The value of the performance metric.
	//
	// example:
	//
	// 0.23
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue) GoString

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue) String

type DescribeDBInstanceSSLRequest

type DescribeDBInstanceSSLRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DescribeDBInstanceSSLRequest) GoString

func (s DescribeDBInstanceSSLRequest) GoString() string

func (*DescribeDBInstanceSSLRequest) SetDBInstanceId

func (*DescribeDBInstanceSSLRequest) SetOwnerAccount

func (*DescribeDBInstanceSSLRequest) SetOwnerId

func (*DescribeDBInstanceSSLRequest) SetResourceOwnerAccount

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

func (*DescribeDBInstanceSSLRequest) SetResourceOwnerId

func (DescribeDBInstanceSSLRequest) String

type DescribeDBInstanceSSLResponse

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

func (DescribeDBInstanceSSLResponse) GoString

func (*DescribeDBInstanceSSLResponse) SetBody

func (*DescribeDBInstanceSSLResponse) SetHeaders

func (*DescribeDBInstanceSSLResponse) SetStatusCode

func (DescribeDBInstanceSSLResponse) String

type DescribeDBInstanceSSLResponseBody

type DescribeDBInstanceSSLResponseBody struct {
	// The name of the SSL certificate.
	//
	// example:
	//
	// dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com
	CertCommonName *string `json:"CertCommonName,omitempty" xml:"CertCommonName,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 36BB1BC2-789C-4BBA-A519-C5B388E4B0D4
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time when the SSL certificate expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in Coordinated Universal Time (UTC).
	//
	// example:
	//
	// 2020-03-11T02:28:25Z
	SSLExpiredTime *string `json:"SSLExpiredTime,omitempty" xml:"SSLExpiredTime,omitempty"`
	// The status of the SSL feature. Valid values:
	//
	// 	- **Open**: The SSL feature is enabled.
	//
	// 	- **Closed**: The SSL feature is disabled.
	//
	// example:
	//
	// Open
	SSLStatus *string `json:"SSLStatus,omitempty" xml:"SSLStatus,omitempty"`
}

func (DescribeDBInstanceSSLResponseBody) GoString

func (*DescribeDBInstanceSSLResponseBody) SetCertCommonName

func (*DescribeDBInstanceSSLResponseBody) SetRequestId

func (*DescribeDBInstanceSSLResponseBody) SetSSLExpiredTime

func (*DescribeDBInstanceSSLResponseBody) SetSSLStatus

func (DescribeDBInstanceSSLResponseBody) String

type DescribeDBInstanceSwitchLogRequest

type DescribeDBInstanceSwitchLogRequest struct {
	// The instance ID.
	//
	// example:
	//
	// dds-uf68f1b5a57exxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end 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. The end time must be later than the start time.
	//
	// example:
	//
	// 2023-05-28T02:00Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,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**.
	//
	// example:
	//
	// 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**.
	//
	// example:
	//
	// 30
	PageSize        *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerId *int64 `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,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.
	//
	// example:
	//
	// 2023-05-27T02:46Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBInstanceSwitchLogRequest) GoString

func (*DescribeDBInstanceSwitchLogRequest) SetDBInstanceId

func (*DescribeDBInstanceSwitchLogRequest) SetEndTime

func (*DescribeDBInstanceSwitchLogRequest) SetPageNumber

func (*DescribeDBInstanceSwitchLogRequest) SetPageSize

func (*DescribeDBInstanceSwitchLogRequest) SetResourceOwnerId

func (*DescribeDBInstanceSwitchLogRequest) SetStartTime

func (DescribeDBInstanceSwitchLogRequest) String

type DescribeDBInstanceSwitchLogResponse

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

func (DescribeDBInstanceSwitchLogResponse) GoString

func (*DescribeDBInstanceSwitchLogResponse) SetHeaders

func (*DescribeDBInstanceSwitchLogResponse) SetStatusCode

func (DescribeDBInstanceSwitchLogResponse) String

type DescribeDBInstanceSwitchLogResponseBody

type DescribeDBInstanceSwitchLogResponseBody struct {
	// The instance ID.
	//
	// example:
	//
	// dds-uf68f1b5a57exxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The primary/secondary switchover logs.
	LogItems []*DescribeDBInstanceSwitchLogResponseBodyLogItems `json:"LogItems,omitempty" xml:"LogItems,omitempty" type:"Repeated"`
	// The page number returned.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on each page.
	//
	// example:
	//
	// 30
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// ECBCA991-XXXX-XXXX-834C-B3E8007F33AA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of primary/secondary switching entries.
	//
	// example:
	//
	// 1
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDBInstanceSwitchLogResponseBody) GoString

func (*DescribeDBInstanceSwitchLogResponseBody) SetDBInstanceId

func (*DescribeDBInstanceSwitchLogResponseBody) SetPageNumber

func (*DescribeDBInstanceSwitchLogResponseBody) SetPageSize

func (*DescribeDBInstanceSwitchLogResponseBody) SetRequestId

func (*DescribeDBInstanceSwitchLogResponseBody) SetTotalCount

func (DescribeDBInstanceSwitchLogResponseBody) String

type DescribeDBInstanceSwitchLogResponseBodyLogItems

type DescribeDBInstanceSwitchLogResponseBodyLogItems struct {
	// The ID of the replica set instance or the ID of the node on which a primary/secondary switchover is performed.
	//
	// example:
	//
	// dds-uf68f1b5a57exxxx
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The code that indicates the reason of a primary/secondary switchover. Valid values:
	//
	// 	- USER_CONSOLE_OPERATION: The switchover is manually performed.
	//
	// 	- OPERATION_AND_MAINTENANCE: Potential risks exist.
	//
	// 	- MACHINE_DOWNTIME: The host is offline.
	//
	// 	- PRIMARY_UNHEALTHY: An exception occurs on the primary node of the instance.
	//
	// 	- SECONDARY_UNHEALTHY: An exception occurs on the secondary node of the instance.
	//
	// 	- MULTIPLE_NODE_FAILURES: An exception occurs on multiple nodes of the instance.
	//
	// example:
	//
	// USER_CONSOLE_OPERATION
	SwitchCode *string `json:"SwitchCode,omitempty" xml:"SwitchCode,omitempty"`
	// The switchover status. Valid values: **1*	- and **0**. The value 1 indicates a successful primary/secondary switchover and the value 0 indicates a failed primary/secondary switchover.
	//
	// example:
	//
	// 1
	SwitchStatus *string `json:"SwitchStatus,omitempty" xml:"SwitchStatus,omitempty"`
	// The point in time when a primary/secondary switchover was performed. The time follows the ISO 8601 standard in the *yyyy-mm-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2023-02-07T18:00:00Z
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
}

func (DescribeDBInstanceSwitchLogResponseBodyLogItems) GoString

func (*DescribeDBInstanceSwitchLogResponseBodyLogItems) SetNodeId

func (*DescribeDBInstanceSwitchLogResponseBodyLogItems) SetSwitchCode

func (*DescribeDBInstanceSwitchLogResponseBodyLogItems) SetSwitchStatus

func (*DescribeDBInstanceSwitchLogResponseBodyLogItems) SetSwitchTime

func (DescribeDBInstanceSwitchLogResponseBodyLogItems) String

type DescribeDBInstanceTDEInfoRequest

type DescribeDBInstanceTDEInfoRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DescribeDBInstanceTDEInfoRequest) GoString

func (*DescribeDBInstanceTDEInfoRequest) SetDBInstanceId

func (*DescribeDBInstanceTDEInfoRequest) SetOwnerAccount

func (*DescribeDBInstanceTDEInfoRequest) SetOwnerId

func (*DescribeDBInstanceTDEInfoRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceTDEInfoRequest) SetResourceOwnerId

func (DescribeDBInstanceTDEInfoRequest) String

type DescribeDBInstanceTDEInfoResponse

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

func (DescribeDBInstanceTDEInfoResponse) GoString

func (*DescribeDBInstanceTDEInfoResponse) SetHeaders

func (*DescribeDBInstanceTDEInfoResponse) SetStatusCode

func (DescribeDBInstanceTDEInfoResponse) String

type DescribeDBInstanceTDEInfoResponseBody

type DescribeDBInstanceTDEInfoResponseBody struct {
	// 实例的自定义密钥。
	//
	// 目前仅以下地域支持BYOK(Bring Your Own Key,用户可以自行管理和拥有加密密钥):
	//
	// - 华东1(杭州)
	//
	// - 华东2(上海)
	//
	// - 华北2(北京)
	//
	// - 华南1(深圳)
	//
	// - 中国(香港)
	//
	// - 新加坡
	//
	// - 马来西亚(吉隆坡)
	//
	// > 支持BYOK,用户可以管理且拥有密钥,系统将返回用户的自定义密钥;不支持BYOK,用户不可管理密钥,系统将返回字符串`NoActiveBYOK`。
	//
	// example:
	//
	// 2axxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// 加密算法。
	//
	// example:
	//
	// aes-256-cbc
	EncryptorName *string `json:"EncryptorName,omitempty" xml:"EncryptorName,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F4DD0E29-361B-42F2-9301-B0048CCCE5D6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 指定待授权角色的全局资源描述符ARN(Alibaba Cloud Resource Name)信息。
	//
	// example:
	//
	// acs:ram::123456789012****:role/aliyunrdsinstanceencryptiondefaultrole
	RoleARN *string `json:"RoleARN,omitempty" xml:"RoleARN,omitempty"`
	// The TDE status. Valid values:
	//
	// 	- **enabled**
	//
	// 	- **disabled**
	//
	// example:
	//
	// enabled
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (DescribeDBInstanceTDEInfoResponseBody) GoString

func (*DescribeDBInstanceTDEInfoResponseBody) SetEncryptionKey

func (*DescribeDBInstanceTDEInfoResponseBody) SetEncryptorName

func (*DescribeDBInstanceTDEInfoResponseBody) SetRequestId

func (*DescribeDBInstanceTDEInfoResponseBody) SetRoleARN

func (*DescribeDBInstanceTDEInfoResponseBody) SetTDEStatus

func (DescribeDBInstanceTDEInfoResponseBody) String

type DescribeDBInstancesOverviewRequest

type DescribeDBInstancesOverviewRequest struct {
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid**: subscription
	//
	// 	- **PostPaid**: pay-as-you-go
	//
	// example:
	//
	// PostPaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The database engine version of the instance. Valid values: **5.0**, **4.4**, **4.2**, **4.0**, and **3.4**.
	//
	// example:
	//
	// 4.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The instance type. The instance type varies based on the instance architecture. For more information about instance types supported by different instance architectures, see the following references:
	//
	// 	- [Standalone instance types](https://help.aliyun.com/document_detail/311407.html)
	//
	// 	- [Replica set instance types](https://help.aliyun.com/document_detail/311410.html)
	//
	// 	- [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html)
	//
	// example:
	//
	// dds.mongo.2xlarge
	InstanceClass *string `json:"InstanceClass,omitempty" xml:"InstanceClass,omitempty"`
	// The ID of the instance for which you want to query the overview information.
	//
	// >
	//
	// 	- If you do not specify this parameter, the overview information of all instances within this account is queried.
	//
	// 	- Separate the instance IDs with commas (,).
	//
	// example:
	//
	// dds-bp12c5b040dc****
	InstanceIds *string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty"`
	// The state of the instance. For more information about valid values, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **sharding**: sharded cluster instance
	//
	// 	- **replicate**: replica set or standalone instance
	//
	// >
	//
	// 	- To query the overview information of a sharded cluster instance, you must set the parameter to **sharding**.
	//
	// 	- If you do not specify this parameter, the overview information of all instances within this account is queried.
	//
	// example:
	//
	// replicate
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The network type of the instance. Valid values:
	//
	// 	- **Classic**: classic network
	//
	// 	- **VPC**: Virtual Private Cloud (VPC)
	//
	// example:
	//
	// Classic
	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 region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the instance belongs. For more information, see [View the basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 vSwitch to which the instance is connected.
	//
	// example:
	//
	// vsw-bp1e7clcw529l773d****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC in which the instance is deployed.
	//
	// example:
	//
	// vpc-bp1nme44gek34slfc****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesOverviewRequest) GoString

func (*DescribeDBInstancesOverviewRequest) SetChargeType

func (*DescribeDBInstancesOverviewRequest) SetEngineVersion

func (*DescribeDBInstancesOverviewRequest) SetInstanceClass

func (*DescribeDBInstancesOverviewRequest) SetInstanceIds

func (*DescribeDBInstancesOverviewRequest) SetInstanceStatus

func (*DescribeDBInstancesOverviewRequest) SetInstanceType

func (*DescribeDBInstancesOverviewRequest) SetNetworkType

func (*DescribeDBInstancesOverviewRequest) SetOwnerAccount

func (*DescribeDBInstancesOverviewRequest) SetOwnerId

func (*DescribeDBInstancesOverviewRequest) SetRegionId

func (*DescribeDBInstancesOverviewRequest) SetResourceGroupId

func (*DescribeDBInstancesOverviewRequest) SetResourceOwnerAccount

func (*DescribeDBInstancesOverviewRequest) SetResourceOwnerId

func (*DescribeDBInstancesOverviewRequest) SetVSwitchId

func (*DescribeDBInstancesOverviewRequest) SetVpcId

func (*DescribeDBInstancesOverviewRequest) SetZoneId

func (DescribeDBInstancesOverviewRequest) String

type DescribeDBInstancesOverviewResponse

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

func (DescribeDBInstancesOverviewResponse) GoString

func (*DescribeDBInstancesOverviewResponse) SetHeaders

func (*DescribeDBInstancesOverviewResponse) SetStatusCode

func (DescribeDBInstancesOverviewResponse) String

type DescribeDBInstancesOverviewResponseBody

type DescribeDBInstancesOverviewResponseBody struct {
	// The information of instances.
	DBInstances []*DescribeDBInstancesOverviewResponseBodyDBInstances `json:"DBInstances,omitempty" xml:"DBInstances,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 52820D2B-B2DD-59F0-BDF2-83EC19C6F1CA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of instances in the query results.
	//
	// example:
	//
	// 1
	TotalCount *string `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDBInstancesOverviewResponseBody) GoString

func (*DescribeDBInstancesOverviewResponseBody) SetRequestId

func (*DescribeDBInstancesOverviewResponseBody) SetTotalCount

func (DescribeDBInstancesOverviewResponseBody) String

type DescribeDBInstancesOverviewResponseBodyDBInstances

type DescribeDBInstancesOverviewResponseBodyDBInstances struct {
	// The read and write throughput consumed by the instance.
	//
	// >
	//
	// 	- This parameter is returned when the instance is a serverless instance.
	//
	// 	- Serverless instances are available only in the China site (aliyun.com).
	//
	// example:
	//
	// 100
	CapacityUnit *string `json:"CapacityUnit,omitempty" xml:"CapacityUnit,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid**: subscription
	//
	// 	- **PostPaid**: pay-as-you-go
	//
	// example:
	//
	// PrePaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,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.
	//
	// example:
	//
	// 2022-01-05T03:18:53Z
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The instance type. The instance type varies based on the instance architecture. For more information about instance types supported by different instance architectures, see the following references:
	//
	// 	- [Standalone instance types](https://help.aliyun.com/document_detail/311407.html)
	//
	// 	- [Replica set instance types](https://help.aliyun.com/document_detail/311410.html)
	//
	// 	- [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html)
	//
	// example:
	//
	// dds.mongo.mid
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The description of the instance.
	//
	// example:
	//
	// test db
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The state of the instance. For more information about valid values, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage space of the instance. Unit: GB.
	//
	// example:
	//
	// 20
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **sharding**: sharded cluster instance
	//
	// 	- **replicate**: replica set or standalone instance
	//
	// example:
	//
	// replicate
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The time when the instance data was destroyed. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	//
	// example:
	//
	// 2021-12-10T16:00:00Z
	DestroyTime *string `json:"DestroyTime,omitempty" xml:"DestroyTime,omitempty"`
	// The database engine of the instance. Set the value to **MongoDB**.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// example:
	//
	// 4.2
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The time when the instance expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-02-05T16:00Z
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The kind code of the instance. Valid values:
	//
	// 	- **0**: physical machine
	//
	// 	- **1**: Elastic Compute Service (ECS) instance
	//
	// 	- **2**: Docker cluster
	//
	// 	- **18**: Kubernetes cluster
	//
	// example:
	//
	// 0
	KindCode *string `json:"KindCode,omitempty" xml:"KindCode,omitempty"`
	// The date when the last downgrade operation was performed.
	//
	// example:
	//
	// 2021-05-08
	LastDowngradeTime *string `json:"LastDowngradeTime,omitempty" xml:"LastDowngradeTime,omitempty"`
	// Indicates whether the instance is locked. Valid values:
	//
	// 	- **Unlock**: The instance is not locked.
	//
	// 	- **ManualLock**: The instance is manually locked.
	//
	// 	- **LockByExpiration**: The instance is automatically locked due to instance expiration.
	//
	// 	- **LockByRestoration**: The instance is automatically locked before it is rolled back.
	//
	// 	- **LockByDiskQuota**: The instance is automatically locked after the storage space is exhausted.
	//
	// 	- **Released**: The instance is released. After an instance is released, the instance cannot be unlocked. You can only restore the backup data of the instance to a new instance. This process requires a long period of time.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The details of the mongos nodes.
	//
	// >  This parameter is returned when the instance is a sharded cluster instance.
	MongosList []*DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList `json:"MongosList,omitempty" xml:"MongosList,omitempty" type:"Repeated"`
	// The network type of the instance. Valid values:
	//
	// 	- **Classic**
	//
	// 	- **VPC**
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of nodes in the instance.
	//
	// >  This parameter is returned when the instance is a replica set instance.
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group to which the instance belongs.
	//
	// example:
	//
	// rg-acfm22cdcgc****
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The details of the shard nodes.
	//
	// >  This parameter is returned when the instance is a sharded cluster instance.
	ShardList []*DescribeDBInstancesOverviewResponseBodyDBInstancesShardList `json:"ShardList,omitempty" xml:"ShardList,omitempty" type:"Repeated"`
	// The tags to add to the instance.
	Tags []*DescribeDBInstancesOverviewResponseBodyDBInstancesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// Indicates whether password-free access over VPC is enabled. Valid values:
	//
	// 	- **Open**: Password-free access over VPC is enabled.
	//
	// 	- **Close**: Password-free access over VPC is disabled.
	//
	// example:
	//
	// Open
	VpcAuthMode *string `json:"VpcAuthMode,omitempty" xml:"VpcAuthMode,omitempty"`
	// The zone ID of the instance.
	//
	// example:
	//
	// cn-hangzhou-i
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesOverviewResponseBodyDBInstances) GoString

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetCapacityUnit

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetChargeType

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetCreationTime

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDBInstanceClass

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDBInstanceDescription

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDBInstanceId

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDBInstanceStatus

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDBInstanceStorage

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDBInstanceType

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetDestroyTime

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetEngine

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetEngineVersion

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetExpireTime

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetKindCode

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetLastDowngradeTime

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetLockMode

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetNetworkType

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetRegionId

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetReplicationFactor

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetResourceGroupId

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetVpcAuthMode

func (*DescribeDBInstancesOverviewResponseBodyDBInstances) SetZoneId

func (DescribeDBInstancesOverviewResponseBodyDBInstances) String

type DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList

type DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList struct {
	// The instance type of the mongos node.
	//
	// example:
	//
	// dds.mongos.standard
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The description of the mongos node.
	//
	// example:
	//
	// mongos node describe.
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the mongos node.
	//
	// example:
	//
	// s-bp10e3b0d02f****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
}

func (DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList) GoString

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList) SetNodeClass

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList) SetNodeDescription

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList) SetNodeId

func (DescribeDBInstancesOverviewResponseBodyDBInstancesMongosList) String

type DescribeDBInstancesOverviewResponseBodyDBInstancesShardList

type DescribeDBInstancesOverviewResponseBodyDBInstancesShardList struct {
	// The instance type of the shard node.
	//
	// example:
	//
	// dds.shard.mid
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The description of the shard node.
	//
	// example:
	//
	// testshard
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the shard node.
	//
	// example:
	//
	// d-bp1cac6f2083****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The storage space of the shard node. Unit: GB.
	//
	// example:
	//
	// 10
	NodeStorage *int32 `json:"NodeStorage,omitempty" xml:"NodeStorage,omitempty"`
	// The number of read-only nodes in the shard node. Valid values: **0*	- to **5**.
	//
	// example:
	//
	// 2
	ReadonlyReplicas *int32 `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
}

func (DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) GoString

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) SetNodeClass

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) SetNodeDescription

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) SetNodeId

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) SetNodeStorage

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) SetReadonlyReplicas

func (DescribeDBInstancesOverviewResponseBodyDBInstancesShardList) String

type DescribeDBInstancesOverviewResponseBodyDBInstancesTags

type DescribeDBInstancesOverviewResponseBodyDBInstancesTags struct {
	// The tag key. Valid values of N: **1*	- to **20**.
	//
	// 	- The key cannot start with `aliyun`, `acs:`, `http://`, or `https://`.
	//
	// 	- It can be up to 64 characters in length.
	//
	// 	- It cannot be an empty string.
	//
	// example:
	//
	// testdatabase
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. Valid values of N: **1*	- to **20**.
	//
	// 	- The value cannot start with `aliyun`, `acs:`, `http://`, or `https://`.
	//
	// 	- The value can be up to 128 characters in length.
	//
	// 	- The value can be an empty string.
	//
	// example:
	//
	// apitest
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDBInstancesOverviewResponseBodyDBInstancesTags) GoString

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesTags) SetKey

func (*DescribeDBInstancesOverviewResponseBodyDBInstancesTags) SetValue

func (DescribeDBInstancesOverviewResponseBodyDBInstancesTags) String

type DescribeDBInstancesRequest

type DescribeDBInstancesRequest struct {
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid**: subscription
	//
	// 	- **PostPaid**: pay-as-you-go
	//
	// example:
	//
	// PrePaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The endpoint of the node. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the endpoint of the node.
	//
	// example:
	//
	// dds-bp1ea17b41abecf43****.mongodb.rds.aliyuncs.com
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The instance type. For more information about valid values, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// example:
	//
	// dds.mongo.mid
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The name of the instance. The name must meet the following requirements:
	//
	// 	- The name must start with a letter.
	//
	// 	- It can contain digits, letters, underscores (_), and hyphens (-).
	//
	// 	- It must be 2 to 256 characters in length.
	//
	// example:
	//
	// Test database
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	//
	// example:
	//
	// dds-bp199659b178****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The state of the instance. For more information about valid values, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **sharding**: sharded cluster instance
	//
	// 	- **replicate**: replica set or standalone instance
	//
	// example:
	//
	// sharding
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The type of the node in the instance. This parameter is used to filter standard or test instance.
	//
	// 1.  Valid value for a standalone or DBFS instance.
	//
	// 2.  Valid value for a standard instance that comes in the replica set or sharded cluster architecture: standard
	//
	// 3.  Valid value when all instances are displayed: default
	//
	// example:
	//
	// default
	DBNodeType *string `json:"DBNodeType,omitempty" xml:"DBNodeType,omitempty"`
	// The database engine of the instance. Set the value to **MongoDB**.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// 	- **6.0**
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// 	- **3.4**
	//
	// example:
	//
	// 4.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The time when the instance expires.
	//
	// example:
	//
	// 2019-12-26T16:00Z
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// Specifies whether the instance has expired. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Expired *string `json:"Expired,omitempty" xml:"Expired,omitempty"`
	// The network type of the instance. Valid values:
	//
	// 	- **Classic**
	//
	// 	- **VPC**
	//
	// example:
	//
	// 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 number of the page to return. The value of this parameter must be an integer that is greater than 0. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// 	- **30*	- (default)
	//
	// 	- **50**
	//
	// 	- **100**
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of nodes in the replica set instance. Valid values:
	//
	// 	- **3**
	//
	// 	- **5**
	//
	// 	- **7**
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 tags of the instance.
	Tag []*DescribeDBInstancesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The vSwitch ID of the instance.
	//
	// example:
	//
	// vsw-bp1vj604nj5a9zz74****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The VPC ID of the instance.
	//
	// example:
	//
	// vpc-bp1n3i15v90el48nx****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent zone list.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesRequest) GoString

func (s DescribeDBInstancesRequest) GoString() string

func (*DescribeDBInstancesRequest) SetChargeType

func (*DescribeDBInstancesRequest) SetConnectionDomain

func (*DescribeDBInstancesRequest) SetDBInstanceClass

func (*DescribeDBInstancesRequest) SetDBInstanceDescription

func (s *DescribeDBInstancesRequest) SetDBInstanceDescription(v string) *DescribeDBInstancesRequest

func (*DescribeDBInstancesRequest) SetDBInstanceId

func (*DescribeDBInstancesRequest) SetDBInstanceStatus

func (*DescribeDBInstancesRequest) SetDBInstanceType

func (*DescribeDBInstancesRequest) SetDBNodeType

func (*DescribeDBInstancesRequest) SetEngine

func (*DescribeDBInstancesRequest) SetEngineVersion

func (*DescribeDBInstancesRequest) SetExpireTime

func (*DescribeDBInstancesRequest) SetExpired

func (*DescribeDBInstancesRequest) SetNetworkType

func (*DescribeDBInstancesRequest) SetOwnerAccount

func (*DescribeDBInstancesRequest) SetOwnerId

func (*DescribeDBInstancesRequest) SetPageNumber

func (*DescribeDBInstancesRequest) SetPageSize

func (*DescribeDBInstancesRequest) SetRegionId

func (*DescribeDBInstancesRequest) SetReplicationFactor

func (s *DescribeDBInstancesRequest) SetReplicationFactor(v string) *DescribeDBInstancesRequest

func (*DescribeDBInstancesRequest) SetResourceGroupId

func (*DescribeDBInstancesRequest) SetResourceOwnerAccount

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

func (*DescribeDBInstancesRequest) SetResourceOwnerId

func (*DescribeDBInstancesRequest) SetTag

func (*DescribeDBInstancesRequest) SetVSwitchId

func (*DescribeDBInstancesRequest) SetVpcId

func (*DescribeDBInstancesRequest) SetZoneId

func (DescribeDBInstancesRequest) String

type DescribeDBInstancesRequestTag

type DescribeDBInstancesRequestTag struct {
	// The tag key of the instance. Valid values of N: **1*	- to **20**.
	//
	// 	- The key cannot start with `aliyun`, `acs:`, `http://`, or `https://`.
	//
	// 	- It can be up to 64 characters in length.
	//
	// 	- It cannot be an empty string.
	//
	// example:
	//
	// testdatabase
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value of the instance. Valid values of N: **1*	- to **20**.
	//
	// 	- The value cannot start with `aliyun`, `acs:`, `http://`, or `https://`.
	//
	// 	- The value can be up to 128 characters in length.
	//
	// 	- It can be an empty string.
	//
	// example:
	//
	// apitest
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDBInstancesRequestTag) GoString

func (*DescribeDBInstancesRequestTag) SetKey

func (*DescribeDBInstancesRequestTag) SetValue

func (DescribeDBInstancesRequestTag) String

type DescribeDBInstancesResponse

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

func (DescribeDBInstancesResponse) GoString

func (s DescribeDBInstancesResponse) GoString() string

func (*DescribeDBInstancesResponse) SetBody

func (*DescribeDBInstancesResponse) SetHeaders

func (*DescribeDBInstancesResponse) SetStatusCode

func (DescribeDBInstancesResponse) String

type DescribeDBInstancesResponseBody

type DescribeDBInstancesResponseBody struct {
	// The details of the instance.
	DBInstances *DescribeDBInstancesResponseBodyDBInstances `json:"DBInstances,omitempty" xml:"DBInstances,omitempty" type:"Struct"`
	// The page number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on each page.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 0E4FE33F-5510-5758-8FA7-A6672CDE****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of instances in the query results.
	//
	// example:
	//
	// 5
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDBInstancesResponseBody) GoString

func (*DescribeDBInstancesResponseBody) SetPageNumber

func (*DescribeDBInstancesResponseBody) SetPageSize

func (*DescribeDBInstancesResponseBody) SetRequestId

func (*DescribeDBInstancesResponseBody) SetTotalCount

func (DescribeDBInstancesResponseBody) String

type DescribeDBInstancesResponseBodyDBInstances

type DescribeDBInstancesResponseBodyDBInstances struct {
	DBInstance []*DescribeDBInstancesResponseBodyDBInstancesDBInstance `json:"DBInstance,omitempty" xml:"DBInstance,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesResponseBodyDBInstances) GoString

func (DescribeDBInstancesResponseBodyDBInstances) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstance

type DescribeDBInstancesResponseBodyDBInstancesDBInstance struct {
	// The backup retention policy configured for the instance. Valid values:
	//
	// 	- **0**: All backup sets of the instance are immediately deleted when the instance is released.
	//
	// 	- **1**: A backup set of the instance is automatically backed up and retained for a long period of time when the instance is released.
	//
	// 	- **2**: All backup sets of the instance are automatically backed up and retained for a long period of time when the instance is released.
	//
	// example:
	//
	// 1
	BackupRetentionPolicy *int32 `json:"BackupRetentionPolicy,omitempty" xml:"BackupRetentionPolicy,omitempty"`
	// The I/O throughput consumed by the instance.
	//
	// >  This parameter is required only when the instance is a serverless instance.
	//
	// example:
	//
	// 100
	CapacityUnit *string `json:"CapacityUnit,omitempty" xml:"CapacityUnit,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid**: subscription
	//
	// 	- **PostPaid:*	- pay-as-you-go
	//
	// example:
	//
	// PrePaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,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.
	//
	// example:
	//
	// 2021-03-25T02:18:00Z
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The instance type of the instance.
	//
	// example:
	//
	// dds.mongo.mid
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The description of the instance.
	//
	// example:
	//
	// Test database
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	//
	// example:
	//
	// dds-bp18b0934e70****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage capacity of the instance.
	//
	// example:
	//
	// 20
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The architecture of the instance.
	//
	// 	- **sharding**: sharded cluster instance
	//
	// 	- **replicate**: replica set or standalone instance
	//
	// example:
	//
	// sharding
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The time when the instance data is destroyed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// > 	- For a subscription instance, the computing resources of the instance are released on the 16th day after expiration, and the data of the instance is retained for seven days. The data is deleted on the 23th day after expiration and cannot be restored.
	//
	// > 	- For a pay-as-you-go instance, the computing resources of the instance are released on the 16th day after the payment becomes overdue, and the data of the instance is retained for seven days. The data is deleted on the 23th day after the payment becomes overdue and cannot be restored.
	//
	// example:
	//
	// 2021-12-10T16:00:00Z
	DestroyTime *string `json:"DestroyTime,omitempty" xml:"DestroyTime,omitempty"`
	// The engine of the instance.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// 	- **7.0**
	//
	// 	- **6.0**
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// 	- **3.4**
	//
	// example:
	//
	// 4.2
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The time when the instance expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2021-11-25T16:00Z
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The secondary zone 2 of the instance in the multi-zone deployment. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I
	//
	// 	- **cn-hongkong-b**: Hong Kong Zone B
	//
	// 	- **cn-hongkong-c**: Hong Kong Zone C
	//
	// 	- **cn-hongkong-d**: Hong Kong Zone D
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C
	//
	// 	- **ap-southeast-1a**: Singapore Zone A
	//
	// 	- **ap-southeast-1b**: Singapore Zone B
	//
	// 	- **ap-southeast-1c**: Singapore Zone C
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C
	//
	// 	- **eu-central-1a**: Frankfurt Zone A
	//
	// 	- **eu-central-1b**: Frankfurt Zone B
	//
	// 	- **eu-central-1c**: Frankfurt Zone C
	//
	// > 	- This parameter is returned only when the instance is a replica set or sharded cluster instance that runs MongoDB 4.4 or 5.0 and uses the multi-zone deployment.
	//
	// > 	- This parameter is returned only if you use the China site (aliyun.com).
	//
	// example:
	//
	// cn-hangzhou-h
	HiddenZoneId *string `json:"HiddenZoneId,omitempty" xml:"HiddenZoneId,omitempty"`
	// The kind code of the instance. Valid values:
	//
	// 	- **0**: physical machine
	//
	// 	- **1**: Elastic Compute Service (ECS) instance
	//
	// 	- **2**: Docker cluster
	//
	// 	- **18**: Kubernetes cluster
	//
	// example:
	//
	// 1
	KindCode *string `json:"KindCode,omitempty" xml:"KindCode,omitempty"`
	// The date when the last downgrade operation was performed.
	//
	// example:
	//
	// 2021-05-08
	LastDowngradeTime *string `json:"LastDowngradeTime,omitempty" xml:"LastDowngradeTime,omitempty"`
	// The lock status of the instance. Valid values:
	//
	// 	- **Unlock**: The cluster is unlocked.
	//
	// 	- **ManualLock**: The instance is manually locked.
	//
	// 	- **LockByExpiration**: The instance is automatically locked due to instance expiration.
	//
	// 	- **LockByRestoration**: The instance is automatically locked before it is rolled back.
	//
	// 	- **LockByDiskQuota**: The instance is automatically locked after the storage space is exhausted.
	//
	// 	- **Released**: The instance is released. After an instance is released, the instance cannot be unlocked. You can only restore the backup data of the instance to a new instance. This process requires a long period of time.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The details of the mongos node.
	//
	// >  This parameter is returned if the instance is a sharded cluster instance.
	MongosList *DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList `json:"MongosList,omitempty" xml:"MongosList,omitempty" type:"Struct"`
	// The network type of the instance. Valid values:
	//
	// 	- **Classic**: classic network
	//
	// 	- **VPC**: VPC
	//
	// example:
	//
	// Classic
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The time when the instance was released.
	//
	// example:
	//
	// 2024-06-17T07:01Z
	ReleaseTime *string `json:"ReleaseTime,omitempty" xml:"ReleaseTime,omitempty"`
	// The number of nodes in the instance.
	//
	// >  This parameter is returned if the instance is a replica set instance.
	//
	// example:
	//
	// 3
	ReplicationFactor *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	// The ID of the resource group to which the instance belongs.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The secondary zone 1 of the instance in the multi-zone deployment. Valid values:
	//
	// 	- **cn-hangzhou-g**: Hangzhou Zone G
	//
	// 	- **cn-hangzhou-h**: Hangzhou Zone H
	//
	// 	- **cn-hangzhou-i**: Hangzhou Zone I
	//
	// 	- **cn-hongkong-b**: Hong Kong Zone B
	//
	// 	- **cn-hongkong-c**: Hong Kong Zone C
	//
	// 	- **cn-hongkong-d**: Hong Kong Zone D
	//
	// 	- **cn-wulanchabu-a**: Ulanqab Zone A
	//
	// 	- **cn-wulanchabu-b**: Ulanqab Zone B
	//
	// 	- **cn-wulanchabu-c**: Ulanqab Zone C
	//
	// 	- **ap-southeast-1a**: Singapore Zone A
	//
	// 	- **ap-southeast-1b**: Singapore Zone B
	//
	// 	- **ap-southeast-1c**: Singapore Zone C
	//
	// 	- **ap-southeast-5a**: Jakarta Zone A
	//
	// 	- **ap-southeast-5b**: Jakarta Zone B
	//
	// 	- **ap-southeast-5c**: Jakarta Zone C
	//
	// 	- **eu-central-1a**: Frankfurt Zone A
	//
	// 	- **eu-central-1b**: Frankfurt Zone B
	//
	// 	- **eu-central-1c**: Frankfurt Zone C
	//
	// > 	- This parameter is returned only when the instance is a replica set or sharded cluster instance that runs MongoDB 4.4 or 5.0 and uses the multi-zone deployment.
	//
	// > 	- This parameter is returned only if you use the China site (aliyun.com).
	//
	// example:
	//
	// cn-hangzhou-i
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The details of the shard node.
	//
	// >  This parameter is returned if the instance is a sharded cluster instance.
	ShardList *DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList `json:"ShardList,omitempty" xml:"ShardList,omitempty" type:"Struct"`
	// The storage type of the instance. Valid values:
	//
	// 	- **cloud_essd**: Enterprise SSD (ESSD)
	//
	// 	- **local_ssd**: local SSD
	//
	// example:
	//
	// local_ssd
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The details of the tag.
	Tags *DescribeDBInstancesResponseBodyDBInstancesDBInstanceTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// Indicates whether password-free access over virtual private cloud (VPC) is enabled. Valid values:
	//
	// 	- **Open**: Password-free access over VPC is enabled.
	//
	// 	- **Close**: Password-free access over VPC is disabled.
	//
	// example:
	//
	// Close
	VpcAuthMode *string `json:"VpcAuthMode,omitempty" xml:"VpcAuthMode,omitempty"`
	// The zone ID of the instance.
	//
	// example:
	//
	// cn-hangzhou-g
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesResponseBodyDBInstancesDBInstance) GoString

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetBackupRetentionPolicy

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetCapacityUnit

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetChargeType

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetCreationTime

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDBInstanceClass

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDBInstanceDescription

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDBInstanceId

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDBInstanceStatus

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDBInstanceStorage

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDBInstanceType

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetDestroyTime

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetEngine

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetEngineVersion

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetExpireTime

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetHiddenZoneId

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetKindCode

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetLastDowngradeTime

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetLockMode

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetNetworkType

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetRegionId

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetReleaseTime

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetReplicationFactor

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetResourceGroupId

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetSecondaryZoneId

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetStorageType

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetVpcAuthMode

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstance) SetZoneId

func (DescribeDBInstancesResponseBodyDBInstancesDBInstance) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList struct {
	MongosAttribute []*DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute `json:"MongosAttribute,omitempty" xml:"MongosAttribute,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList) GoString

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosList) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute struct {
	// The instance type of the mongos node.
	//
	// example:
	//
	// dds.mongos.standard
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The description of the mongos node.
	//
	// example:
	//
	// testmongosnode
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the mongos node.
	//
	// example:
	//
	// s-bp10e3b0d02f****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
}

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) GoString

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetNodeClass

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetNodeDescription

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) SetNodeId

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceMongosListMongosAttribute) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList struct {
	ShardAttribute []*DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute `json:"ShardAttribute,omitempty" xml:"ShardAttribute,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList) GoString

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardList) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute struct {
	// The instance type of the shard node.
	//
	// example:
	//
	// dds.shard.mid
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The description of the shard node.
	//
	// example:
	//
	// testshardnode
	NodeDescription *string `json:"NodeDescription,omitempty" xml:"NodeDescription,omitempty"`
	// The ID of the shard node.
	//
	// example:
	//
	// d-bp1cac6f2083****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The storage capacity of the shard node. Unit: GB.
	//
	// example:
	//
	// 10
	NodeStorage *int32 `json:"NodeStorage,omitempty" xml:"NodeStorage,omitempty"`
	// The number of read-only nodes in the shard node. Valid values: **0*	- to **5**.
	//
	// example:
	//
	// 2
	ReadonlyReplicas *int32 `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
}

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) GoString

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeClass

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeDescription

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeId

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetNodeStorage

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) SetReadonlyReplicas

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceShardListShardAttribute) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceTags

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

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceTags) GoString

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceTags) String

type DescribeDBInstancesResponseBodyDBInstancesDBInstanceTagsTag

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

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceTagsTag) GoString

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceTagsTag) SetKey

func (*DescribeDBInstancesResponseBodyDBInstancesDBInstanceTagsTag) SetValue

func (DescribeDBInstancesResponseBodyDBInstancesDBInstanceTagsTag) String

type DescribeErrorLogRecordsRequest

type DescribeErrorLogRecordsRequest struct {
	// The ID of the instance.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	//
	// example:
	//
	// mongodbtest
	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 and within 24 hours from the start time. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-01-02T12:10Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The logical relationship between multiple keywords. Valid values:
	//
	// 	- **or**
	//
	// 	- **and*	- (default value)
	//
	// example:
	//
	// and
	LogicalOperator *string `json:"LogicalOperator,omitempty" xml:"LogicalOperator,omitempty"`
	// The ID of the mongos node or shard node whose error logs you want to query in the instance. If the instance is a sharded cluster instance, you must specify this parameter.
	//
	// >  This parameter is valid only when **DBInstanceId*	- is set to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp128a003436****
	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. The value must be an integer that is greater than 0. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30*	- to **100**.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keywords used for query. You can enter up to 10 keywords at a time. If you enter multiple keywords, separate the keywords with spaces.
	//
	// example:
	//
	// test test1
	QueryKeywords *string `json:"QueryKeywords,omitempty" xml:"QueryKeywords,omitempty"`
	// The ID of the resource group. For more information, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 node whose error logs you want to query in the instance. Valid values:
	//
	// 	- **primary**
	//
	// 	- **secondary**
	//
	// >  If you set the **NodeId*	- parameter to the ID of a mongos node, the RoleType parameter must be set to **primary**.
	//
	// example:
	//
	// primary
	RoleType *string `json:"RoleType,omitempty" xml:"RoleType,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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-01-01T12:10Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeErrorLogRecordsRequest) GoString

func (*DescribeErrorLogRecordsRequest) SetDBInstanceId

func (*DescribeErrorLogRecordsRequest) SetDBName

func (*DescribeErrorLogRecordsRequest) SetEndTime

func (*DescribeErrorLogRecordsRequest) SetLogicalOperator

func (*DescribeErrorLogRecordsRequest) SetNodeId

func (*DescribeErrorLogRecordsRequest) SetOwnerAccount

func (*DescribeErrorLogRecordsRequest) SetOwnerId

func (*DescribeErrorLogRecordsRequest) SetPageNumber

func (*DescribeErrorLogRecordsRequest) SetPageSize

func (*DescribeErrorLogRecordsRequest) SetQueryKeywords

func (*DescribeErrorLogRecordsRequest) SetResourceGroupId

func (*DescribeErrorLogRecordsRequest) SetResourceOwnerAccount

func (*DescribeErrorLogRecordsRequest) SetResourceOwnerId

func (*DescribeErrorLogRecordsRequest) SetRoleType

func (*DescribeErrorLogRecordsRequest) SetStartTime

func (DescribeErrorLogRecordsRequest) String

type DescribeErrorLogRecordsResponse

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

func (DescribeErrorLogRecordsResponse) GoString

func (*DescribeErrorLogRecordsResponse) SetHeaders

func (*DescribeErrorLogRecordsResponse) SetStatusCode

func (DescribeErrorLogRecordsResponse) String

type DescribeErrorLogRecordsResponseBody

type DescribeErrorLogRecordsResponseBody struct {
	// The database engine.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// Details about the log entries returned.
	Items *DescribeErrorLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	//
	// example:
	//
	// 1
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 68BCBEC2-1E66-471F-A1A8-E3C60C0A80B0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries.
	//
	// example:
	//
	// 1
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeErrorLogRecordsResponseBody) GoString

func (*DescribeErrorLogRecordsResponseBody) SetEngine

func (*DescribeErrorLogRecordsResponseBody) SetPageNumber

func (*DescribeErrorLogRecordsResponseBody) SetPageRecordCount

func (*DescribeErrorLogRecordsResponseBody) SetRequestId

func (*DescribeErrorLogRecordsResponseBody) SetTotalRecordCount

func (DescribeErrorLogRecordsResponseBody) String

type DescribeErrorLogRecordsResponseBodyItems

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

func (DescribeErrorLogRecordsResponseBodyItems) GoString

func (DescribeErrorLogRecordsResponseBodyItems) String

type DescribeErrorLogRecordsResponseBodyItemsLogRecords

type DescribeErrorLogRecordsResponseBodyItemsLogRecords struct {
	// The category of the log entry. Valid values:
	//
	// 	- NETWORK: network connection log
	//
	// 	- ACCESS: access control log
	//
	// 	- \\-: general log
	//
	// 	- COMMAND: slow query log
	//
	// 	- SHARDING: sharded cluster log
	//
	// 	- STORAGE: storage engine log
	//
	// 	- CONNPOOL: connection pool log
	//
	// 	- ASIO: asynchronous I/O operation log
	//
	// 	- WRITE: slow update log
	//
	// example:
	//
	// NETWORK
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The connection information of the log entry.
	//
	// example:
	//
	// conn18xxxxxx
	ConnInfo *string `json:"ConnInfo,omitempty" xml:"ConnInfo,omitempty"`
	// The content of the log entry.
	//
	// example:
	//
	// xxxxxxxx
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The time when the log entry was generated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2019-02-26T12:09:34Z
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the log entry.
	//
	// example:
	//
	// 1111111111
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
}

func (DescribeErrorLogRecordsResponseBodyItemsLogRecords) GoString

func (*DescribeErrorLogRecordsResponseBodyItemsLogRecords) SetCategory

func (*DescribeErrorLogRecordsResponseBodyItemsLogRecords) SetConnInfo

func (*DescribeErrorLogRecordsResponseBodyItemsLogRecords) SetContent

func (*DescribeErrorLogRecordsResponseBodyItemsLogRecords) SetCreateTime

func (*DescribeErrorLogRecordsResponseBodyItemsLogRecords) SetId

func (DescribeErrorLogRecordsResponseBodyItemsLogRecords) String

type DescribeGlobalSecurityIPGroupRelationRequest

type DescribeGlobalSecurityIPGroupRelationRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-2ze6069764423m0l
	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 of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (DescribeGlobalSecurityIPGroupRelationRequest) GoString

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetDBClusterId

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetOwnerAccount

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetOwnerId

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetRegionId

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetResourceOwnerAccount

func (*DescribeGlobalSecurityIPGroupRelationRequest) SetResourceOwnerId

func (DescribeGlobalSecurityIPGroupRelationRequest) String

type DescribeGlobalSecurityIPGroupRelationResponse

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

func (*DescribeGlobalSecurityIPGroupRelationResponse) SetHeaders

func (*DescribeGlobalSecurityIPGroupRelationResponse) SetStatusCode

func (DescribeGlobalSecurityIPGroupRelationResponse) String

type DescribeGlobalSecurityIPGroupRelationResponseBody

type DescribeGlobalSecurityIPGroupRelationResponseBody struct {
	// The instance ID.
	//
	// example:
	//
	// dds-2ze6069764423m0l
	DBClusterId *string `json:"DBClusterId,omitempty" xml:"DBClusterId,omitempty"`
	// The global IP whitelist templates associated with the instance.
	GlobalSecurityIPGroupRel []*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel `json:"GlobalSecurityIPGroupRel,omitempty" xml:"GlobalSecurityIPGroupRel,omitempty" type:"Repeated"`
	// The unique ID of the request. If the request fails, provide this ID for technical support to troubleshoot the failure.
	//
	// example:
	//
	// F8CA8312-530A-413A-9129-F2BB32A8D404
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRelationResponseBody) GoString

func (*DescribeGlobalSecurityIPGroupRelationResponseBody) SetDBClusterId

func (*DescribeGlobalSecurityIPGroupRelationResponseBody) SetRequestId

func (DescribeGlobalSecurityIPGroupRelationResponseBody) String

type DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel

type DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel struct {
	// The IP addresses 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.
	//
	// example:
	//
	// 27.16.214.10,111.60.117.181
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template.
	//
	// example:
	//
	// dev_baoxian_k8s_bj
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// example:
	//
	// g-gfurfpsh4ycbrm2avst7
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hongkong
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) GoString

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetGIpList

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetGlobalIgName

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetGlobalSecurityGroupId

func (*DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) SetRegionId

func (DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel) String

type DescribeGlobalSecurityIPGroupRequest

type DescribeGlobalSecurityIPGroupRequest struct {
	// The ID of the IP whitelist template.
	//
	// example:
	//
	// g-hedmu8kg9nsabw6u42rv
	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 of the instance. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (DescribeGlobalSecurityIPGroupRequest) GoString

func (*DescribeGlobalSecurityIPGroupRequest) SetGlobalSecurityGroupId

func (*DescribeGlobalSecurityIPGroupRequest) SetOwnerAccount

func (*DescribeGlobalSecurityIPGroupRequest) SetOwnerId

func (*DescribeGlobalSecurityIPGroupRequest) SetRegionId

func (*DescribeGlobalSecurityIPGroupRequest) SetResourceOwnerAccount

func (*DescribeGlobalSecurityIPGroupRequest) SetResourceOwnerId

func (DescribeGlobalSecurityIPGroupRequest) String

type DescribeGlobalSecurityIPGroupResponse

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

func (*DescribeGlobalSecurityIPGroupResponse) SetHeaders

func (*DescribeGlobalSecurityIPGroupResponse) SetStatusCode

func (DescribeGlobalSecurityIPGroupResponse) String

type DescribeGlobalSecurityIPGroupResponseBody

type DescribeGlobalSecurityIPGroupResponseBody struct {
	// The global IP whitelist templates.
	GlobalSecurityIPGroup []*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup `json:"GlobalSecurityIPGroup,omitempty" xml:"GlobalSecurityIPGroup,omitempty" type:"Repeated"`
	// The unique ID of the request. If the request fails, provide this ID for technical support to troubleshoot the failure.
	//
	// example:
	//
	// 72651AF9-7897-41A7-8B67-6C15C7F26A0A
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupResponseBody) GoString

func (*DescribeGlobalSecurityIPGroupResponseBody) SetRequestId

func (DescribeGlobalSecurityIPGroupResponseBody) String

type DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup

type DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup struct {
	// The instances associated with the global whitelist template.
	DBInstances []*string `json:"DBInstances,omitempty" xml:"DBInstances,omitempty" type:"Repeated"`
	// The IP addresses 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 address whitelists.
	//
	// example:
	//
	// 117.12.202.19
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template.
	//
	// example:
	//
	// dev_baoxian_k8s_bj
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// example:
	//
	// g-sdgwqyp4f5j1x3qk7yvm
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) GoString

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetDBInstances

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGIpList

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalIgName

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetGlobalSecurityGroupId

func (*DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) SetRegionId

func (DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup) String

type DescribeHistoryTasksRequest

type DescribeHistoryTasksRequest struct {
	// The minimum execution duration of the 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 for the query.
	//
	// example:
	//
	// 0
	FromExecTime *int32 `json:"FromExecTime,omitempty" xml:"FromExecTime,omitempty"`
	// The start time of the O\\&M task to perform. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. You can query data within the last 30 days.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2023-03-15T03:41:26Z
	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 tasks of all instances are queried.
	//
	// example:
	//
	// dds-8vb38f0e7933xxxx
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The instance type of the instance. Set the value to Instance.
	//
	// example:
	//
	// Instance
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The number of the page to return. The value must be a positive integer. Default value: 1
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 10 to 100. Default value: 10
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the pending event. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-beijing
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The task status. Valid values:
	//
	// 	- Scheduled: The task is waiting to be executed.
	//
	// 	- Running: The task is running.
	//
	// 	- Succeed: The task is successful.
	//
	// 	- Failed: The task failed.
	//
	// 	- Cancelling: The task is being terminated.
	//
	// 	- Canceled: The task has been terminated.
	//
	// 	- Waiting: The task is waiting for scheduled time.
	//
	// Separate multiple states with commas (,). This parameter is empty by default, which indicates that tasks in all states are queried.
	//
	// example:
	//
	// Succeed,Running,Waiting
	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 all tasks are queried.
	//
	// example:
	//
	// t-0mq1yyhm3ffl2bxxxx
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task type. This parameter is left empty by default, which indicates that all types of tasks are queried. Valid values:
	//
	// 	- CreateIns: Create an instance.
	//
	// 	- DeleteIns: Delete an instance.
	//
	// 	- ChangeVariable: Modify parameter settings for an instance.
	//
	// 	- ModifyInsConfig: Change the configurations of an instance.
	//
	// 	- RestartIns: Restart an instance.
	//
	// 	- HaSwitch: Perform a primary/secondary switchover on an instance.
	//
	// 	- CloneIns: Clone an instance.
	//
	// 	- KernelVersionUpgrade: Update the minor version of an instance.
	//
	// 	- ProxyVersionUpgrade: Upgrade the agent version of an instance.
	//
	// 	- ModifyAccount: Change the account of an instance.
	//
	// 	- ModifyInsSpec: Change the specifications of an instance or perform a data migration on the instance.
	//
	// 	- CreateReadIns: Create a read-only instance.
	//
	// 	- StartIns: Start an instance.
	//
	// 	- StopIns: Stop an instance.
	//
	// 	- ModifyNetwork: Modify the network type for an instance.
	//
	// 	- LockIns: Lock an instance.
	//
	// 	- UnlockIns: Unlock an instance.
	//
	// 	- DiskOnlineExpansion: Scale out the disks of an instance online.
	//
	// 	- StorageOnlineExpansion: Expend the storage capacity of an instance online.
	//
	// 	- AddInsNode: Add a node to an instance.
	//
	// 	- DeleteInsNode: Delete a node from an instance.
	//
	// 	- ManualBackupIns: Manually back up an instance.
	//
	// 	- ModifyInsStorageType: Modify the storage type for an instance.
	//
	// example:
	//
	// DeleteInsNode
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The maximum execution duration of the 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 for the query.
	//
	// example:
	//
	// 0
	ToExecTime *int32 `json:"ToExecTime,omitempty" xml:"ToExecTime,omitempty"`
	// The end time of the O\\&M task to perform. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. You can query data within the last 30 days.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2023-03-16T07:21:31Z
	ToStartTime *string `json:"ToStartTime,omitempty" xml:"ToStartTime,omitempty"`
}

func (DescribeHistoryTasksRequest) GoString

func (s DescribeHistoryTasksRequest) GoString() string

func (*DescribeHistoryTasksRequest) SetFromExecTime

func (*DescribeHistoryTasksRequest) SetFromStartTime

func (*DescribeHistoryTasksRequest) SetInstanceId

func (*DescribeHistoryTasksRequest) SetInstanceType

func (*DescribeHistoryTasksRequest) SetPageNumber

func (*DescribeHistoryTasksRequest) SetPageSize

func (*DescribeHistoryTasksRequest) SetRegionId

func (*DescribeHistoryTasksRequest) SetResourceOwnerAccount

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

func (*DescribeHistoryTasksRequest) SetResourceOwnerId

func (*DescribeHistoryTasksRequest) SetStatus

func (*DescribeHistoryTasksRequest) SetTaskId

func (*DescribeHistoryTasksRequest) SetTaskType

func (*DescribeHistoryTasksRequest) SetToExecTime

func (*DescribeHistoryTasksRequest) SetToStartTime

func (DescribeHistoryTasksRequest) String

type DescribeHistoryTasksResponse

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

func (s DescribeHistoryTasksResponse) GoString() string

func (*DescribeHistoryTasksResponse) SetBody

func (*DescribeHistoryTasksResponse) SetHeaders

func (*DescribeHistoryTasksResponse) SetStatusCode

func (DescribeHistoryTasksResponse) String

type DescribeHistoryTasksResponseBody

type DescribeHistoryTasksResponseBody struct {
	// The task objects.
	Items []*DescribeHistoryTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The maximum number of entries returned per page.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 3C4A2494-XXXX-XXXX-93CF-548DB3375193
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of tasks that meet these conditions without taking pagination into account.
	//
	// example:
	//
	// 5
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHistoryTasksResponseBody) GoString

func (*DescribeHistoryTasksResponseBody) SetPageNumber

func (*DescribeHistoryTasksResponseBody) SetPageSize

func (*DescribeHistoryTasksResponseBody) SetRequestId

func (*DescribeHistoryTasksResponseBody) SetTotalCount

func (DescribeHistoryTasksResponseBody) String

type DescribeHistoryTasksResponseBodyItems

type DescribeHistoryTasksResponseBodyItems struct {
	// A set of allowed actions that can be taken on the task. The system matches the current step name and status of the task to the available actions specified by ActionInfo. If no matching action is found, the current status of the task does not support any action. Example:
	//
	//        "steps": [
	//
	//         {
	//
	//           "step_name": "exec_task", // The name of the step, which matches the value of CurrentStepName.
	//
	//           "action_info": {    // The actions supported for this step.
	//
	//             "Waiting": [      // The status, which matches the value of Status.
	//
	//               "modifySwitchTime" // The action. Multiple actions are supported.
	//
	//             ]
	//
	//           }
	//
	//         },
	//
	//         {
	//
	//           "step_name": "init_task", // The name of the step.
	//
	//           "action_info": {    // The actions supported for this step.
	//
	//             "Running": [      // The status.
	//
	//               "cancel",       // The action.
	//
	//               "pause"
	//
	//             ]
	//
	//           }
	//
	//         }
	//
	//       ]
	//
	//     }
	//
	// The system may support the following actions:
	//
	// 	- retry: makes another attempt.
	//
	// 	- cancel: makes a cancellation.
	//
	// 	- modifySwitchTime: changes the switching or restoration time.
	//
	// example:
	//
	// `{\\"steps\\":[{\\"action_info\\":{\\"Waiting\\":[\\"modifySwitchTime\\"]},\\"step_name\\":\\"exec_task\\"}]}`
	ActionInfo *string `json:"ActionInfo,omitempty" xml:"ActionInfo,omitempty"`
	// The request source. Valid values: System and User.
	//
	// example:
	//
	// System
	CallerSource *string `json:"CallerSource,omitempty" xml:"CallerSource,omitempty"`
	// The ID of the user who made the request. If CallerSource is set to User, CallerUid indicates the unique ID (UID) of the user.
	//
	// example:
	//
	// 141345906006****
	CallerUid *string `json:"CallerUid,omitempty" xml:"CallerUid,omitempty"`
	// The name of the current step. If this parameter is left empty, the task is not started.
	//
	// example:
	//
	// exec_task
	CurrentStepName *string `json:"CurrentStepName,omitempty" xml:"CurrentStepName,omitempty"`
	// The database type. The value is fixed to mongodb.
	//
	// example:
	//
	// mongodb
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The end time of the performed O\\&M task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	//
	// example:
	//
	// 2023-03-16T02:59Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The instance ID
	//
	// example:
	//
	// dds-t4n18194768fxxxx
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	//
	// example:
	//
	// test-dds
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The instance type of the instance. The value is fixed to Instance.
	//
	// example:
	//
	// Instance
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The product. The value is fixed to dds.
	//
	// example:
	//
	// dds
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// The current progress of the task. The valid values range from 0 to 100.
	//
	// example:
	//
	// 100.0
	Progress *float32 `json:"Progress,omitempty" xml:"Progress,omitempty"`
	// The reason why the current task was initiated.
	//
	// example:
	//
	// test
	ReasonCode *string `json:"ReasonCode,omitempty" xml:"ReasonCode,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The estimated remaining execution time. Unit: seconds. The value 0 indicates that the task is completed.
	//
	// example:
	//
	// 1000
	RemainTime *int32 `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"`
	// The start time of the performed O\\&M task. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	//
	// example:
	//
	// 2023-02-11T02:33Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The task status. Valid values:
	//
	// 	- Scheduled: The task is waiting to be executed.
	//
	// 	- Running: The task is running.
	//
	// 	- Succeed: The task is successful.
	//
	// 	- Failed: The task failed.
	//
	// 	- Cancelling: The task is being terminated.
	//
	// 	- Canceled: The task has been terminated.
	//
	// 	- Waiting: The task is waiting for scheduled time.
	//
	// example:
	//
	// Succeed
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The details of the task. The task details vary based on the value of the taskType parameter.
	//
	// example:
	//
	// {\\"callerUid\\":\\"test\\"}
	TaskDetail *string `json:"TaskDetail,omitempty" xml:"TaskDetail,omitempty"`
	// The task ID.
	//
	// example:
	//
	// t-0mq1yyhm3ffl2bxxxx
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task type.
	//
	// 	- CreateIns: Create an instance.
	//
	// 	- DeleteIns: Delete an instance.
	//
	// 	- ChangeVariable: Modify parameter settings for an instance.
	//
	// 	- ModifyInsConfig: Change the configurations of an instance.
	//
	// 	- RestartIns: Restart an instance.
	//
	// 	- HaSwitch: Perform a primary/secondary switchover on an instance.
	//
	// 	- CloneIns: Clone an instance.
	//
	// 	- KernelVersionUpgrade: Update the minor version of an instance.
	//
	// 	- ProxyVersionUpgrade: Upgrade the agent version of an instance.
	//
	// 	- ModifyAccount: Change the account of an instance.
	//
	// 	- ModifyInsSpec: Change the specifications of an instance or perform a data migration on the instance.
	//
	// 	- CreateReadIns: Create a read-only instance.
	//
	// 	- StartIns: Start an instance.
	//
	// 	- StopIns: Stop an instance.
	//
	// 	- ModifyNetwork: Modify the network type for an instance.
	//
	// 	- LockIns: Lock an instance.
	//
	// 	- UnlockIns: Unlock an instance.
	//
	// 	- DiskOnlineExpansion: Scale out the disks of an instance online.
	//
	// 	- StorageOnlineExpansion: Expend the storage capacity of an instance online.
	//
	// 	- AddInsNode: Add a node to an instance.
	//
	// 	- DeleteInsNode: Delete a node from an instance.
	//
	// 	- ManualBackupIns: Manually back up an instance.
	//
	// 	- ModifyInsStorageType: Modify the storage type for an instance.
	//
	// example:
	//
	// CreateIns
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The ID of the user to which the resource belongs.
	//
	// example:
	//
	// 141345906006****
	Uid *string `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DescribeHistoryTasksResponseBodyItems) GoString

func (*DescribeHistoryTasksResponseBodyItems) SetActionInfo

func (*DescribeHistoryTasksResponseBodyItems) SetCallerSource

func (*DescribeHistoryTasksResponseBodyItems) SetCallerUid

func (*DescribeHistoryTasksResponseBodyItems) SetCurrentStepName

func (*DescribeHistoryTasksResponseBodyItems) SetDbType

func (*DescribeHistoryTasksResponseBodyItems) SetEndTime

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceId

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceName

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceType

func (*DescribeHistoryTasksResponseBodyItems) SetProduct

func (*DescribeHistoryTasksResponseBodyItems) SetProgress

func (*DescribeHistoryTasksResponseBodyItems) SetReasonCode

func (*DescribeHistoryTasksResponseBodyItems) SetRegionId

func (*DescribeHistoryTasksResponseBodyItems) SetRemainTime

func (*DescribeHistoryTasksResponseBodyItems) SetStartTime

func (*DescribeHistoryTasksResponseBodyItems) SetStatus

func (*DescribeHistoryTasksResponseBodyItems) SetTaskDetail

func (*DescribeHistoryTasksResponseBodyItems) SetTaskId

func (*DescribeHistoryTasksResponseBodyItems) SetTaskType

func (*DescribeHistoryTasksResponseBodyItems) SetUid

func (DescribeHistoryTasksResponseBodyItems) String

type DescribeHistoryTasksStatRequest

type DescribeHistoryTasksStatRequest struct {
	// The minimum execution duration of the 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 for the query.
	//
	// example:
	//
	// 0
	FromExecTime *int32 `json:"FromExecTime,omitempty" xml:"FromExecTime,omitempty"`
	// The start time of the O\\&M task to perform. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. You can query data within the last 30 days.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2023-04-16T02:46:21Z
	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 the tasks of all instances are queried.
	//
	// example:
	//
	// dds-8vb38f0e7933xxxx
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region ID of the pending event. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-beijing
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The task status. Valid values:
	//
	// 	- Scheduled: The task is waiting to be executed.
	//
	// 	- Running: The task is running.
	//
	// 	- Succeed: The task is successful.
	//
	// 	- Failed: The task failed.
	//
	// 	- Cancelling: The task is being terminated.
	//
	// 	- Canceled: The task has been terminated.
	//
	// 	- Waiting: The task is waiting for scheduled time.
	//
	// Separate multiple states with commas (,). This parameter is empty by default, which indicates that tasks in all states are queried.
	//
	// example:
	//
	// Succeed
	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 all tasks are queried.
	//
	// example:
	//
	// t-0mq1yyhm3ffl2bxxxx
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task type. This parameter is left empty by default, which indicates that all types of tasks are queried. Valid values:
	//
	// 	- CreateIns: Create an instance.
	//
	// 	- DeleteIns: Delete an instance.
	//
	// 	- ChangeVariable: Modify parameter settings for an instance.
	//
	// 	- ModifyInsConfig: Change the configurations of an instance.
	//
	// 	- RestartIns: Restart an instance.
	//
	// 	- HaSwitch: Perform a primary/secondary switchover on an instance.
	//
	// 	- CloneIns: Clone an instance.
	//
	// 	- KernelVersionUpgrade: Update the minor version of an instance.
	//
	// 	- ProxyVersionUpgrade: Upgrade the agent version of an instance.
	//
	// 	- ModifyAccount: Change the account of an instance.
	//
	// 	- ModifyInsSpec: Change the specifications of an instance or perform a data migration on the instance.
	//
	// 	- CreateReadIns: Create a read-only instance.
	//
	// 	- StartIns: Start an instance.
	//
	// 	- StopIns: Stop an instance.
	//
	// 	- ModifyNetwork: Modify the network type for an instance.
	//
	// 	- LockIns: Lock an instance.
	//
	// 	- UnlockIns: Unlock an instance.
	//
	// 	- DiskOnlineExpansion: Scale out the disks of an instance online.
	//
	// 	- StorageOnlineExpansion: Expend the storage capacity of an instance online.
	//
	// 	- AddInsNode: Add a node to an instance.
	//
	// 	- DeleteInsNode: Delete a node from an instance.
	//
	// 	- ManualBackupIns: Manually back up an instance.
	//
	// 	- ModifyInsStorageType: Modify the storage type for an instance.
	//
	// example:
	//
	// DeleteIns
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The maximum execution duration of the 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 for the query.
	//
	// example:
	//
	// 0
	ToExecTime *int32 `json:"ToExecTime,omitempty" xml:"ToExecTime,omitempty"`
	// The end time of the O\\&M task to perform. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. You can query data within the last 30 days.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2023-05-16T02:15:52Z
	ToStartTime *string `json:"ToStartTime,omitempty" xml:"ToStartTime,omitempty"`
}

func (DescribeHistoryTasksStatRequest) GoString

func (*DescribeHistoryTasksStatRequest) SetFromExecTime

func (*DescribeHistoryTasksStatRequest) SetFromStartTime

func (*DescribeHistoryTasksStatRequest) SetInstanceId

func (*DescribeHistoryTasksStatRequest) SetRegionId

func (*DescribeHistoryTasksStatRequest) SetResourceOwnerAccount

func (*DescribeHistoryTasksStatRequest) SetResourceOwnerId

func (*DescribeHistoryTasksStatRequest) SetStatus

func (*DescribeHistoryTasksStatRequest) SetTaskId

func (*DescribeHistoryTasksStatRequest) SetTaskType

func (*DescribeHistoryTasksStatRequest) SetToExecTime

func (*DescribeHistoryTasksStatRequest) SetToStartTime

func (DescribeHistoryTasksStatRequest) String

type DescribeHistoryTasksStatResponse

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

func (DescribeHistoryTasksStatResponse) GoString

func (*DescribeHistoryTasksStatResponse) SetHeaders

func (*DescribeHistoryTasksStatResponse) SetStatusCode

func (DescribeHistoryTasksStatResponse) String

type DescribeHistoryTasksStatResponseBody

type DescribeHistoryTasksStatResponseBody struct {
	// The task objects.
	Items []*DescribeHistoryTasksStatResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// FC724D23-XXXX-XXXX-ABB1-606C935AE7FD
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHistoryTasksStatResponseBody) GoString

func (*DescribeHistoryTasksStatResponseBody) SetRequestId

func (DescribeHistoryTasksStatResponseBody) String

type DescribeHistoryTasksStatResponseBodyItems

type DescribeHistoryTasksStatResponseBodyItems struct {
	// The task status. Valid values:
	//
	// 	- Scheduled: The task is waiting to be executed.
	//
	// 	- Running: The task is running.
	//
	// 	- Succeed: The task is successful.
	//
	// 	- Failed: The task failed.
	//
	// 	- Cancelling: The task is being terminated.
	//
	// 	- Canceled: The task has been terminated.
	//
	// 	- Waiting: The task is waiting for scheduled time.
	//
	// example:
	//
	// Succeed
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The number of tasks in a specified state.
	//
	// example:
	//
	// 2
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHistoryTasksStatResponseBodyItems) GoString

func (*DescribeHistoryTasksStatResponseBodyItems) SetStatus

func (*DescribeHistoryTasksStatResponseBodyItems) SetTotalCount

func (DescribeHistoryTasksStatResponseBodyItems) String

type DescribeInstanceAutoRenewalAttributeRequest

type DescribeInstanceAutoRenewalAttributeRequest struct {
	// The ID of the instance.
	//
	// example:
	//
	// dds-bp567b****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The category of the instance. Valid values:
	//
	// 	- **replicate**: the standalone or replica set instance
	//
	// 	- **sharding**: the sharded cluster instance
	//
	// Default value: **replicate**.
	//
	// example:
	//
	// replicate
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,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 a positive integer that does not exceed the maximum value of the Integer parameter. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30**, **50**, and **100**.
	//
	// >  Default value: **30**.
	//
	// example:
	//
	// 30
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the instance. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the region ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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) SetDBInstanceId

func (*DescribeInstanceAutoRenewalAttributeRequest) SetDBInstanceType

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 about returned entries.
	Items *DescribeInstanceAutoRenewalAttributeResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The total number of entries returned.
	//
	// example:
	//
	// 2
	ItemsNumbers *int32 `json:"ItemsNumbers,omitempty" xml:"ItemsNumbers,omitempty"`
	// The page number of the returned page.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries that were returned on the current page.
	//
	// example:
	//
	// 2
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// FAB5CB3B-DB9D-473A-9DF1-F57B6B9CB949
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeResponseBody) GoString

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetItemsNumbers

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetPageNumber

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetPageRecordCount

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetRequestId

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 for the instance. Valid values:
	//
	// 	- **true**: Auto-renewal is enabled for the instance.
	//
	// 	- **false**: Auto-renewal is disabled for the instance.
	//
	// example:
	//
	// true
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The category of the instance. Valid values:
	//
	// 	- **replicate**: the standalone or replica set instance
	//
	// 	- **sharding**: the sharded cluster instance
	//
	// example:
	//
	// replicate
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The ID of the instance.
	//
	// example:
	//
	// dds-bp2568*****
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The auto-renewal period. Unit: months.
	//
	// > 	- This parameter is ruturned only when the returned value of the **AutoRenew*	- parameter is **true**.
	//
	// > 	- You can call the [ModifyInstanceAutoRenewalAttribute](https://help.aliyun.com/document_detail/145979.html) operation to modify the auto-renewal period.
	//
	// example:
	//
	// 1
	Duration *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) GoString

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetAutoRenew

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDBInstanceType

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDbInstanceId

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDuration

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetRegionId

func (DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) String

type DescribeInstanceRecoverTimeRequest

type DescribeInstanceRecoverTimeRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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 (DescribeInstanceRecoverTimeRequest) GoString

func (*DescribeInstanceRecoverTimeRequest) SetDBInstanceId

func (*DescribeInstanceRecoverTimeRequest) SetOwnerAccount

func (*DescribeInstanceRecoverTimeRequest) SetOwnerId

func (*DescribeInstanceRecoverTimeRequest) SetResourceOwnerAccount

func (*DescribeInstanceRecoverTimeRequest) SetResourceOwnerId

func (*DescribeInstanceRecoverTimeRequest) SetSecurityToken

func (DescribeInstanceRecoverTimeRequest) String

type DescribeInstanceRecoverTimeResponse

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

func (DescribeInstanceRecoverTimeResponse) GoString

func (*DescribeInstanceRecoverTimeResponse) SetHeaders

func (*DescribeInstanceRecoverTimeResponse) SetStatusCode

func (DescribeInstanceRecoverTimeResponse) String

type DescribeInstanceRecoverTimeResponseBody

type DescribeInstanceRecoverTimeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// F8CA8312-530A-413A-9129-F2BB32A8D404
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time ranges to which data can be restored. The time ranges include those used for point-in-time data restoration.
	RestoreRanges []*DescribeInstanceRecoverTimeResponseBodyRestoreRanges `json:"RestoreRanges,omitempty" xml:"RestoreRanges,omitempty" type:"Repeated"`
}

func (DescribeInstanceRecoverTimeResponseBody) GoString

func (*DescribeInstanceRecoverTimeResponseBody) SetRequestId

func (DescribeInstanceRecoverTimeResponseBody) String

type DescribeInstanceRecoverTimeResponseBodyRestoreRanges

type DescribeInstanceRecoverTimeResponseBodyRestoreRanges struct {
	// The beginning of the time range to which data can be restored.
	//
	// example:
	//
	// 2023-10-16T19:33:20Z
	RestoreBeginTime *string `json:"RestoreBeginTime,omitempty" xml:"RestoreBeginTime,omitempty"`
	// The end of the time range to which data can be restored.
	//
	// example:
	//
	// 2023-10-16T19:43:20Z
	RestoreEndTime *string `json:"RestoreEndTime,omitempty" xml:"RestoreEndTime,omitempty"`
	// The method used to restore data. Valid value:
	//
	// 	- PointInTime (default): Data is restored to a point in time.
	//
	// example:
	//
	// PointInTime
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
}

func (DescribeInstanceRecoverTimeResponseBodyRestoreRanges) GoString

func (*DescribeInstanceRecoverTimeResponseBodyRestoreRanges) SetRestoreBeginTime

func (*DescribeInstanceRecoverTimeResponseBodyRestoreRanges) SetRestoreEndTime

func (*DescribeInstanceRecoverTimeResponseBodyRestoreRanges) SetRestoreType

func (DescribeInstanceRecoverTimeResponseBodyRestoreRanges) String

type DescribeKernelReleaseNotesRequest

type DescribeKernelReleaseNotesRequest struct {
	// The minor version number of the instance. Example: **mongodb_20180522_0.4.8**.
	//
	// 	- This parameter is required. After you specify a version number for this parameter in a request, the release notes of the versions later than this version are returned.
	//
	// example:
	//
	// mongodb_20180522_0.4.8
	KernelVersion        *string `json:"KernelVersion,omitempty" xml:"KernelVersion,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 (DescribeKernelReleaseNotesRequest) GoString

func (*DescribeKernelReleaseNotesRequest) SetKernelVersion

func (*DescribeKernelReleaseNotesRequest) SetOwnerAccount

func (*DescribeKernelReleaseNotesRequest) SetOwnerId

func (*DescribeKernelReleaseNotesRequest) SetResourceOwnerAccount

func (*DescribeKernelReleaseNotesRequest) SetResourceOwnerId

func (DescribeKernelReleaseNotesRequest) String

type DescribeKernelReleaseNotesResponse

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

func (DescribeKernelReleaseNotesResponse) GoString

func (*DescribeKernelReleaseNotesResponse) SetHeaders

func (*DescribeKernelReleaseNotesResponse) SetStatusCode

func (DescribeKernelReleaseNotesResponse) String

type DescribeKernelReleaseNotesResponseBody

type DescribeKernelReleaseNotesResponseBody struct {
	// The list of the version release notes.
	ReleaseNotes *DescribeKernelReleaseNotesResponseBodyReleaseNotes `json:"ReleaseNotes,omitempty" xml:"ReleaseNotes,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// F01D4DDA-CB72-4083-B399-AF4642294FE6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeKernelReleaseNotesResponseBody) GoString

func (*DescribeKernelReleaseNotesResponseBody) SetRequestId

func (DescribeKernelReleaseNotesResponseBody) String

type DescribeKernelReleaseNotesResponseBodyReleaseNotes

type DescribeKernelReleaseNotesResponseBodyReleaseNotes struct {
	ReleaseNote []*DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote `json:"ReleaseNote,omitempty" xml:"ReleaseNote,omitempty" type:"Repeated"`
}

func (DescribeKernelReleaseNotesResponseBodyReleaseNotes) GoString

func (DescribeKernelReleaseNotesResponseBodyReleaseNotes) String

type DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote

type DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote struct {
	// The version number.
	//
	// example:
	//
	// mongodb_20180619_0.4.9
	KernelVersion *string `json:"KernelVersion,omitempty" xml:"KernelVersion,omitempty"`
	// The release notes.
	//
	// example:
	//
	// test release note.
	ReleaseNote *string `json:"ReleaseNote,omitempty" xml:"ReleaseNote,omitempty"`
}

func (DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote) GoString

func (*DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote) SetKernelVersion

func (*DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote) SetReleaseNote

func (DescribeKernelReleaseNotesResponseBodyReleaseNotesReleaseNote) String

type DescribeKmsKeysRequest

type DescribeKmsKeysRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	// The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-hangzhou
	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 (DescribeKmsKeysRequest) GoString

func (s DescribeKmsKeysRequest) GoString() string

func (*DescribeKmsKeysRequest) SetOwnerAccount

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

func (*DescribeKmsKeysRequest) SetRegionId

func (*DescribeKmsKeysRequest) SetResourceOwnerAccount

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

func (*DescribeKmsKeysRequest) SetResourceOwnerId

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

func (DescribeKmsKeysRequest) String

func (s DescribeKmsKeysRequest) String() string

type DescribeKmsKeysResponse

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

func (DescribeKmsKeysResponse) GoString

func (s DescribeKmsKeysResponse) GoString() string

func (*DescribeKmsKeysResponse) SetBody

func (*DescribeKmsKeysResponse) SetHeaders

func (*DescribeKmsKeysResponse) SetStatusCode

func (DescribeKmsKeysResponse) String

func (s DescribeKmsKeysResponse) String() string

type DescribeKmsKeysResponseBody

type DescribeKmsKeysResponseBody struct {
	// The KMS keys.
	KmsKeys []*DescribeKmsKeysResponseBodyKmsKeys `json:"KmsKeys,omitempty" xml:"KmsKeys,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 60EEBD77-227C-5B39-86EA-D89163C5****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeKmsKeysResponseBody) GoString

func (s DescribeKmsKeysResponseBody) GoString() string

func (*DescribeKmsKeysResponseBody) SetKmsKeys

func (*DescribeKmsKeysResponseBody) SetRequestId

func (DescribeKmsKeysResponseBody) String

type DescribeKmsKeysResponseBodyKmsKeys

type DescribeKmsKeysResponseBodyKmsKeys struct {
	// The alias of the key.
	//
	// example:
	//
	// key-shh656820f4mh9qxxxxx     alias/test1
	KeyAlias *string `json:"KeyAlias,omitempty" xml:"KeyAlias,omitempty"`
	// The key ID.
	//
	// example:
	//
	// 37291352-xxxx-xxxx-adbf-fd0630a95583
	KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
}

func (DescribeKmsKeysResponseBodyKmsKeys) GoString

func (*DescribeKmsKeysResponseBodyKmsKeys) SetKeyAlias

func (*DescribeKmsKeysResponseBodyKmsKeys) SetKeyId

func (DescribeKmsKeysResponseBodyKmsKeys) String

type DescribeMongoDBLogConfigRequest

type DescribeMongoDBLogConfigRequest struct {
	// The instance ID. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/61939.html) operation to query the ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	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"`
}

func (DescribeMongoDBLogConfigRequest) GoString

func (*DescribeMongoDBLogConfigRequest) SetDBInstanceId

func (*DescribeMongoDBLogConfigRequest) SetOwnerAccount

func (*DescribeMongoDBLogConfigRequest) SetOwnerId

func (*DescribeMongoDBLogConfigRequest) SetResourceOwnerAccount

func (*DescribeMongoDBLogConfigRequest) SetResourceOwnerId

func (DescribeMongoDBLogConfigRequest) String

type DescribeMongoDBLogConfigResponse

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

func (DescribeMongoDBLogConfigResponse) GoString

func (*DescribeMongoDBLogConfigResponse) SetHeaders

func (*DescribeMongoDBLogConfigResponse) SetStatusCode

func (DescribeMongoDBLogConfigResponse) String

type DescribeMongoDBLogConfigResponseBody

type DescribeMongoDBLogConfigResponseBody struct {
	// Indicates whether to enable the audit log feature.
	//
	// 	- **true**: The audit log feature is enabled.
	//
	// 	- **false**: The audit log feature is disabled.
	//
	// example:
	//
	// true
	EnableAudit *bool `json:"EnableAudit,omitempty" xml:"EnableAudit,omitempty"`
	// Indicates whether a rule to distribute logs to Logtail is created. For more information, see [Logtail overview](https://help.aliyun.com/document_detail/28979.html). Valid values:
	//
	// 	- **1**: A rule to distribute logs to Logtail is created.
	//
	// 	- **0*	- or **null**: A rule to distribute logs to Logtail is not created.
	//
	// example:
	//
	// 1
	IsEtlMetaExist *int32 `json:"IsEtlMetaExist,omitempty" xml:"IsEtlMetaExist,omitempty"`
	// Indicates whether a project exists in the current region. Valid values:
	//
	// 	- **1**: A logging project exists in the current region.
	//
	// 	- **0*	- or **null**: A logging project does not exist in the current region.
	//
	// example:
	//
	// 1
	IsUserProjectLogstoreExist *int32 `json:"IsUserProjectLogstoreExist,omitempty" xml:"IsUserProjectLogstoreExist,omitempty"`
	// The maximum storage capacity for the formal edition of the audit log feature. If the value is -1, no maximum storage capacity is set.
	//
	// example:
	//
	// -1
	PreserveStorageForStandard *int64 `json:"PreserveStorageForStandard,omitempty" xml:"PreserveStorageForStandard,omitempty"`
	// The maximum storage capacity for the free trial edition of the audit log feature. Unit: bytes. You can set the maximum storage capacity to 107,374,182,400 bytes.
	//
	// example:
	//
	// 107374182400
	PreserveStorageForTrail *int64 `json:"PreserveStorageForTrail,omitempty" xml:"PreserveStorageForTrail,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 664ECE26-658A-47C5-88F6-870B0132E8D2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The type of the audit log feature. Valid values:
	//
	// 	- **Trail**: the free trial edition
	//
	// 	- **Standard**: the official edition
	//
	// example:
	//
	// Standard
	ServiceType *string `json:"ServiceType,omitempty" xml:"ServiceType,omitempty"`
	// The retention period for the official edition of the audit log feature. Valid values: 1 to 365. Unit: day.
	//
	// example:
	//
	// 30
	TtlForStandard *int64 `json:"TtlForStandard,omitempty" xml:"TtlForStandard,omitempty"`
	// The retention period for the free trial edition of the audit log feature.
	//
	// example:
	//
	// 1
	TtlForTrail *int64 `json:"TtlForTrail,omitempty" xml:"TtlForTrail,omitempty"`
	// The used storage capacity for the formal edition of the audit log feature. Unit: bytes.
	//
	// example:
	//
	// 20163
	UsedStorageForStandard *int64 `json:"UsedStorageForStandard,omitempty" xml:"UsedStorageForStandard,omitempty"`
	// The used storage capacity for the free trial edition of the audit log feature. Unit: bytes.
	//
	// example:
	//
	// 12548178759
	UsedStorageForTrail *int64 `json:"UsedStorageForTrail,omitempty" xml:"UsedStorageForTrail,omitempty"`
	// The name of the project.
	//
	// example:
	//
	// nosql-176498472570****-cn-hangzhou
	UserProjectName *string `json:"UserProjectName,omitempty" xml:"UserProjectName,omitempty"`
}

func (DescribeMongoDBLogConfigResponseBody) GoString

func (*DescribeMongoDBLogConfigResponseBody) SetEnableAudit

func (*DescribeMongoDBLogConfigResponseBody) SetIsEtlMetaExist

func (*DescribeMongoDBLogConfigResponseBody) SetIsUserProjectLogstoreExist

func (*DescribeMongoDBLogConfigResponseBody) SetPreserveStorageForStandard

func (*DescribeMongoDBLogConfigResponseBody) SetPreserveStorageForTrail

func (*DescribeMongoDBLogConfigResponseBody) SetRequestId

func (*DescribeMongoDBLogConfigResponseBody) SetServiceType

func (*DescribeMongoDBLogConfigResponseBody) SetTtlForStandard

func (*DescribeMongoDBLogConfigResponseBody) SetTtlForTrail

func (*DescribeMongoDBLogConfigResponseBody) SetUsedStorageForStandard

func (*DescribeMongoDBLogConfigResponseBody) SetUsedStorageForTrail

func (*DescribeMongoDBLogConfigResponseBody) SetUserProjectName

func (DescribeMongoDBLogConfigResponseBody) String

type DescribeParameterModificationHistoryRequest

type DescribeParameterModificationHistoryRequest struct {
	// The role of the instance. Valid values:
	//
	// 	- **db**: shard
	//
	// 	- **cs**: Configserver
	//
	// 	- **mongos**: mongos
	//
	// 	- **logic**: sharded cluster instance
	//
	// example:
	//
	// mongos
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The instance ID.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2235****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end 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. The end time must be later than the start time.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-01-02T12:10:10Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the mongos node or shard node whose parameter modification records you want to query in the instance.
	//
	// >  This parameter is valid only when **DBInstanceId*	- is set to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp1158****
	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"`
	// 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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-01-01T12:10:10Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeParameterModificationHistoryRequest) GoString

func (*DescribeParameterModificationHistoryRequest) SetCharacterType

func (*DescribeParameterModificationHistoryRequest) SetDBInstanceId

func (*DescribeParameterModificationHistoryRequest) SetEndTime

func (*DescribeParameterModificationHistoryRequest) SetNodeId

func (*DescribeParameterModificationHistoryRequest) SetOwnerAccount

func (*DescribeParameterModificationHistoryRequest) SetOwnerId

func (*DescribeParameterModificationHistoryRequest) SetResourceOwnerAccount

func (*DescribeParameterModificationHistoryRequest) SetResourceOwnerId

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 about the parameter modification records.
	HistoricalParameters *DescribeParameterModificationHistoryResponseBodyHistoricalParameters `json:"HistoricalParameters,omitempty" xml:"HistoricalParameters,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// B1BB6E0E-B4EF-4145-81FA-A07719860248
	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-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2019-03-12T07:58:24Z
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The parameter value after modification.
	//
	// example:
	//
	// 200
	NewParameterValue *string `json:"NewParameterValue,omitempty" xml:"NewParameterValue,omitempty"`
	// The parameter value before modification.
	//
	// example:
	//
	// 100
	OldParameterValue *string `json:"OldParameterValue,omitempty" xml:"OldParameterValue,omitempty"`
	// The name of the modified parameter.
	//
	// example:
	//
	// operationProfiling.slowOpThresholdMs
	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 database engine of the instance. Set the value to **MongoDB**.
	//
	// This parameter is required.
	//
	// example:
	//
	// mongodb
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// 	- **3.4**
	//
	// This parameter is required.
	//
	// example:
	//
	// 5.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,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](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-hangzhou
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The role of the instance. Valid values:
	//
	// 1. db:  a shard node.
	//
	// 1. cs:  a Configserver node.
	//
	// 1. mongos:  a mongos node.
	//
	// 1. normal: a replica set node.
	//
	// 1. physical: a standalone node.
	//
	// default: normal
	//
	// example:
	//
	// normal
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
}

func (DescribeParameterTemplatesRequest) GoString

func (*DescribeParameterTemplatesRequest) SetEngine

func (*DescribeParameterTemplatesRequest) SetEngineVersion

func (*DescribeParameterTemplatesRequest) SetOwnerAccount

func (*DescribeParameterTemplatesRequest) SetOwnerId

func (*DescribeParameterTemplatesRequest) SetRegionId

func (*DescribeParameterTemplatesRequest) SetResourceOwnerAccount

func (*DescribeParameterTemplatesRequest) SetResourceOwnerId

func (*DescribeParameterTemplatesRequest) SetRole

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 of the instance.
	//
	// example:
	//
	// mongodb
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// example:
	//
	// 5.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The number of parameters that are supported by the instance.
	//
	// example:
	//
	// 10
	ParameterCount *string `json:"ParameterCount,omitempty" xml:"ParameterCount,omitempty"`
	// Details about the parameter templates.
	Parameters *DescribeParameterTemplatesResponseBodyParameters `json:"Parameters,omitempty" xml:"Parameters,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// BDA54203-9D61-54A3-A568-D281F785****
	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 value range of modifiable parameters.
	//
	// example:
	//
	// [0-65536]
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether the parameter is modifiable.
	//
	// 	- **false**: The parameter cannot be modified.
	//
	// 	- **true**: The parameter can be modified.
	//
	// example:
	//
	// true
	ForceModify *bool `json:"ForceModify,omitempty" xml:"ForceModify,omitempty"`
	// Indicates whether a restart is required for parameter modifications to take effect.
	//
	// 	- **false**: A restart is not required. Parameter modifications immediately take effect.
	//
	// 	- **true**: A restart is required for parameter modifications to take effect.
	//
	// example:
	//
	// false
	ForceRestart *bool `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// The description of the parameter.
	//
	// example:
	//
	// The threshold in milliseconds at which the database profiler considers a query slow, default is 100.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	//
	// example:
	//
	// net.compression.compressors
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The default value of the parameter.
	//
	// example:
	//
	// 100
	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 role of the instance. Valid values:
	//
	// 	- db: a shard node.
	//
	// 	- cs: a Configserver node.
	//
	// 	- mongos: a mongos node.
	//
	// example:
	//
	// mongos
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The instance ID.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The parameter that is available in the future.
	//
	// example:
	//
	// terrform
	ExtraParam *string `json:"ExtraParam,omitempty" xml:"ExtraParam,omitempty"`
	// The ID of the mongos or shard node in the specified sharded cluster instance.
	//
	// >  This parameter is valid when the **DBInstanceId*	- parameter is set to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bpxxxxxxxx
	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"`
}

func (DescribeParametersRequest) GoString

func (s DescribeParametersRequest) GoString() string

func (*DescribeParametersRequest) SetCharacterType

func (*DescribeParametersRequest) SetDBInstanceId

func (*DescribeParametersRequest) SetExtraParam

func (*DescribeParametersRequest) SetNodeId

func (*DescribeParametersRequest) SetOwnerAccount

func (*DescribeParametersRequest) SetOwnerId

func (*DescribeParametersRequest) SetResourceOwnerAccount

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

func (*DescribeParametersRequest) SetResourceOwnerId

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

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 parameter settings in the configuration template.
	ConfigParameters *DescribeParametersResponseBodyConfigParameters `json:"ConfigParameters,omitempty" xml:"ConfigParameters,omitempty" type:"Struct"`
	// The database engine of the instance. Default value: **mongodb**.
	//
	// example:
	//
	// mongodb
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// example:
	//
	// 4.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 3ADD0C7D-2D2A-4F15-88FF-E7AC9B9FDCC8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The settings of the parameters that have taken effect.
	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 valid values of the parameter.
	//
	// example:
	//
	// [0-65536]
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether a restart is required for parameter modifications to take effect. Valid values:
	//
	// 	- **false**: A restart is not required. Modifications take effect immediately.
	//
	// 	- **true**: A restart is required for parameter modifications to take effect.
	//
	// example:
	//
	// true
	ForceRestart *bool `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// Indicates whether the parameter value can be modified. Valid values:
	//
	// 	- **false**: The parameter value cannot be modified.
	//
	// 	- **true**: The parameter value can be modified.
	//
	// example:
	//
	// true
	ModifiableStatus *bool `json:"ModifiableStatus,omitempty" xml:"ModifiableStatus,omitempty"`
	// The description of the parameter.
	//
	// example:
	//
	// The threshold in milliseconds at which the database profiler considers a query slow, default is 100.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	//
	// example:
	//
	// operationProfiling.slowOpThresholdMs
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The value of the parameter.
	//
	// example:
	//
	// 200
	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 {
	// 实例的角色类型,取值说明:
	//
	// - **db**:shard角色。
	//
	// - **cs**:config server角色。
	//
	// - **mongos**:mongos角色。
	//
	// example:
	//
	// db
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The valid values of the parameter.
	//
	// example:
	//
	// [33554432-268435456]
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether a restart is required for parameter modifications to take effect. Valid values:
	//
	// 	- **false**: A restart is not required. Modifications take effect immediately.
	//
	// 	- **true**: A restart is required for parameter modifications to take effect.
	//
	// example:
	//
	// false
	ForceRestart *string `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// Indicates whether the parameter value can be modified. Valid values:
	//
	// 	- **false**: The parameter value cannot be modified.
	//
	// 	- **true**: The parameter value can be modified.
	//
	// example:
	//
	// true
	ModifiableStatus *string `json:"ModifiableStatus,omitempty" xml:"ModifiableStatus,omitempty"`
	// The description of the parameter.
	//
	// example:
	//
	// The maximum memory bytes that sort stage may use, default is 33554432(i.e. 32MB)
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	//
	// example:
	//
	// setParameter.internalQueryExecMaxBlockingSortBytes
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The value of the parameter.
	//
	// example:
	//
	// 33554432
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParametersResponseBodyRunningParametersParameter) GoString

func (*DescribeParametersResponseBodyRunningParametersParameter) SetCharacterType

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 business information. This is an additional parameter.
	//
	// example:
	//
	// {"AccountPassword":"Pw123456","DBInstanceDescription":"test"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The code of the instance. Valid values:
	//
	// 	- **dds**: a replica set instance that uses the pay-as-you-go billing method
	//
	// 	- **badds**: a replica set instance that uses the subscription billing method
	//
	// 	- **dds_sharding**: a sharded cluster instance that uses the pay-as-you-go billing method
	//
	// 	- **badds_sharding**: a sharded cluster instance that uses the subscription billing method
	//
	// 	- **badds_sharding_intl**: a sharded cluster instance that uses the subscription billing method and is available on the International site (alibabacloud.com)
	//
	// 	- **dds_sharding_intl**: a sharded cluster instance that uses the pay-as-you-go billing method and is available on the International site (alibabacloud.com)
	//
	// 	- **badds_sharding_jp**: a sharded cluster instance that uses the subscription billing method and is available on the Japan site (jp.alibabacloud.com)
	//
	// 	- **badds_intl**: a replica set instance that uses the subscription billing method and is available on the International site (alibabacloud.com)
	//
	// 	- **dds_intl**: a replica set instance that uses the pay-as-you-go billing method and is available on the International site (alibabacloud.com)
	//
	// example:
	//
	// badds
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// Specifies whether to use coupons. Default value: null. Valid values:
	//
	// 	- **default*	- or **null**: uses coupons.
	//
	// 	- **youhuiquan_promotion_option_id_for_blank**: does not use coupons.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// A JSON string that contains the details of the instance. For more information about the parameter and sample JSON formats, see [DescribePrice](https://help.aliyun.com/document_detail/197291.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// [ { "DBInstanceId":"dds-bp1b6e54e7cc****", "RegionId":"cn-hangzhou", "ZoneId":"cn-hangzhou-h", "Engine":"MongoDB", "EngineVersion":" 5.0", "DBInstanceClass":"mdb.shard.2x.xlarge.d", "DBInstanceStorage":30, "ChargeType":"PrePaid", "Period":1, "StorageType":"cloud_essd1" } ]
	DBInstances *string `json:"DBInstances,omitempty" xml:"DBInstances,omitempty"`
	// Specifies whether to return the OrderParams parameter. Valid values:
	//
	// 	- **false*	- (default)
	//
	// 	- **true**
	//
	// example:
	//
	// true
	OrderParamOut *string `json:"OrderParamOut,omitempty" xml:"OrderParamOut,omitempty"`
	// The order type. Valid values:
	//
	// 	- **BUY**
	//
	// 	- **UPGRADE**
	//
	// 	- **RENEW**
	//
	// This parameter is required.
	//
	// example:
	//
	// BUY
	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 code of the service. Default value: **dds**.
	//
	// example:
	//
	// dds
	ProductCode *string `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group. For more information, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 (DescribePriceRequest) GoString

func (s DescribePriceRequest) GoString() string

func (*DescribePriceRequest) SetBusinessInfo

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

func (*DescribePriceRequest) SetCommodityCode

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

func (*DescribePriceRequest) SetCouponNo

func (*DescribePriceRequest) SetDBInstances

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

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) SetProductCode

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

func (*DescribePriceRequest) SetRegionId

func (*DescribePriceRequest) SetResourceGroupId

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

func (*DescribePriceRequest) SetResourceOwnerAccount

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

func (*DescribePriceRequest) SetResourceOwnerId

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

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 order information.
	Order *DescribePriceResponseBodyOrder `json:"Order,omitempty" xml:"Order,omitempty" type:"Struct"`
	// The order parameters.
	//
	// > This parameter is returned only when the **OrderParamOut*	- parameter is set to **true**.
	//
	// example:
	//
	// {\\"autoPay\\":false}"
	OrderParams *string `json:"OrderParams,omitempty" xml:"OrderParams,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 27227A3D-6B86-56F3-9E03-9E60F001CE12
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The promotion rules.
	Rules *DescribePriceResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Struct"`
	// The coupon rules.
	SubOrders *DescribePriceResponseBodySubOrders `json:"SubOrders,omitempty" xml:"SubOrders,omitempty" type:"Struct"`
	// The ID of the trace.
	//
	// example:
	//
	// 27227A3D-6B87-56F3-9E03-9E60F001****
	TraceId *string `json:"TraceId,omitempty" xml:"TraceId,omitempty"`
}

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) SetTraceId

func (DescribePriceResponseBody) String

func (s DescribePriceResponseBody) String() string

type DescribePriceResponseBodyOrder

type DescribePriceResponseBodyOrder struct {
	// The order code.
	//
	// example:
	//
	// ""
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	ContractActivity *bool `json:"ContractActivity,omitempty" xml:"ContractActivity,omitempty"`
	// The information of coupons.
	Coupons *DescribePriceResponseBodyOrderCoupons `json:"Coupons,omitempty" xml:"Coupons,omitempty" type:"Struct"`
	// The currency.
	//
	// example:
	//
	// USD
	Currency *string `json:"Currency,omitempty" xml:"Currency,omitempty"`
	// The price reduction information.
	DepreciateInfo *DescribePriceResponseBodyOrderDepreciateInfo `json:"DepreciateInfo,omitempty" xml:"DepreciateInfo,omitempty" type:"Struct"`
	// The discount amount of the order.
	//
	// example:
	//
	// 322.4
	DiscountAmount *string `json:"DiscountAmount,omitempty" xml:"DiscountAmount,omitempty"`
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	IsContractActivity *bool `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	// The order information.
	//
	// example:
	//
	// ""
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The promotional activity information.
	//
	// example:
	//
	// [{\\”activityCategory\\”:\\”discount\\”,\\”activityExtInfo\\”:{\\”noUseYouhuiquan\\”:\\”true\\”,\\”activityId\\”:\\”191156098xxxx\\”,\\”activityExtraAttr\\”:\\”{\\\\\\\\”forbiddenCpsProfit\\\\\\\\”:\\\\\\\\”true\\\\\\\\”,\\\\\\\\”forbiddenCouponsRestricted\\\\\\\\”:\\\\\\\\”true\\\\\\\\”,\\\\\\\\”forbiddenAmbassadorProfit\\\\\\\\”:\\\\\\\\”true\\\\\\\\”}\\”,\\”isActivityIdFromWanHuaTong\\”:\\”true\\”,\\”isContractActivity\\”:\\”false\\”},\\”canPromFee\\”:906130,\\”optionCode\\”:\\”wanhua_activity\\”,\\”promotionName\\”:\\”FY24--MongoDB replica set - first-time purchase - \\	- discount for a one-year period - first-time purchase benefits\\”,\\”promotionOptionNo\\”:\\”19115609882xxxx\\”,\\”promotionRuleIdList\\”:[2091xxxx],\\”selected\\”:true,\\”targetArticleItemCodes\\”:[]},{\\”activityCategory\\”:\\”discount\\”,\\”activityExtInfo\\”:{\\”activityId\\”:\\”1018040010xxxxx\\”,\\”wanHuaOrderExpireSec\\”:\\”604800\\”,\\”isActivityIdFromWanHuaTong\\”:\\”true\\”,\\”isContractActivity\\”:\\”false\\”},\\”canPromFee\\”:339799,\\”optionCode\\”:\\”wanhua_activity\\”,\\”promotionName\\”:\\”FY24--MongoDB discount for a one-year period \\”,\\”promotionOptionNo\\”:\\”10180400107xxxxx\\”,\\”promotionRuleIdList\\”:[xxxxx],\\”selected\\”:false,\\”targetArticleItemCodes\\”:[]}]”
	OptionalPromotions *string `json:"OptionalPromotions,omitempty" xml:"OptionalPromotions,omitempty"`
	// The original price of the order.
	//
	// example:
	//
	// 322.4
	OriginalAmount *string `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	// The promotional activity that is hit.
	//
	// example:
	//
	// [{\\”finalPromFee\\”:90xxx,\\”optionCode\\”:\\”wanhua_activity\\”,\\”promType\\”:\\”discount\\”,\\”promotionId\\”:2091xxxx,\\”promotionName\\”:\\”\\	- discount is provided for new users who purchase ApsaraDB for MongoDB replica set instances for one year. A new user can purchase an ApsaraDB for MongoDB replica set instance only by using the discount.\\”}]”
	PromDetailList *string `json:"PromDetailList,omitempty" xml:"PromDetailList,omitempty"`
	// The rules of the order.
	RuleIds *DescribePriceResponseBodyOrderRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// Indicates whether the discount information is displayed.
	//
	// example:
	//
	// true
	ShowDiscountInfo *bool `json:"ShowDiscountInfo,omitempty" xml:"ShowDiscountInfo,omitempty"`
	// The discount.
	//
	// example:
	//
	// 0
	StandDiscountPrice *float64 `json:"StandDiscountPrice,omitempty" xml:"StandDiscountPrice,omitempty"`
	// The discount.
	//
	// example:
	//
	// 0
	StandPrice *float64 `json:"StandPrice,omitempty" xml:"StandPrice,omitempty"`
	// The final price of the order.
	//
	// example:
	//
	// 0
	TradeAmount *string `json:"TradeAmount,omitempty" xml:"TradeAmount,omitempty"`
}

func (DescribePriceResponseBodyOrder) GoString

func (*DescribePriceResponseBodyOrder) SetCode

func (*DescribePriceResponseBodyOrder) SetContractActivity

func (*DescribePriceResponseBodyOrder) SetCurrency

func (*DescribePriceResponseBodyOrder) SetDiscountAmount

func (*DescribePriceResponseBodyOrder) SetIsContractActivity

func (*DescribePriceResponseBodyOrder) SetMessage

func (*DescribePriceResponseBodyOrder) SetOptionalPromotions

func (*DescribePriceResponseBodyOrder) SetOriginalAmount

func (*DescribePriceResponseBodyOrder) SetPromDetailList

func (*DescribePriceResponseBodyOrder) SetShowDiscountInfo

func (*DescribePriceResponseBodyOrder) SetStandDiscountPrice

func (*DescribePriceResponseBodyOrder) SetStandPrice

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 activity type of the coupon. Valid values:
	//
	// 	- **payondemand**: subscription
	//
	// 	- **payasyougo**: pay-as-you-go
	//
	// example:
	//
	// payondemand
	ActivityCategory *string `json:"ActivityCategory,omitempty" xml:"ActivityCategory,omitempty"`
	// The coupon ID.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The description of the coupon.
	//
	// example:
	//
	// ceshi
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the coupon was selected. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	IsSelected *string `json:"IsSelected,omitempty" xml:"IsSelected,omitempty"`
	// The coupon name.
	//
	// example:
	//
	// youhuiquan111
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The code of the coupon.
	//
	// example:
	//
	// youhui_quan
	OptionCode *string `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	// The promotional option code.
	//
	// example:
	//
	// youhui_quan
	PromotionOptionCode *string `json:"PromotionOptionCode,omitempty" xml:"PromotionOptionCode,omitempty"`
	// The IDs of the rules that correspond to the coupon.
	PromotionRuleIdList *DescribePriceResponseBodyOrderCouponsCouponPromotionRuleIdList `json:"PromotionRuleIdList,omitempty" xml:"PromotionRuleIdList,omitempty" type:"Struct"`
}

func (DescribePriceResponseBodyOrderCouponsCoupon) GoString

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetActivityCategory

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetCouponNo

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetDescription

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetIsSelected

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetName

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetOptionCode

func (*DescribePriceResponseBodyOrderCouponsCoupon) SetPromotionOptionCode

func (DescribePriceResponseBodyOrderCouponsCoupon) String

type DescribePriceResponseBodyOrderCouponsCouponPromotionRuleIdList

type DescribePriceResponseBodyOrderCouponsCouponPromotionRuleIdList struct {
	PromotionRuleId []*int64 `json:"PromotionRuleId,omitempty" xml:"PromotionRuleId,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodyOrderCouponsCouponPromotionRuleIdList) GoString

func (*DescribePriceResponseBodyOrderCouponsCouponPromotionRuleIdList) SetPromotionRuleId

func (DescribePriceResponseBodyOrderCouponsCouponPromotionRuleIdList) String

type DescribePriceResponseBodyOrderDepreciateInfo

type DescribePriceResponseBodyOrderDepreciateInfo struct {
	// The price reduction rate.
	//
	// example:
	//
	// 30%
	CheapRate *float64 `json:"CheapRate,omitempty" xml:"CheapRate,omitempty"`
	// The new total price displayed on the official website.
	//
	// example:
	//
	// 9*
	CheapStandAmount *float64 `json:"CheapStandAmount,omitempty" xml:"CheapStandAmount,omitempty"`
	// The contract promotion.
	ContractActivity *DescribePriceResponseBodyOrderDepreciateInfoContractActivity `json:"ContractActivity,omitempty" xml:"ContractActivity,omitempty" type:"Struct"`
	// The price difference displayed in the total order amount.
	//
	// example:
	//
	// **
	Differential *float64 `json:"Differential,omitempty" xml:"Differential,omitempty"`
	// The name of the price difference.
	//
	// example:
	//
	// XXXXX
	DifferentialName *string `json:"DifferentialName,omitempty" xml:"DifferentialName,omitempty"`
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	IsContractActivity *bool `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	// Indicates whether the price reduction rate is displayed.
	//
	// example:
	//
	// true
	IsShow *string `json:"IsShow,omitempty" xml:"IsShow,omitempty"`
	// The list price.
	//
	// example:
	//
	// 1*
	ListPrice *float64 `json:"ListPrice,omitempty" xml:"ListPrice,omitempty"`
	// The monthly price.
	//
	// example:
	//
	// **
	MonthPrice *float64 `json:"MonthPrice,omitempty" xml:"MonthPrice,omitempty"`
	// The original total price displayed on the official website.
	//
	// example:
	//
	// 12*
	OriginalStandAmount *float64 `json:"OriginalStandAmount,omitempty" xml:"OriginalStandAmount,omitempty"`
}

func (DescribePriceResponseBodyOrderDepreciateInfo) GoString

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetCheapRate

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetCheapStandAmount

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetDifferential

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetDifferentialName

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetIsContractActivity

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetIsShow

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetListPrice

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetMonthPrice

func (*DescribePriceResponseBodyOrderDepreciateInfo) SetOriginalStandAmount

func (DescribePriceResponseBodyOrderDepreciateInfo) String

type DescribePriceResponseBodyOrderDepreciateInfoContractActivity

type DescribePriceResponseBodyOrderDepreciateInfoContractActivity struct {
	// The activity ID.
	//
	// example:
	//
	// 41120065996xxxxx
	ActivityId *int64 `json:"ActivityId,omitempty" xml:"ActivityId,omitempty"`
	// The activity name.
	//
	// example:
	//
	// contract promotion_order_xxx discount
	ActivityName *string `json:"ActivityName,omitempty" xml:"ActivityName,omitempty"`
	// The price after the promotion.
	//
	// example:
	//
	// 20522.4
	FinalFee *float64 `json:"FinalFee,omitempty" xml:"FinalFee,omitempty"`
	// The total discount amount.
	//
	// example:
	//
	// 3621.6
	FinalPromFee *float64 `json:"FinalPromFee,omitempty" xml:"FinalPromFee,omitempty"`
	// The promotion ID.
	//
	// example:
	//
	// wanhua_activity
	OptionCode *string `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	// The promotion IDs.
	OptionIds *DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds `json:"OptionIds,omitempty" xml:"OptionIds,omitempty" type:"Struct"`
	// The original price.
	//
	// example:
	//
	// 24144.0
	ProdFee *float64 `json:"ProdFee,omitempty" xml:"ProdFee,omitempty"`
}

func (DescribePriceResponseBodyOrderDepreciateInfoContractActivity) GoString

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivity) SetActivityId

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivity) SetActivityName

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivity) SetFinalFee

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivity) SetFinalPromFee

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivity) SetOptionCode

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivity) SetProdFee

func (DescribePriceResponseBodyOrderDepreciateInfoContractActivity) String

type DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds

type DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds struct {
	OptionId []*int64 `json:"OptionId,omitempty" xml:"OptionId,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds) GoString

func (*DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds) SetOptionId

func (DescribePriceResponseBodyOrderDepreciateInfoContractActivityOptionIds) String

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 rule name.
	//
	// example:
	//
	// demoname
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The rule ID.
	//
	// example:
	//
	// 2075****
	RuleDescId *int64 `json:"RuleDescId,omitempty" xml:"RuleDescId,omitempty"`
	// The rule title.
	//
	// example:
	//
	// demo
	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 {
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	ContractActivity *bool `json:"ContractActivity,omitempty" xml:"ContractActivity,omitempty"`
	// The price reduction information.
	DepreciateInfo *DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo `json:"DepreciateInfo,omitempty" xml:"DepreciateInfo,omitempty" type:"Struct"`
	// The discount amount of the order.
	//
	// example:
	//
	// 322.4
	DiscountAmount *string `json:"DiscountAmount,omitempty" xml:"DiscountAmount,omitempty"`
	// The instance ID.
	//
	// example:
	//
	// dds-bp1b6e54e7cc****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	IsContractActivity *bool `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	// Indicates whether the discount is hit.
	//
	// example:
	//
	// true
	IsNewOfficialActivity *string `json:"IsNewOfficialActivity,omitempty" xml:"IsNewOfficialActivity,omitempty"`
	// The configuration item of the instance in the order.
	ModuleInstance *DescribePriceResponseBodySubOrdersSubOrderModuleInstance `json:"ModuleInstance,omitempty" xml:"ModuleInstance,omitempty" type:"Struct"`
	// The promotional options that can be configured.
	OptionalPromotions *DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions `json:"OptionalPromotions,omitempty" xml:"OptionalPromotions,omitempty" type:"Struct"`
	// The original price of the order.
	//
	// example:
	//
	// 322.4
	OriginalAmount *string `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	// The promotion details.
	PromDetailList *DescribePriceResponseBodySubOrdersSubOrderPromDetailList `json:"PromDetailList,omitempty" xml:"PromDetailList,omitempty" type:"Struct"`
	// The activity rules.
	RuleIds *DescribePriceResponseBodySubOrdersSubOrderRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// The discount.
	//
	// example:
	//
	// 8687
	StandDiscountPrice *float64 `json:"StandDiscountPrice,omitempty" xml:"StandDiscountPrice,omitempty"`
	// The discount.
	//
	// example:
	//
	// 62982
	StandPrice *float64 `json:"StandPrice,omitempty" xml:"StandPrice,omitempty"`
	// The actual price of the order.
	//
	// example:
	//
	// 0
	TradeAmount *string `json:"TradeAmount,omitempty" xml:"TradeAmount,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrder) GoString

func (*DescribePriceResponseBodySubOrdersSubOrder) SetContractActivity

func (*DescribePriceResponseBodySubOrdersSubOrder) SetDiscountAmount

func (*DescribePriceResponseBodySubOrdersSubOrder) SetInstanceId

func (*DescribePriceResponseBodySubOrdersSubOrder) SetIsContractActivity

func (*DescribePriceResponseBodySubOrdersSubOrder) SetIsNewOfficialActivity

func (*DescribePriceResponseBodySubOrdersSubOrder) SetOriginalAmount

func (*DescribePriceResponseBodySubOrdersSubOrder) SetStandDiscountPrice

func (*DescribePriceResponseBodySubOrdersSubOrder) SetStandPrice

func (*DescribePriceResponseBodySubOrdersSubOrder) SetTradeAmount

func (DescribePriceResponseBodySubOrdersSubOrder) String

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo struct {
	// The price reduction rate.
	//
	// example:
	//
	// 30%
	CheapRate *float64 `json:"CheapRate,omitempty" xml:"CheapRate,omitempty"`
	// The new total price displayed on the official website.
	//
	// example:
	//
	// 9*
	CheapStandAmount *float64 `json:"CheapStandAmount,omitempty" xml:"CheapStandAmount,omitempty"`
	// The activity information.
	ContractActivity *DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity `json:"ContractActivity,omitempty" xml:"ContractActivity,omitempty" type:"Struct"`
	// The price difference displayed in the total order amount.
	//
	// example:
	//
	// **
	Differential *float64 `json:"Differential,omitempty" xml:"Differential,omitempty"`
	// The name of the price difference.
	//
	// example:
	//
	// XXXXX
	DifferentialName *string `json:"DifferentialName,omitempty" xml:"DifferentialName,omitempty"`
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	IsContractActivity *bool `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	// Indicates whether the price reduction rate is displayed.
	//
	// example:
	//
	// true
	IsShow *string `json:"IsShow,omitempty" xml:"IsShow,omitempty"`
	// The list price.
	//
	// example:
	//
	// 1*
	ListPrice *float64 `json:"ListPrice,omitempty" xml:"ListPrice,omitempty"`
	// The monthly price.
	//
	// example:
	//
	// **
	MonthPrice *float64 `json:"MonthPrice,omitempty" xml:"MonthPrice,omitempty"`
	// The original total price displayed on the official website.
	//
	// example:
	//
	// 12*
	OriginalStandAmount *float64 `json:"OriginalStandAmount,omitempty" xml:"OriginalStandAmount,omitempty"`
	// The start time of the activity.
	//
	// example:
	//
	// 2024-02-29 10:30:00
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetCheapRate

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetCheapStandAmount

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetDifferential

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetDifferentialName

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetIsContractActivity

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetIsShow

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetListPrice

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetMonthPrice

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetOriginalStandAmount

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) SetStartTime

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfo) String

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity struct {
	// The activity ID.
	//
	// example:
	//
	// 41120065996xxxxx
	ActivityId *int64 `json:"ActivityId,omitempty" xml:"ActivityId,omitempty"`
	// The activity name.
	//
	// example:
	//
	// contract promotion_order_xxx discount
	ActivityName *string `json:"ActivityName,omitempty" xml:"ActivityName,omitempty"`
	// The price after the promotion.
	//
	// example:
	//
	// 20522.4
	FinalFee *float64 `json:"FinalFee,omitempty" xml:"FinalFee,omitempty"`
	// The total discount amount.
	//
	// example:
	//
	// 3621.6
	FinalPromFee *float64 `json:"FinalPromFee,omitempty" xml:"FinalPromFee,omitempty"`
	// The promotion ID.
	//
	// example:
	//
	// wanhua_activity
	OptionCode *string `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	// The promotion IDs.
	OptionIds *DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds `json:"OptionIds,omitempty" xml:"OptionIds,omitempty" type:"Struct"`
	// The original price.
	//
	// example:
	//
	// 24144.0
	ProdFee *float64 `json:"ProdFee,omitempty" xml:"ProdFee,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) SetActivityId

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) SetActivityName

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) SetFinalFee

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) SetFinalPromFee

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) SetOptionCode

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) SetProdFee

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivity) String

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds

type DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds struct {
	OptionId []*int64 `json:"OptionId,omitempty" xml:"OptionId,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds) SetOptionId

func (DescribePriceResponseBodySubOrdersSubOrderDepreciateInfoContractActivityOptionIds) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstance

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

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstance) GoString

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstance) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance struct {
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	ContractActivity *bool `json:"ContractActivity,omitempty" xml:"ContractActivity,omitempty"`
	// The cycle fee of the module.
	//
	// example:
	//
	// 0.0
	CycleFee *string `json:"CycleFee,omitempty" xml:"CycleFee,omitempty"`
	// The activity information.
	DepreciateInfo *DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo `json:"DepreciateInfo,omitempty" xml:"DepreciateInfo,omitempty" type:"Struct"`
	// The discount.
	//
	// example:
	//
	// 0.0
	DiscountFee *string `json:"DiscountFee,omitempty" xml:"DiscountFee,omitempty"`
	// The module attributes.
	ModuleAttrs *DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs `json:"ModuleAttrs,omitempty" xml:"ModuleAttrs,omitempty" type:"Struct"`
	// The module code.
	//
	// example:
	//
	// dds_dbtype
	ModuleCode *string `json:"ModuleCode,omitempty" xml:"ModuleCode,omitempty"`
	// The module ID
	//
	// example:
	//
	// 1017110000415xxx
	ModuleId *int64 `json:"ModuleId,omitempty" xml:"ModuleId,omitempty"`
	// The module name.
	//
	// example:
	//
	// database type
	ModuleName *string `json:"ModuleName,omitempty" xml:"ModuleName,omitempty"`
	// Indicates whether the order is paid.
	//
	// example:
	//
	// true
	NeedOrderPay *bool `json:"NeedOrderPay,omitempty" xml:"NeedOrderPay,omitempty"`
	// The actual amount paid.
	//
	// example:
	//
	// 0.0
	PayFee *float64 `json:"PayFee,omitempty" xml:"PayFee,omitempty"`
	// Indicates whether the item is billed.
	//
	// example:
	//
	// false
	PricingModule *bool `json:"PricingModule,omitempty" xml:"PricingModule,omitempty"`
	// The promotion details.
	PromDetailList *DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailList `json:"PromDetailList,omitempty" xml:"PromDetailList,omitempty" type:"Struct"`
	// The discount.
	//
	// example:
	//
	// 451.00
	StandDiscountPrice *float64 `json:"StandDiscountPrice,omitempty" xml:"StandDiscountPrice,omitempty"`
	// The discount.
	//
	// example:
	//
	// 0
	StandPrice *float64 `json:"StandPrice,omitempty" xml:"StandPrice,omitempty"`
	// The original price of the product.
	//
	// example:
	//
	// 0.0
	TotalProductFee *float64 `json:"TotalProductFee,omitempty" xml:"TotalProductFee,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetContractActivity

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetCycleFee

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetDiscountFee

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetModuleCode

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetModuleId

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetModuleName

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetNeedOrderPay

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetPayFee

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetPricingModule

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetStandDiscountPrice

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetStandPrice

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) SetTotalProductFee

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstance) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo struct {
	// The price reduction rate.
	//
	// example:
	//
	// 30%
	CheapRate *float64 `json:"CheapRate,omitempty" xml:"CheapRate,omitempty"`
	// The new total price displayed on the official website.
	//
	// example:
	//
	// 9*
	CheapStandAmount *float64 `json:"CheapStandAmount,omitempty" xml:"CheapStandAmount,omitempty"`
	// The price difference displayed in the total order amount.
	//
	// example:
	//
	// **
	Differential *float64 `json:"Differential,omitempty" xml:"Differential,omitempty"`
	// The name of the price difference.
	//
	// example:
	//
	// XXXXX
	DifferentialName *string `json:"DifferentialName,omitempty" xml:"DifferentialName,omitempty"`
	// Indicates whether the contract promotion is hit.
	//
	// example:
	//
	// false
	IsContractActivity *bool `json:"IsContractActivity,omitempty" xml:"IsContractActivity,omitempty"`
	// Indicates whether the price reduction rate is displayed.
	//
	// example:
	//
	// true
	IsShow *string `json:"IsShow,omitempty" xml:"IsShow,omitempty"`
	// The list price.
	//
	// example:
	//
	// 1*
	ListPrice *float64 `json:"ListPrice,omitempty" xml:"ListPrice,omitempty"`
	// The monthly price.
	//
	// example:
	//
	// **
	MonthPrice *float64 `json:"MonthPrice,omitempty" xml:"MonthPrice,omitempty"`
	// The original total price displayed on the official website.
	//
	// example:
	//
	// 12*
	OriginalStandAmount *float64 `json:"OriginalStandAmount,omitempty" xml:"OriginalStandAmount,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetCheapRate

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetCheapStandAmount

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetDifferential

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetDifferentialName

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetIsContractActivity

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetListPrice

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetMonthPrice

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) SetOriginalStandAmount

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceDepreciateInfo) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs

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

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs) GoString

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrs) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr struct {
	// The attribute code.
	//
	// example:
	//
	// dds_dbtype
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The attribute name.
	//
	// example:
	//
	// MongoDB
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The attribute type.
	//
	// example:
	//
	// 3
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The attribute value.
	//
	// example:
	//
	// MongoDB
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) GoString

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstanceModuleAttrsModuleAttr) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailList

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

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailList) GoString

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailList) String

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailListPromDetail

type DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailListPromDetail struct {
	// The additional promotion information.
	//
	// example:
	//
	// {
	//
	//     "activityId": "1512010241743170"
	//
	// }
	ActivityExtInfo map[string]interface{} `json:"ActivityExtInfo,omitempty" xml:"ActivityExtInfo,omitempty"`
	// The sub-type of the promotion.
	//
	// example:
	//
	// subPrice
	DerivedPromType *string `json:"DerivedPromType,omitempty" xml:"DerivedPromType,omitempty"`
	// The discount amount.
	//
	// example:
	//
	// 0.0
	FinalPromFee *float64 `json:"FinalPromFee,omitempty" xml:"FinalPromFee,omitempty"`
	// The code of the commodity to which the coupon can be applied.
	//
	// example:
	//
	// wanhua_activity
	OptionCode *string `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	// The sub-type of the promotion.
	//
	// example:
	//
	// discount
	PromType *string `json:"PromType,omitempty" xml:"PromType,omitempty"`
	// The coupon code.
	//
	// example:
	//
	// aliwood-xxx
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The ID of the promotional activity.
	//
	// example:
	//
	// 8105187xxxx
	PromotionId *int64 `json:"PromotionId,omitempty" xml:"PromotionId,omitempty"`
	// The promotional activity name.
	//
	// example:
	//
	// [Item with price reduction in x xxxx] ApsaraDB for MongoDB instances of a full range of specifications - xxxxx
	PromotionName *string `json:"PromotionName,omitempty" xml:"PromotionName,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailListPromDetail) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailListPromDetail) SetActivityExtInfo

func (DescribePriceResponseBodySubOrdersSubOrderModuleInstanceModuleInstancePromDetailListPromDetail) String

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions

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

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions) GoString

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotions) String

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion struct {
	// The activity type.
	//
	// example:
	//
	// discount
	ActivityCategory *string `json:"ActivityCategory,omitempty" xml:"ActivityCategory,omitempty"`
	// The additional activity information.
	//
	// example:
	//
	// {
	//
	//     "activityId": "1512010241743170"
	//
	// }
	ActivityExtInfo map[string]interface{} `json:"ActivityExtInfo,omitempty" xml:"ActivityExtInfo,omitempty"`
	// The amount that can be deducted by using the coupon.
	//
	// example:
	//
	// 4560789
	CanPromFee *float64 `json:"CanPromFee,omitempty" xml:"CanPromFee,omitempty"`
	// The promotion type.
	//
	// example:
	//
	// wanhua_activity
	OptionCode *string `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	// The promotion name.
	//
	// example:
	//
	// [Item with price reduction in xxx] ApsaraDB for MongoDB instances of a full range of specifications - xxx
	PromotionName *string `json:"PromotionName,omitempty" xml:"PromotionName,omitempty"`
	// The promotion ID.
	//
	// example:
	//
	// 1512010241xxxxx
	PromotionOptionNo *string `json:"PromotionOptionNo,omitempty" xml:"PromotionOptionNo,omitempty"`
	// The IDs of the rules that correspond to the coupon.
	PromotionRuleIdList *DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList `json:"PromotionRuleIdList,omitempty" xml:"PromotionRuleIdList,omitempty" type:"Struct"`
	// Indicates whether
	//
	// example:
	//
	// false
	Selected *bool `json:"Selected,omitempty" xml:"Selected,omitempty"`
	// Indicates whether the discount is displayed.
	//
	// example:
	//
	// true
	Show *bool `json:"Show,omitempty" xml:"Show,omitempty"`
	// The specification codes of the product.
	TargetArticleItemCodes *DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionTargetArticleItemCodes `json:"TargetArticleItemCodes,omitempty" xml:"TargetArticleItemCodes,omitempty" type:"Struct"`
}

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetActivityCategory

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetActivityExtInfo

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetCanPromFee

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetOptionCode

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetPromotionName

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetPromotionOptionNo

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetSelected

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) SetShow

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotion) String

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList struct {
	PromotionRuleId []*string `json:"promotionRuleId,omitempty" xml:"promotionRuleId,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList) SetPromotionRuleId

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionPromotionRuleIdList) String

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionTargetArticleItemCodes

type DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionTargetArticleItemCodes struct {
	TargetArticleItemCode []*string `json:"targetArticleItemCode,omitempty" xml:"targetArticleItemCode,omitempty" type:"Repeated"`
}

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionTargetArticleItemCodes) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionTargetArticleItemCodes) SetTargetArticleItemCode

func (DescribePriceResponseBodySubOrdersSubOrderOptionalPromotionsOptionalPromotionTargetArticleItemCodes) String

type DescribePriceResponseBodySubOrdersSubOrderPromDetailList

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

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailList) GoString

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailList) String

type DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail

type DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail struct {
	// The additional activity information.
	//
	// example:
	//
	// {
	//
	//     "activityId": "1512010241743170"
	//
	// }
	ActivityExtInfo map[string]interface{} `json:"ActivityExtInfo,omitempty" xml:"ActivityExtInfo,omitempty"`
	// The sub-type of the promotion.
	//
	// example:
	//
	// subPrice
	DerivedPromType *string `json:"DerivedPromType,omitempty" xml:"DerivedPromType,omitempty"`
	// The discount amount.
	//
	// example:
	//
	// 0.0
	FinalPromFee *float64 `json:"FinalPromFee,omitempty" xml:"FinalPromFee,omitempty"`
	// The code of the coupon.
	//
	// example:
	//
	// youhui_quan
	OptionCode *string `json:"OptionCode,omitempty" xml:"OptionCode,omitempty"`
	// The sub-type of the promotion.
	//
	// example:
	//
	// discount
	PromType *string `json:"PromType,omitempty" xml:"PromType,omitempty"`
	// The coupon code.
	//
	// example:
	//
	// ali-wood
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The promotion ID.
	//
	// example:
	//
	// 233xxxxx
	PromotionId *int64 `json:"PromotionId,omitempty" xml:"PromotionId,omitempty"`
	// The name of the promotional activity.
	//
	// example:
	//
	// [Item with price reduction in x xxxx] ApsaraDB for MongoDB instances of a full range of specifications - xxxxx
	PromotionName *string `json:"PromotionName,omitempty" xml:"PromotionName,omitempty"`
}

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) GoString

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetActivityExtInfo

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetDerivedPromType

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetFinalPromFee

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetOptionCode

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromType

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromotionCode

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromotionId

func (*DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) SetPromotionName

func (DescribePriceResponseBodySubOrdersSubOrderPromDetailListPromDetail) String

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 language of the values of the returned **RegionName*	- and **ZoneName*	- parameters. Valid values:
	//
	// 	- **zh*	- (default)
	//
	// 	- **en**
	//
	// example:
	//
	// zh
	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.
	//
	// >  If you do not specify this parameter, all supported regions are queried.
	//
	// example:
	//
	// cn-hangzhou
	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 (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) SetRegionId

func (*DescribeRegionsRequest) SetResourceOwnerAccount

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

func (*DescribeRegionsRequest) SetResourceOwnerId

func (s *DescribeRegionsRequest) SetResourceOwnerId(v int64) *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 regions.
	Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 4E46C22C-D3B7-4DB8-9C76-63851BE68E20
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionsResponseBody) GoString

func (s DescribeRegionsResponseBody) GoString() string

func (*DescribeRegionsResponseBody) SetRegions

func (*DescribeRegionsResponseBody) SetRequestId

func (DescribeRegionsResponseBody) String

type DescribeRegionsResponseBodyRegions

type DescribeRegionsResponseBodyRegions struct {
	DdsRegion []*DescribeRegionsResponseBodyRegionsDdsRegion `json:"DdsRegion,omitempty" xml:"DdsRegion,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegions) GoString

func (DescribeRegionsResponseBodyRegions) String

type DescribeRegionsResponseBodyRegionsDdsRegion

type DescribeRegionsResponseBodyRegionsDdsRegion struct {
	// The public endpoint of the region.
	//
	// For example, if the value of the RegionId parameter in the response is cn-hangzhou, the following value is returned for the EndPoint parameter:
	//
	// 	- mongodb.aliyuncs.com
	//
	// example:
	//
	// mongodb.aliyuncs.com
	EndPoint *string `json:"EndPoint,omitempty" xml:"EndPoint,omitempty"`
	// The region ID.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the region.
	//
	// The value of the LocalName parameter is in the language that is specified by the **AcceptLanguage*	- parameter. For example, if the value of the RegionId parameter in the response is **cn-hangzhou**, the following values are returned for the LocalName parameter:
	//
	// 	- If the value of the **AcceptLanguage*	- parameter is **zh**, the value **华东1(杭州)*	- is returned for the LocalName parameter.
	//
	// 	- If the value of the **AcceptLanguage*	- parameter is **en**, the value **China (Hangzhou)*	- is returned for the LocalName parameter.
	//
	// example:
	//
	// China (Hangzhou)
	RegionName *string `json:"RegionName,omitempty" xml:"RegionName,omitempty"`
	// The zones.
	Zones *DescribeRegionsResponseBodyRegionsDdsRegionZones `json:"Zones,omitempty" xml:"Zones,omitempty" type:"Struct"`
}

func (DescribeRegionsResponseBodyRegionsDdsRegion) GoString

func (*DescribeRegionsResponseBodyRegionsDdsRegion) SetEndPoint

func (*DescribeRegionsResponseBodyRegionsDdsRegion) SetRegionId

func (*DescribeRegionsResponseBodyRegionsDdsRegion) SetRegionName

func (DescribeRegionsResponseBodyRegionsDdsRegion) String

type DescribeRegionsResponseBodyRegionsDdsRegionZones

type DescribeRegionsResponseBodyRegionsDdsRegionZones struct {
	Zone []*DescribeRegionsResponseBodyRegionsDdsRegionZonesZone `json:"Zone,omitempty" xml:"Zone,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegionsDdsRegionZones) GoString

func (DescribeRegionsResponseBodyRegionsDdsRegionZones) String

type DescribeRegionsResponseBodyRegionsDdsRegionZonesZone

type DescribeRegionsResponseBodyRegionsDdsRegionZonesZone struct {
	// Indicates whether a virtual private cloud (VPC) is supported. Valid values:
	//
	// 	- **true**: VPC is supported.
	//
	// 	- **false**: VPC is not supported.
	//
	// example:
	//
	// true
	VpcEnabled *bool `json:"VpcEnabled,omitempty" xml:"VpcEnabled,omitempty"`
	// The zone ID.
	//
	// example:
	//
	// cn-hangzhou-h
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The name of the zone.
	//
	// The value of the ZoneName parameter is in the language that is specified by the **AcceptLanguage*	- parameter. For example, if the value of the ZoneId parameter in the response is **cn-hangzhou-h**, the following values are returned for the ZoneName parameter:
	//
	// 	- If the value of the **AcceptLanguage*	- parameter is **zh**, the value **H*	- is returned for the ZoneName parameter.
	//
	// 	- If the value of the **AcceptLanguage*	- parameter is **en**, the value **Hangzhou Zone H*	- is returned for the ZoneName parameter.
	//
	// example:
	//
	// Hangzhou Zone H
	ZoneName *string `json:"ZoneName,omitempty" xml:"ZoneName,omitempty"`
}

func (DescribeRegionsResponseBodyRegionsDdsRegionZonesZone) GoString

func (*DescribeRegionsResponseBodyRegionsDdsRegionZonesZone) SetVpcEnabled

func (*DescribeRegionsResponseBodyRegionsDdsRegionZonesZone) SetZoneId

func (*DescribeRegionsResponseBodyRegionsDdsRegionZonesZone) SetZoneName

func (DescribeRegionsResponseBodyRegionsDdsRegionZonesZone) String

type DescribeRenewalPriceRequest

type DescribeRenewalPriceRequest struct {
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The coupon code. Default value: **youhuiquan_promotion_option_id_for_blank**.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	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"`
}

func (DescribeRenewalPriceRequest) GoString

func (s DescribeRenewalPriceRequest) GoString() string

func (*DescribeRenewalPriceRequest) SetBusinessInfo

func (*DescribeRenewalPriceRequest) SetCouponNo

func (*DescribeRenewalPriceRequest) SetDBInstanceId

func (*DescribeRenewalPriceRequest) SetOwnerAccount

func (*DescribeRenewalPriceRequest) SetOwnerId

func (*DescribeRenewalPriceRequest) SetResourceOwnerAccount

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

func (*DescribeRenewalPriceRequest) SetResourceOwnerId

func (DescribeRenewalPriceRequest) String

type DescribeRenewalPriceResponse

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

func (DescribeRenewalPriceResponse) GoString

func (s DescribeRenewalPriceResponse) GoString() string

func (*DescribeRenewalPriceResponse) SetBody

func (*DescribeRenewalPriceResponse) SetHeaders

func (*DescribeRenewalPriceResponse) SetStatusCode

func (DescribeRenewalPriceResponse) String

type DescribeRenewalPriceResponseBody

type DescribeRenewalPriceResponseBody struct {
	// The list of orders.
	Order *DescribeRenewalPriceResponseBodyOrder `json:"Order,omitempty" xml:"Order,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// EFD65226-08CC-4C4D-B6A4-CB3C382F67B0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details about the promotion rules.
	Rules *DescribeRenewalPriceResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Struct"`
	// The rules matching the coupons.
	SubOrders *DescribeRenewalPriceResponseBodySubOrders `json:"SubOrders,omitempty" xml:"SubOrders,omitempty" type:"Struct"`
}

func (DescribeRenewalPriceResponseBody) GoString

func (*DescribeRenewalPriceResponseBody) SetRequestId

func (DescribeRenewalPriceResponseBody) String

type DescribeRenewalPriceResponseBodyOrder

type DescribeRenewalPriceResponseBodyOrder struct {
	// Details about the coupons.
	Coupons *DescribeRenewalPriceResponseBodyOrderCoupons `json:"Coupons,omitempty" xml:"Coupons,omitempty" type:"Struct"`
	// The type of the currency. Valid values:
	//
	// 	- USD: United States dollar
	//
	// 	- JPY: Japanese Yen
	//
	// example:
	//
	// USD
	Currency *string `json:"Currency,omitempty" xml:"Currency,omitempty"`
	// The discount amount of the order.
	//
	// example:
	//
	// 1144.8
	DiscountAmount *float32 `json:"DiscountAmount,omitempty" xml:"DiscountAmount,omitempty"`
	// The original price of the order.
	//
	// example:
	//
	// 1144.8
	OriginalAmount *float32 `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	// The IDs of the matched rules.
	RuleIds *DescribeRenewalPriceResponseBodyOrderRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// The actual price of the order.
	//
	// example:
	//
	// 0
	TradeAmount *float32 `json:"TradeAmount,omitempty" xml:"TradeAmount,omitempty"`
}

func (DescribeRenewalPriceResponseBodyOrder) GoString

func (*DescribeRenewalPriceResponseBodyOrder) SetCurrency

func (*DescribeRenewalPriceResponseBodyOrder) SetDiscountAmount

func (*DescribeRenewalPriceResponseBodyOrder) SetOriginalAmount

func (*DescribeRenewalPriceResponseBodyOrder) SetTradeAmount

func (DescribeRenewalPriceResponseBodyOrder) String

type DescribeRenewalPriceResponseBodyOrderCoupons

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

func (DescribeRenewalPriceResponseBodyOrderCoupons) GoString

func (DescribeRenewalPriceResponseBodyOrderCoupons) String

type DescribeRenewalPriceResponseBodyOrderCouponsCoupon

type DescribeRenewalPriceResponseBodyOrderCouponsCoupon struct {
	// The coupon number.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The description of the coupon.
	//
	// example:
	//
	// coupondemo
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the coupon was selected.
	//
	// example:
	//
	// true
	IsSelected *string `json:"IsSelected,omitempty" xml:"IsSelected,omitempty"`
	// The name of the coupon.
	//
	// example:
	//
	// youhuiquan111
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (DescribeRenewalPriceResponseBodyOrderCouponsCoupon) GoString

func (*DescribeRenewalPriceResponseBodyOrderCouponsCoupon) SetCouponNo

func (*DescribeRenewalPriceResponseBodyOrderCouponsCoupon) SetDescription

func (*DescribeRenewalPriceResponseBodyOrderCouponsCoupon) SetIsSelected

func (*DescribeRenewalPriceResponseBodyOrderCouponsCoupon) SetName

func (DescribeRenewalPriceResponseBodyOrderCouponsCoupon) String

type DescribeRenewalPriceResponseBodyOrderRuleIds

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

func (DescribeRenewalPriceResponseBodyOrderRuleIds) GoString

func (*DescribeRenewalPriceResponseBodyOrderRuleIds) SetRuleId

func (DescribeRenewalPriceResponseBodyOrderRuleIds) String

type DescribeRenewalPriceResponseBodyRules

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

func (DescribeRenewalPriceResponseBodyRules) GoString

func (DescribeRenewalPriceResponseBodyRules) String

type DescribeRenewalPriceResponseBodyRulesRule

type DescribeRenewalPriceResponseBodyRulesRule struct {
	// The name of the rule.
	//
	// example:
	//
	// demoname
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The ID of the rule.
	//
	// example:
	//
	// 11111111
	RuleDescId *int64 `json:"RuleDescId,omitempty" xml:"RuleDescId,omitempty"`
	// The title of the rule.
	//
	// example:
	//
	// demo
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
}

func (DescribeRenewalPriceResponseBodyRulesRule) GoString

func (*DescribeRenewalPriceResponseBodyRulesRule) SetName

func (*DescribeRenewalPriceResponseBodyRulesRule) SetRuleDescId

func (*DescribeRenewalPriceResponseBodyRulesRule) SetTitle

func (DescribeRenewalPriceResponseBodyRulesRule) String

type DescribeRenewalPriceResponseBodySubOrders

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

func (DescribeRenewalPriceResponseBodySubOrders) GoString

func (DescribeRenewalPriceResponseBodySubOrders) String

type DescribeRenewalPriceResponseBodySubOrdersSubOrder

type DescribeRenewalPriceResponseBodySubOrdersSubOrder struct {
	// The discount amount of the order.
	//
	// example:
	//
	// 1144.8
	DiscountAmount *float32 `json:"DiscountAmount,omitempty" xml:"DiscountAmount,omitempty"`
	// The ID of the instance.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The original price of the order.
	//
	// example:
	//
	// 1144.8
	OriginalAmount *float32 `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	// The IDs of the matched rules.
	RuleIds *DescribeRenewalPriceResponseBodySubOrdersSubOrderRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// The actual price of the order.
	//
	// example:
	//
	// 0
	TradeAmount *float32 `json:"TradeAmount,omitempty" xml:"TradeAmount,omitempty"`
}

func (DescribeRenewalPriceResponseBodySubOrdersSubOrder) GoString

func (*DescribeRenewalPriceResponseBodySubOrdersSubOrder) SetDiscountAmount

func (*DescribeRenewalPriceResponseBodySubOrdersSubOrder) SetInstanceId

func (*DescribeRenewalPriceResponseBodySubOrdersSubOrder) SetOriginalAmount

func (*DescribeRenewalPriceResponseBodySubOrdersSubOrder) SetTradeAmount

func (DescribeRenewalPriceResponseBodySubOrdersSubOrder) String

type DescribeRenewalPriceResponseBodySubOrdersSubOrderRuleIds

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

func (DescribeRenewalPriceResponseBodySubOrdersSubOrderRuleIds) GoString

func (*DescribeRenewalPriceResponseBodySubOrdersSubOrderRuleIds) SetRuleId

func (DescribeRenewalPriceResponseBodySubOrdersSubOrderRuleIds) String

type DescribeReplicaSetRoleRequest

type DescribeReplicaSetRoleRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DescribeReplicaSetRoleRequest) GoString

func (*DescribeReplicaSetRoleRequest) SetDBInstanceId

func (*DescribeReplicaSetRoleRequest) SetOwnerAccount

func (*DescribeReplicaSetRoleRequest) SetOwnerId

func (*DescribeReplicaSetRoleRequest) SetResourceOwnerAccount

func (*DescribeReplicaSetRoleRequest) SetResourceOwnerId

func (DescribeReplicaSetRoleRequest) String

type DescribeReplicaSetRoleResponse

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

func (DescribeReplicaSetRoleResponse) GoString

func (*DescribeReplicaSetRoleResponse) SetHeaders

func (*DescribeReplicaSetRoleResponse) SetStatusCode

func (DescribeReplicaSetRoleResponse) String

type DescribeReplicaSetRoleResponseBody

type DescribeReplicaSetRoleResponseBody struct {
	// The instance ID.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details of the roles of the replica set instance.
	ReplicaSets *DescribeReplicaSetRoleResponseBodyReplicaSets `json:"ReplicaSets,omitempty" xml:"ReplicaSets,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// DB4A0595-FCA9-437F-B2BB-25DBFC009D3E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeReplicaSetRoleResponseBody) GoString

func (*DescribeReplicaSetRoleResponseBody) SetDBInstanceId

func (*DescribeReplicaSetRoleResponseBody) SetRequestId

func (DescribeReplicaSetRoleResponseBody) String

type DescribeReplicaSetRoleResponseBodyReplicaSets

type DescribeReplicaSetRoleResponseBodyReplicaSets struct {
	ReplicaSet []*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet `json:"ReplicaSet,omitempty" xml:"ReplicaSet,omitempty" type:"Repeated"`
}

func (DescribeReplicaSetRoleResponseBodyReplicaSets) GoString

func (DescribeReplicaSetRoleResponseBodyReplicaSets) String

type DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet

type DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet struct {
	// The endpoint of the node.
	//
	// example:
	//
	// dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com
	ConnectionDomain *string `json:"ConnectionDomain,omitempty" xml:"ConnectionDomain,omitempty"`
	// The port number that is used to connect to the node.
	//
	// example:
	//
	// 3717
	ConnectionPort *string `json:"ConnectionPort,omitempty" xml:"ConnectionPort,omitempty"`
	// The connection type of the node.
	//
	// example:
	//
	// SRV
	ConnectionType *string `json:"ConnectionType,omitempty" xml:"ConnectionType,omitempty"`
	// The remaining duration of the classic network endpoint. Unit: seconds.
	//
	// example:
	//
	// 1209582
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The network type of the instance. Valid values:
	//
	// 	- **VPC**: the virtual private cloud (VPC)
	//
	// 	- **Classic**: the classic network
	//
	// 	- **Public**: the Internet
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The role of the node in the replica set instance. Valid values:
	//
	// 	- **Primary**
	//
	// 	- **Secondary**
	//
	// example:
	//
	// Primary
	ReplicaSetRole *string `json:"ReplicaSetRole,omitempty" xml:"ReplicaSetRole,omitempty"`
	// The role ID of the node.
	//
	// example:
	//
	// 651xxxxx
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
}

func (DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) GoString

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetConnectionDomain

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetConnectionPort

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetConnectionType added in v9.1.0

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetExpiredTime

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetNetworkType

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetReplicaSetRole

func (*DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) SetRoleId

func (DescribeReplicaSetRoleResponseBodyReplicaSetsReplicaSet) String

type DescribeRestoreDBInstanceListRequest added in v9.1.0

type DescribeRestoreDBInstanceListRequest struct {
	// Find instances created after the specified time, formatted as <i>yyyy-MM-dd</i>T<i>HH:00:00</i>Z (UTC time).
	//
	// >
	//
	// > - The time must be on the hour.
	//
	// > - The time cannot be earlier than 7 days before the current time.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024-07-24T14:00:00Z
	CreationTimeAfter *string `json:"CreationTimeAfter,omitempty" xml:"CreationTimeAfter,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp114f14849d****
	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 page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	//
	// example:
	//
	// 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"`
}

func (DescribeRestoreDBInstanceListRequest) GoString added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetCreationTimeAfter added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetDBInstanceId added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetOwnerAccount added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetOwnerId added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetPageNumber added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetPageSize added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetResourceOwnerAccount added in v9.1.0

func (*DescribeRestoreDBInstanceListRequest) SetResourceOwnerId added in v9.1.0

func (DescribeRestoreDBInstanceListRequest) String added in v9.1.0

type DescribeRestoreDBInstanceListResponse added in v9.1.0

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

func (DescribeRestoreDBInstanceListResponse) GoString added in v9.1.0

func (*DescribeRestoreDBInstanceListResponse) SetBody added in v9.1.0

func (*DescribeRestoreDBInstanceListResponse) SetHeaders added in v9.1.0

func (*DescribeRestoreDBInstanceListResponse) SetStatusCode added in v9.1.0

func (DescribeRestoreDBInstanceListResponse) String added in v9.1.0

type DescribeRestoreDBInstanceListResponseBody added in v9.1.0

type DescribeRestoreDBInstanceListResponseBody struct {
	// DB instances list.
	DBInstances *DescribeRestoreDBInstanceListResponseBodyDBInstances `json:"DBInstances,omitempty" xml:"DBInstances,omitempty" type:"Struct"`
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 1AF0AD89-ED4F-44AD-B65F-BFC1D5Cxxxxx
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of instances in the query results.
	//
	// example:
	//
	// 5
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeRestoreDBInstanceListResponseBody) GoString added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBody) SetDBInstances added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBody) SetPageNumber added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBody) SetPageSize added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBody) SetRequestId added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBody) SetTotalCount added in v9.1.0

func (DescribeRestoreDBInstanceListResponseBody) String added in v9.1.0

type DescribeRestoreDBInstanceListResponseBodyDBInstances added in v9.1.0

type DescribeRestoreDBInstanceListResponseBodyDBInstances struct {
	DBInstance []*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance `json:"DBInstance,omitempty" xml:"DBInstance,omitempty" type:"Repeated"`
}

func (DescribeRestoreDBInstanceListResponseBodyDBInstances) GoString added in v9.1.0

func (DescribeRestoreDBInstanceListResponseBodyDBInstances) String added in v9.1.0

type DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance added in v9.1.0

type DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance struct {
	// The time of instance creation, formatted as <i>yyyy-MM-dd</i>T<i>HH:00:00</i>Z (UTC time).
	//
	// example:
	//
	// 2022-01-02T07:43:59Z
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The description of the instance.
	//
	// example:
	//
	// test-database
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance states](https://help.aliyun.com/document_detail/63870.html).
	//
	// example:
	//
	// Running
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The architecture of the instance. Valid values:
	//
	// 	- **sharding**: sharded cluster instance
	//
	// 	- **replicate**: replica set or standalone instance
	//
	// example:
	//
	// replicate
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// 	- **7.0**
	//
	// 	- **6.0**
	//
	// 	- **5.0**
	//
	// 	- **4.4**
	//
	// 	- **4.2**
	//
	// 	- **4.0**
	//
	// 	- **3.4**
	//
	// example:
	//
	// 4.2
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The secondary availability zone 2 for the instance when implementing multi-AZ deployment.
	//
	// example:
	//
	// cn-hangzhou-h
	HiddenZoneId *string `json:"HiddenZoneId,omitempty" xml:"HiddenZoneId,omitempty"`
	// Specifies whether the instance is deleted. Valid values:
	//
	// 	- **0**: not deleted
	//
	// 	- **1**: deleted
	//
	// example:
	//
	// 0
	IsDeleted *int32 `json:"IsDeleted,omitempty" xml:"IsDeleted,omitempty"`
	// The locked state of the instance, value description:
	//
	// - Unlock: Normal.
	//
	// - ManualLock: Manually triggered lock.
	//
	// - LockByExpiration: Automatically locked due to expiration.
	//
	// - LockByRestoration: Automatically locked before restoration.
	//
	// - LockByDiskQuota: Automatically locked due to disk quota exceeded.
	//
	// example:
	//
	// Unlock
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The region ID of the instance.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The secondary availability zone 1 for the instance when implementing multi-AZ deployment.
	//
	// example:
	//
	// cn-hangzhou-i
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The zone ID of the instance.
	//
	// example:
	//
	// cn-hangzhou-g
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) GoString added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetCreationTime added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetDBInstanceDescription added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetDBInstanceId added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetDBInstanceStatus added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetDBInstanceType added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetEngineVersion added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetHiddenZoneId added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetIsDeleted added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetLockMode added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetRegionId added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetSecondaryZoneId added in v9.1.0

func (*DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) SetZoneId added in v9.1.0

func (DescribeRestoreDBInstanceListResponseBodyDBInstancesDBInstance) String added in v9.1.0

type DescribeRoleZoneInfoRequest

type DescribeRoleZoneInfoRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DescribeRoleZoneInfoRequest) GoString

func (s DescribeRoleZoneInfoRequest) GoString() string

func (*DescribeRoleZoneInfoRequest) SetDBInstanceId

func (*DescribeRoleZoneInfoRequest) SetOwnerAccount

func (*DescribeRoleZoneInfoRequest) SetOwnerId

func (*DescribeRoleZoneInfoRequest) SetResourceOwnerAccount

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

func (*DescribeRoleZoneInfoRequest) SetResourceOwnerId

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 {
	// The request ID.
	//
	// example:
	//
	// 728B9A96-E262-4AE5-915E-3A51CCE2FDA9
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of nodes in the zone.
	ZoneInfos *DescribeRoleZoneInfoResponseBodyZoneInfos `json:"ZoneInfos,omitempty" xml:"ZoneInfos,omitempty" type:"Struct"`
}

func (DescribeRoleZoneInfoResponseBody) GoString

func (*DescribeRoleZoneInfoResponseBody) SetRequestId

func (DescribeRoleZoneInfoResponseBody) String

type DescribeRoleZoneInfoResponseBodyZoneInfos

type DescribeRoleZoneInfoResponseBodyZoneInfos struct {
	ZoneInfo []*DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo `json:"ZoneInfo,omitempty" xml:"ZoneInfo,omitempty" type:"Repeated"`
}

func (DescribeRoleZoneInfoResponseBodyZoneInfos) GoString

func (DescribeRoleZoneInfoResponseBodyZoneInfos) String

type DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo

type DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo struct {
	// The ID of the node.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The type of the node. Valid values:
	//
	// 	- **normal**
	//
	// 	- **configServer**
	//
	// 	- **shard**
	//
	// 	- **mongos**
	//
	// > Valid value for replica set instances: **normal**. Valid values for sharded cluster instances: **configServer**, **shard**, and **mongos**.
	//
	// example:
	//
	// normal
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The role ID.
	//
	// example:
	//
	// 83xxxxx
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The role of the node. Valid values:
	//
	// 	- **Primary**
	//
	// 	- **Secondary**
	//
	// 	- **Hidden**
	//
	// example:
	//
	// Primary
	RoleType *string `json:"RoleType,omitempty" xml:"RoleType,omitempty"`
	// The zone ID of the node.
	//
	// example:
	//
	// cn-hangzhou-e
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) GoString

func (*DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) SetInsName

func (*DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) SetNodeType

func (*DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) SetRoleId

func (*DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) SetRoleType

func (*DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) SetZoneId

func (DescribeRoleZoneInfoResponseBodyZoneInfosZoneInfo) String

type DescribeRunningLogRecordsRequest

type DescribeRunningLogRecordsRequest struct {
	// The ID of the instance.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	//
	// example:
	//
	// mongodbtest
	DBName *string `json:"DBName,omitempty" xml:"DBName,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 and within 24 hours from the start time. Otherwise, the query fails.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-01-01T13:10Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The logical relationship among multiple keywords.
	//
	// 	- **or**
	//
	// 	- **and*	- (default value)
	//
	// example:
	//
	// and
	LogicalOperator *string `json:"LogicalOperator,omitempty" xml:"LogicalOperator,omitempty"`
	// The ID of the mongos node or shard node whose operational logs you want to query in the instance. If the instance is a sharded cluster instance, you must specify this parameter.
	//
	// >  This parameter is valid only when **DBInstanceId*	- is set to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bpxxxxxxxx
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The order of time in which the operational log entries to return are sorted. Valid values:
	//
	// 	- asc: The log entries are sorted by time in ascending order.
	//
	// 	- desc: The log entries are sorted by time in descending order.
	//
	// example:
	//
	// asc
	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**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30*	- to **100**.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keywords used for query. You can enter up to 10 keywords at a time. If you enter multiple keywords, separate the keywords with spaces.
	//
	// example:
	//
	// test test2
	QueryKeywords *string `json:"QueryKeywords,omitempty" xml:"QueryKeywords,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// sg-bpxxxxxxxxxxxxxxxxxx
	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 ID of the node. You can call the [DescribeReplicaSetRole](https://help.aliyun.com/document_detail/62134.html) operation to query the role ID.
	//
	// example:
	//
	// 651xxxxx
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The role of the node whose error logs you want to query in the instance. Valid values:
	//
	// 	- **primary**
	//
	// 	- **secondary**
	//
	// >  If you set the **NodeId*	- parameter to the ID of a mongos node, the **RoleType*	- parameter must be set to **primary**.
	//
	// example:
	//
	// primary
	RoleType *string `json:"RoleType,omitempty" xml:"RoleType,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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-01-01T12:10Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeRunningLogRecordsRequest) GoString

func (*DescribeRunningLogRecordsRequest) SetDBInstanceId

func (*DescribeRunningLogRecordsRequest) SetDBName

func (*DescribeRunningLogRecordsRequest) SetEndTime

func (*DescribeRunningLogRecordsRequest) SetLogicalOperator

func (*DescribeRunningLogRecordsRequest) SetNodeId

func (*DescribeRunningLogRecordsRequest) SetOrderType

func (*DescribeRunningLogRecordsRequest) SetOwnerAccount

func (*DescribeRunningLogRecordsRequest) SetOwnerId

func (*DescribeRunningLogRecordsRequest) SetPageNumber

func (*DescribeRunningLogRecordsRequest) SetPageSize

func (*DescribeRunningLogRecordsRequest) SetQueryKeywords

func (*DescribeRunningLogRecordsRequest) SetResourceGroupId

func (*DescribeRunningLogRecordsRequest) SetResourceOwnerAccount

func (*DescribeRunningLogRecordsRequest) SetResourceOwnerId

func (*DescribeRunningLogRecordsRequest) SetRoleId

func (*DescribeRunningLogRecordsRequest) SetRoleType

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 database engine.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// Details about the operational log entries.
	Items *DescribeRunningLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The number of the page to return.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	//
	// example:
	//
	// 30
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 45D2B592-DEBA-4347-BBF3-47FF6C97DBBC
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries.
	//
	// example:
	//
	// 2
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeRunningLogRecordsResponseBody) GoString

func (*DescribeRunningLogRecordsResponseBody) SetEngine

func (*DescribeRunningLogRecordsResponseBody) SetPageNumber

func (*DescribeRunningLogRecordsResponseBody) SetPageRecordCount

func (*DescribeRunningLogRecordsResponseBody) SetRequestId

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 category of the log entry.
	//
	// example:
	//
	// NETWORK
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The connection information of the log entry.
	//
	// example:
	//
	// conn18xxxxxx
	ConnInfo *string `json:"ConnInfo,omitempty" xml:"ConnInfo,omitempty"`
	// The content of the log entry.
	//
	// example:
	//
	// end connection 11.xxx.xxx.xx:3xxxx (0 connections now open)\\n
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The time when the log entry was generated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// example:
	//
	// 2019-02-26T12:09:34Z
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
}

func (DescribeRunningLogRecordsResponseBodyItemsLogRecords) GoString

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetCategory

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetConnInfo

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetContent

func (*DescribeRunningLogRecordsResponseBodyItemsLogRecords) SetCreateTime

func (DescribeRunningLogRecordsResponseBodyItemsLogRecords) String

type DescribeSecurityGroupConfigurationRequest

type DescribeSecurityGroupConfigurationRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (DescribeSecurityGroupConfigurationRequest) GoString

func (*DescribeSecurityGroupConfigurationRequest) SetDBInstanceId

func (*DescribeSecurityGroupConfigurationRequest) SetOwnerAccount

func (*DescribeSecurityGroupConfigurationRequest) SetOwnerId

func (*DescribeSecurityGroupConfigurationRequest) SetResourceOwnerAccount

func (*DescribeSecurityGroupConfigurationRequest) SetResourceOwnerId

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 {
	// Details about the ECS security groups.
	Items *DescribeSecurityGroupConfigurationResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// 3C4A2494-85C4-45C5-93CF-548DB3375193
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponseBody) GoString

func (*DescribeSecurityGroupConfigurationResponseBody) SetRequestId

func (DescribeSecurityGroupConfigurationResponseBody) String

type DescribeSecurityGroupConfigurationResponseBodyItems

type DescribeSecurityGroupConfigurationResponseBodyItems struct {
	RdsEcsSecurityGroupRel []*DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel `json:"RdsEcsSecurityGroupRel,omitempty" xml:"RdsEcsSecurityGroupRel,omitempty" type:"Repeated"`
}

func (DescribeSecurityGroupConfigurationResponseBodyItems) GoString

func (DescribeSecurityGroupConfigurationResponseBodyItems) String

type DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel

type DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel struct {
	// The network type of the ECS security group. Valid values:
	//
	// 	- **vpc**
	//
	// 	- **classic**
	//
	// example:
	//
	// vpc
	NetType *string `json:"NetType,omitempty" xml:"NetType,omitempty"`
	// The region ID of the ECS security group.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the ECS security group.
	//
	// example:
	//
	// sg-bpxxxxxxxx
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel) GoString

func (*DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel) SetNetType

func (*DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel) SetRegionId

func (*DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel) SetSecurityGroupId

func (DescribeSecurityGroupConfigurationResponseBodyItemsRdsEcsSecurityGroupRel) String

type DescribeSecurityIpsRequest

type DescribeSecurityIpsRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
	// Whether to display DAS whitelist information.
	//
	// example:
	//
	// true
	ShowHDMIps *bool `json:"ShowHDMIps,omitempty" xml:"ShowHDMIps,omitempty"`
}

func (DescribeSecurityIpsRequest) GoString

func (s DescribeSecurityIpsRequest) GoString() string

func (*DescribeSecurityIpsRequest) SetDBInstanceId

func (*DescribeSecurityIpsRequest) SetOwnerAccount

func (*DescribeSecurityIpsRequest) SetOwnerId

func (*DescribeSecurityIpsRequest) SetResourceOwnerAccount

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

func (*DescribeSecurityIpsRequest) SetResourceOwnerId

func (*DescribeSecurityIpsRequest) SetShowHDMIps

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.
	//
	// example:
	//
	// FC724D23-2962-479E-ABB1-606C935AE7FD
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array that consists of the information of IP whitelists.
	SecurityIpGroups *DescribeSecurityIpsResponseBodySecurityIpGroups `json:"SecurityIpGroups,omitempty" xml:"SecurityIpGroups,omitempty" type:"Struct"`
	// The IP addresses in the default whitelist.
	//
	// example:
	//
	// 47.xxx.xxx.xx,100.xxx.xxx.0/24
	SecurityIps *string `json:"SecurityIps,omitempty" xml:"SecurityIps,omitempty"`
}

func (DescribeSecurityIpsResponseBody) GoString

func (*DescribeSecurityIpsResponseBody) SetRequestId

func (*DescribeSecurityIpsResponseBody) SetSecurityIps

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 IP address whitelist.
	//
	// example:
	//
	// hidden
	SecurityIpGroupAttribute *string `json:"SecurityIpGroupAttribute,omitempty" xml:"SecurityIpGroupAttribute,omitempty"`
	// The name of the IP whitelist.
	//
	// example:
	//
	// default
	SecurityIpGroupName *string `json:"SecurityIpGroupName,omitempty" xml:"SecurityIpGroupName,omitempty"`
	// The name of the IP whitelist.
	//
	// example:
	//
	// 47.xxx.xxx.xx,100.xxx.xxx.0/24
	SecurityIpList *string `json:"SecurityIpList,omitempty" xml:"SecurityIpList,omitempty"`
}

func (DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) GoString

func (*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) SetSecurityIpGroupAttribute

func (*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) SetSecurityIpGroupName

func (*DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) SetSecurityIpList

func (DescribeSecurityIpsResponseBodySecurityIpGroupsSecurityIpGroup) String

type DescribeShardingNetworkAddressRequest

type DescribeShardingNetworkAddressRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
	//
	// >  You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to view the ID of the mongos, shard, or Configserver node.
	//
	// example:
	//
	// d-bpxxxxxxxx
	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"`
}

func (DescribeShardingNetworkAddressRequest) GoString

func (*DescribeShardingNetworkAddressRequest) SetDBInstanceId

func (*DescribeShardingNetworkAddressRequest) SetNodeId

func (*DescribeShardingNetworkAddressRequest) SetOwnerAccount

func (*DescribeShardingNetworkAddressRequest) SetOwnerId

func (*DescribeShardingNetworkAddressRequest) SetResourceOwnerAccount

func (*DescribeShardingNetworkAddressRequest) SetResourceOwnerId

func (DescribeShardingNetworkAddressRequest) String

type DescribeShardingNetworkAddressResponse

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

func (DescribeShardingNetworkAddressResponse) GoString

func (*DescribeShardingNetworkAddressResponse) SetHeaders

func (*DescribeShardingNetworkAddressResponse) SetStatusCode

func (DescribeShardingNetworkAddressResponse) String

type DescribeShardingNetworkAddressResponseBody

type DescribeShardingNetworkAddressResponseBody struct {
	// The endpoints of DynamoDB-compatible instances.
	CompatibleConnections *DescribeShardingNetworkAddressResponseBodyCompatibleConnections `json:"CompatibleConnections,omitempty" xml:"CompatibleConnections,omitempty" type:"Struct"`
	// The endpoints of the ApsaraDB for MongoDB sharded cluster instance.
	NetworkAddresses *DescribeShardingNetworkAddressResponseBodyNetworkAddresses `json:"NetworkAddresses,omitempty" xml:"NetworkAddresses,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 18D8AAFD-6BEB-420F-8164-810CB0C0AA39
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeShardingNetworkAddressResponseBody) GoString

func (*DescribeShardingNetworkAddressResponseBody) SetRequestId

func (DescribeShardingNetworkAddressResponseBody) String

type DescribeShardingNetworkAddressResponseBodyCompatibleConnections

type DescribeShardingNetworkAddressResponseBodyCompatibleConnections struct {
	CompatibleConnection []*DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection `json:"CompatibleConnection,omitempty" xml:"CompatibleConnection,omitempty" type:"Repeated"`
}

func (DescribeShardingNetworkAddressResponseBodyCompatibleConnections) GoString

func (DescribeShardingNetworkAddressResponseBodyCompatibleConnections) String

type DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection

type DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection struct {
	// The remaining duration of the classic network endpoint. Unit: seconds.
	//
	// example:
	//
	// 2591963
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The IP address of the instance.
	//
	// example:
	//
	// 10.140.xxx.xx
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The endpoint of the instance.
	//
	// example:
	//
	// dds-bpxxxxxxxxxxxxxx.mongodb.rds.aliyuncs.com
	NetworkAddress *string `json:"NetworkAddress,omitempty" xml:"NetworkAddress,omitempty"`
	// The network type of the instance.
	//
	// 	- **VPC**: virtual private cloud
	//
	// 	- **Classic**: classic network
	//
	// 	- **Public**: the Internet
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The port that is used to connect to the instance.
	//
	// example:
	//
	// 3717
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The VPC ID of the instance.
	//
	// >  This parameter is returned when the network type is **VPC**.
	//
	// example:
	//
	// vpc-bpxxxxxxxx
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch in the Virtual Private Cloud (VPC).
	//
	// >  This parameter is returned when the network type is **VPC**.
	//
	// example:
	//
	// vsw-bpxxxxxxxx
	VswitchId *string `json:"VswitchId,omitempty" xml:"VswitchId,omitempty"`
}

func (DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) GoString

func (*DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) SetExpiredTime

func (*DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) SetIPAddress

func (*DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) SetNetworkAddress

func (*DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) SetNetworkType

func (*DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) SetVswitchId

func (DescribeShardingNetworkAddressResponseBodyCompatibleConnectionsCompatibleConnection) String

type DescribeShardingNetworkAddressResponseBodyNetworkAddresses

type DescribeShardingNetworkAddressResponseBodyNetworkAddresses struct {
	NetworkAddress []*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress `json:"NetworkAddress,omitempty" xml:"NetworkAddress,omitempty" type:"Repeated"`
}

func (DescribeShardingNetworkAddressResponseBodyNetworkAddresses) GoString

func (DescribeShardingNetworkAddressResponseBodyNetworkAddresses) String

type DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress

type DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress struct {
	// The public endpoint type. Valid values:
	//
	// 	- **SRV**
	//
	// 	- **Normal**
	//
	// example:
	//
	// SRV
	ConnectionType *string `json:"ConnectionType,omitempty" xml:"ConnectionType,omitempty"`
	// The remaining duration of the classic network endpoint. Unit: seconds.
	//
	// example:
	//
	// 2591963
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The IP address of the instance.
	//
	// example:
	//
	// 10.140.xxx.xx
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The connection string of the instance.
	//
	// example:
	//
	// s-bpxxxxxxxx.mongodb.rds.aliyuncs.com
	NetworkAddress *string `json:"NetworkAddress,omitempty" xml:"NetworkAddress,omitempty"`
	// The network type of the instance.
	//
	// 	- **VPC**: virtual private cloud
	//
	// 	- **Classic**: classic network
	//
	// 	- **Public**: the Internet
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The ID of the mongos node.
	//
	// example:
	//
	// s-bpxxxxxxxx
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The type of the node. Valid values:
	//
	// 	- **mongos**: mongos node
	//
	// 	- **shard**: shard node
	//
	// 	- **configserver**: Configserver node
	//
	// example:
	//
	// mongos
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The port that is used to connect to the instance.
	//
	// example:
	//
	// 3717
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The role of the node. Valid values:
	//
	// 	- Primary
	//
	// 	- Secondary
	//
	// example:
	//
	// Primary
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// Txt record which can be used to store MongoDB-related meta data, such as version, configuration parameters and etc. With the combination of txt record and other technology, for example SRV record, the MongoDB client can complete the complex service discovery and configuration passing.
	//
	// example:
	//
	// mongo.example.com. IN TXT "config=replicaSet=myReplicaSet"
	TxtRecord *string `json:"TxtRecord,omitempty" xml:"TxtRecord,omitempty"`
	// The VPC ID of the instance.
	//
	// >  This parameter is returned when the network type is **VPC**.
	//
	// example:
	//
	// vpc-bpxxxxxxxx
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch in the VPC.
	//
	// >  This parameter is returned when the network type is **VPC**.
	//
	// example:
	//
	// vsw-bpxxxxxxxx
	VswitchId *string `json:"VswitchId,omitempty" xml:"VswitchId,omitempty"`
}

func (DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) GoString

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetConnectionType added in v9.1.0

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetExpiredTime

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetIPAddress

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetNetworkAddress

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetNetworkType

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetNodeId

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetNodeType

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetPort

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetRole

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetTxtRecord added in v9.1.0

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetVPCId

func (*DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) SetVswitchId

func (DescribeShardingNetworkAddressResponseBodyNetworkAddressesNetworkAddress) String

type DescribeSlowLogRecordsRequest

type DescribeSlowLogRecordsRequest struct {
	// The instance ID.
	//
	// > If you set this parameter to the ID of a sharded cluster instance, you must also specify the `NodeId` parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1fc7e65108****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	//
	// example:
	//
	// mongodbtest
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The end 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.
	//
	// >
	//
	// 	- The end time must be later than the start time.
	//
	// 	- The end time must be within 24 hours from the start time. Otherwise, the query fails.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-16T14:13Z
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The logical relationship among multiple keywords.
	//
	// 	- **or**
	//
	// 	- **and*	- (default value)
	//
	// example:
	//
	// and
	LogicalOperator *string `json:"LogicalOperator,omitempty" xml:"LogicalOperator,omitempty"`
	// The ID of the shard node.
	//
	// > This parameter is required only when you specify the `DBInstanceId` parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp18b06ebc21****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The order of time in which the log entries to return are sorted. Valid values:
	//
	// 	- asc: The log entries are sorted by time in ascending order.
	//
	// 	- desc: The log entries are sorted by time in descending order.
	//
	// example:
	//
	// asc
	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 page number of the page to return. The value must be a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30*	- to **100**.
	//
	// example:
	//
	// 30
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keywords used for query. You can enter up to 10 keywords at a time. If you enter multiple keywords, separate the keywords with spaces.
	//
	// example:
	//
	// test test1
	QueryKeywords *string `json:"QueryKeywords,omitempty" xml:"QueryKeywords,omitempty"`
	// The ID of the resource group to which the instances you want to query belong.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2021-08-15T14:13Z
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSlowLogRecordsRequest) GoString

func (*DescribeSlowLogRecordsRequest) SetDBInstanceId

func (*DescribeSlowLogRecordsRequest) SetDBName

func (*DescribeSlowLogRecordsRequest) SetEndTime

func (*DescribeSlowLogRecordsRequest) SetLogicalOperator

func (*DescribeSlowLogRecordsRequest) SetNodeId

func (*DescribeSlowLogRecordsRequest) SetOrderType

func (*DescribeSlowLogRecordsRequest) SetOwnerAccount

func (*DescribeSlowLogRecordsRequest) SetOwnerId

func (*DescribeSlowLogRecordsRequest) SetPageNumber

func (*DescribeSlowLogRecordsRequest) SetPageSize

func (*DescribeSlowLogRecordsRequest) SetQueryKeywords

func (*DescribeSlowLogRecordsRequest) SetResourceGroupId

func (*DescribeSlowLogRecordsRequest) SetResourceOwnerAccount

func (*DescribeSlowLogRecordsRequest) SetResourceOwnerId

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.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// An array that consists of the information about each slow query.
	Items *DescribeSlowLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page. The value is a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of slow query log entries returned on the page.
	//
	// example:
	//
	// 1
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 8076C4BA-DDBD-529C-BFF4-D8620C3F****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	//
	// example:
	//
	// 1
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSlowLogRecordsResponseBody) GoString

func (*DescribeSlowLogRecordsResponseBody) SetEngine

func (*DescribeSlowLogRecordsResponseBody) SetPageNumber

func (*DescribeSlowLogRecordsResponseBody) SetPageRecordCount

func (*DescribeSlowLogRecordsResponseBody) SetRequestId

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 username of the database account that performs the operation.
	//
	// example:
	//
	// test
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The name of the database.
	//
	// example:
	//
	// mongodbtest
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The number of documents that are scanned during the operation.
	//
	// example:
	//
	// 1000000
	DocsExamined *int64 `json:"DocsExamined,omitempty" xml:"DocsExamined,omitempty"`
	// The start time of the 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.
	//
	// example:
	//
	// 2019-02-25T 01:41:28Z
	ExecutionStartTime *string `json:"ExecutionStartTime,omitempty" xml:"ExecutionStartTime,omitempty"`
	// The host IP address that is used to connect to the database.
	//
	// example:
	//
	// 192.168.XX.XX
	HostAddress *string `json:"HostAddress,omitempty" xml:"HostAddress,omitempty"`
	// The number of rows involved in index scans.
	//
	// example:
	//
	// 0
	KeysExamined *int64 `json:"KeysExamined,omitempty" xml:"KeysExamined,omitempty"`
	// The execution time of the statement. Unit: milliseconds.
	//
	// example:
	//
	// 600
	QueryTimes *string `json:"QueryTimes,omitempty" xml:"QueryTimes,omitempty"`
	// The number of rows returned by the SQL statement.
	//
	// example:
	//
	// 0
	ReturnRowCounts *int64 `json:"ReturnRowCounts,omitempty" xml:"ReturnRowCounts,omitempty"`
	// The SQL statement that is executed during the slow operation.
	//
	// example:
	//
	// {\\"op\\":\\"query\\",\\"ns\\":\\"mongodbtest.customer\\",\\"query\\":{\\"find\\":\\"customer\\",\\"filter\\":{\\"name\\":\\"jack\\"}}}
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
	// The name of the collection.
	//
	// example:
	//
	// C1
	TableName *string `json:"TableName,omitempty" xml:"TableName,omitempty"`
}

func (DescribeSlowLogRecordsResponseBodyItemsLogRecords) GoString

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetAccountName

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetDBName

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetDocsExamined

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetExecutionStartTime

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetHostAddress

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetKeysExamined

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetQueryTimes

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetReturnRowCounts

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetSQLText

func (*DescribeSlowLogRecordsResponseBodyItemsLogRecords) SetTableName

func (DescribeSlowLogRecordsResponseBodyItemsLogRecords) String

type DescribeTagsRequest

type DescribeTagsRequest 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 pass in the NextToken value returned in the previous query to perform the query again.
	//
	// example:
	//
	// 212db86****
	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. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// dds-bp17e7a04960****
	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 resource type. Set the value to **INSTANCE**.
	//
	// example:
	//
	// INSTANCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (DescribeTagsRequest) GoString

func (s DescribeTagsRequest) GoString() string

func (*DescribeTagsRequest) SetNextToken

func (s *DescribeTagsRequest) SetNextToken(v string) *DescribeTagsRequest

func (*DescribeTagsRequest) SetOwnerAccount

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

func (*DescribeTagsRequest) SetOwnerId

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

func (*DescribeTagsRequest) SetRegionId

func (s *DescribeTagsRequest) SetRegionId(v string) *DescribeTagsRequest

func (*DescribeTagsRequest) SetResourceGroupId

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

func (*DescribeTagsRequest) SetResourceOwnerAccount

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

func (*DescribeTagsRequest) SetResourceOwnerId

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

func (*DescribeTagsRequest) SetResourceType

func (s *DescribeTagsRequest) SetResourceType(v string) *DescribeTagsRequest

func (DescribeTagsRequest) String

func (s DescribeTagsRequest) String() string

type DescribeTagsResponse

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

func (DescribeTagsResponse) GoString

func (s DescribeTagsResponse) GoString() string

func (*DescribeTagsResponse) SetBody

func (*DescribeTagsResponse) SetHeaders

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

func (*DescribeTagsResponse) SetStatusCode

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

func (DescribeTagsResponse) String

func (s DescribeTagsResponse) String() string

type DescribeTagsResponseBody

type DescribeTagsResponseBody struct {
	// The token used to start the next query.
	//
	// >  If not all results are returned in the first query, this parameter is returned. You can pass in the value of this parameter in the next query.
	//
	// example:
	//
	// 212db86****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// EEDBE38F-5CF5-4316-AAC2-35817BA60D68
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details about the tags.
	Tags []*DescribeTagsResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (DescribeTagsResponseBody) GoString

func (s DescribeTagsResponseBody) GoString() string

func (*DescribeTagsResponseBody) SetNextToken

func (*DescribeTagsResponseBody) SetRequestId

func (*DescribeTagsResponseBody) SetTags

func (DescribeTagsResponseBody) String

func (s DescribeTagsResponseBody) String() string

type DescribeTagsResponseBodyTags

type DescribeTagsResponseBodyTags struct {
	// The key of the tag.
	//
	// example:
	//
	// newKey
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The values of the tags.
	TagValues []*string `json:"TagValues,omitempty" xml:"TagValues,omitempty" type:"Repeated"`
}

func (DescribeTagsResponseBodyTags) GoString

func (s DescribeTagsResponseBodyTags) GoString() string

func (*DescribeTagsResponseBodyTags) SetTagKey

func (*DescribeTagsResponseBodyTags) SetTagValues

func (DescribeTagsResponseBodyTags) String

type DescribeUserEncryptionKeyListRequest

type DescribeUserEncryptionKeyListRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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 zone ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent zone list.
	//
	// example:
	//
	// cn-shanghai
	TargetRegionId *string `json:"TargetRegionId,omitempty" xml:"TargetRegionId,omitempty"`
}

func (DescribeUserEncryptionKeyListRequest) GoString

func (*DescribeUserEncryptionKeyListRequest) SetDBInstanceId

func (*DescribeUserEncryptionKeyListRequest) SetOwnerAccount

func (*DescribeUserEncryptionKeyListRequest) SetOwnerId

func (*DescribeUserEncryptionKeyListRequest) SetResourceOwnerAccount

func (*DescribeUserEncryptionKeyListRequest) SetResourceOwnerId

func (*DescribeUserEncryptionKeyListRequest) SetTargetRegionId

func (DescribeUserEncryptionKeyListRequest) String

type DescribeUserEncryptionKeyListResponse

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

func (DescribeUserEncryptionKeyListResponse) GoString

func (*DescribeUserEncryptionKeyListResponse) SetHeaders

func (*DescribeUserEncryptionKeyListResponse) SetStatusCode

func (DescribeUserEncryptionKeyListResponse) String

type DescribeUserEncryptionKeyListResponseBody

type DescribeUserEncryptionKeyListResponseBody struct {
	// The list of custom keys.
	KeyIds *DescribeUserEncryptionKeyListResponseBodyKeyIds `json:"KeyIds,omitempty" xml:"KeyIds,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// 7CD51DA4-A499-43CE-B9B5-20CD4FDC648E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeUserEncryptionKeyListResponseBody) GoString

func (*DescribeUserEncryptionKeyListResponseBody) SetRequestId

func (DescribeUserEncryptionKeyListResponseBody) String

type DescribeUserEncryptionKeyListResponseBodyKeyIds

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

func (DescribeUserEncryptionKeyListResponseBodyKeyIds) GoString

func (*DescribeUserEncryptionKeyListResponseBodyKeyIds) SetKeyId

func (DescribeUserEncryptionKeyListResponseBodyKeyIds) String

type DestroyInstanceRequest

type DestroyInstanceRequest 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.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	//
	// > **InstanceId*	- and **DBInstanceId*	- serve the same function. You need only to specify one of them.
	//
	// example:
	//
	// dds-bp147acd4783****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The instance ID.
	//
	// > **InstanceId*	- and **DBInstanceId*	- serve the same function. You need only to specify one of them.
	//
	// example:
	//
	// dds-bp147acd4783****
	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.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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 (DestroyInstanceRequest) GoString

func (s DestroyInstanceRequest) GoString() string

func (*DestroyInstanceRequest) SetClientToken

func (*DestroyInstanceRequest) SetDBInstanceId

func (s *DestroyInstanceRequest) SetDBInstanceId(v string) *DestroyInstanceRequest

func (*DestroyInstanceRequest) SetInstanceId

func (*DestroyInstanceRequest) SetOwnerAccount

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

func (*DestroyInstanceRequest) SetOwnerId

func (*DestroyInstanceRequest) SetResourceGroupId

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

func (*DestroyInstanceRequest) SetResourceOwnerAccount

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

func (*DestroyInstanceRequest) SetResourceOwnerId

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

func (DestroyInstanceRequest) String

func (s DestroyInstanceRequest) String() string

type DestroyInstanceResponse

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

func (DestroyInstanceResponse) GoString

func (s DestroyInstanceResponse) GoString() string

func (*DestroyInstanceResponse) SetBody

func (*DestroyInstanceResponse) SetHeaders

func (*DestroyInstanceResponse) SetStatusCode

func (DestroyInstanceResponse) String

func (s DestroyInstanceResponse) String() string

type DestroyInstanceResponseBody

type DestroyInstanceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 65BDA532-28AF-4122-AA39-B382721E****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DestroyInstanceResponseBody) GoString

func (s DestroyInstanceResponseBody) GoString() string

func (*DestroyInstanceResponseBody) SetRequestId

func (DestroyInstanceResponseBody) String

type EvaluateResourceRequest

type EvaluateResourceRequest struct {
	// The type of the instance.
	//
	// > This parameter is required when you check whether resources are sufficient for creating or upgrading a replica set instance. For more information about instance types, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// example:
	//
	// dds.mongo.mid
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the instance. This parameter is required when you check whether resources are sufficient for upgrading an instance.
	//
	// example:
	//
	// dds-bp14bf67a76d****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database engine of the instance. Set the value to **MongoDB**.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	//
	// This parameter is required.
	//
	// example:
	//
	// 4.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	OwnerAccount  *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of read-only nodes in the instance. Valid values: **1*	- to **5**.
	//
	// > This parameter is not required for standalone or serverless instances.
	//
	// example:
	//
	// 1
	ReadonlyReplicas *string `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the region ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The number of nodes in the instance.
	//
	// 	- Set the value to **1*	- for standalone instances.
	//
	// 	- Valid values for replica set instances: **3**, **5**, and **7**
	//
	// > This parameter is not required for serverless instances.
	//
	// example:
	//
	// 3
	ReplicationFactor    *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The node information about the sharded cluster instance. This parameter is required when you check whether resources are sufficient for creating or upgrading a sharded cluster instance.
	//
	// To check whether resources are sufficient for creating a sharded cluster instance, specify the specifications of each node in the instance. The value must be a JSON string. Example:
	//
	//     {
	//
	//          "ConfigSvrs":
	//
	//              [{"Storage":20,"DBInstanceClass":"dds.cs.mid"}],
	//
	//          "Mongos":
	//
	//              [{"DBInstanceClass":"dds.mongos.standard"},{"DBInstanceClass":"dds.mongos.standard"}],
	//
	//          "Shards":
	//
	//              [{"Storage":50,"DBInstanceClass":"dds.shard.standard"},{"Storage":50,"DBInstanceClass":"dds.shard.standard"},   {"Storage":50,"DBInstanceClass":"dds.shard.standard"}]
	//
	//      }
	//
	// Parameters in the example:
	//
	// 	- ConfigSvrs: the Configserver node.
	//
	// 	- Mongos: the mongos node.
	//
	// 	- Shards: the shard node.
	//
	// 	- Storage: the storage space of the node.
	//
	// 	- DBInstanceClass: the instance type of the node. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
	//
	// To check whether resources are sufficient for upgrading a single node of a sharded cluster instance, specify only the information about the node to be upgraded. The value must be a JSON string. Example:
	//
	//     {
	//
	//          "NodeId": "d-bp147c4d9ca7****", "NodeClass": "dds.shard.standard"
	//
	//     }
	//
	// Parameters in the example:
	//
	// 	- NodeId: the ID of the node.
	//
	// 	- NodeClass: the instance type of the node. For more information, see [Sharded cluster instance types](https://help.aliyun.com/document_detail/311414.html).
	//
	// example:
	//
	// {"NodeId": "d-bp147c4d9ca7****", "NodeClass": "dds.shard.standard"}
	ShardsInfo *string `json:"ShardsInfo,omitempty" xml:"ShardsInfo,omitempty"`
	// The storage capacity of the replica set instance. Unit: GB.
	//
	// > This parameter is required for the instances that use cloud disks.
	//
	// example:
	//
	// 10
	Storage *string `json:"Storage,omitempty" xml:"Storage,omitempty"`
	// The zone ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the zone ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou-h
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (EvaluateResourceRequest) GoString

func (s EvaluateResourceRequest) GoString() string

func (*EvaluateResourceRequest) SetDBInstanceClass

func (s *EvaluateResourceRequest) SetDBInstanceClass(v string) *EvaluateResourceRequest

func (*EvaluateResourceRequest) SetDBInstanceId

func (*EvaluateResourceRequest) SetEngine

func (*EvaluateResourceRequest) SetEngineVersion

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

func (*EvaluateResourceRequest) SetOwnerAccount

func (*EvaluateResourceRequest) SetOwnerId

func (*EvaluateResourceRequest) SetReadonlyReplicas

func (s *EvaluateResourceRequest) SetReadonlyReplicas(v string) *EvaluateResourceRequest

func (*EvaluateResourceRequest) SetRegionId

func (*EvaluateResourceRequest) SetReplicationFactor

func (s *EvaluateResourceRequest) SetReplicationFactor(v string) *EvaluateResourceRequest

func (*EvaluateResourceRequest) SetResourceOwnerAccount

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

func (*EvaluateResourceRequest) SetResourceOwnerId

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

func (*EvaluateResourceRequest) SetShardsInfo

func (*EvaluateResourceRequest) SetStorage

func (*EvaluateResourceRequest) SetZoneId

func (EvaluateResourceRequest) String

func (s EvaluateResourceRequest) String() string

type EvaluateResourceResponse

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

func (EvaluateResourceResponse) GoString

func (s EvaluateResourceResponse) GoString() string

func (*EvaluateResourceResponse) SetBody

func (*EvaluateResourceResponse) SetHeaders

func (*EvaluateResourceResponse) SetStatusCode

func (EvaluateResourceResponse) String

func (s EvaluateResourceResponse) String() string

type EvaluateResourceResponseBody

type EvaluateResourceResponseBody struct {
	// Indicates whether the resources are sufficient in the region. Valid values:
	//
	// 	- **1**: The resources are sufficient.
	//
	// 	- **0**: The resources are insufficient.
	//
	// example:
	//
	// 1
	DBInstanceAvailable *string `json:"DBInstanceAvailable,omitempty" xml:"DBInstanceAvailable,omitempty"`
	// The database engine of the instance. Only MongoDB is returned.
	//
	// example:
	//
	// MongoDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	//
	// example:
	//
	// 4.0
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// AE2DE465-E45F-481F-ABD8-37D64173****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EvaluateResourceResponseBody) GoString

func (s EvaluateResourceResponseBody) GoString() string

func (*EvaluateResourceResponseBody) SetDBInstanceAvailable

func (*EvaluateResourceResponseBody) SetEngine

func (*EvaluateResourceResponseBody) SetEngineVersion

func (*EvaluateResourceResponseBody) SetRequestId

func (EvaluateResourceResponseBody) 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 pass in the **NextToken*	- value returned in the previous query to perform the query again.
	//
	// example:
	//
	// 212db86****
	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. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the region ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource IDs. You must specify this parameter or the Tag parameter.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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**.
	//
	// This parameter is required.
	//
	// example:
	//
	// INSTANCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags that are attached to the resources.
	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 key of tag.
	//
	// example:
	//
	// env
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag.
	//
	// example:
	//
	// dev
	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 used to start the next query.
	//
	// >  If not all results are returned in the first query, this parameter is returned. You can pass in the returned value of this parameter in the next query.
	//
	// example:
	//
	// 212db86****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 96017AF2-9AB1-4BC9-88D2-7966B3CD****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details about the tags of the instance.
	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 ID of the resource. It is the ID of the ApsaraDB for MongoDB instance.
	//
	// example:
	//
	// dds-bp17e7a04960****
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The resource type. The return value is fixed to **ALIYUN: KVSTORE: INSTANCE**, indicating an ApsaraDB for MongoDB instance.
	//
	// example:
	//
	// ALIYUN::DDS::INSTANCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The key of the tag.
	//
	// example:
	//
	// Environment
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// dev
	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 MigrateAvailableZoneRequest

type MigrateAvailableZoneRequest struct {
	// The ID of the instance.
	//
	// > If the instance is deployed in a VPC, you must specify the **Vswitch*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1ece71ff2f****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The time when the instance is migrated to the destination zone. Valid values:
	//
	// 	- **Immediately**: The instance is immediately migrated to the destination zone.
	//
	// 	- **MaintainTime**: The instance is migrated to the destination zone during the maintenance window of the instance.
	//
	// Default value: **Immediately**.
	//
	// example:
	//
	// Immediately
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The ID of the destination hidden zone.
	//
	// example:
	//
	// cn-shanghai-n
	HiddenZoneId         *string `json:"HiddenZoneId,omitempty" xml:"HiddenZoneId,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.
	//
	// example:
	//
	// cn-hangzhou-h
	SecondaryZoneId *string `json:"SecondaryZoneId,omitempty" xml:"SecondaryZoneId,omitempty"`
	// The ID of the vSwitch in the destination zone.
	//
	// > If the instance is deployed in a VPC, you must specify this parameter.
	//
	// example:
	//
	// vsw-bp1buy0h9myt5i9e7****
	Vswitch *string `json:"Vswitch,omitempty" xml:"Vswitch,omitempty"`
	// The ID of the destination zone.
	//
	// >
	//
	// 	- The source zone and the destination zone belong to the same region.
	//
	// 	- You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the zone ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (MigrateAvailableZoneRequest) GoString

func (s MigrateAvailableZoneRequest) GoString() string

func (*MigrateAvailableZoneRequest) SetDBInstanceId

func (*MigrateAvailableZoneRequest) SetEffectiveTime

func (*MigrateAvailableZoneRequest) SetHiddenZoneId

func (*MigrateAvailableZoneRequest) SetOwnerAccount

func (*MigrateAvailableZoneRequest) SetOwnerId

func (*MigrateAvailableZoneRequest) SetResourceOwnerAccount

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

func (*MigrateAvailableZoneRequest) SetResourceOwnerId

func (*MigrateAvailableZoneRequest) SetSecondaryZoneId

func (*MigrateAvailableZoneRequest) SetVswitch

func (*MigrateAvailableZoneRequest) SetZoneId

func (MigrateAvailableZoneRequest) String

type MigrateAvailableZoneResponse

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

func (MigrateAvailableZoneResponse) GoString

func (s MigrateAvailableZoneResponse) GoString() string

func (*MigrateAvailableZoneResponse) SetBody

func (*MigrateAvailableZoneResponse) SetHeaders

func (*MigrateAvailableZoneResponse) SetStatusCode

func (MigrateAvailableZoneResponse) String

type MigrateAvailableZoneResponseBody

type MigrateAvailableZoneResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 0FDDC511-7252-4A4A-ADDA-5CB1BF63****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (MigrateAvailableZoneResponseBody) GoString

func (*MigrateAvailableZoneResponseBody) SetRequestId

func (MigrateAvailableZoneResponseBody) String

type MigrateToOtherZoneRequest

type MigrateToOtherZoneRequest struct {
	// The time when the instance is migrated to the destination zone. Valid values:
	//
	// 	- **Immediately**: The instance is immediately migrated to the destination zone.
	//
	// 	- **MaintainTime**: The instance is migrated during the maintenance period of the instance.
	//
	// Default value: **Immediately**.
	//
	// example:
	//
	// Immediately
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The ID of the instance.
	//
	// >  If the network type of the instance is VPC, you must specify the **Vswitch*	- parameter .
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2658****
	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 ID of the vSwitch in the destination zone.
	//
	// >  This parameter is valid and required only when the network type of the instance is VPC.
	//
	// example:
	//
	// vsw-bp67ac****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the destination zone to which you want to migrate the ApsaraDB for MongoDB instance.
	//
	// > 	- The destination and source zones must be in one region.
	//
	// > 	- You can call [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) to query the zone IDs.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (MigrateToOtherZoneRequest) GoString

func (s MigrateToOtherZoneRequest) GoString() string

func (*MigrateToOtherZoneRequest) SetEffectiveTime

func (*MigrateToOtherZoneRequest) SetInstanceId

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) 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.
	//
	// example:
	//
	// 0FDDC511-7252-4A4A-ADDA-5CB1BF63873D
	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 must be 2 to 256 characters in length, and can contain letters, digits, underscores (_), and hyphens (-).
	//
	// This parameter is required.
	//
	// example:
	//
	// superadmin
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The name of the account whose description is to be modified.
	//
	// This parameter is required.
	//
	// example:
	//
	// root
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2356****
	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"`
}

func (ModifyAccountDescriptionRequest) GoString

func (*ModifyAccountDescriptionRequest) SetAccountDescription

func (*ModifyAccountDescriptionRequest) SetAccountName

func (*ModifyAccountDescriptionRequest) SetDBInstanceId

func (*ModifyAccountDescriptionRequest) SetOwnerAccount

func (*ModifyAccountDescriptionRequest) SetOwnerId

func (*ModifyAccountDescriptionRequest) SetResourceOwnerAccount

func (*ModifyAccountDescriptionRequest) SetResourceOwnerId

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 request ID.
	//
	// example:
	//
	// 59DE9FC2-7B40-45CF-9011-7327A8A771A2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyAccountDescriptionResponseBody) GoString

func (*ModifyAccountDescriptionResponseBody) SetRequestId

func (ModifyAccountDescriptionResponseBody) String

type ModifyActiveOperationTasksRequest

type ModifyActiveOperationTasksRequest struct {
	// The IDs of the O\\&M tasks. Separate multiple task IDs with commas (,).
	//
	// >  You can call the DescribeActiveOperationTask operation to query the IDs of O\\&M tasks.
	//
	// This parameter is required.
	//
	// example:
	//
	// 11111,22222
	Ids *string `json:"Ids,omitempty" xml:"Ids,omitempty"`
	// Specifies whether to immediately start scheduling. Valid values:
	//
	// 	- 0 (default): Scheduling is not started immediately.
	//
	// 	- 1: Scheduling is started immediately.
	//
	// > -   If you set this parameter to 0, the SwitchTime parameter takes effect. If you set this parameter to 1, the SwitchTime parameter does not take effect. In this case, the start time of the task is the current time, and the system determines the switching time based on the start time.
	//
	// > -   Immediate scheduling specifies that the task enters the preparing state instead of being executed immediately. After the preparation is complete, the switchover is performed. You can call the DescribeActiveOperationTasks operation to query the preparation time that is returned for the PrepareInterval parameter.
	//
	// example:
	//
	// 0
	ImmediateStart       *int32  `json:"ImmediateStart,omitempty" xml:"ImmediateStart,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 scheduled switching time that you want to specify. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	//
	// >  The time that is specified by the SwitchTime parameter cannot be later than the time that is specified by the Deadline parameter. You can call the DescribeActiveOperationTasks operation to query the latest switching time that is returned for the Deadline parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2019-10-17T18:50:00Z
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
}

func (ModifyActiveOperationTasksRequest) GoString

func (*ModifyActiveOperationTasksRequest) SetIds

func (*ModifyActiveOperationTasksRequest) SetImmediateStart

func (*ModifyActiveOperationTasksRequest) SetOwnerAccount

func (*ModifyActiveOperationTasksRequest) SetOwnerId

func (*ModifyActiveOperationTasksRequest) SetResourceOwnerAccount

func (*ModifyActiveOperationTasksRequest) SetResourceOwnerId

func (*ModifyActiveOperationTasksRequest) SetSwitchTime

func (ModifyActiveOperationTasksRequest) String

type ModifyActiveOperationTasksResponse

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

func (ModifyActiveOperationTasksResponse) GoString

func (*ModifyActiveOperationTasksResponse) SetHeaders

func (*ModifyActiveOperationTasksResponse) SetStatusCode

func (ModifyActiveOperationTasksResponse) String

type ModifyActiveOperationTasksResponseBody

type ModifyActiveOperationTasksResponseBody struct {
	// The IDs of the O\\&M tasks. Multiple task IDs are separated by commas (,).
	//
	// example:
	//
	// 11111,22222
	Ids *string `json:"Ids,omitempty" xml:"Ids,omitempty"`
	// The request ID.
	//
	// example:
	//
	// CAAE9DDA-65FD-584C-A378-F1F24676****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyActiveOperationTasksResponseBody) GoString

func (*ModifyActiveOperationTasksResponseBody) SetIds

func (*ModifyActiveOperationTasksResponseBody) SetRequestId

func (ModifyActiveOperationTasksResponseBody) String

type ModifyAuditLogFilterRequest

type ModifyAuditLogFilterRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp12c5b040dc****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of logs collected by the audit log feature of the instance. Separate multiple types with commas (,). Valid values:
	//
	// 	- **admin**: O\\&M and management operations
	//
	// 	- **slow**: slow query logs
	//
	// 	- **query**: query operations
	//
	// 	- **insert**: insert operations
	//
	// 	- **update**: update operations
	//
	// 	- **delete**: delete operations
	//
	// 	- **command**: protocol commands such as the aggregate method
	//
	// This parameter is required.
	//
	// example:
	//
	// insert,query,update,delete
	Filter               *string `json:"Filter,omitempty" xml:"Filter,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 role of the node in the instance. Valid values:
	//
	// 	- **primary**
	//
	// 	- **secondary**
	//
	// example:
	//
	// primary
	RoleType *string `json:"RoleType,omitempty" xml:"RoleType,omitempty"`
}

func (ModifyAuditLogFilterRequest) GoString

func (s ModifyAuditLogFilterRequest) GoString() string

func (*ModifyAuditLogFilterRequest) SetDBInstanceId

func (*ModifyAuditLogFilterRequest) SetFilter

func (*ModifyAuditLogFilterRequest) SetOwnerAccount

func (*ModifyAuditLogFilterRequest) SetOwnerId

func (*ModifyAuditLogFilterRequest) SetResourceOwnerAccount

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

func (*ModifyAuditLogFilterRequest) SetResourceOwnerId

func (*ModifyAuditLogFilterRequest) SetRoleType

func (ModifyAuditLogFilterRequest) String

type ModifyAuditLogFilterResponse

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

func (ModifyAuditLogFilterResponse) GoString

func (s ModifyAuditLogFilterResponse) GoString() string

func (*ModifyAuditLogFilterResponse) SetBody

func (*ModifyAuditLogFilterResponse) SetHeaders

func (*ModifyAuditLogFilterResponse) SetStatusCode

func (ModifyAuditLogFilterResponse) String

type ModifyAuditLogFilterResponseBody

type ModifyAuditLogFilterResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// E209BE2B-F264-4B9D-81F6-A5A5FB1FBF28
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyAuditLogFilterResponseBody) GoString

func (*ModifyAuditLogFilterResponseBody) SetRequestId

func (ModifyAuditLogFilterResponseBody) String

type ModifyAuditPolicyRequest

type ModifyAuditPolicyRequest struct {
	// The request source for the audit log feature. Set the value to **Console**.
	//
	// example:
	//
	// Console
	AuditLogSwitchSource *string `json:"AuditLogSwitchSource,omitempty" xml:"AuditLogSwitchSource,omitempty"`
	// Specifies whether to enable the audit log feature. Valid values:
	//
	// 	- **enable**
	//
	// 	- **disabled**
	//
	// This parameter is required.
	//
	// example:
	//
	// enable
	AuditStatus *string `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1785659e3f****
	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 type of the audit log feature. Valid values:
	//
	// 	- **Trail**: free trial edition.
	//
	// 	- **Standard**: official edition.
	//
	// > The default value is **Trail**. Starting from January 6, 2022, the official edition of the audit log feature has been launched in all regions, and the free trial edition of the feature can no longer be applied for. We recommend that you set this parameter to **Standard**.
	//
	// example:
	//
	// Standard
	ServiceType *string `json:"ServiceType,omitempty" xml:"ServiceType,omitempty"`
	// The log retention period. Valid values: 1 to 365 days. Default value: 30 days.
	//
	// example:
	//
	// 30
	StoragePeriod *int32 `json:"StoragePeriod,omitempty" xml:"StoragePeriod,omitempty"`
}

func (ModifyAuditPolicyRequest) GoString

func (s ModifyAuditPolicyRequest) GoString() string

func (*ModifyAuditPolicyRequest) SetAuditLogSwitchSource

func (s *ModifyAuditPolicyRequest) SetAuditLogSwitchSource(v string) *ModifyAuditPolicyRequest

func (*ModifyAuditPolicyRequest) SetAuditStatus

func (*ModifyAuditPolicyRequest) SetDBInstanceId

func (*ModifyAuditPolicyRequest) SetOwnerAccount

func (*ModifyAuditPolicyRequest) SetOwnerId

func (*ModifyAuditPolicyRequest) SetResourceOwnerAccount

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

func (*ModifyAuditPolicyRequest) SetResourceOwnerId

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

func (*ModifyAuditPolicyRequest) SetServiceType

func (*ModifyAuditPolicyRequest) SetStoragePeriod

func (ModifyAuditPolicyRequest) String

func (s ModifyAuditPolicyRequest) String() string

type ModifyAuditPolicyResponse

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

func (ModifyAuditPolicyResponse) GoString

func (s ModifyAuditPolicyResponse) GoString() string

func (*ModifyAuditPolicyResponse) SetBody

func (*ModifyAuditPolicyResponse) SetHeaders

func (*ModifyAuditPolicyResponse) SetStatusCode

func (ModifyAuditPolicyResponse) String

func (s ModifyAuditPolicyResponse) String() string

type ModifyAuditPolicyResponseBody

type ModifyAuditPolicyResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// DC04D812-F18D-4568-9B88-F260D9590116
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyAuditPolicyResponseBody) GoString

func (*ModifyAuditPolicyResponseBody) SetRequestId

func (ModifyAuditPolicyResponseBody) String

type ModifyBackupPolicyRequest

type ModifyBackupPolicyRequest struct {
	// The frequency at which high-frequency backups are generated. Valid values:
	//
	// 	- **-1**: High-frequency backup is disabled.
	//
	// 	- **30**: High-frequency backups are generated every 30 minutes.
	//
	// 	- **60**: High-frequency backups are generated every 1 hour.
	//
	// 	- **120**: High-frequency backups are generated every 2 hours.
	//
	// 	- **180**: High-frequency backups are generated every 3 hours.
	//
	// 	- **240**: High-frequency backups are generated every 4 hours.
	//
	// 	- **360**: High-frequency backups are generated every 6 hours.
	//
	// 	- **480**: High-frequency backups are generated every 8 hours.
	//
	// 	- **720**: High-frequency backups are generated every 12 hours.
	//
	// >
	//
	// 	- If you set the **SnapshotBackupType*	- parameter to **Standard**, you must fix the value of this parameter to -1.
	//
	// 	- High-frequency backup takes effect only when you set the **SnapshotBackupType*	- parameter to **Flash*	- and this parameter to a value greater than 0.
	//
	// example:
	//
	// -1
	BackupInterval *string `json:"BackupInterval,omitempty" xml:"BackupInterval,omitempty"`
	// The retention period of full backups.
	//
	// >
	//
	// 	- If your instance is created before September 10, 2021, backups are retained for seven days by default.
	//
	// 	- If your instance is created after September 10, 2021, backups are retained for 30 days by default.
	//
	// example:
	//
	// 30
	BackupRetentionPeriod *int64 `json:"BackupRetentionPeriod,omitempty" xml:"BackupRetentionPeriod,omitempty"`
	// The backup retention policy configured for the instance. Valid values:
	//
	// 1.  0: All backup sets are immediately deleted when the instance is released.
	//
	// 2.  1: Automatic backup is performed and the backup set is retained for a long period of time when the instance is released.
	//
	// 3.  2: Automatic backup is performed and all backup sets are retained for a long period of time when the instance is released.
	//
	// For more information, see [Retain the backup files of an ApsaraDB for MongoDB instance for a long period of time](https://help.aliyun.com/document_detail/4920562.html).
	//
	// example:
	//
	// 2
	BackupRetentionPolicyOnClusterDeletion *int32 `json:"BackupRetentionPolicyOnClusterDeletion,omitempty" xml:"BackupRetentionPolicyOnClusterDeletion,omitempty"`
	// The retention period of Cross-regional backup.
	//
	// Valid values:
	//
	// 	- **Monday**
	//
	// 	- **Tuesday**
	//
	// 	- **Wednesday**
	//
	// 	- **Thursday**
	//
	// 	- **Friday**
	//
	// 	- **Saturday**
	//
	// 	- **Sunday**
	//
	// **
	//
	//
	//
	//
	//
	// >- Separate multiple values with commas (,).
	//
	// >- When SnapshotBackupType  is set to standard, this value needs to be a subset of the PreferredBackupPeriod.
	//
	// example:
	//
	// Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
	CrossBackupPeriod *string `json:"CrossBackupPeriod,omitempty" xml:"CrossBackupPeriod,omitempty"`
	// The operation strategy of Cross-regional backup.
	//
	// - update
	//
	// - delete
	//
	// example:
	//
	// update
	CrossBackupType *string `json:"CrossBackupType,omitempty" xml:"CrossBackupType,omitempty"`
	// The retention type of Cross-regional  log backup.
	//
	// - delay : retain the backup for a period of time.
	//
	// - never : retain the backup permanently.
	//
	// example:
	//
	// delay
	CrossLogRetentionType *string `json:"CrossLogRetentionType,omitempty" xml:"CrossLogRetentionType,omitempty"`
	// The retention time of Cross-regional log backup, 3 - 1825 days.
	//
	// example:
	//
	// 3
	CrossLogRetentionValue *int32 `json:"CrossLogRetentionValue,omitempty" xml:"CrossLogRetentionValue,omitempty"`
	// The retention type of Cross-regional backup.
	//
	// - delay : retain the backup for a period of time.
	//
	// - never : retain the backup permanently.
	//
	// example:
	//
	// delay
	CrossRetentionType *string `json:"CrossRetentionType,omitempty" xml:"CrossRetentionType,omitempty"`
	// The retention time of Cross-regional backup, 3 - 1825 days.
	//
	// >
	//
	// > - Used and must be used when CrossRetentionType is delay.
	//
	// example:
	//
	// 7
	CrossRetentionValue *int32 `json:"CrossRetentionValue,omitempty" xml:"CrossRetentionValue,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp16cb162771****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The region id of Cross-regional backup.
	//
	// >
	//
	// > - Required for Cross-regional backup.
	//
	// example:
	//
	// cn-hangzhou
	DestRegion *string `json:"DestRegion,omitempty" xml:"DestRegion,omitempty"`
	// Specifies whether to enable the log backup feature. Valid values:
	//
	// 	- **0*	- (default): The log backup feature is disabled.
	//
	// 	- **1**: The log backup feature is enabled.
	//
	// example:
	//
	// 0
	EnableBackupLog *int64 `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// Whether to turn on cross-regional log backup.
	//
	// - 1:turn on . Used for sharded cluster.
	//
	// - 0: turn off. Used for replicate set.
	//
	// example:
	//
	// 1
	EnableCrossLogBackup *int32 `json:"EnableCrossLogBackup,omitempty" xml:"EnableCrossLogBackup,omitempty"`
	// The number of days for which high-frequency backups are retained. Before you use this parameter, make sure that you specify the BackupInterval parameter. By default, high-frequency backups are retained for one day.
	//
	// example:
	//
	// 1
	HighFrequencyBackupRetention *int64 `json:"HighFrequencyBackupRetention,omitempty" xml:"HighFrequencyBackupRetention,omitempty"`
	// The instance architecture. Valid values:
	//
	// 	- replicate
	//
	// 	- sharding
	//
	// > 	- This parameter is required  for Cross-regional backup.
	//
	// > 	- This parameter is required for backup recovery of deleted instances.
	//
	// example:
	//
	// replicate
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The number of days for which log backups are retained. Default value: 7.
	//
	// Valid values: 7 to 730.
	//
	// example:
	//
	// 7
	LogBackupRetentionPeriod *int64  `json:"LogBackupRetentionPeriod,omitempty" xml:"LogBackupRetentionPeriod,omitempty"`
	OwnerAccount             *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId                  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The day of a week when the system regularly backs up data. Valid values:
	//
	// 	- **Monday**
	//
	// 	- **Tuesday**
	//
	// 	- **Wednesday**
	//
	// 	- **Thursday**
	//
	// 	- **Friday**
	//
	// 	- **Saturday**
	//
	// 	- **Sunday**
	//
	// **
	//
	// **Notice**: To ensure data security, make sure that the system backs up data at least twice a week.
	//
	// >  Separate multiple values with commas (,).
	//
	// example:
	//
	// Monday,Wednesday,Friday,Sunday
	PreferredBackupPeriod *string `json:"PreferredBackupPeriod,omitempty" xml:"PreferredBackupPeriod,omitempty"`
	// The start time of the backup. Specify the time in the ISO 8601 standard in the *HH:mm*Z-*HH:mm*Z format. The time must be in UTC.
	//
	// >  The time range is 1 hour.
	//
	// example:
	//
	// 03:00Z-04:00Z
	PreferredBackupTime  *string `json:"PreferredBackupTime,omitempty" xml:"PreferredBackupTime,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The snapshot backup type. Valid values:
	//
	// 	- **Flash**: single-digit second backup
	//
	// 	- **Standard*	- (default): standard backup
	//
	// example:
	//
	// Standard
	SnapshotBackupType *string `json:"SnapshotBackupType,omitempty" xml:"SnapshotBackupType,omitempty"`
	// The region ID of the instance.
	//
	// >
	//
	// > - Required for Cross-regional backup.
	//
	// > - Required for backup recovery of deleted instances.
	//
	// example:
	//
	// cn-beijing
	SrcRegion *string `json:"SrcRegion,omitempty" xml:"SrcRegion,omitempty"`
}

func (ModifyBackupPolicyRequest) GoString

func (s ModifyBackupPolicyRequest) GoString() string

func (*ModifyBackupPolicyRequest) SetBackupInterval

func (*ModifyBackupPolicyRequest) SetBackupRetentionPeriod

func (s *ModifyBackupPolicyRequest) SetBackupRetentionPeriod(v int64) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetBackupRetentionPolicyOnClusterDeletion

func (s *ModifyBackupPolicyRequest) SetBackupRetentionPolicyOnClusterDeletion(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetCrossBackupPeriod

func (s *ModifyBackupPolicyRequest) SetCrossBackupPeriod(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetCrossBackupType

func (*ModifyBackupPolicyRequest) SetCrossLogRetentionType

func (s *ModifyBackupPolicyRequest) SetCrossLogRetentionType(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetCrossLogRetentionValue

func (s *ModifyBackupPolicyRequest) SetCrossLogRetentionValue(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetCrossRetentionType

func (s *ModifyBackupPolicyRequest) SetCrossRetentionType(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetCrossRetentionValue

func (s *ModifyBackupPolicyRequest) SetCrossRetentionValue(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetDBInstanceId

func (*ModifyBackupPolicyRequest) SetDestRegion

func (*ModifyBackupPolicyRequest) SetEnableBackupLog

func (s *ModifyBackupPolicyRequest) SetEnableBackupLog(v int64) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetEnableCrossLogBackup

func (s *ModifyBackupPolicyRequest) SetEnableCrossLogBackup(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetHighFrequencyBackupRetention

func (s *ModifyBackupPolicyRequest) SetHighFrequencyBackupRetention(v int64) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetInstanceType

func (*ModifyBackupPolicyRequest) SetLogBackupRetentionPeriod

func (s *ModifyBackupPolicyRequest) SetLogBackupRetentionPeriod(v int64) *ModifyBackupPolicyRequest

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) SetSnapshotBackupType

func (s *ModifyBackupPolicyRequest) SetSnapshotBackupType(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetSrcRegion

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 request ID.
	//
	// example:
	//
	// 644A359C-B871-4DD3-97B5-ED91EF5809C2
	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 that is to be modified.
	//
	// This parameter is required.
	//
	// example:
	//
	// s-bpxxxxxxxx.mongodb.rds.aliyuncs.com
	CurrentConnectionString *string `json:"CurrentConnectionString,omitempty" xml:"CurrentConnectionString,omitempty"`
	// The instance ID.
	//
	// > If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new endpoint. It must be 8 to 64 characters in length and can contain letters and digits. It must start with a lowercase letter.
	//
	// > You need only to specify the prefix of the endpoint. The content other than the prefix cannot be modified.
	//
	// This parameter is required.
	//
	// example:
	//
	// aliyuntest111
	NewConnectionString *string `json:"NewConnectionString,omitempty" xml:"NewConnectionString,omitempty"`
	// The new port number of the instance. The port number must be within the range from 1000 to 65535.
	//
	// >  This parameter is available only when you set the **DBInstanceId*	- parameter to the ID of an instance that uses cloud disks.
	//
	// example:
	//
	// 3310
	NewPort *int32 `json:"NewPort,omitempty" xml:"NewPort,omitempty"`
	// The ID of the mongos in the specified sharded cluster instance. Only one mongos ID can be specified in each call.
	//
	// > This parameter is valid only when you specify the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// s-bpxxxxxxxx
	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"`
}

func (ModifyDBInstanceConnectionStringRequest) GoString

func (*ModifyDBInstanceConnectionStringRequest) SetCurrentConnectionString

func (*ModifyDBInstanceConnectionStringRequest) SetDBInstanceId

func (*ModifyDBInstanceConnectionStringRequest) SetNewConnectionString

func (*ModifyDBInstanceConnectionStringRequest) SetNewPort

func (*ModifyDBInstanceConnectionStringRequest) SetNodeId

func (*ModifyDBInstanceConnectionStringRequest) SetOwnerAccount

func (*ModifyDBInstanceConnectionStringRequest) SetOwnerId

func (*ModifyDBInstanceConnectionStringRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceConnectionStringRequest) SetResourceOwnerId

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 request ID.
	//
	// example:
	//
	// FF36A84C-0694-42D0-861D-C383E8E4FAAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceConnectionStringResponseBody) GoString

func (*ModifyDBInstanceConnectionStringResponseBody) SetRequestId

func (ModifyDBInstanceConnectionStringResponseBody) String

type ModifyDBInstanceDescriptionRequest

type ModifyDBInstanceDescriptionRequest struct {
	// The name of the instance.
	//
	// >
	//
	// 	- The name cannot start with `http://` or `https://`.
	//
	// 	- It must start with a letter.
	//
	// 	- It must be 2 to 256 characters in length, and can contain letters, underscores (_), hyphens (-), and digits.
	//
	// This parameter is required.
	//
	// example:
	//
	// testdata
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	//
	// >  To modify the name of a shard or mongos node in a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2234****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard or mongos node in the sharded cluster instance.
	//
	// >  This parameter is valid only if you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp89067****
	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"`
}

func (ModifyDBInstanceDescriptionRequest) GoString

func (*ModifyDBInstanceDescriptionRequest) SetDBInstanceDescription

func (*ModifyDBInstanceDescriptionRequest) SetDBInstanceId

func (*ModifyDBInstanceDescriptionRequest) SetNodeId

func (*ModifyDBInstanceDescriptionRequest) SetOwnerAccount

func (*ModifyDBInstanceDescriptionRequest) SetOwnerId

func (*ModifyDBInstanceDescriptionRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceDescriptionRequest) SetResourceOwnerId

func (ModifyDBInstanceDescriptionRequest) String

type ModifyDBInstanceDescriptionResponse

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

func (ModifyDBInstanceDescriptionResponse) GoString

func (*ModifyDBInstanceDescriptionResponse) SetHeaders

func (*ModifyDBInstanceDescriptionResponse) SetStatusCode

func (ModifyDBInstanceDescriptionResponse) String

type ModifyDBInstanceDescriptionResponseBody

type ModifyDBInstanceDescriptionResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 06F8F642-4009-4FFC-80C4-9D67DBF7B74E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceDescriptionResponseBody) GoString

func (*ModifyDBInstanceDescriptionResponseBody) SetRequestId

func (ModifyDBInstanceDescriptionResponseBody) String

type ModifyDBInstanceDiskTypeRequest

type ModifyDBInstanceDiskTypeRequest 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. You must perform the following operations to pay for the instance: Log on to the ApsaraDB for MongoDB console. In the upper-right corner, click **Expenses*	- and select **User Center*	- from the drop-down list. The User Center page appears. In the left-side navigation pane, choose **Order Management*	- > Renew. On the Renewal tab, find the bill that you want to pay and then click Renew in the Actions column.
	//
	// Default value: **true**.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// Default value: **false**.
	//
	// example:
	//
	// false
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1fa5efaa93****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new disk type. Valid values:
	//
	// 	- **cloud_auto**: ESSD AutoPL disk
	//
	// 	- **cloud_essd1**: PL1 ESSD
	//
	// 	- **cloud_essd2**: PL2 ESSD
	//
	// 	- **cloud_essd3**: PL3 ESSD
	//
	// example:
	//
	// cloud_auto
	DbInstanceStorageType *string `json:"DbInstanceStorageType,omitempty" xml:"DbInstanceStorageType,omitempty"`
	// An additional parameter.
	//
	// example:
	//
	// async
	ExtraParam *string `json:"ExtraParam,omitempty" xml:"ExtraParam,omitempty"`
	// The type of configuration changes. Valid values:
	//
	// 	- **UPGRADE**
	//
	// 	- **DOWNGRADE**
	//
	// >  This parameter is valid only when the billing method of the instance is subscription.
	//
	// example:
	//
	// UPGRADE
	OrderType *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	// The provisioned IOPS. Valid values: 0 to 50000.
	//
	// example:
	//
	// 1960
	ProvisionedIops *int64 `json:"ProvisionedIops,omitempty" xml:"ProvisionedIops,omitempty"`
	ResourceOwnerId *int64 `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceDiskTypeRequest) GoString

func (*ModifyDBInstanceDiskTypeRequest) SetAutoPay

func (*ModifyDBInstanceDiskTypeRequest) SetAutoRenew

func (*ModifyDBInstanceDiskTypeRequest) SetBusinessInfo

func (*ModifyDBInstanceDiskTypeRequest) SetCouponNo

func (*ModifyDBInstanceDiskTypeRequest) SetDBInstanceId

func (*ModifyDBInstanceDiskTypeRequest) SetDbInstanceStorageType

func (*ModifyDBInstanceDiskTypeRequest) SetExtraParam

func (*ModifyDBInstanceDiskTypeRequest) SetOrderType

func (*ModifyDBInstanceDiskTypeRequest) SetProvisionedIops

func (*ModifyDBInstanceDiskTypeRequest) SetResourceOwnerId

func (ModifyDBInstanceDiskTypeRequest) String

type ModifyDBInstanceDiskTypeResponse

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

func (ModifyDBInstanceDiskTypeResponse) GoString

func (*ModifyDBInstanceDiskTypeResponse) SetHeaders

func (*ModifyDBInstanceDiskTypeResponse) SetStatusCode

func (ModifyDBInstanceDiskTypeResponse) String

type ModifyDBInstanceDiskTypeResponseBody

type ModifyDBInstanceDiskTypeResponseBody struct {
	// The order ID.
	//
	// example:
	//
	// 21012719476****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D8F1D721-6439-4257-A89C-F1E8E9C9****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceDiskTypeResponseBody) GoString

func (*ModifyDBInstanceDiskTypeResponseBody) SetOrderId

func (*ModifyDBInstanceDiskTypeResponseBody) SetRequestId

func (ModifyDBInstanceDiskTypeResponseBody) String

type ModifyDBInstanceMaintainTimeRequest

type ModifyDBInstanceMaintainTimeRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpac2345****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end time of the maintenance window. Specify the time in the ISO 8601 standard in the *HH:mm*Z format. The time must be in UTC.
	//
	// >  The end time must be later than the start time of the maintenance window.
	//
	// This parameter is required.
	//
	// example:
	//
	// 02:00Z
	MaintainEndTime *string `json:"MaintainEndTime,omitempty" xml:"MaintainEndTime,omitempty"`
	// The start time of the maintenance window. Specify the time in the ISO 8601 standard in the *HH:mm*Z format. The time must be in UTC.
	//
	// This parameter is required.
	//
	// example:
	//
	// 01:00Z
	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"`
}

func (ModifyDBInstanceMaintainTimeRequest) GoString

func (*ModifyDBInstanceMaintainTimeRequest) SetDBInstanceId

func (*ModifyDBInstanceMaintainTimeRequest) SetMaintainEndTime

func (*ModifyDBInstanceMaintainTimeRequest) SetMaintainStartTime

func (*ModifyDBInstanceMaintainTimeRequest) SetOwnerAccount

func (*ModifyDBInstanceMaintainTimeRequest) SetOwnerId

func (*ModifyDBInstanceMaintainTimeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceMaintainTimeRequest) SetResourceOwnerId

func (ModifyDBInstanceMaintainTimeRequest) String

type ModifyDBInstanceMaintainTimeResponse

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

func (ModifyDBInstanceMaintainTimeResponse) GoString

func (*ModifyDBInstanceMaintainTimeResponse) SetHeaders

func (*ModifyDBInstanceMaintainTimeResponse) SetStatusCode

func (ModifyDBInstanceMaintainTimeResponse) String

type ModifyDBInstanceMaintainTimeResponseBody

type ModifyDBInstanceMaintainTimeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// A9310426-C763-42A2-A3AD-70A8DA204531
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceMaintainTimeResponseBody) GoString

func (*ModifyDBInstanceMaintainTimeResponseBody) SetRequestId

func (ModifyDBInstanceMaintainTimeResponseBody) String

type ModifyDBInstanceMonitorRequest

type ModifyDBInstanceMonitorRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The collection frequency of monitoring data. Valid values: **1*	- or **300**. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	Granularity          *string `json:"Granularity,omitempty" xml:"Granularity,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 (ModifyDBInstanceMonitorRequest) GoString

func (*ModifyDBInstanceMonitorRequest) SetDBInstanceId

func (*ModifyDBInstanceMonitorRequest) SetGranularity

func (*ModifyDBInstanceMonitorRequest) SetOwnerAccount

func (*ModifyDBInstanceMonitorRequest) SetOwnerId

func (*ModifyDBInstanceMonitorRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceMonitorRequest) SetResourceOwnerId

func (ModifyDBInstanceMonitorRequest) String

type ModifyDBInstanceMonitorResponse

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

func (ModifyDBInstanceMonitorResponse) GoString

func (*ModifyDBInstanceMonitorResponse) SetHeaders

func (*ModifyDBInstanceMonitorResponse) SetStatusCode

func (ModifyDBInstanceMonitorResponse) String

type ModifyDBInstanceMonitorResponseBody

type ModifyDBInstanceMonitorResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// EFD65226-08CC-4C4D-B6A4-CB3C382F67B0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceMonitorResponseBody) GoString

func (*ModifyDBInstanceMonitorResponseBody) SetRequestId

func (ModifyDBInstanceMonitorResponseBody) String

type ModifyDBInstanceNetExpireTimeRequest

type ModifyDBInstanceNetExpireTimeRequest struct {
	// The retention period of the classic network endpoint of the instance. Valid values: **14**, **30**, **60**, and **120**. Unit: day.
	//
	// This parameter is required.
	//
	// example:
	//
	// 30
	ClassicExpendExpiredDays *int32 `json:"ClassicExpendExpiredDays,omitempty" xml:"ClassicExpendExpiredDays,omitempty"`
	// The endpoint of the instance.
	//
	// example:
	//
	// dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (ModifyDBInstanceNetExpireTimeRequest) GoString

func (*ModifyDBInstanceNetExpireTimeRequest) SetClassicExpendExpiredDays

func (*ModifyDBInstanceNetExpireTimeRequest) SetConnectionString

func (*ModifyDBInstanceNetExpireTimeRequest) SetDBInstanceId

func (*ModifyDBInstanceNetExpireTimeRequest) SetOwnerAccount

func (*ModifyDBInstanceNetExpireTimeRequest) SetOwnerId

func (*ModifyDBInstanceNetExpireTimeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceNetExpireTimeRequest) SetResourceOwnerId

func (ModifyDBInstanceNetExpireTimeRequest) String

type ModifyDBInstanceNetExpireTimeResponse

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

func (ModifyDBInstanceNetExpireTimeResponse) GoString

func (*ModifyDBInstanceNetExpireTimeResponse) SetHeaders

func (*ModifyDBInstanceNetExpireTimeResponse) SetStatusCode

func (ModifyDBInstanceNetExpireTimeResponse) String

type ModifyDBInstanceNetExpireTimeResponseBody

type ModifyDBInstanceNetExpireTimeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 459E7D5C-38DA-4E14-9C82-5B5AF693DBAB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceNetExpireTimeResponseBody) GoString

func (*ModifyDBInstanceNetExpireTimeResponseBody) SetRequestId

func (ModifyDBInstanceNetExpireTimeResponseBody) String

type ModifyDBInstanceNetworkTypeRequest

type ModifyDBInstanceNetworkTypeRequest struct {
	// The retention period of the original classic network address when you change the network type to VPC. Valid values: **14**, **30**, **60**, and **120**. Unit: days.
	//
	// > This parameter is required when the **NetworkType*	- parameter is set to **VPC*	- and the **RetainClassic*	- parameter is set to **True**.
	//
	// example:
	//
	// 30
	ClassicExpiredDays *int32 `json:"ClassicExpiredDays,omitempty" xml:"ClassicExpiredDays,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp11483712c1****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type to switch to. Valid value:
	//
	// 	- **VPC**
	//
	// This parameter is required.
	//
	// example:
	//
	// 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"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to retain the original classic network address when you change the network type to VPC. Valid values:
	//
	// 	- **True**: retains the original classic network address.
	//
	// 	- **False**: does not retain the original classic network address.
	//
	// >
	//
	// 	- This parameter is required when the **NetworkType*	- parameter is set to **VPC**.
	//
	// 	- If you set this parameter to **True**, you must also specify the **ClassicExpiredDays*	- parameter.
	//
	// example:
	//
	// False
	RetainClassic *string `json:"RetainClassic,omitempty" xml:"RetainClassic,omitempty"`
	// The ID of the vSwitch in the VPC.
	//
	// > This parameter is required when the **NetworkType*	- parameter is set to **VPC**.
	//
	// example:
	//
	// vsw-bp1vj604nj5a9zz74****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC.
	//
	// > This parameter is required when the **NetworkType*	- parameter is set to **VPC**.
	//
	// example:
	//
	// vpc-bp1n3i15v90el48nx****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// 可用区ID,您可以通过调用[DescribeRegions](https://help.aliyun.com/document_detail/61933.html)接口查询可用区ID。
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou-b
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ModifyDBInstanceNetworkTypeRequest) GoString

func (*ModifyDBInstanceNetworkTypeRequest) SetClassicExpiredDays

func (*ModifyDBInstanceNetworkTypeRequest) SetDBInstanceId

func (*ModifyDBInstanceNetworkTypeRequest) SetNetworkType

func (*ModifyDBInstanceNetworkTypeRequest) SetOwnerAccount

func (*ModifyDBInstanceNetworkTypeRequest) SetOwnerId

func (*ModifyDBInstanceNetworkTypeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceNetworkTypeRequest) SetResourceOwnerId

func (*ModifyDBInstanceNetworkTypeRequest) SetRetainClassic

func (*ModifyDBInstanceNetworkTypeRequest) SetVSwitchId

func (*ModifyDBInstanceNetworkTypeRequest) SetVpcId

func (*ModifyDBInstanceNetworkTypeRequest) SetZoneId

func (ModifyDBInstanceNetworkTypeRequest) String

type ModifyDBInstanceNetworkTypeResponse

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

func (ModifyDBInstanceNetworkTypeResponse) GoString

func (*ModifyDBInstanceNetworkTypeResponse) SetHeaders

func (*ModifyDBInstanceNetworkTypeResponse) SetStatusCode

func (ModifyDBInstanceNetworkTypeResponse) String

type ModifyDBInstanceNetworkTypeResponseBody

type ModifyDBInstanceNetworkTypeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D0E605FD-6ECE-5FBE-84A4-99AAB1B8****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceNetworkTypeResponseBody) GoString

func (*ModifyDBInstanceNetworkTypeResponseBody) SetRequestId

func (ModifyDBInstanceNetworkTypeResponseBody) String

type ModifyDBInstanceSSLRequest

type ModifyDBInstanceSSLRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2235****
	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 operation on the SSL feature. Valid values:
	//
	// 	- **Open**: enables SSL encryption.
	//
	// 	- **Close**: disables SSL encryption.
	//
	// 	- **Update**: updates the SSL certificate.
	//
	// This parameter is required.
	//
	// example:
	//
	// Open
	SSLAction *string `json:"SSLAction,omitempty" xml:"SSLAction,omitempty"`
}

func (ModifyDBInstanceSSLRequest) GoString

func (s ModifyDBInstanceSSLRequest) GoString() string

func (*ModifyDBInstanceSSLRequest) SetDBInstanceId

func (*ModifyDBInstanceSSLRequest) SetOwnerAccount

func (*ModifyDBInstanceSSLRequest) SetOwnerId

func (*ModifyDBInstanceSSLRequest) SetResourceOwnerAccount

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

func (*ModifyDBInstanceSSLRequest) SetResourceOwnerId

func (*ModifyDBInstanceSSLRequest) SetSSLAction

func (ModifyDBInstanceSSLRequest) String

type ModifyDBInstanceSSLResponse

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

func (ModifyDBInstanceSSLResponse) GoString

func (s ModifyDBInstanceSSLResponse) GoString() string

func (*ModifyDBInstanceSSLResponse) SetBody

func (*ModifyDBInstanceSSLResponse) SetHeaders

func (*ModifyDBInstanceSSLResponse) SetStatusCode

func (ModifyDBInstanceSSLResponse) String

type ModifyDBInstanceSSLResponseBody

type ModifyDBInstanceSSLResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 6D806B11-078F-4154-BF9F-844F56D08964
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceSSLResponseBody) GoString

func (*ModifyDBInstanceSSLResponseBody) SetRequestId

func (ModifyDBInstanceSSLResponseBody) String

type ModifyDBInstanceSpecRequest

type ModifyDBInstanceSpecRequest struct {
	// Specifies whether to enable automatic payment. Valid values:
	//
	// 	- **true*	- (default): enables automatic payment. Make sure that your Alibaba Cloud account has a sufficient balance.
	//
	// 	- **false**: disables automatic payment. You can perform the following operations to pay for the instance: Log on to the ApsaraDB for MongoDB console. In the upper-right corner of the page, choose **Expenses*	- > **User Center**. In the left-side navigation pane, choose **Order Management*	- > **Order**. On the **Orders for Services*	- tab, find the order and pay for the order.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The business information.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The instance type. For more information, see [Instance types](https://help.aliyun.com/document_detail/57141.html). You can also call the [DescribeAvailableResource](https://help.aliyun.com/document_detail/149719.html) operation to view instance types.
	//
	// > You must specify at least one of the DBInstanceClass and **DBInstanceStorage*	- parameters.
	//
	// example:
	//
	// dds.sn4.xlarge.1
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1ea17b41ab****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the instance. Valid values: 10 to 3000. The value must be a multiple of 10. Unit: GB. The values that can be specified for this parameter are subject to the instance types. For more information, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// >
	//
	// 	- You must specify at least one of the DBInstanceStorage and **DBInstanceClass*	- parameters.
	//
	// 	- Storage capacity can be scaled down only for pay-as-you-go replica set instances. The new storage capacity you specify must be greater than the used storage capacity.
	//
	// example:
	//
	// 50
	DBInstanceStorage *string `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The time when the changed configurations take effect. Valid values:
	//
	// 	- **Immediately*	- (default): The configurations immediately take effect.
	//
	// 	- **MaintainTime**: The configurations take effect during the maintenance window of the instance.
	//
	// example:
	//
	// Immediately
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The additional parameter.
	//
	// Valid values:
	//
	// 	- async
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- sync
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// async
	ExtraParam *string `json:"ExtraParam,omitempty" xml:"ExtraParam,omitempty"`
	// The type of the configuration change. Valid values:
	//
	// 	- **UPGRADE**
	//
	// 	- **DOWNGRADE*	- (default)
	//
	// >  This parameter can be configured only when the billing method of the instance is subscription.
	//
	// example:
	//
	// UPGRADE
	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. Valid values: **0*	- to **5**.
	//
	// If your instance has only **Classic Network*	- and **VPC*	- endpoints, you must apply for a public endpoint or release the classic network endpoint for the instance before you can change the **Read-only Nodes*	- value.
	//
	// > You can go to the **Database Connections*	- page to view the types of networks that are enabled.
	//
	// example:
	//
	// 1
	ReadonlyReplicas *string `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	// The number of nodes in the instance.
	//
	// 	- Valid values for replica set instances: **3**, **5**, and **7**
	//
	// 	- Valid values for standalone instances: **1**
	//
	// >  This parameter is not required for a serverless instance which is only available on the China site (aliyun.com).
	//
	// example:
	//
	// 3
	ReplicationFactor    *string `json:"ReplicationFactor,omitempty" xml:"ReplicationFactor,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceSpecRequest) GoString

func (s ModifyDBInstanceSpecRequest) GoString() string

func (*ModifyDBInstanceSpecRequest) SetAutoPay

func (*ModifyDBInstanceSpecRequest) SetBusinessInfo

func (*ModifyDBInstanceSpecRequest) SetCouponNo

func (*ModifyDBInstanceSpecRequest) SetDBInstanceClass

func (*ModifyDBInstanceSpecRequest) SetDBInstanceId

func (*ModifyDBInstanceSpecRequest) SetDBInstanceStorage

func (*ModifyDBInstanceSpecRequest) SetEffectiveTime

func (*ModifyDBInstanceSpecRequest) SetExtraParam

func (*ModifyDBInstanceSpecRequest) SetOrderType

func (*ModifyDBInstanceSpecRequest) SetOwnerAccount

func (*ModifyDBInstanceSpecRequest) SetOwnerId

func (*ModifyDBInstanceSpecRequest) SetReadonlyReplicas

func (*ModifyDBInstanceSpecRequest) SetReplicationFactor

func (*ModifyDBInstanceSpecRequest) SetResourceOwnerAccount

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

func (*ModifyDBInstanceSpecRequest) SetResourceOwnerId

func (ModifyDBInstanceSpecRequest) String

type ModifyDBInstanceSpecResponse

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

func (ModifyDBInstanceSpecResponse) GoString

func (s ModifyDBInstanceSpecResponse) GoString() string

func (*ModifyDBInstanceSpecResponse) SetBody

func (*ModifyDBInstanceSpecResponse) SetHeaders

func (*ModifyDBInstanceSpecResponse) SetStatusCode

func (ModifyDBInstanceSpecResponse) String

type ModifyDBInstanceSpecResponseBody

type ModifyDBInstanceSpecResponseBody struct {
	// The ID of the order.
	//
	// example:
	//
	// 21012408824****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 1E9F1104-19E7-59F0-AB7F-F4EBFDEA****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceSpecResponseBody) GoString

func (*ModifyDBInstanceSpecResponseBody) SetOrderId

func (*ModifyDBInstanceSpecResponseBody) SetRequestId

func (ModifyDBInstanceSpecResponseBody) String

type ModifyDBInstanceTDERequest

type ModifyDBInstanceTDERequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the custom key.
	//
	// example:
	//
	// 749c1df7-xxxx-xxxx-xxxx-xxxxxxxxxxxx
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The encryption method. Set the value to **aes-256-cbc**.
	//
	// > This parameter is valid only when the **TEDStatus*	- parameter is set to **enabled**.
	//
	// example:
	//
	// aes-256-cbc
	EncryptorName        *string `json:"EncryptorName,omitempty" xml:"EncryptorName,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 specified Resource Access Management (RAM) role. The ARN is displayed in the `acs:ram::$accountID:role/$roleName` format.
	//
	// > 	- `$accountID`: specifies the ID of the Alibaba Cloud account. To view the account ID, log on to the Alibaba Cloud Management Console, move your pointer over your profile picture in the upper-right corner, and then click Security Settings.
	//
	// > 	- `$roleName`: specifies the name of the RAM role. To view the RAM role name, log on to the RAM console. In the left-side navigation pane, choose Identities > Roles. On the Roles page, view the name of the RAM role.
	//
	// example:
	//
	// acs:ram::123456789012****:role/adminrole
	RoleARN *string `json:"RoleARN,omitempty" xml:"RoleARN,omitempty"`
	// The TDE status. When the value of this parameter is set to **Enabled**, TDE is enabled.
	//
	// > You cannot disable TDE after it is enabled. Proceed with caution.
	//
	// This parameter is required.
	//
	// example:
	//
	// enabled
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (ModifyDBInstanceTDERequest) GoString

func (s ModifyDBInstanceTDERequest) GoString() string

func (*ModifyDBInstanceTDERequest) SetDBInstanceId

func (*ModifyDBInstanceTDERequest) SetEncryptionKey

func (*ModifyDBInstanceTDERequest) SetEncryptorName

func (*ModifyDBInstanceTDERequest) SetOwnerAccount

func (*ModifyDBInstanceTDERequest) SetOwnerId

func (*ModifyDBInstanceTDERequest) SetResourceOwnerAccount

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

func (*ModifyDBInstanceTDERequest) SetResourceOwnerId

func (*ModifyDBInstanceTDERequest) SetRoleARN

func (*ModifyDBInstanceTDERequest) SetTDEStatus

func (ModifyDBInstanceTDERequest) String

type ModifyDBInstanceTDEResponse

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

func (ModifyDBInstanceTDEResponse) GoString

func (s ModifyDBInstanceTDEResponse) GoString() string

func (*ModifyDBInstanceTDEResponse) SetBody

func (*ModifyDBInstanceTDEResponse) SetHeaders

func (*ModifyDBInstanceTDEResponse) SetStatusCode

func (ModifyDBInstanceTDEResponse) String

type ModifyDBInstanceTDEResponseBody

type ModifyDBInstanceTDEResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 434D7127-6229-4355-BA50-7A3685A725DF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceTDEResponseBody) GoString

func (*ModifyDBInstanceTDEResponseBody) SetRequestId

func (ModifyDBInstanceTDEResponseBody) String

type ModifyGlobalSecurityIPGroupNameRequest

type ModifyGlobalSecurityIPGroupNameRequest struct {
	// The name of the IP whitelist template. The name must meet the following requirements:
	//
	// 	- It can contain lowercase letters, digits, and underscores (_).
	//
	// 	- It must start with a letter and end with a letter or digit.
	//
	// 	- It must be 2 to 120 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// prod_baoxian_k8s
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// This parameter is required.
	//
	// example:
	//
	// g-xmtncwkrzqqoe59dzljb
	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 of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (ModifyGlobalSecurityIPGroupNameRequest) GoString

func (*ModifyGlobalSecurityIPGroupNameRequest) SetGlobalIgName

func (*ModifyGlobalSecurityIPGroupNameRequest) SetGlobalSecurityGroupId

func (*ModifyGlobalSecurityIPGroupNameRequest) SetOwnerAccount

func (*ModifyGlobalSecurityIPGroupNameRequest) SetOwnerId

func (*ModifyGlobalSecurityIPGroupNameRequest) SetRegionId

func (*ModifyGlobalSecurityIPGroupNameRequest) SetResourceOwnerAccount

func (*ModifyGlobalSecurityIPGroupNameRequest) SetResourceOwnerId

func (ModifyGlobalSecurityIPGroupNameRequest) String

type ModifyGlobalSecurityIPGroupNameResponse

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

func (*ModifyGlobalSecurityIPGroupNameResponse) SetHeaders

func (*ModifyGlobalSecurityIPGroupNameResponse) SetStatusCode

func (ModifyGlobalSecurityIPGroupNameResponse) String

type ModifyGlobalSecurityIPGroupNameResponseBody

type ModifyGlobalSecurityIPGroupNameResponseBody struct {
	// The global IP whitelist templates.
	GlobalSecurityIPGroup []*ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup `json:"GlobalSecurityIPGroup,omitempty" xml:"GlobalSecurityIPGroup,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// F8CA8312-530A-413A-9129-F2BB32A8D404
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupNameResponseBody) GoString

func (*ModifyGlobalSecurityIPGroupNameResponseBody) SetRequestId

func (ModifyGlobalSecurityIPGroupNameResponseBody) String

type ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup

type ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup struct {
	// The IP addresses 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 address whitelists.
	//
	// example:
	//
	// 222.70.197.187
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template.
	//
	// example:
	//
	// def
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// example:
	//
	// g-qiawi8ec1urcx9swoy37
	GlobalSecurityGroupId *string `json:"GlobalSecurityGroupId,omitempty" xml:"GlobalSecurityGroupId,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-shanghai
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup) GoString

func (*ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup) SetGIpList

func (*ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup) SetGlobalIgName

func (*ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup) SetGlobalSecurityGroupId

func (*ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup) SetRegionId

func (ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup) String

type ModifyGlobalSecurityIPGroupRelationRequest

type ModifyGlobalSecurityIPGroupRelationRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-2ze6069764423m0l
	DBClusterId *string `json:"DBClusterId,omitempty" xml:"DBClusterId,omitempty"`
	// The ID of the IP whitelist template.
	//
	// This parameter is required.
	//
	// example:
	//
	// g-u0qdtybfvxhaxrrhk4n7
	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 of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (ModifyGlobalSecurityIPGroupRelationRequest) GoString

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetDBClusterId

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetGlobalSecurityGroupId

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetOwnerAccount

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetOwnerId

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetRegionId

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetResourceOwnerAccount

func (*ModifyGlobalSecurityIPGroupRelationRequest) SetResourceOwnerId

func (ModifyGlobalSecurityIPGroupRelationRequest) String

type ModifyGlobalSecurityIPGroupRelationResponse

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

func (*ModifyGlobalSecurityIPGroupRelationResponse) SetHeaders

func (*ModifyGlobalSecurityIPGroupRelationResponse) SetStatusCode

func (ModifyGlobalSecurityIPGroupRelationResponse) String

type ModifyGlobalSecurityIPGroupRelationResponseBody

type ModifyGlobalSecurityIPGroupRelationResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 52820D2B-B2DD-59F0-BDF2-83EC19C6F1CA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupRelationResponseBody) GoString

func (*ModifyGlobalSecurityIPGroupRelationResponseBody) SetRequestId

func (ModifyGlobalSecurityIPGroupRelationResponseBody) String

type ModifyGlobalSecurityIPGroupRequest

type ModifyGlobalSecurityIPGroupRequest struct {
	// The IP addresses 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 address whitelists.
	//
	// This parameter is required.
	//
	// example:
	//
	// 27.16.214.10,111.60.117.181
	GIpList *string `json:"GIpList,omitempty" xml:"GIpList,omitempty"`
	// The name of the IP whitelist template.
	//
	// This parameter is required.
	//
	// example:
	//
	// dps
	GlobalIgName *string `json:"GlobalIgName,omitempty" xml:"GlobalIgName,omitempty"`
	// The ID of the IP whitelist template.
	//
	// This parameter is required.
	//
	// example:
	//
	// g-fwjk62egbsrp4sftxmmr
	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 of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (ModifyGlobalSecurityIPGroupRequest) GoString

func (*ModifyGlobalSecurityIPGroupRequest) SetGIpList

func (*ModifyGlobalSecurityIPGroupRequest) SetGlobalIgName

func (*ModifyGlobalSecurityIPGroupRequest) SetGlobalSecurityGroupId

func (*ModifyGlobalSecurityIPGroupRequest) SetOwnerAccount

func (*ModifyGlobalSecurityIPGroupRequest) SetOwnerId

func (*ModifyGlobalSecurityIPGroupRequest) SetRegionId

func (*ModifyGlobalSecurityIPGroupRequest) SetResourceOwnerAccount

func (*ModifyGlobalSecurityIPGroupRequest) SetResourceOwnerId

func (ModifyGlobalSecurityIPGroupRequest) String

type ModifyGlobalSecurityIPGroupResponse

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

func (*ModifyGlobalSecurityIPGroupResponse) SetHeaders

func (*ModifyGlobalSecurityIPGroupResponse) SetStatusCode

func (ModifyGlobalSecurityIPGroupResponse) String

type ModifyGlobalSecurityIPGroupResponseBody

type ModifyGlobalSecurityIPGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// A0181AC4-F186-46ED-87CA-100C70B86729
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyGlobalSecurityIPGroupResponseBody) GoString

func (*ModifyGlobalSecurityIPGroupResponseBody) SetRequestId

func (ModifyGlobalSecurityIPGroupResponseBody) String

type ModifyInstanceAutoRenewalAttributeRequest

type ModifyInstanceAutoRenewalAttributeRequest struct {
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// >  If this parameter is set to **true**, you must set the **Duration*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// true
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp15da1923e3****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The auto-renewal period. Valid values: **1*	- to **12**. Unit: month.
	//
	// >  This parameter is valid only when **AutoRenew*	- is set to **true**.
	//
	// example:
	//
	// 1
	Duration     *string `json:"Duration,omitempty" xml:"Duration,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 [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the region ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	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 (ModifyInstanceAutoRenewalAttributeRequest) GoString

func (*ModifyInstanceAutoRenewalAttributeRequest) SetAutoRenew

func (*ModifyInstanceAutoRenewalAttributeRequest) SetDBInstanceId

func (*ModifyInstanceAutoRenewalAttributeRequest) SetDuration

func (*ModifyInstanceAutoRenewalAttributeRequest) SetOwnerAccount

func (*ModifyInstanceAutoRenewalAttributeRequest) SetOwnerId

func (*ModifyInstanceAutoRenewalAttributeRequest) SetRegionId

func (*ModifyInstanceAutoRenewalAttributeRequest) SetResourceOwnerAccount

func (*ModifyInstanceAutoRenewalAttributeRequest) SetResourceOwnerId

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.
	//
	// example:
	//
	// EFD65226-08CC-4C4D-B6A4-CB3C382F67B0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceAutoRenewalAttributeResponseBody) GoString

func (*ModifyInstanceAutoRenewalAttributeResponseBody) SetRequestId

func (ModifyInstanceAutoRenewalAttributeResponseBody) String

type ModifyInstanceVpcAuthModeRequest

type ModifyInstanceVpcAuthModeRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the mongos node in the sharded cluster instance.
	//
	// >  This parameter can be used only when the instance type is sharded cluster.
	//
	// example:
	//
	// s-bpxxxxxxxx
	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"`
	// Specify whether to disable password-free access over VPC. Set the value to **Close**.
	//
	// example:
	//
	// Open
	VpcAuthMode *string `json:"VpcAuthMode,omitempty" xml:"VpcAuthMode,omitempty"`
}

func (ModifyInstanceVpcAuthModeRequest) GoString

func (*ModifyInstanceVpcAuthModeRequest) SetDBInstanceId

func (*ModifyInstanceVpcAuthModeRequest) SetNodeId

func (*ModifyInstanceVpcAuthModeRequest) SetOwnerAccount

func (*ModifyInstanceVpcAuthModeRequest) SetOwnerId

func (*ModifyInstanceVpcAuthModeRequest) SetResourceOwnerAccount

func (*ModifyInstanceVpcAuthModeRequest) SetResourceOwnerId

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 request ID.
	//
	// example:
	//
	// BA51E9D9-B14A-4542-B6E6-7DE00BECCB8C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyInstanceVpcAuthModeResponseBody) GoString

func (*ModifyInstanceVpcAuthModeResponseBody) SetRequestId

func (ModifyInstanceVpcAuthModeResponseBody) String

type ModifyNodeSpecBatchRequest

type ModifyNodeSpecBatchRequest 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. You can perform the following operations to pay for the instance: Log on to the ApsaraDB for MongoDB console. In the upper-right corner of the page, click **Expenses*	- to go to the **Billing Management*	- console. In the left-side navigation pane, click **Orders**. On the **Orders*	- page, find the order and complete the payment.
	//
	// Default value: **true**.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The business information.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	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 ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance whose configurations you want to change.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1337621e8f****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The time when the changed configurations take effect. Valid values:
	//
	// 	- **Immediately**: The configurations immediately take effect.
	//
	// 	- **MaintainTime**: The configurations take effect during the maintenance window of the instance.
	//
	// >
	//
	// 	- You can call the [ModifyDBInstanceMaintainTime](https://help.aliyun.com/document_detail/62008.html) operation to modify the maintenance window of an instance.
	//
	// 	- You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to view the maintenance window of an instance.
	//
	// Default value: **Immediately**.
	//
	// example:
	//
	// Immediately
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The configuration information of the mongos nodes or shard nodes whose configurations you want to change. For more information, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// {"Shards":[{"DBInstanceClass":"dds.shard.mid","DBInstanceName":"d-bp14ae4572fd****","Storage":20},{"DBInstanceClass":"dds.shard.mid","DBInstanceName":"d-bp19f4f92dc5****","Storage":30}]}
	NodesInfo *string `json:"NodesInfo,omitempty" xml:"NodesInfo,omitempty"`
	// The type of configuration changes. Valid values:
	//
	// 	- **UPGRADE**
	//
	// 	- **DOWNGRADE**
	//
	// > This parameter is only applicable to instances whose billing method is subscription.
	//
	// example:
	//
	// UPGRADE
	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 region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-hangzhou
	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 (ModifyNodeSpecBatchRequest) GoString

func (s ModifyNodeSpecBatchRequest) GoString() string

func (*ModifyNodeSpecBatchRequest) SetAutoPay

func (*ModifyNodeSpecBatchRequest) SetBusinessInfo

func (*ModifyNodeSpecBatchRequest) SetClientToken

func (*ModifyNodeSpecBatchRequest) SetCouponNo

func (*ModifyNodeSpecBatchRequest) SetDBInstanceId

func (*ModifyNodeSpecBatchRequest) SetEffectiveTime

func (*ModifyNodeSpecBatchRequest) SetNodesInfo

func (*ModifyNodeSpecBatchRequest) SetOrderType

func (*ModifyNodeSpecBatchRequest) SetOwnerAccount

func (*ModifyNodeSpecBatchRequest) SetOwnerId

func (*ModifyNodeSpecBatchRequest) SetRegionId

func (*ModifyNodeSpecBatchRequest) SetResourceOwnerAccount

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

func (*ModifyNodeSpecBatchRequest) SetResourceOwnerId

func (ModifyNodeSpecBatchRequest) String

type ModifyNodeSpecBatchResponse

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

func (ModifyNodeSpecBatchResponse) GoString

func (s ModifyNodeSpecBatchResponse) GoString() string

func (*ModifyNodeSpecBatchResponse) SetBody

func (*ModifyNodeSpecBatchResponse) SetHeaders

func (*ModifyNodeSpecBatchResponse) SetStatusCode

func (ModifyNodeSpecBatchResponse) String

type ModifyNodeSpecBatchResponseBody

type ModifyNodeSpecBatchResponseBody struct {
	// The order ID.
	//
	// example:
	//
	// 21012719476****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 0637BC25-6895-5500-871F-1127CA34****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyNodeSpecBatchResponseBody) GoString

func (*ModifyNodeSpecBatchResponseBody) SetOrderId

func (*ModifyNodeSpecBatchResponseBody) SetRequestId

func (ModifyNodeSpecBatchResponseBody) String

type ModifyNodeSpecRequest

type ModifyNodeSpecRequest struct {
	// Specifies whether to enable automatic payment. Valid values:
	//
	// 	- **true*	- (default): enables automatic payment. Make sure that you have sufficient balance within your account.
	//
	// 	- **false**: disables automatic payment. In this case, you must manually pay for the instance.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	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 ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCz****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1c0b990184****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The time when the changed configurations take effect. Valid values:
	//
	// 	- **Immediately*	- (default): The new configurations immediately take effect
	//
	// 	- **MaintainTime**: The new configurations take effect during the maintenance window of the instance.
	//
	// example:
	//
	// Immediately
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The source of the request. Valid values:
	//
	// 	- **OpenApi**: the ApsaraDB for MongoDB API
	//
	// 	- **mongo_buy**: the ApsaraDB for MongoDB console
	//
	// example:
	//
	// OpenApi
	FromApp *string `json:"FromApp,omitempty" xml:"FromApp,omitempty"`
	// The specifications of the shard or mongos node. For more information, see [Instance types](https://help.aliyun.com/document_detail/57141.html).
	//
	// example:
	//
	// dds.mongos.standard
	NodeClass *string `json:"NodeClass,omitempty" xml:"NodeClass,omitempty"`
	// The ID of the shard or mongos node in the sharded cluster instance. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the node ID.
	//
	// > If you set this parameter to the ID of the shard node, you must also specify the **NodeStorage*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// s-bp143e1b1637****
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The storage capacity of the shard node. Unit: GB.
	//
	// 	- Valid values are **10*	- to **2000*	- if the instance uses local SSDs.
	//
	// 	- Valid values are **20*	- to **16000*	- if the instance uses enhanced SSDs (ESSDs) at PL1.
	//
	// > The value must be a multiple of 10.
	//
	// example:
	//
	// 20
	NodeStorage *int32 `json:"NodeStorage,omitempty" xml:"NodeStorage,omitempty"`
	// The order type. Valid values:
	//
	// 	- **UPGRADE**
	//
	// 	- **DOWNGRADE**
	//
	// example:
	//
	// UPGRADE
	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 in the shard node.
	//
	// Valid values: **0*	- to **5**. The value must be an integer. Default value: **0**.
	//
	// example:
	//
	// 5
	ReadonlyReplicas     *int32  `json:"ReadonlyReplicas,omitempty" xml:"ReadonlyReplicas,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The execution time. Specify the time in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// example:
	//
	// 2022-01-05T03:18:53Z
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
}

func (ModifyNodeSpecRequest) GoString

func (s ModifyNodeSpecRequest) GoString() string

func (*ModifyNodeSpecRequest) SetAutoPay

func (*ModifyNodeSpecRequest) SetBusinessInfo

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

func (*ModifyNodeSpecRequest) SetClientToken

func (s *ModifyNodeSpecRequest) SetClientToken(v string) *ModifyNodeSpecRequest

func (*ModifyNodeSpecRequest) SetCouponNo

func (*ModifyNodeSpecRequest) SetDBInstanceId

func (s *ModifyNodeSpecRequest) SetDBInstanceId(v string) *ModifyNodeSpecRequest

func (*ModifyNodeSpecRequest) SetEffectiveTime

func (s *ModifyNodeSpecRequest) SetEffectiveTime(v string) *ModifyNodeSpecRequest

func (*ModifyNodeSpecRequest) SetFromApp

func (*ModifyNodeSpecRequest) SetNodeClass

func (*ModifyNodeSpecRequest) SetNodeId

func (*ModifyNodeSpecRequest) SetNodeStorage

func (s *ModifyNodeSpecRequest) SetNodeStorage(v int32) *ModifyNodeSpecRequest

func (*ModifyNodeSpecRequest) SetOrderType

func (*ModifyNodeSpecRequest) SetOwnerAccount

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

func (*ModifyNodeSpecRequest) SetOwnerId

func (*ModifyNodeSpecRequest) SetReadonlyReplicas

func (s *ModifyNodeSpecRequest) SetReadonlyReplicas(v int32) *ModifyNodeSpecRequest

func (*ModifyNodeSpecRequest) SetResourceOwnerAccount

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

func (*ModifyNodeSpecRequest) SetResourceOwnerId

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

func (*ModifyNodeSpecRequest) SetSwitchTime

func (s *ModifyNodeSpecRequest) SetSwitchTime(v string) *ModifyNodeSpecRequest

func (ModifyNodeSpecRequest) String

func (s ModifyNodeSpecRequest) String() string

type ModifyNodeSpecResponse

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

func (ModifyNodeSpecResponse) GoString

func (s ModifyNodeSpecResponse) GoString() string

func (*ModifyNodeSpecResponse) SetBody

func (*ModifyNodeSpecResponse) SetHeaders

func (*ModifyNodeSpecResponse) SetStatusCode

func (ModifyNodeSpecResponse) String

func (s ModifyNodeSpecResponse) String() string

type ModifyNodeSpecResponseBody

type ModifyNodeSpecResponseBody struct {
	// The ID of the order.
	//
	// example:
	//
	// 21084641369****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 61B05CCF-EBAB-4BF3-BA67-D77256A721E2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyNodeSpecResponseBody) GoString

func (s ModifyNodeSpecResponseBody) GoString() string

func (*ModifyNodeSpecResponseBody) SetOrderId

func (*ModifyNodeSpecResponseBody) SetRequestId

func (ModifyNodeSpecResponseBody) String

type ModifyParametersRequest

type ModifyParametersRequest struct {
	// The role of the instance. Valid values:
	//
	// 	- **db**: a shard node.
	//
	// 	- **cs**: a Configserver node.
	//
	// 	- **mongos**: a mongos node.
	//
	// example:
	//
	// db
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The instance ID.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the NodeId parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp19f409d75****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the mongos or shard node in the specified sharded cluster instance.
	//
	// >  This parameter is valid only when DBInstanceId is set to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bp1b7bb3bbe****
	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 instance parameters that you want to modify and their values. Specify this parameter in a JSON string. Sample format: {"ParameterName1":"ParameterValue1","ParameterName2":"ParameterValue2"}.
	//
	// >  You can call the [DescribeParameterTemplates](https://help.aliyun.com/document_detail/67618.html) operation to query a list of default parameter templates.
	//
	// This parameter is required.
	//
	// example:
	//
	// {"operationProfiling.mode":"all","operationProfiling.slowOpThresholdMs":"200"}
	Parameters *string `json:"Parameters,omitempty" xml:"Parameters,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the most recent region list.
	//
	// example:
	//
	// cn-hangzhou
	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 (ModifyParametersRequest) GoString

func (s ModifyParametersRequest) GoString() string

func (*ModifyParametersRequest) SetCharacterType

func (s *ModifyParametersRequest) SetCharacterType(v string) *ModifyParametersRequest

func (*ModifyParametersRequest) SetDBInstanceId

func (*ModifyParametersRequest) SetNodeId

func (*ModifyParametersRequest) SetOwnerAccount

func (*ModifyParametersRequest) SetOwnerId

func (*ModifyParametersRequest) SetParameters

func (*ModifyParametersRequest) SetRegionId

func (*ModifyParametersRequest) SetResourceOwnerAccount

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

func (*ModifyParametersRequest) SetResourceOwnerId

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

func (ModifyParametersRequest) String

func (s ModifyParametersRequest) String() string

type ModifyParametersResponse

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

func (ModifyParametersResponse) GoString

func (s ModifyParametersResponse) GoString() string

func (*ModifyParametersResponse) SetBody

func (*ModifyParametersResponse) SetHeaders

func (*ModifyParametersResponse) SetStatusCode

func (ModifyParametersResponse) String

func (s ModifyParametersResponse) String() string

type ModifyParametersResponseBody

type ModifyParametersResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 36923CC2-DDAB-4B48-A144-DA92C1E19537
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyParametersResponseBody) GoString

func (s ModifyParametersResponseBody) GoString() string

func (*ModifyParametersResponseBody) SetRequestId

func (ModifyParametersResponseBody) String

type ModifyResourceGroupRequest

type ModifyResourceGroupRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1366caac83****
	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 region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the region ID.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group. For more information, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	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) SetDBInstanceId

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.
	//
	// example:
	//
	// 5DD0DEC3-24A1-5268-8E0B-5B264CA1****
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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 ECS security group.
	//
	// > 	- You can bind up to 10 ECS security groups to an ApsaraDB for MongoDB instance.
	//
	// > 	- You can call the [DescribeSecurityGroup](https://help.aliyun.com/document_detail/25556.html) operation of ECS to query the security groups in the specified region.
	//
	// This parameter is required.
	//
	// example:
	//
	// sg-bpxxxxxxxx
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
}

func (ModifySecurityGroupConfigurationRequest) GoString

func (*ModifySecurityGroupConfigurationRequest) SetDBInstanceId

func (*ModifySecurityGroupConfigurationRequest) SetOwnerAccount

func (*ModifySecurityGroupConfigurationRequest) SetOwnerId

func (*ModifySecurityGroupConfigurationRequest) SetResourceOwnerAccount

func (*ModifySecurityGroupConfigurationRequest) SetResourceOwnerId

func (*ModifySecurityGroupConfigurationRequest) SetSecurityGroupId

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.
	//
	// example:
	//
	// E062C482-1A4B-469E-938C-96D28CFAE42E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifySecurityGroupConfigurationResponseBody) GoString

func (*ModifySecurityGroupConfigurationResponseBody) SetRequestId

func (ModifySecurityGroupConfigurationResponseBody) String

type ModifySecurityIpsRequest

type ModifySecurityIpsRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp*****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The method that is used to modify the IP address whitelist. Valid values:
	//
	// 	- **Cover**: overwrites the original IP address whitelist.
	//
	// 	- **Append**: appends data to the IP address whitelist.
	//
	// 	- **Delete**: deletes the IP address whitelist.
	//
	// Default value: **Cover**.
	//
	// example:
	//
	// Append
	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"`
	// The attribute of the IP address whitelist. It can contain a maximum of 120 characters in length and can contain uppercase letters, lowercase letters, and digits.
	//
	// This parameter is empty by default.
	//
	// example:
	//
	// test
	SecurityIpGroupAttribute *string `json:"SecurityIpGroupAttribute,omitempty" xml:"SecurityIpGroupAttribute,omitempty"`
	// The name of the IP address whitelist that you want to modify. Default value: **default**.
	//
	// example:
	//
	// allowserver
	SecurityIpGroupName *string `json:"SecurityIpGroupName,omitempty" xml:"SecurityIpGroupName,omitempty"`
	// The IP addresses in the IP address whitelist. Separate multiple IP addresses with commas (,). You can add a maximum of 1,000 different IP addresses to the IP address whitelist. The entries in the IP address whitelist must be in one of the following formats:
	//
	// 	- IP addresses, such as 127.0.0.1.
	//
	// 	- CIDR blocks, such as 127.0.0.1/24. In this example, 24 indicates that the prefix of each IP address in the IP address whitelist is 24 bits in length. You can replace 24 with a value within the range of 1 to 32.
	//
	// This parameter is required.
	//
	// example:
	//
	// 127.0.0.1/24,127.0.0.1
	SecurityIps *string `json:"SecurityIps,omitempty" xml:"SecurityIps,omitempty"`
}

func (ModifySecurityIpsRequest) GoString

func (s ModifySecurityIpsRequest) GoString() string

func (*ModifySecurityIpsRequest) SetDBInstanceId

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) 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 request ID.
	//
	// example:
	//
	// 61B05CCF-EBAB-4BF3-BA67-D77256A721E2
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifySecurityIpsResponseBody) GoString

func (*ModifySecurityIpsResponseBody) SetRequestId

func (ModifySecurityIpsResponseBody) String

type ModifyTaskInfoRequest

type ModifyTaskInfoRequest struct {
	// A action-related parameter. This parameter can be extended based on your business requirements. This parameter value varies with the value of the TaskAction parameter.
	//
	// example:
	//
	// {\\"recoverMode\\":\\"immediate\\"}
	ActionParams *string `json:"ActionParams,omitempty" xml:"ActionParams,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/61933.html) operation to query the region ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The name of the step visible to the user.
	//
	// This parameter is required.
	//
	// example:
	//
	// exec_task
	StepName *string `json:"StepName,omitempty" xml:"StepName,omitempty"`
	// The action name that corresponds to the state described in the actionInfo parameter of the [DescribeHistoryTasks](https://help.aliyun.com/document_detail/2639186.html) operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// modifySwitchTime
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
	// The task ID. Separate multiple IDs with commas (,). You can specify up to 10 task IDs.
	//
	// This parameter is required.
	//
	// example:
	//
	// t-83br18hlpdrw3uxxxx
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyTaskInfoRequest) GoString

func (s ModifyTaskInfoRequest) GoString() string

func (*ModifyTaskInfoRequest) SetActionParams

func (s *ModifyTaskInfoRequest) SetActionParams(v string) *ModifyTaskInfoRequest

func (*ModifyTaskInfoRequest) SetRegionId

func (*ModifyTaskInfoRequest) SetResourceOwnerAccount

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

func (*ModifyTaskInfoRequest) SetResourceOwnerId

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

func (*ModifyTaskInfoRequest) SetStepName

func (*ModifyTaskInfoRequest) SetTaskAction

func (s *ModifyTaskInfoRequest) SetTaskAction(v string) *ModifyTaskInfoRequest

func (*ModifyTaskInfoRequest) SetTaskId

func (ModifyTaskInfoRequest) String

func (s ModifyTaskInfoRequest) String() string

type ModifyTaskInfoResponse

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

func (ModifyTaskInfoResponse) GoString

func (s ModifyTaskInfoResponse) GoString() string

func (*ModifyTaskInfoResponse) SetBody

func (*ModifyTaskInfoResponse) SetHeaders

func (*ModifyTaskInfoResponse) SetStatusCode

func (ModifyTaskInfoResponse) String

func (s ModifyTaskInfoResponse) String() string

type ModifyTaskInfoResponseBody

type ModifyTaskInfoResponseBody struct {
	// The error code for the failed task. It is the same as that of the ModifyTaskInfo operation.
	//
	// example:
	//
	// ""
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// The ID of the failed task. The operation returns results after a task fails.
	//
	// example:
	//
	// ""
	ErrorTaskId *string `json:"ErrorTaskId,omitempty" xml:"ErrorTaskId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 6163731A-XXXX-XXXX-B934-3388DE70C217
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of successful tasks.
	//
	// example:
	//
	// 1
	SuccessCount *string `json:"SuccessCount,omitempty" xml:"SuccessCount,omitempty"`
}

func (ModifyTaskInfoResponseBody) GoString

func (s ModifyTaskInfoResponseBody) GoString() string

func (*ModifyTaskInfoResponseBody) SetErrorCode

func (*ModifyTaskInfoResponseBody) SetErrorTaskId

func (*ModifyTaskInfoResponseBody) SetRequestId

func (*ModifyTaskInfoResponseBody) SetSuccessCount

func (ModifyTaskInfoResponseBody) String

type ReleaseNodePrivateNetworkAddressRequest

type ReleaseNodePrivateNetworkAddressRequest struct {
	// The public endpoint type. Valid values:
	//
	// 	- **SRV**
	//
	// 	- **Normal**
	//
	// >  This parameter is valid only when you want to release an SRV endpoint.
	//
	// example:
	//
	// SRV
	ConnectionType *string `json:"ConnectionType,omitempty" xml:"ConnectionType,omitempty"`
	// The ID of the sharded cluster instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1a7009eb24****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the internal endpoint. Valid values:
	//
	// 	- **VPC**: virtual private cloud (VPC).
	//
	// 	- **Classic**: classic network.
	//
	// >  You can call the [DescribeShardingNetworkAddress](https://help.aliyun.com/document_detail/62135.html) operation to query the network type of the internal endpoint.
	//
	// example:
	//
	// VPC
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The ID of the shard or Configserver node.
	//
	// >  You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the ID of the shard or Configserver node.
	//
	// This parameter is required.
	//
	// example:
	//
	// d-bp128a003436****
	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"`
}

func (ReleaseNodePrivateNetworkAddressRequest) GoString

func (*ReleaseNodePrivateNetworkAddressRequest) SetConnectionType

func (*ReleaseNodePrivateNetworkAddressRequest) SetDBInstanceId

func (*ReleaseNodePrivateNetworkAddressRequest) SetNetworkType

func (*ReleaseNodePrivateNetworkAddressRequest) SetNodeId

func (*ReleaseNodePrivateNetworkAddressRequest) SetOwnerAccount

func (*ReleaseNodePrivateNetworkAddressRequest) SetOwnerId

func (*ReleaseNodePrivateNetworkAddressRequest) SetResourceOwnerAccount

func (*ReleaseNodePrivateNetworkAddressRequest) SetResourceOwnerId

func (ReleaseNodePrivateNetworkAddressRequest) String

type ReleaseNodePrivateNetworkAddressResponse

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

func (ReleaseNodePrivateNetworkAddressResponse) GoString

func (*ReleaseNodePrivateNetworkAddressResponse) SetHeaders

func (*ReleaseNodePrivateNetworkAddressResponse) SetStatusCode

func (ReleaseNodePrivateNetworkAddressResponse) String

type ReleaseNodePrivateNetworkAddressResponseBody

type ReleaseNodePrivateNetworkAddressResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 0FDDC511-7252-4A4A-ADDA-5CB1BF63873D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseNodePrivateNetworkAddressResponseBody) GoString

func (*ReleaseNodePrivateNetworkAddressResponseBody) SetRequestId

func (ReleaseNodePrivateNetworkAddressResponseBody) String

type ReleasePublicNetworkAddressRequest

type ReleasePublicNetworkAddressRequest struct {
	// The public endpoint type. Valid values:
	//
	// 	- **SRV**
	//
	// 	- **Normal**
	//
	// >  This parameter is valid only when you want to release an SRV endpoint.
	//
	// example:
	//
	// SRV
	ConnectionType *string `json:"ConnectionType,omitempty" xml:"ConnectionType,omitempty"`
	// The instance ID.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2235****
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
	//
	// > 	- This parameter is valid only if you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// > 	- You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to view the ID of the mongos, shard, or Configserver node.
	//
	// example:
	//
	// s-bp2235****
	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"`
}

func (ReleasePublicNetworkAddressRequest) GoString

func (*ReleasePublicNetworkAddressRequest) SetConnectionType

func (*ReleasePublicNetworkAddressRequest) SetDBInstanceId

func (*ReleasePublicNetworkAddressRequest) SetNodeId

func (*ReleasePublicNetworkAddressRequest) SetOwnerAccount

func (*ReleasePublicNetworkAddressRequest) SetOwnerId

func (*ReleasePublicNetworkAddressRequest) SetResourceOwnerAccount

func (*ReleasePublicNetworkAddressRequest) SetResourceOwnerId

func (ReleasePublicNetworkAddressRequest) String

type ReleasePublicNetworkAddressResponse

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

func (ReleasePublicNetworkAddressResponse) GoString

func (*ReleasePublicNetworkAddressResponse) SetHeaders

func (*ReleasePublicNetworkAddressResponse) SetStatusCode

func (ReleasePublicNetworkAddressResponse) String

type ReleasePublicNetworkAddressResponseBody

type ReleasePublicNetworkAddressResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 1D6AFE36-1AF5-4DE4-A954-672159D4CC69
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleasePublicNetworkAddressResponseBody) GoString

func (*ReleasePublicNetworkAddressResponseBody) SetRequestId

func (ReleasePublicNetworkAddressResponseBody) String

type RenewDBInstanceRequest

type RenewDBInstanceRequest 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. You must perform the following operations to pay for the instance: Log on to the ApsaraDB for MongoDB console. In the upper-right corner, click **Expenses*	- and select **User Center*	- from the drop-down list. The User Center page appears. In the left-side navigation pane, choose **Order Management*	- > Renew. On the Renewal tab, find the bill that you want to pay and then click Renew in the Actions column.
	//
	// Default value: **true**.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// Default value: **false**.
	//
	// example:
	//
	// true
	AutoRenew *bool `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The business information.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	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 the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	//
	// example:
	//
	// ETnLKlblzczshOTUbOCzxxxxxxxxxx
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to use coupons. Default value: null. Valid values:
	//
	// 	- **default*	- or **null**: uses coupons.
	//
	// 	- **youhuiquan_promotion_option_id_for_blank**: does not use coupons.
	//
	// example:
	//
	// 1111111111111111
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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 subscription period of the instance. Unit: month. Valid values: **1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, and 36**.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	Period               *int32  `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (RenewDBInstanceRequest) GoString

func (s RenewDBInstanceRequest) GoString() string

func (*RenewDBInstanceRequest) SetAutoPay

func (*RenewDBInstanceRequest) SetAutoRenew

func (*RenewDBInstanceRequest) SetBusinessInfo

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

func (*RenewDBInstanceRequest) SetClientToken

func (*RenewDBInstanceRequest) SetCouponNo

func (*RenewDBInstanceRequest) SetDBInstanceId

func (s *RenewDBInstanceRequest) SetDBInstanceId(v string) *RenewDBInstanceRequest

func (*RenewDBInstanceRequest) SetOwnerAccount

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

func (*RenewDBInstanceRequest) SetOwnerId

func (*RenewDBInstanceRequest) SetPeriod

func (*RenewDBInstanceRequest) SetResourceOwnerAccount

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

func (*RenewDBInstanceRequest) SetResourceOwnerId

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

func (RenewDBInstanceRequest) String

func (s RenewDBInstanceRequest) String() string

type RenewDBInstanceResponse

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

func (RenewDBInstanceResponse) GoString

func (s RenewDBInstanceResponse) GoString() string

func (*RenewDBInstanceResponse) SetBody

func (*RenewDBInstanceResponse) SetHeaders

func (*RenewDBInstanceResponse) SetStatusCode

func (RenewDBInstanceResponse) String

func (s RenewDBInstanceResponse) String() string

type RenewDBInstanceResponseBody

type RenewDBInstanceResponseBody struct {
	// The ID of the order.
	//
	// example:
	//
	// 203317xxxxxxxx
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// B118EF45-9633-4EE3-8405-42ED4373721B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RenewDBInstanceResponseBody) GoString

func (s RenewDBInstanceResponseBody) GoString() string

func (*RenewDBInstanceResponseBody) SetOrderId

func (*RenewDBInstanceResponseBody) SetRequestId

func (RenewDBInstanceResponseBody) String

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	// The account whose password needs to be reset. Set the value to **root**.
	//
	// This parameter is required.
	//
	// example:
	//
	// root
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The new password.
	//
	// 	- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `! # $ % ^ & 	- ( ) _ + - =`
	//
	// 	- The password must be 8 to 32 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// Ali!123456
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The role of the instance.
	//
	// 	- If the instance is a sharded cluster instance, this parameter is required. Valid values: db and cs.
	//
	// 	- If the instance is a replica set instance, you can leave this parameter empty or set the parameter to normal.
	//
	// example:
	//
	// db
	CharacterType *string `json:"CharacterType,omitempty" xml:"CharacterType,omitempty"`
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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"`
}

func (ResetAccountPasswordRequest) GoString

func (s ResetAccountPasswordRequest) GoString() string

func (*ResetAccountPasswordRequest) SetAccountName

func (*ResetAccountPasswordRequest) SetAccountPassword

func (*ResetAccountPasswordRequest) SetCharacterType

func (*ResetAccountPasswordRequest) SetDBInstanceId

func (*ResetAccountPasswordRequest) SetOwnerAccount

func (*ResetAccountPasswordRequest) SetOwnerId

func (*ResetAccountPasswordRequest) SetResourceOwnerAccount

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

func (*ResetAccountPasswordRequest) SetResourceOwnerId

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 request ID.
	//
	// example:
	//
	// 06CBD06E-ABC9-4121-AB93-3C3820B3E7E6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ResetAccountPasswordResponseBody) GoString

func (*ResetAccountPasswordResponseBody) SetRequestId

func (ResetAccountPasswordResponseBody) String

type RestartDBInstanceRequest

type RestartDBInstanceRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard or mongos node in the sharded cluster instance.
	//
	// > The sharded cluster instance is restarted if you do not specify this parameter.
	//
	// example:
	//
	// d-bpxxxxxxxx
	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"`
}

func (RestartDBInstanceRequest) GoString

func (s RestartDBInstanceRequest) GoString() string

func (*RestartDBInstanceRequest) SetDBInstanceId

func (*RestartDBInstanceRequest) SetNodeId

func (*RestartDBInstanceRequest) SetOwnerAccount

func (*RestartDBInstanceRequest) SetOwnerId

func (*RestartDBInstanceRequest) SetResourceOwnerAccount

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

func (*RestartDBInstanceRequest) SetResourceOwnerId

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

func (RestartDBInstanceRequest) String

func (s RestartDBInstanceRequest) String() string

type RestartDBInstanceResponse

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

func (RestartDBInstanceResponse) GoString

func (s RestartDBInstanceResponse) GoString() string

func (*RestartDBInstanceResponse) SetBody

func (*RestartDBInstanceResponse) SetHeaders

func (*RestartDBInstanceResponse) SetStatusCode

func (RestartDBInstanceResponse) String

func (s RestartDBInstanceResponse) String() string

type RestartDBInstanceResponseBody

type RestartDBInstanceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 149C517D-B586-47BE-A107-8673E0ED77C6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RestartDBInstanceResponseBody) GoString

func (*RestartDBInstanceResponseBody) SetRequestId

func (RestartDBInstanceResponseBody) String

type RestartNodeRequest

type RestartNodeRequest struct {
	// The instance ID.
	//
	// >  If you set this parameter to the ID of a sharded cluster instance, you must also specify the **NodeId*	- parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard, mongos, or ConfigServer node in a child instance of the sharded cluster instance.
	//
	// >  If you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance, you must specify this parameter.
	//
	// example:
	//
	// d-bp128a003436****
	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"`
	// The role ID of the node.
	//
	// 1.  You can call the [DescribeReplicaSetRole](https://help.aliyun.com/document_detail/468469.html) operation to query the role ID of a node in a replica set instance.
	//
	// 2.  You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/468472.html) operation to query the role ID of a node in a sharded cluster instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// 6025****
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
}

func (RestartNodeRequest) GoString

func (s RestartNodeRequest) GoString() string

func (*RestartNodeRequest) SetDBInstanceId

func (s *RestartNodeRequest) SetDBInstanceId(v string) *RestartNodeRequest

func (*RestartNodeRequest) SetNodeId

func (s *RestartNodeRequest) SetNodeId(v string) *RestartNodeRequest

func (*RestartNodeRequest) SetOwnerAccount

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

func (*RestartNodeRequest) SetOwnerId

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

func (*RestartNodeRequest) SetResourceOwnerAccount

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

func (*RestartNodeRequest) SetResourceOwnerId

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

func (*RestartNodeRequest) SetRoleId

func (s *RestartNodeRequest) SetRoleId(v string) *RestartNodeRequest

func (RestartNodeRequest) String

func (s RestartNodeRequest) String() string

type RestartNodeResponse

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

func (RestartNodeResponse) GoString

func (s RestartNodeResponse) GoString() string

func (*RestartNodeResponse) SetBody

func (*RestartNodeResponse) SetHeaders

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

func (*RestartNodeResponse) SetStatusCode

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

func (RestartNodeResponse) String

func (s RestartNodeResponse) String() string

type RestartNodeResponseBody

type RestartNodeResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// ECBCA991-XXXX-XXXX-834C-B3E8007F33AA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RestartNodeResponseBody) GoString

func (s RestartNodeResponseBody) GoString() string

func (*RestartNodeResponseBody) SetRequestId

func (RestartNodeResponseBody) String

func (s RestartNodeResponseBody) String() string

type SwitchDBInstanceHARequest

type SwitchDBInstanceHARequest struct {
	// The ID of the instance
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the shard node in the sharded cluster instance.
	//
	// > You must specify this parameter if you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance.
	//
	// example:
	//
	// d-bpxxxxxxxx
	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"`
	// The IDs of the roles who switch the primary and secondary nodes for the instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/123802.html) operation to view the IDs and information of roles of nodes.
	//
	// >
	//
	// 	- Separate role IDs with commas (,). If this parameter is not specified, the primary and secondary nodes are switched.
	//
	// 	- If you set the **DBInstanceId*	- parameter to the ID of a sharded cluster instance, the roles who switch the primary and secondary nodes for the instance must belong to one shard node.
	//
	// example:
	//
	// 972xxxx,972xxxx
	RoleIds *string `json:"RoleIds,omitempty" xml:"RoleIds,omitempty"`
	// The time when the primary and secondary nodes are switched. Valid values:
	//
	// 	- 0: The primary and secondary nodes are immediately switched.
	//
	// 	- 1: The primary and secondary nodes are switched during the O\\&M time period.
	//
	// example:
	//
	// 0
	SwitchMode *int32 `json:"SwitchMode,omitempty" xml:"SwitchMode,omitempty"`
}

func (SwitchDBInstanceHARequest) GoString

func (s SwitchDBInstanceHARequest) GoString() string

func (*SwitchDBInstanceHARequest) SetDBInstanceId

func (*SwitchDBInstanceHARequest) SetNodeId

func (*SwitchDBInstanceHARequest) SetOwnerAccount

func (*SwitchDBInstanceHARequest) SetOwnerId

func (*SwitchDBInstanceHARequest) SetResourceOwnerAccount

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

func (*SwitchDBInstanceHARequest) SetResourceOwnerId

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

func (*SwitchDBInstanceHARequest) SetRoleIds

func (*SwitchDBInstanceHARequest) SetSwitchMode

func (SwitchDBInstanceHARequest) String

func (s SwitchDBInstanceHARequest) String() string

type SwitchDBInstanceHAResponse

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

func (SwitchDBInstanceHAResponse) GoString

func (s SwitchDBInstanceHAResponse) GoString() string

func (*SwitchDBInstanceHAResponse) SetBody

func (*SwitchDBInstanceHAResponse) SetHeaders

func (*SwitchDBInstanceHAResponse) SetStatusCode

func (SwitchDBInstanceHAResponse) String

type SwitchDBInstanceHAResponseBody

type SwitchDBInstanceHAResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 26BD4E5F-BDB4-47BA-B232-413AA78CFA8F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SwitchDBInstanceHAResponseBody) GoString

func (*SwitchDBInstanceHAResponseBody) SetRequestId

func (SwitchDBInstanceHAResponseBody) 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. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the region ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfmyiu4ekp****
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The details of the tags bound to the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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**.
	//
	// This parameter is required.
	//
	// example:
	//
	// INSTANCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags that are attached to the resources.
	//
	// This parameter is required.
	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) SetResourceGroupId

func (s *TagResourcesRequest) SetResourceGroupId(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 tag.
	//
	// N specifies the serial number of the tag. The following example shows how to calculate consumption intervals:
	//
	// - **Tag.1.Key*	- specifies the key of the first tag.
	//
	// - **Tag.2.Key*	- specifies the key of the second tag.
	//
	// This parameter is required.
	//
	// example:
	//
	// Development team
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag.
	//
	// N specifies the serial number of the tag. The following example shows how to calculate consumption intervals:
	//
	// - **Tag.1.Value*	- specifies the value of the first tag.
	//
	// - **Tag.2.Value*	- specifies the value of the second tag.
	//
	// This parameter is required.
	//
	// example:
	//
	// MongoDB 4.0 environment
	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 request ID.
	//
	// example:
	//
	// 0FDDC511-7252-4A4A-ADDA-5CB1BF63****
	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 TransferClusterBackupRequest

type TransferClusterBackupRequest struct {
	// The instance ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2235****
	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"`
}

func (TransferClusterBackupRequest) GoString

func (s TransferClusterBackupRequest) GoString() string

func (*TransferClusterBackupRequest) SetDBInstanceId

func (*TransferClusterBackupRequest) SetOwnerAccount

func (*TransferClusterBackupRequest) SetOwnerId

func (*TransferClusterBackupRequest) SetResourceOwnerAccount

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

func (*TransferClusterBackupRequest) SetResourceOwnerId

func (TransferClusterBackupRequest) String

type TransferClusterBackupResponse

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

func (TransferClusterBackupResponse) GoString

func (*TransferClusterBackupResponse) SetBody

func (*TransferClusterBackupResponse) SetHeaders

func (*TransferClusterBackupResponse) SetStatusCode

func (TransferClusterBackupResponse) String

type TransferClusterBackupResponseBody

type TransferClusterBackupResponseBody struct {
	// Indicates whether the instance is switched to the cluster backup mode. If the value of this parameter is **1**, the instance is switched to the cluster backup mode.
	//
	// example:
	//
	// 1
	AlreadyDone *string `json:"AlreadyDone,omitempty" xml:"AlreadyDone,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 3C4A2494-85C4-45C5-93CF-548DB3375193
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TransferClusterBackupResponseBody) GoString

func (*TransferClusterBackupResponseBody) SetAlreadyDone

func (*TransferClusterBackupResponseBody) SetRequestId

func (TransferClusterBackupResponseBody) String

type TransformInstanceChargeTypeRequest

type TransformInstanceChargeTypeRequest struct {
	// Specifies whether to enable automatic payment. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// > Default value: **true**.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// > Default value: **false**.
	//
	// example:
	//
	// false
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- **PrePaid:*	- subscription.
	//
	// 	- **PostPaid:*	- pay-as-you-go.
	//
	// This parameter is required.
	//
	// example:
	//
	// PrePaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-2ze55b3ec56c****
	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, 2, 3, 4, 5, 6, 7, 8, 9******, **12**, **24**, and **36**.
	//
	// example:
	//
	// 1
	Period *int64 `json:"Period,omitempty" xml:"Period,omitempty"`
	// 实例付费时长单位
	//
	// 取值说明:
	//
	// - **Month:*	- 月
	//
	// -  **Year:*	- 年
	//
	// 默认值:Month
	//
	// example:
	//
	// Month
	PricingCycle         *string `json:"PricingCycle,omitempty" xml:"PricingCycle,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (TransformInstanceChargeTypeRequest) GoString

func (*TransformInstanceChargeTypeRequest) SetAutoPay

func (*TransformInstanceChargeTypeRequest) SetAutoRenew

func (*TransformInstanceChargeTypeRequest) SetBusinessInfo

func (*TransformInstanceChargeTypeRequest) SetChargeType

func (*TransformInstanceChargeTypeRequest) SetCouponNo

func (*TransformInstanceChargeTypeRequest) SetInstanceId

func (*TransformInstanceChargeTypeRequest) SetOwnerAccount

func (*TransformInstanceChargeTypeRequest) SetOwnerId

func (*TransformInstanceChargeTypeRequest) SetPeriod

func (*TransformInstanceChargeTypeRequest) SetPricingCycle

func (*TransformInstanceChargeTypeRequest) SetResourceOwnerAccount

func (*TransformInstanceChargeTypeRequest) SetResourceOwnerId

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 order ID.
	//
	// example:
	//
	// 21084641369****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D8F1D721-6439-4257-A89C-F1E8E9C9****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TransformInstanceChargeTypeResponseBody) GoString

func (*TransformInstanceChargeTypeResponseBody) SetOrderId

func (*TransformInstanceChargeTypeResponseBody) SetRequestId

func (TransformInstanceChargeTypeResponseBody) String

type TransformToPrePaidRequest

type TransformToPrePaidRequest struct {
	// Specifies whether to enable automatic payment. Valid values:
	//
	// 	- **true**: enables automatic payment.
	//
	// 	- **false**: disables automatic payment. For more information, see [Renew an ApsaraDB for MongoDB subscription instance](https://help.aliyun.com/document_detail/85052.html).
	//
	// >  Default value: **true**.
	//
	// example:
	//
	// true
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// >  Default value: **false**.
	//
	// example:
	//
	// true
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The business information. This is an additional parameter.
	//
	// example:
	//
	// {“ActivityId":"000000000"}
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The coupon code. Default value: `youhuiquan_promotion_option_id_for_blank`.
	//
	// example:
	//
	// youhuiquan_promotion_option_id_for_blank
	CouponNo *string `json:"CouponNo,omitempty" xml:"CouponNo,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp1366caac83****
	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**, **2**, **3**, **4**, **5**, **6**, **7**, **8**, **9**, **12**, **24**, and **36**.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	Period               *int64  `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (TransformToPrePaidRequest) GoString

func (s TransformToPrePaidRequest) GoString() string

func (*TransformToPrePaidRequest) SetAutoPay

func (*TransformToPrePaidRequest) SetAutoRenew

func (*TransformToPrePaidRequest) SetBusinessInfo

func (*TransformToPrePaidRequest) SetCouponNo

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) 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 ID of the order.
	//
	// example:
	//
	// 21022019252****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 2F42BB4E-461F-5B55-A37C-53B1141C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TransformToPrePaidResponseBody) GoString

func (*TransformToPrePaidResponseBody) SetOrderId

func (*TransformToPrePaidResponseBody) SetRequestId

func (TransformToPrePaidResponseBody) String

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags from the instances. Valid values:
	//
	// 	- **true**: removes all tags from the instances.
	//
	// 	- **false**: does not remove all tags from the instances.
	//
	// >
	//
	// 	- Default value: **false**.
	//
	// 	- If you specify the **TagKey*	- parameter together with this parameter, this parameter does not take effect.
	//
	// example:
	//
	// false
	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 [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/62010.html) operation to query the region ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// sg-bpxxxxxxxxxxxxxxxxxx
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The resource IDs.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	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**.
	//
	// This parameter is required.
	//
	// example:
	//
	// INSTANCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag keys of the resource.
	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) SetResourceGroupId

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

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.
	//
	// example:
	//
	// FA3A7F36-DB57-4281-8935-4B9DF61554EB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UpgradeDBInstanceEngineVersionRequest

type UpgradeDBInstanceEngineVersionRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bpxxxxxxxx
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database version to which you want to upgrade. Valid values: **3.4**, **4.0**, and **4.2**.
	//
	// >  This database version must be later than the current database version of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// 4.0
	EngineVersion        *string `json:"EngineVersion,omitempty" xml:"EngineVersion,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"`
	SwitchMode           *int32  `json:"SwitchMode,omitempty" xml:"SwitchMode,omitempty"`
}

func (UpgradeDBInstanceEngineVersionRequest) GoString

func (*UpgradeDBInstanceEngineVersionRequest) SetDBInstanceId

func (*UpgradeDBInstanceEngineVersionRequest) SetEngineVersion

func (*UpgradeDBInstanceEngineVersionRequest) SetOwnerAccount

func (*UpgradeDBInstanceEngineVersionRequest) SetOwnerId

func (*UpgradeDBInstanceEngineVersionRequest) SetResourceOwnerAccount

func (*UpgradeDBInstanceEngineVersionRequest) SetResourceOwnerId

func (*UpgradeDBInstanceEngineVersionRequest) SetSwitchMode added in v9.1.0

func (UpgradeDBInstanceEngineVersionRequest) String

type UpgradeDBInstanceEngineVersionResponse

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

func (UpgradeDBInstanceEngineVersionResponse) GoString

func (*UpgradeDBInstanceEngineVersionResponse) SetHeaders

func (*UpgradeDBInstanceEngineVersionResponse) SetStatusCode

func (UpgradeDBInstanceEngineVersionResponse) String

type UpgradeDBInstanceEngineVersionResponseBody

type UpgradeDBInstanceEngineVersionResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// C4907B00-A208-4E0C-A636-AA85140E406C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpgradeDBInstanceEngineVersionResponseBody) GoString

func (*UpgradeDBInstanceEngineVersionResponseBody) SetRequestId

func (UpgradeDBInstanceEngineVersionResponseBody) String

type UpgradeDBInstanceKernelVersionRequest

type UpgradeDBInstanceKernelVersionRequest struct {
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// dds-bp2235****
	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"`
	SwitchMode           *string `json:"SwitchMode,omitempty" xml:"SwitchMode,omitempty"`
}

func (UpgradeDBInstanceKernelVersionRequest) GoString

func (*UpgradeDBInstanceKernelVersionRequest) SetDBInstanceId

func (*UpgradeDBInstanceKernelVersionRequest) SetOwnerAccount

func (*UpgradeDBInstanceKernelVersionRequest) SetOwnerId

func (*UpgradeDBInstanceKernelVersionRequest) SetResourceOwnerAccount

func (*UpgradeDBInstanceKernelVersionRequest) SetResourceOwnerId

func (*UpgradeDBInstanceKernelVersionRequest) SetSwitchMode added in v9.1.0

func (UpgradeDBInstanceKernelVersionRequest) String

type UpgradeDBInstanceKernelVersionResponse

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

func (UpgradeDBInstanceKernelVersionResponse) GoString

func (*UpgradeDBInstanceKernelVersionResponse) SetHeaders

func (*UpgradeDBInstanceKernelVersionResponse) SetStatusCode

func (UpgradeDBInstanceKernelVersionResponse) String

type UpgradeDBInstanceKernelVersionResponseBody

type UpgradeDBInstanceKernelVersionResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 27B9A130-7C4B-40D9-84E8-2FC081097AAC
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpgradeDBInstanceKernelVersionResponseBody) GoString

func (*UpgradeDBInstanceKernelVersionResponseBody) SetRequestId

func (UpgradeDBInstanceKernelVersionResponseBody) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL