client

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

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 ActivateMigrationTargetInstanceRequest

type ActivateMigrationTargetInstanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// Specifies whether to forcefully perform a switchover. Set the value to 1. The value 1 specifies a forceful switchover.
	ForceSwitch     *string `json:"ForceSwitch,omitempty" xml:"ForceSwitch,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// A reserved parameter. This parameter does not take effect.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The time when you want to perform the switchover.
	//
	// Set the value to 0. The value 0 specifies an immediate switchover.
	SwitchTimeMode *string `json:"SwitchTimeMode,omitempty" xml:"SwitchTimeMode,omitempty"`
}

func (ActivateMigrationTargetInstanceRequest) GoString

func (*ActivateMigrationTargetInstanceRequest) SetDBInstanceName

func (*ActivateMigrationTargetInstanceRequest) SetForceSwitch

func (*ActivateMigrationTargetInstanceRequest) SetResourceOwnerId

func (*ActivateMigrationTargetInstanceRequest) SetSwitchTime

func (*ActivateMigrationTargetInstanceRequest) SetSwitchTimeMode

func (ActivateMigrationTargetInstanceRequest) String

type ActivateMigrationTargetInstanceResponse

type ActivateMigrationTargetInstanceResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ActivateMigrationTargetInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ActivateMigrationTargetInstanceResponse) GoString

func (*ActivateMigrationTargetInstanceResponse) SetHeaders

func (*ActivateMigrationTargetInstanceResponse) SetStatusCode

func (ActivateMigrationTargetInstanceResponse) String

type ActivateMigrationTargetInstanceResponseBody

type ActivateMigrationTargetInstanceResponseBody struct {
	// The name of the destination instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The private IP address that is used to connect to the self-managed PostgreSQL instance.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The port number that is used to connect to the self-managed PostgreSQL instance.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// The ID of the identification task.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ActivateMigrationTargetInstanceResponseBody) GoString

func (*ActivateMigrationTargetInstanceResponseBody) SetDBInstanceName

func (*ActivateMigrationTargetInstanceResponseBody) SetRequestId

func (*ActivateMigrationTargetInstanceResponseBody) SetSourceIpAddress

func (*ActivateMigrationTargetInstanceResponseBody) SetSourcePort

func (*ActivateMigrationTargetInstanceResponseBody) SetTaskId

func (ActivateMigrationTargetInstanceResponseBody) String

type AddTagsToResourceRequest

type AddTagsToResourceRequest struct {
	Tag []*AddTagsToResourceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	//
	// >  You can enter up to 30 instance IDs in a single request. If you enter more than one instance ID, you must separate the instance IDs with commas (,).
	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. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The tags that you want to add. Each tag consists of a tag key and a tag value. You can specify a maximum of five tags in the following format for each request: {"key1":"value1","key2":"value2"...}.
	//
	// >  The tag key is required and the tag value is optional.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// The ID of the proxy mode.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (AddTagsToResourceRequest) GoString

func (s AddTagsToResourceRequest) GoString() string

func (*AddTagsToResourceRequest) SetClientToken

func (*AddTagsToResourceRequest) SetDBInstanceId

func (*AddTagsToResourceRequest) SetOwnerAccount

func (*AddTagsToResourceRequest) SetOwnerId

func (*AddTagsToResourceRequest) SetProxyId

func (*AddTagsToResourceRequest) SetRegionId

func (*AddTagsToResourceRequest) SetResourceGroupId added in v3.2.0

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

func (*AddTagsToResourceRequest) SetResourceOwnerAccount

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

func (*AddTagsToResourceRequest) SetResourceOwnerId

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

func (*AddTagsToResourceRequest) SetTag

func (*AddTagsToResourceRequest) SetTags

func (AddTagsToResourceRequest) String

func (s AddTagsToResourceRequest) String() string

type AddTagsToResourceRequestTag

type AddTagsToResourceRequestTag struct {
	// The tag key of the first tag that you want to add. Each tag consists of a tag key and a tag value. You can specify up to five tags in a single request. You cannot specify an empty string as the tag key. You can specify an empty string as the tag value.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The tag value of the first tag that you want to add. Each tag consists of a tag key and a tag value. You can specify up to five tags in a single request. You cannot specify an empty string as the tag key. You can specify an empty string as the tag value.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (AddTagsToResourceRequestTag) GoString

func (s AddTagsToResourceRequestTag) GoString() string

func (*AddTagsToResourceRequestTag) SetKey

func (*AddTagsToResourceRequestTag) SetValue

func (AddTagsToResourceRequestTag) String

type AddTagsToResourceResponse

type AddTagsToResourceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AddTagsToResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AddTagsToResourceResponse) GoString

func (s AddTagsToResourceResponse) GoString() string

func (*AddTagsToResourceResponse) SetBody

func (*AddTagsToResourceResponse) SetHeaders

func (*AddTagsToResourceResponse) SetStatusCode

func (AddTagsToResourceResponse) String

func (s AddTagsToResourceResponse) String() string

type AddTagsToResourceResponseBody

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

func (AddTagsToResourceResponseBody) GoString

func (*AddTagsToResourceResponseBody) SetRequestId

func (AddTagsToResourceResponseBody) String

type AllocateInstancePublicConnectionRequest

type AllocateInstancePublicConnectionRequest struct {
	// The Tabular Data Stream (TDS) port of the instance for which Babelfish is enabled.
	//
	// > This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](~~428613~~).
	BabelfishPort *string `json:"BabelfishPort,omitempty" xml:"BabelfishPort,omitempty"`
	// The prefix of the public endpoint. A valid public endpoint is in the following format: `Prefix.Database engine.rds.aliyuncs.com`. Example: `test1234.mysql.rds.aliyuncs.com`.
	//
	// > The value can be 5 to 40 characters in length and can contain letters, digits, and hyphens (-). The value cannot contain any of the following characters: ~ ! # % ^ & \* = + | {} ; : \" " , <> / ?
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the dedicated cluster to which the instance belongs. This parameter is available only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
	GeneralGroupName *string `json:"GeneralGroupName,omitempty" xml:"GeneralGroupName,omitempty"`
	OwnerAccount     *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId          *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The PgBouncer port.
	//
	// > This parameter is available only for instances that run PostgreSQL.
	PGBouncerPort *string `json:"PGBouncerPort,omitempty" xml:"PGBouncerPort,omitempty"`
	// The public port of the instance. Valid values: **1000 to 5999**.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (AllocateInstancePublicConnectionRequest) GoString

func (*AllocateInstancePublicConnectionRequest) SetBabelfishPort

func (*AllocateInstancePublicConnectionRequest) SetConnectionStringPrefix

func (*AllocateInstancePublicConnectionRequest) SetDBInstanceId

func (*AllocateInstancePublicConnectionRequest) SetGeneralGroupName

func (*AllocateInstancePublicConnectionRequest) SetOwnerAccount

func (*AllocateInstancePublicConnectionRequest) SetOwnerId

func (*AllocateInstancePublicConnectionRequest) SetPGBouncerPort added in v3.0.7

func (*AllocateInstancePublicConnectionRequest) SetPort

func (*AllocateInstancePublicConnectionRequest) SetResourceOwnerAccount

func (*AllocateInstancePublicConnectionRequest) SetResourceOwnerId

func (AllocateInstancePublicConnectionRequest) String

type AllocateInstancePublicConnectionResponse

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

func (AllocateInstancePublicConnectionResponse) GoString

func (*AllocateInstancePublicConnectionResponse) SetHeaders

func (*AllocateInstancePublicConnectionResponse) SetStatusCode

func (AllocateInstancePublicConnectionResponse) String

type AllocateInstancePublicConnectionResponseBody

type AllocateInstancePublicConnectionResponseBody struct {
	// The endpoint that is used to connect to the database instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The ID of the instance.
	DbInstanceName *string `json:"DbInstanceName,omitempty" xml:"DbInstanceName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AllocateInstancePublicConnectionResponseBody) GoString

func (*AllocateInstancePublicConnectionResponseBody) SetConnectionString

func (*AllocateInstancePublicConnectionResponseBody) SetDbInstanceName

func (*AllocateInstancePublicConnectionResponseBody) SetRequestId

func (AllocateInstancePublicConnectionResponseBody) String

type AllocateReadWriteSplittingConnectionRequest

type AllocateReadWriteSplittingConnectionRequest struct {
	// The prefix of the read-only routing endpoint. The prefix must be unique. It can be up to 30 characters in length and can contain lowercase letters and hyphens (-). It must start with a lowercase letter.
	//
	// >  The default prefix consists of the name of the primary instance followed by the letters rw.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The ID of the primary instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The method that is used to assign read weights. Valid values:
	//
	// *   **Standard**: ApsaraDB RDS automatically assigns read weights to the primary and read-only instances based on the specifications of these instances.
	// *   **Custom**: You must manually assign a read weight to each instance.
	DistributionType *string `json:"DistributionType,omitempty" xml:"DistributionType,omitempty"`
	// The threshold of the latency that is allowed on the read-only instances. Valid values: 0 to 7200. Default value: 30. Unit: seconds.
	//
	// >  If the latency on a read-only instance exceeds the specified threshold, ApsaraDB RDS does not forward read requests to the read-only instance.
	MaxDelayTime *string `json:"MaxDelayTime,omitempty" xml:"MaxDelayTime,omitempty"`
	// The network type of the read-only routing endpoint. Valid values:
	//
	// *   **Internet**: Internet
	// *   **Intranet**: internal network
	//
	// >  The default value is Intranet. Make sure that the network type of the read-only routing endpoint is the same as that of the primary instance.
	NetType      *string `json:"NetType,omitempty" xml:"NetType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The port that is associated with the read-only routing endpoint. Valid values: 1000 to 5999. Default value: 1433.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The read weights of the primary instance and its read-only instances. The read weight is increased in increments of 100. The maximum value is 10000.
	//
	// * For ApsaraDB RDS instances, the value of this parameter is in the following format: `{"<ID of the read-only instance >":<Weight>,"master":<Weight>,"slave":<Weight>}`.
	// * For ApsaraDB MyBase instances, the value of this parameter is in the following format: `[{"instanceName":"<ID of the primary instance>","weight":<Weight>,"role":"master"},{"instanceName":"<ID of the primary instance>","weight":<Weight>,"role":"slave"},{"instanceName":"<ID of the read-only instance>","weight":<Weight>,"role":"master"}]`
	//
	// > * If you set the **DistributionType** parameter to **Custom**, you must also specify this parameter.
	// > * If you set the **DistributionType** parameter to **Standard**, this parameter is invalid.
	Weight *string `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (AllocateReadWriteSplittingConnectionRequest) GoString

func (*AllocateReadWriteSplittingConnectionRequest) SetConnectionStringPrefix

func (*AllocateReadWriteSplittingConnectionRequest) SetDBInstanceId

func (*AllocateReadWriteSplittingConnectionRequest) SetDistributionType

func (*AllocateReadWriteSplittingConnectionRequest) SetMaxDelayTime

func (*AllocateReadWriteSplittingConnectionRequest) SetNetType

func (*AllocateReadWriteSplittingConnectionRequest) SetOwnerAccount

func (*AllocateReadWriteSplittingConnectionRequest) SetOwnerId

func (*AllocateReadWriteSplittingConnectionRequest) SetPort

func (*AllocateReadWriteSplittingConnectionRequest) SetResourceOwnerAccount

func (*AllocateReadWriteSplittingConnectionRequest) SetResourceOwnerId

func (*AllocateReadWriteSplittingConnectionRequest) SetWeight

func (AllocateReadWriteSplittingConnectionRequest) String

type AllocateReadWriteSplittingConnectionResponse

type AllocateReadWriteSplittingConnectionResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AllocateReadWriteSplittingConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AllocateReadWriteSplittingConnectionResponse) GoString

func (*AllocateReadWriteSplittingConnectionResponse) SetHeaders

func (*AllocateReadWriteSplittingConnectionResponse) SetStatusCode

func (AllocateReadWriteSplittingConnectionResponse) String

type AllocateReadWriteSplittingConnectionResponseBody

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

func (AllocateReadWriteSplittingConnectionResponseBody) GoString

func (*AllocateReadWriteSplittingConnectionResponseBody) SetRequestId

func (AllocateReadWriteSplittingConnectionResponseBody) String

type AttachWhitelistTemplateToInstanceRequest added in v3.0.29

type AttachWhitelistTemplateToInstanceRequest struct {
	// The name of the instance.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The ID of the resource group. For more information about resource groups, see Resource groups.
	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 whitelist template. You can call the DescribeAllWhitelistTemplate operation to obtain the ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (AttachWhitelistTemplateToInstanceRequest) GoString added in v3.0.29

func (*AttachWhitelistTemplateToInstanceRequest) SetInsName added in v3.0.29

func (*AttachWhitelistTemplateToInstanceRequest) SetResourceGroupId added in v3.1.0

func (*AttachWhitelistTemplateToInstanceRequest) SetResourceOwnerAccount added in v3.0.29

func (*AttachWhitelistTemplateToInstanceRequest) SetResourceOwnerId added in v3.0.29

func (*AttachWhitelistTemplateToInstanceRequest) SetTemplateId added in v3.0.29

func (AttachWhitelistTemplateToInstanceRequest) String added in v3.0.29

type AttachWhitelistTemplateToInstanceResponse added in v3.0.29

type AttachWhitelistTemplateToInstanceResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AttachWhitelistTemplateToInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AttachWhitelistTemplateToInstanceResponse) GoString added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponse) SetBody added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponse) SetHeaders added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponse) SetStatusCode added in v3.0.29

func (AttachWhitelistTemplateToInstanceResponse) String added in v3.0.29

type AttachWhitelistTemplateToInstanceResponseBody added in v3.0.29

type AttachWhitelistTemplateToInstanceResponseBody struct {
	// The response code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *AttachWhitelistTemplateToInstanceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The message returned.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (AttachWhitelistTemplateToInstanceResponseBody) GoString added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBody) SetCode added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBody) SetData added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBody) SetHttpStatusCode added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBody) SetMessage added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBody) SetRequestId added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBody) SetSuccess added in v3.0.29

func (AttachWhitelistTemplateToInstanceResponseBody) String added in v3.0.29

type AttachWhitelistTemplateToInstanceResponseBodyData added in v3.0.29

type AttachWhitelistTemplateToInstanceResponseBodyData struct {
	// The status code returned. Valid values:
	//
	// *   **ok**: The request is successful.
	// *   **error**: The request fails.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (AttachWhitelistTemplateToInstanceResponseBodyData) GoString added in v3.0.29

func (*AttachWhitelistTemplateToInstanceResponseBodyData) SetStatus added in v3.0.29

func (AttachWhitelistTemplateToInstanceResponseBodyData) String added in v3.0.29

type CalculateDBInstanceWeightRequest

type CalculateDBInstanceWeightRequest struct {
	// The primary instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CalculateDBInstanceWeightRequest) GoString

func (*CalculateDBInstanceWeightRequest) SetDBInstanceId

func (*CalculateDBInstanceWeightRequest) SetResourceOwnerId

func (CalculateDBInstanceWeightRequest) String

type CalculateDBInstanceWeightResponse

type CalculateDBInstanceWeightResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CalculateDBInstanceWeightResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CalculateDBInstanceWeightResponse) GoString

func (*CalculateDBInstanceWeightResponse) SetHeaders

func (*CalculateDBInstanceWeightResponse) SetStatusCode

func (CalculateDBInstanceWeightResponse) String

type CalculateDBInstanceWeightResponseBody

type CalculateDBInstanceWeightResponseBody struct {
	// An array that consists of information about the system-assigned read weight.
	Items *CalculateDBInstanceWeightResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CalculateDBInstanceWeightResponseBody) GoString

func (*CalculateDBInstanceWeightResponseBody) SetRequestId

func (CalculateDBInstanceWeightResponseBody) String

type CalculateDBInstanceWeightResponseBodyItems

type CalculateDBInstanceWeightResponseBodyItems struct {
	DBInstanceWeight []*CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight `json:"DBInstanceWeight,omitempty" xml:"DBInstanceWeight,omitempty" type:"Repeated"`
}

func (CalculateDBInstanceWeightResponseBodyItems) GoString

func (CalculateDBInstanceWeightResponseBodyItems) String

type CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight

type CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight struct {
	// The instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the instance. Valid values:
	//
	// *   **Master**: primary instance
	// *   **Readonly**: read-only instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The latency at which the read-only instances replicate data. The read-only instances replicate data from the primary instance at the latency that is specified by the **ReadonlyInstanceSQLDelayedTime** parameter. Unit: seconds.
	ReadonlyInstanceSQLDelayedTime *string `json:"ReadonlyInstanceSQLDelayedTime,omitempty" xml:"ReadonlyInstanceSQLDelayedTime,omitempty"`
	// The read weight that the system calculates in real time for the instance.
	Weight *string `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight) GoString

func (*CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight) SetDBInstanceId

func (*CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight) SetDBInstanceType

func (*CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight) SetReadonlyInstanceSQLDelayedTime

func (*CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight) SetWeight

func (CalculateDBInstanceWeightResponseBodyItemsDBInstanceWeight) String

type CancelImportRequest

type CancelImportRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The migration task ID.
	//
	// >  This parameter is returned when the migration task is started. For more information, see ImportDatabaseBetweenInstances.
	ImportId     *int32  `json:"ImportId,omitempty" xml:"ImportId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CancelImportRequest) GoString

func (s CancelImportRequest) GoString() string

func (*CancelImportRequest) SetDBInstanceId

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

func (*CancelImportRequest) SetImportId

func (s *CancelImportRequest) SetImportId(v int32) *CancelImportRequest

func (*CancelImportRequest) SetOwnerAccount

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

func (*CancelImportRequest) SetOwnerId

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

func (*CancelImportRequest) SetResourceGroupId added in v3.2.0

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

func (*CancelImportRequest) SetResourceOwnerAccount

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

func (*CancelImportRequest) SetResourceOwnerId

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

func (CancelImportRequest) String

func (s CancelImportRequest) String() string

type CancelImportResponse

type CancelImportResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CancelImportResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CancelImportResponse) GoString

func (s CancelImportResponse) GoString() string

func (*CancelImportResponse) SetBody

func (*CancelImportResponse) SetHeaders

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

func (*CancelImportResponse) SetStatusCode

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

func (CancelImportResponse) String

func (s CancelImportResponse) String() string

type CancelImportResponseBody

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

func (CancelImportResponseBody) GoString

func (s CancelImportResponseBody) GoString() string

func (*CancelImportResponseBody) SetRequestId

func (CancelImportResponseBody) String

func (s CancelImportResponseBody) String() string

type CheckAccountNameAvailableRequest

type CheckAccountNameAvailableRequest struct {
	// The username of the account.
	//
	// *   The value must be unique.
	//
	// *   The value must start with a lowercase letter, and end with a lowercase letter or a digit.
	//
	// *   The value can contain lowercase letters, digits, and underscores (\_).
	//
	// *   The length of the value must meet the following requirements:
	//
	//     *   If the instance runs MySQL 5.7 or MySQL 8.0, the value must be 2 to 32 characters in length.
	//     *   If the instance runs MySQL 5.6, the value must be 2 to 16 characters in length.
	//     *   If the instance runs SQL Server, the value must be 2 to 64 characters in length.
	//     *   If the instance runs PostgreSQL with cloud disks, the value must be 2 to 63 characters in length.
	//     *   If the instance runs PostgreSQL with local disks, the value must be 2 to 16 characters in length.
	//     *   If the instance runs MariaDB, the value must be 2 to 16 characters in length.
	//
	// *   For more information about invalid characters, see [Forbidden keywords table](~~26317~~).
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
}

func (CheckAccountNameAvailableRequest) GoString

func (*CheckAccountNameAvailableRequest) SetAccountName

func (*CheckAccountNameAvailableRequest) SetClientToken

func (*CheckAccountNameAvailableRequest) SetDBInstanceId

func (*CheckAccountNameAvailableRequest) SetOwnerAccount

func (*CheckAccountNameAvailableRequest) SetOwnerId

func (*CheckAccountNameAvailableRequest) SetResourceOwnerAccount

func (CheckAccountNameAvailableRequest) String

type CheckAccountNameAvailableResponse

type CheckAccountNameAvailableResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CheckAccountNameAvailableResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CheckAccountNameAvailableResponse) GoString

func (*CheckAccountNameAvailableResponse) SetHeaders

func (*CheckAccountNameAvailableResponse) SetStatusCode

func (CheckAccountNameAvailableResponse) String

type CheckAccountNameAvailableResponseBody

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

func (CheckAccountNameAvailableResponseBody) GoString

func (*CheckAccountNameAvailableResponseBody) SetRequestId

func (CheckAccountNameAvailableResponseBody) String

type CheckCloudResourceAuthorizedRequest

type CheckCloudResourceAuthorizedRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The destination region ID. You can call the DescribeRegions operation to query the most recent region list.
	TargetRegionId *string `json:"TargetRegionId,omitempty" xml:"TargetRegionId,omitempty"`
}

func (CheckCloudResourceAuthorizedRequest) GoString

func (*CheckCloudResourceAuthorizedRequest) SetDBInstanceId

func (*CheckCloudResourceAuthorizedRequest) SetOwnerAccount

func (*CheckCloudResourceAuthorizedRequest) SetOwnerId

func (*CheckCloudResourceAuthorizedRequest) SetRegionId

func (*CheckCloudResourceAuthorizedRequest) SetResourceGroupId

func (*CheckCloudResourceAuthorizedRequest) SetResourceOwnerAccount

func (*CheckCloudResourceAuthorizedRequest) SetResourceOwnerId

func (*CheckCloudResourceAuthorizedRequest) SetSecurityToken

func (*CheckCloudResourceAuthorizedRequest) SetTargetRegionId

func (CheckCloudResourceAuthorizedRequest) String

type CheckCloudResourceAuthorizedResponse

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

func (CheckCloudResourceAuthorizedResponse) GoString

func (*CheckCloudResourceAuthorizedResponse) SetHeaders

func (*CheckCloudResourceAuthorizedResponse) SetStatusCode

func (CheckCloudResourceAuthorizedResponse) String

type CheckCloudResourceAuthorizedResponseBody

type CheckCloudResourceAuthorizedResponseBody struct {
	// The authorization status. Valid values:
	//
	// *   **1**: authorized
	// *   **0**: not authorized
	AuthorizationState *int32 `json:"AuthorizationState,omitempty" xml:"AuthorizationState,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the RAM role. A RAM role is a virtual identity that you can create within your Alibaba Cloud account. For more information, see [RAM role overview](~~93689~~).
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
}

func (CheckCloudResourceAuthorizedResponseBody) GoString

func (*CheckCloudResourceAuthorizedResponseBody) SetAuthorizationState

func (*CheckCloudResourceAuthorizedResponseBody) SetRequestId

func (*CheckCloudResourceAuthorizedResponseBody) SetRoleArn

func (CheckCloudResourceAuthorizedResponseBody) String

type CheckCreateDdrDBInstanceRequest

type CheckCreateDdrDBInstanceRequest struct {
	// The ID of the backup set that is used for the restoration. You can call the [DescribeCrossRegionBackups](~~121733~~) operation to query the ID of the backup set.
	//
	// > If you set **RestoreType** to **0**, you must also specify this parameter.
	BackupSetId *string `json:"BackupSetId,omitempty" xml:"BackupSetId,omitempty"`
	// The instance type of the destination instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The storage capacity of the destination instance. Valid values: **5 to 2000**. Unit: GB. You can increase the storage capacity in increments of 5 GB. For more information, see [Primary instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The database engine of the destination instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The major engine version of the destination instance. The value of this parameter varies based on the value of **Engine**.
	//
	// *   Valid values when Engine is set to MySQL: **5.5, 5.6, 5.7, and 8.0**
	// *   Valid values when Engine is set to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	// *   PostgreSQL: **10.0, 11.0, 12.0, 13.0, 14.0, and 15.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the destination instance. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. The point in time that you specify must be earlier than the current time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// > If you set **RestoreType** to **1**, you must also specify this parameter.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The method that is used to restore data. Valid values:
	//
	// *   **0**: restores data from a backup set. If you set this parameter to 0, you must also specify the **BackupSetId** parameter.
	// *   **1**: restores data to a point in time. If you set this parameter to 1, you must also specify the **RestoreTime**, **SourceRegion**, and **SourceDBInstanceName** parameters.
	//
	// Default value: **0**.
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	// The ID of the source instance if you want to restore data to a point in time.
	//
	// > If you set **RestoreType** to **1**, you must also specify this parameter.
	SourceDBInstanceName *string `json:"SourceDBInstanceName,omitempty" xml:"SourceDBInstanceName,omitempty"`
	// The region ID of the source instance if you want to restore data to a point in time.
	//
	// > If you set **RestoreType** to **1**, you must also specify this parameter.
	SourceRegion *string `json:"SourceRegion,omitempty" xml:"SourceRegion,omitempty"`
}

func (CheckCreateDdrDBInstanceRequest) GoString

func (*CheckCreateDdrDBInstanceRequest) SetBackupSetId

func (*CheckCreateDdrDBInstanceRequest) SetDBInstanceClass

func (*CheckCreateDdrDBInstanceRequest) SetDBInstanceStorage

func (*CheckCreateDdrDBInstanceRequest) SetEngine

func (*CheckCreateDdrDBInstanceRequest) SetEngineVersion

func (*CheckCreateDdrDBInstanceRequest) SetOwnerId

func (*CheckCreateDdrDBInstanceRequest) SetRegionId

func (*CheckCreateDdrDBInstanceRequest) SetResourceGroupId added in v3.0.214

func (*CheckCreateDdrDBInstanceRequest) SetResourceOwnerAccount

func (*CheckCreateDdrDBInstanceRequest) SetResourceOwnerId

func (*CheckCreateDdrDBInstanceRequest) SetRestoreTime

func (*CheckCreateDdrDBInstanceRequest) SetRestoreType

func (*CheckCreateDdrDBInstanceRequest) SetSourceDBInstanceName

func (*CheckCreateDdrDBInstanceRequest) SetSourceRegion

func (CheckCreateDdrDBInstanceRequest) String

type CheckCreateDdrDBInstanceResponse

type CheckCreateDdrDBInstanceResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CheckCreateDdrDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CheckCreateDdrDBInstanceResponse) GoString

func (*CheckCreateDdrDBInstanceResponse) SetHeaders

func (*CheckCreateDdrDBInstanceResponse) SetStatusCode

func (CheckCreateDdrDBInstanceResponse) String

type CheckCreateDdrDBInstanceResponseBody

type CheckCreateDdrDBInstanceResponseBody struct {
	// Indicates whether the data of the source instance can be restored across regions. Valid values:
	//
	// *   **true**
	// *   **false**
	IsValid *string `json:"IsValid,omitempty" xml:"IsValid,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckCreateDdrDBInstanceResponseBody) GoString

func (*CheckCreateDdrDBInstanceResponseBody) SetIsValid

func (*CheckCreateDdrDBInstanceResponseBody) SetRequestId

func (CheckCreateDdrDBInstanceResponseBody) String

type CheckDBNameAvailableRequest

type CheckDBNameAvailableRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database name that you want to check.
	DBName               *string `json:"DBName,omitempty" xml:"DBName,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 (CheckDBNameAvailableRequest) GoString

func (s CheckDBNameAvailableRequest) GoString() string

func (*CheckDBNameAvailableRequest) SetClientToken

func (*CheckDBNameAvailableRequest) SetDBInstanceId

func (*CheckDBNameAvailableRequest) SetDBName

func (*CheckDBNameAvailableRequest) SetOwnerAccount

func (*CheckDBNameAvailableRequest) SetOwnerId

func (*CheckDBNameAvailableRequest) SetResourceOwnerAccount

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

func (*CheckDBNameAvailableRequest) SetResourceOwnerId

func (CheckDBNameAvailableRequest) String

type CheckDBNameAvailableResponse

type CheckDBNameAvailableResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CheckDBNameAvailableResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CheckDBNameAvailableResponse) GoString

func (s CheckDBNameAvailableResponse) GoString() string

func (*CheckDBNameAvailableResponse) SetBody

func (*CheckDBNameAvailableResponse) SetHeaders

func (*CheckDBNameAvailableResponse) SetStatusCode

func (CheckDBNameAvailableResponse) String

type CheckDBNameAvailableResponseBody

type CheckDBNameAvailableResponseBody struct {
	// The request ID.
	//
	// >  If this operation returns only the ID of the request, the database name conforms to the naming conventions. If an error message is returned, the database name is duplicate or does not conform to the naming conventions.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckDBNameAvailableResponseBody) GoString

func (*CheckDBNameAvailableResponseBody) SetRequestId

func (CheckDBNameAvailableResponseBody) String

type CheckInstanceExistRequest

type CheckInstanceExistRequest struct {
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (CheckInstanceExistRequest) GoString

func (s CheckInstanceExistRequest) GoString() string

func (*CheckInstanceExistRequest) SetDBInstanceId

func (*CheckInstanceExistRequest) SetOwnerId

func (*CheckInstanceExistRequest) SetResourceOwnerAccount

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

func (*CheckInstanceExistRequest) SetResourceOwnerId

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

func (CheckInstanceExistRequest) String

func (s CheckInstanceExistRequest) String() string

type CheckInstanceExistResponse

type CheckInstanceExistResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CheckInstanceExistResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CheckInstanceExistResponse) GoString

func (s CheckInstanceExistResponse) GoString() string

func (*CheckInstanceExistResponse) SetBody

func (*CheckInstanceExistResponse) SetHeaders

func (*CheckInstanceExistResponse) SetStatusCode

func (CheckInstanceExistResponse) String

type CheckInstanceExistResponseBody

type CheckInstanceExistResponseBody struct {
	// Indicates whether the instance exists. Valid values:
	//
	// *   **true**: The instance exists.
	// *   **false**: The instance does not exist.
	IsExistInstance *bool `json:"IsExistInstance,omitempty" xml:"IsExistInstance,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckInstanceExistResponseBody) GoString

func (*CheckInstanceExistResponseBody) SetIsExistInstance

func (*CheckInstanceExistResponseBody) SetRequestId

func (CheckInstanceExistResponseBody) String

type CheckServiceLinkedRoleRequest

type CheckServiceLinkedRoleRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	//
	// >  You can specify any region for this parameter, which does not affect your query results. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The SLR name.
	//
	// >  For more information about the SLRs supported by ApsaraDB RDS, see [Service-linked roles](~~342840~~).
	ServiceLinkedRole *string `json:"ServiceLinkedRole,omitempty" xml:"ServiceLinkedRole,omitempty"`
}

func (CheckServiceLinkedRoleRequest) GoString

func (*CheckServiceLinkedRoleRequest) SetOwnerId

func (*CheckServiceLinkedRoleRequest) SetRegionId

func (*CheckServiceLinkedRoleRequest) SetResourceGroupId

func (*CheckServiceLinkedRoleRequest) SetResourceOwnerAccount

func (*CheckServiceLinkedRoleRequest) SetResourceOwnerId

func (*CheckServiceLinkedRoleRequest) SetServiceLinkedRole

func (CheckServiceLinkedRoleRequest) String

type CheckServiceLinkedRoleResponse

type CheckServiceLinkedRoleResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CheckServiceLinkedRoleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CheckServiceLinkedRoleResponse) GoString

func (*CheckServiceLinkedRoleResponse) SetHeaders

func (*CheckServiceLinkedRoleResponse) SetStatusCode

func (CheckServiceLinkedRoleResponse) String

type CheckServiceLinkedRoleResponseBody

type CheckServiceLinkedRoleResponseBody struct {
	// Indicates whether an SLR is created.
	HasServiceLinkedRole *string `json:"HasServiceLinkedRole,omitempty" xml:"HasServiceLinkedRole,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckServiceLinkedRoleResponseBody) GoString

func (*CheckServiceLinkedRoleResponseBody) SetHasServiceLinkedRole

func (*CheckServiceLinkedRoleResponseBody) SetRequestId

func (CheckServiceLinkedRoleResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) ActivateMigrationTargetInstance

func (client *Client) ActivateMigrationTargetInstance(request *ActivateMigrationTargetInstanceRequest) (_result *ActivateMigrationTargetInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cloud migration feature](~~365562~~) *
  • @param request ActivateMigrationTargetInstanceRequest
  • @return ActivateMigrationTargetInstanceResponse

func (*Client) ActivateMigrationTargetInstanceWithOptions

func (client *Client) ActivateMigrationTargetInstanceWithOptions(request *ActivateMigrationTargetInstanceRequest, runtime *util.RuntimeOptions) (_result *ActivateMigrationTargetInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cloud migration feature](~~365562~~) *
  • @param request ActivateMigrationTargetInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ActivateMigrationTargetInstanceResponse

func (*Client) AddTagsToResource

func (client *Client) AddTagsToResource(request *AddTagsToResourceRequest) (_result *AddTagsToResourceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • * Each tag consists of a tag key and a tag value. The tag key is required, and the tag value is optional.
  • * The tag key and tag value cannot start with aliyun.
  • * The tag key and tag value are not case-sensitive.
  • * The maximum length of a tag key is 64 characters, and the maximum length of a tag value is 128 characters.
  • * A maximum of 10 tags can be added to each instance. Each tag that is added to the same instance must have a unique tag key. If you add a new tag to the instance and the key of the new tag is the same as that of an existing tag, the new tag overwrites the existing tag. *
  • @param request AddTagsToResourceRequest
  • @return AddTagsToResourceResponse

func (*Client) AddTagsToResourceWithOptions

func (client *Client) AddTagsToResourceWithOptions(request *AddTagsToResourceRequest, runtime *util.RuntimeOptions) (_result *AddTagsToResourceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • * Each tag consists of a tag key and a tag value. The tag key is required, and the tag value is optional.
  • * The tag key and tag value cannot start with aliyun.
  • * The tag key and tag value are not case-sensitive.
  • * The maximum length of a tag key is 64 characters, and the maximum length of a tag value is 128 characters.
  • * A maximum of 10 tags can be added to each instance. Each tag that is added to the same instance must have a unique tag key. If you add a new tag to the instance and the key of the new tag is the same as that of an existing tag, the new tag overwrites the existing tag. *
  • @param request AddTagsToResourceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AddTagsToResourceResponse

func (*Client) AllocateInstancePublicConnection

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Apply for a public endpoint for an ApsaraDB RDS for MySQL instance](~~26128~~)
  • * [Apply for a public endpoint for an ApsaraDB RDS for PostgreSQL instance](~~97738~~)
  • * [Apply for a public endpoint for an ApsaraDB RDS for SQL Server instance](~~97736~~)
  • * [Apply for a public endpoint for an ApsaraDB RDS for MariaDB instance](~~97740~~) *
  • @param request AllocateInstancePublicConnectionRequest
  • @return AllocateInstancePublicConnectionResponse

func (*Client) AllocateInstancePublicConnectionWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Apply for a public endpoint for an ApsaraDB RDS for MySQL instance](~~26128~~)
  • * [Apply for a public endpoint for an ApsaraDB RDS for PostgreSQL instance](~~97738~~)
  • * [Apply for a public endpoint for an ApsaraDB RDS for SQL Server instance](~~97736~~)
  • * [Apply for a public endpoint for an ApsaraDB RDS for MariaDB instance](~~97740~~) *
  • @param request AllocateInstancePublicConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AllocateInstancePublicConnectionResponse

func (*Client) AllocateReadWriteSplittingConnection

func (client *Client) AllocateReadWriteSplittingConnection(request *AllocateReadWriteSplittingConnectionRequest) (_result *AllocateReadWriteSplittingConnectionResponse, _err error)

*

  • If read-only instances are attached to a primary ApsaraDB RDS for SQL Server instance, you can call this operation to apply for a unified read-only routing endpoint for the primary instance. After you apply for a read-only routing endpoint for a primary instance, the existing endpoints of the primary instance and its read-only instances remain valid. In addition, you can still apply for internal and public endpoints.
  • Before you call this operation, make sure that the following requirements are met:
  • * If the instance runs MySQL, the instance uses a shared proxy.
  • * The instance is in the Running state.
  • * Read-only instances are attached to the primary instance.
  • * The instance does not have an ongoing Data Transmission Service (DTS) migration task.
  • * The instance runs one of the following database versions and RDS editions:
  • * SQL Server (cluster edition)
  • * MySQL 5.7 on RDS High-availability Edition with local SSDs
  • * MySQL 5.6 *
  • @param request AllocateReadWriteSplittingConnectionRequest
  • @return AllocateReadWriteSplittingConnectionResponse

func (*Client) AllocateReadWriteSplittingConnectionWithOptions

func (client *Client) AllocateReadWriteSplittingConnectionWithOptions(request *AllocateReadWriteSplittingConnectionRequest, runtime *util.RuntimeOptions) (_result *AllocateReadWriteSplittingConnectionResponse, _err error)

*

  • If read-only instances are attached to a primary ApsaraDB RDS for SQL Server instance, you can call this operation to apply for a unified read-only routing endpoint for the primary instance. After you apply for a read-only routing endpoint for a primary instance, the existing endpoints of the primary instance and its read-only instances remain valid. In addition, you can still apply for internal and public endpoints.
  • Before you call this operation, make sure that the following requirements are met:
  • * If the instance runs MySQL, the instance uses a shared proxy.
  • * The instance is in the Running state.
  • * Read-only instances are attached to the primary instance.
  • * The instance does not have an ongoing Data Transmission Service (DTS) migration task.
  • * The instance runs one of the following database versions and RDS editions:
  • * SQL Server (cluster edition)
  • * MySQL 5.7 on RDS High-availability Edition with local SSDs
  • * MySQL 5.6 *
  • @param request AllocateReadWriteSplittingConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AllocateReadWriteSplittingConnectionResponse

func (*Client) AttachWhitelistTemplateToInstance added in v3.0.29

func (client *Client) AttachWhitelistTemplateToInstance(request *AttachWhitelistTemplateToInstanceRequest) (_result *AttachWhitelistTemplateToInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request AttachWhitelistTemplateToInstanceRequest
  • @return AttachWhitelistTemplateToInstanceResponse

func (*Client) AttachWhitelistTemplateToInstanceWithOptions added in v3.0.29

func (client *Client) AttachWhitelistTemplateToInstanceWithOptions(request *AttachWhitelistTemplateToInstanceRequest, runtime *util.RuntimeOptions) (_result *AttachWhitelistTemplateToInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request AttachWhitelistTemplateToInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AttachWhitelistTemplateToInstanceResponse

func (*Client) CalculateDBInstanceWeight

func (client *Client) CalculateDBInstanceWeight(request *CalculateDBInstanceWeightRequest) (_result *CalculateDBInstanceWeightResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)Feature description
  • When the [read/write splitting](~~51073~~) feature is enabled, this operation is used to calculate system-assigned read weights. For more information about custom read weights, see [DescribeDBInstanceNetInfo](~~610423~~).
  • ### [](#)Prerequisites
  • Before you call this operation, make sure that the following requirements are met:
  • * If the instance runs MySQL, the instance uses a shared proxy.
  • * The instance runs one of the following MySQL versions and RDS editions:
  • * MySQL 5.7 on RDS High-availability Edition (with local disks)
  • * MySQL 5.6
  • * SQL Server on RDS Cluster Edition *
  • @param request CalculateDBInstanceWeightRequest
  • @return CalculateDBInstanceWeightResponse

func (*Client) CalculateDBInstanceWeightWithOptions

func (client *Client) CalculateDBInstanceWeightWithOptions(request *CalculateDBInstanceWeightRequest, runtime *util.RuntimeOptions) (_result *CalculateDBInstanceWeightResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)Feature description
  • When the [read/write splitting](~~51073~~) feature is enabled, this operation is used to calculate system-assigned read weights. For more information about custom read weights, see [DescribeDBInstanceNetInfo](~~610423~~).
  • ### [](#)Prerequisites
  • Before you call this operation, make sure that the following requirements are met:
  • * If the instance runs MySQL, the instance uses a shared proxy.
  • * The instance runs one of the following MySQL versions and RDS editions:
  • * MySQL 5.7 on RDS High-availability Edition (with local disks)
  • * MySQL 5.6
  • * SQL Server on RDS Cluster Edition *
  • @param request CalculateDBInstanceWeightRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CalculateDBInstanceWeightResponse

func (*Client) CancelImport

func (client *Client) CancelImport(request *CancelImportRequest) (_result *CancelImportResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)Usage notes
  • This operation is supported for instances that run SQL Server and belong to the dedicated or dedicated host instance family. For more information about how to start a migration task, see [ImportDatabaseBetweenInstances](~~610592~~).
  • ### [](#)Precautions
  • This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition. *
  • @param request CancelImportRequest
  • @return CancelImportResponse

func (*Client) CancelImportWithOptions

func (client *Client) CancelImportWithOptions(request *CancelImportRequest, runtime *util.RuntimeOptions) (_result *CancelImportResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)Usage notes
  • This operation is supported for instances that run SQL Server and belong to the dedicated or dedicated host instance family. For more information about how to start a migration task, see [ImportDatabaseBetweenInstances](~~610592~~).
  • ### [](#)Precautions
  • This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition. *
  • @param request CancelImportRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelImportResponse

func (*Client) CheckAccountNameAvailable

func (client *Client) CheckAccountNameAvailable(request *CheckAccountNameAvailableRequest) (_result *CheckAccountNameAvailableResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request CheckAccountNameAvailableRequest
  • @return CheckAccountNameAvailableResponse

func (*Client) CheckAccountNameAvailableWithOptions

func (client *Client) CheckAccountNameAvailableWithOptions(request *CheckAccountNameAvailableRequest, runtime *util.RuntimeOptions) (_result *CheckAccountNameAvailableResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request CheckAccountNameAvailableRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckAccountNameAvailableResponse

func (*Client) CheckCloudResourceAuthorized

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request CheckCloudResourceAuthorizedRequest
  • @return CheckCloudResourceAuthorizedResponse

func (*Client) CheckCloudResourceAuthorizedWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request CheckCloudResourceAuthorizedRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckCloudResourceAuthorizedResponse

func (*Client) CheckCreateDdrDBInstance

func (client *Client) CheckCreateDdrDBInstance(request *CheckCreateDdrDBInstanceRequest) (_result *CheckCreateDdrDBInstanceResponse, _err error)

*

  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~).
  • * SQL Server. For more information, see [Back up an ApsaraDB RDS for SQL Server instance across regions](~~187923~~).
  • * PostgreSQL. For more information, see [Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance](~~206671~~).
  • > : If your RDS instance uses the new architecture and is created after October 10, 2022, this feature is not supported for the RDS instance. For more information, see [\\[Notice\\] SLR authorization is required to create an ApsaraDB RDS for PostgreSQL instance from October 10, 2022](~~452313~~). *
  • @param request CheckCreateDdrDBInstanceRequest
  • @return CheckCreateDdrDBInstanceResponse

func (*Client) CheckCreateDdrDBInstanceWithOptions

func (client *Client) CheckCreateDdrDBInstanceWithOptions(request *CheckCreateDdrDBInstanceRequest, runtime *util.RuntimeOptions) (_result *CheckCreateDdrDBInstanceResponse, _err error)

*

  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~).
  • * SQL Server. For more information, see [Back up an ApsaraDB RDS for SQL Server instance across regions](~~187923~~).
  • * PostgreSQL. For more information, see [Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance](~~206671~~).
  • > : If your RDS instance uses the new architecture and is created after October 10, 2022, this feature is not supported for the RDS instance. For more information, see [\\[Notice\\] SLR authorization is required to create an ApsaraDB RDS for PostgreSQL instance from October 10, 2022](~~452313~~). *
  • @param request CheckCreateDdrDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckCreateDdrDBInstanceResponse

func (*Client) CheckDBNameAvailable

func (client *Client) CheckDBNameAvailable(request *CheckDBNameAvailableRequest) (_result *CheckDBNameAvailableResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request CheckDBNameAvailableRequest
  • @return CheckDBNameAvailableResponse

func (*Client) CheckDBNameAvailableWithOptions

func (client *Client) CheckDBNameAvailableWithOptions(request *CheckDBNameAvailableRequest, runtime *util.RuntimeOptions) (_result *CheckDBNameAvailableResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request CheckDBNameAvailableRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckDBNameAvailableResponse

func (*Client) CheckInstanceExist

func (client *Client) CheckInstanceExist(request *CheckInstanceExistRequest) (_result *CheckInstanceExistResponse, _err error)

func (*Client) CheckInstanceExistWithOptions

func (client *Client) CheckInstanceExistWithOptions(request *CheckInstanceExistRequest, runtime *util.RuntimeOptions) (_result *CheckInstanceExistResponse, _err error)

func (*Client) CheckServiceLinkedRole

func (client *Client) CheckServiceLinkedRole(request *CheckServiceLinkedRoleRequest) (_result *CheckServiceLinkedRoleResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request CheckServiceLinkedRoleRequest
  • @return CheckServiceLinkedRoleResponse

func (*Client) CheckServiceLinkedRoleWithOptions

func (client *Client) CheckServiceLinkedRoleWithOptions(request *CheckServiceLinkedRoleRequest, runtime *util.RuntimeOptions) (_result *CheckServiceLinkedRoleResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request CheckServiceLinkedRoleRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckServiceLinkedRoleResponse

func (*Client) CloneDBInstance

func (client *Client) CloneDBInstance(request *CloneDBInstanceRequest) (_result *CloneDBInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Restore data of an ApsaraDB RDS for MySQL instance](~~96147~~)
  • * [Restore data of an ApsaraDB RDS for PostgreSQL instance](~~96776~~)
  • * [Restore data of an ApsaraDB RDS for SQL Server instance](~~95722~~)
  • * [Restore data of an ApsaraDB RDS for MariaDB instance](~~97151~~) *
  • @param request CloneDBInstanceRequest
  • @return CloneDBInstanceResponse

func (*Client) CloneDBInstanceWithOptions

func (client *Client) CloneDBInstanceWithOptions(tmpReq *CloneDBInstanceRequest, runtime *util.RuntimeOptions) (_result *CloneDBInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Restore data of an ApsaraDB RDS for MySQL instance](~~96147~~)
  • * [Restore data of an ApsaraDB RDS for PostgreSQL instance](~~96776~~)
  • * [Restore data of an ApsaraDB RDS for SQL Server instance](~~95722~~)
  • * [Restore data of an ApsaraDB RDS for MariaDB instance](~~97151~~) *
  • @param tmpReq CloneDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CloneDBInstanceResponse

func (*Client) CloneParameterGroup

func (client *Client) CloneParameterGroup(request *CloneParameterGroupRequest) (_result *CloneParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request CloneParameterGroupRequest
  • @return CloneParameterGroupResponse

func (*Client) CloneParameterGroupWithOptions

func (client *Client) CloneParameterGroupWithOptions(request *CloneParameterGroupRequest, runtime *util.RuntimeOptions) (_result *CloneParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request CloneParameterGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CloneParameterGroupResponse

func (*Client) ConfirmNotify

func (client *Client) ConfirmNotify(request *ConfirmNotifyRequest) (_result *ConfirmNotifyResponse, _err error)

*

  • After you call the QueryNotify operation to query notifications for an instance, you can call this operation to mark the notifications as confirmed. For more information, see [Query notifications for an ApsaraDB RDS instance](~~427959~~). *
  • @param request ConfirmNotifyRequest
  • @return ConfirmNotifyResponse

func (*Client) ConfirmNotifyWithOptions

func (client *Client) ConfirmNotifyWithOptions(tmpReq *ConfirmNotifyRequest, runtime *util.RuntimeOptions) (_result *ConfirmNotifyResponse, _err error)

*

  • After you call the QueryNotify operation to query notifications for an instance, you can call this operation to mark the notifications as confirmed. For more information, see [Query notifications for an ApsaraDB RDS instance](~~427959~~). *
  • @param tmpReq ConfirmNotifyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ConfirmNotifyResponse

func (*Client) CopyDatabase

func (client *Client) CopyDatabase(request *CopyDatabaseRequest) (_result *CopyDatabaseResponse, _err error)

*

  • This operation is phased out. *
  • @param request CopyDatabaseRequest
  • @return CopyDatabaseResponse

func (*Client) CopyDatabaseBetweenInstances

func (client *Client) CopyDatabaseBetweenInstances(request *CopyDatabaseBetweenInstancesRequest) (_result *CopyDatabaseBetweenInstancesResponse, _err error)

*

  • ### Supported database engines
  • RDS SQL Server
  • ### References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Replicate databases between ApsaraDB RDS for SQL Server instances](~~95702~~) *
  • @param request CopyDatabaseBetweenInstancesRequest
  • @return CopyDatabaseBetweenInstancesResponse

func (*Client) CopyDatabaseBetweenInstancesWithOptions

func (client *Client) CopyDatabaseBetweenInstancesWithOptions(request *CopyDatabaseBetweenInstancesRequest, runtime *util.RuntimeOptions) (_result *CopyDatabaseBetweenInstancesResponse, _err error)

*

  • ### Supported database engines
  • RDS SQL Server
  • ### References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Replicate databases between ApsaraDB RDS for SQL Server instances](~~95702~~) *
  • @param request CopyDatabaseBetweenInstancesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CopyDatabaseBetweenInstancesResponse

func (*Client) CopyDatabaseWithOptions

func (client *Client) CopyDatabaseWithOptions(request *CopyDatabaseRequest, runtime *util.RuntimeOptions) (_result *CopyDatabaseResponse, _err error)

*

  • This operation is phased out. *
  • @param request CopyDatabaseRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CopyDatabaseResponse

func (*Client) CreateAccount

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

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Create an account on an ApsaraDB RDS for MySQL instance](~~96089~~)
  • * [Create an account on an ApsaraDB RDS for PostgreSQL instance](~~96753~~)
  • * [Create an account on an ApsaraDB RDS for SQL Server instance](~~95810~~)
  • * [Create an account on an ApsaraDB RDS for MariaDB instance](~~97132~~) *
  • @param request CreateAccountRequest
  • @return CreateAccountResponse

func (*Client) CreateAccountWithOptions

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

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Create an account on an ApsaraDB RDS for MySQL instance](~~96089~~)
  • * [Create an account on an ApsaraDB RDS for PostgreSQL instance](~~96753~~)
  • * [Create an account on an ApsaraDB RDS for SQL Server instance](~~95810~~)
  • * [Create an account on an ApsaraDB RDS for MariaDB instance](~~97132~~) *
  • @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)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • This operation uses the backup feature of ApsaraDB RDS to create a backup set. You can also use an operation of Database Backup (DBS) to create a backup set. For more information, see [List of operations by function of DBS](~~437245~~).
  • ### [](#)Precautions
  • Before you call this operation, make sure that the following requirements are met:
  • * The instance is in the Running state.
  • * The instance does not have ongoing backup tasks.
  • * The number of backup files that are created per day for an instance cannot exceed 20.
  • ### [](#)References
  • * [Use the data backup feature for an ApsaraDB RDS for MySQL instance](~~378074~~)
  • * [Use the data backup feature for an ApsaraDB RDS for PostgreSQL instance](~~96772~~)
  • * [Use the data backup feature for an ApsaraDB RDS for SQL Server instance](~~95717~~)
  • * [Use the data backup feature for an ApsaraDB RDS for MariaDB instance](~~97147~~) *
  • @param request CreateBackupRequest
  • @return CreateBackupResponse

func (*Client) CreateBackupWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • This operation uses the backup feature of ApsaraDB RDS to create a backup set. You can also use an operation of Database Backup (DBS) to create a backup set. For more information, see [List of operations by function of DBS](~~437245~~).
  • ### [](#)Precautions
  • Before you call this operation, make sure that the following requirements are met:
  • * The instance is in the Running state.
  • * The instance does not have ongoing backup tasks.
  • * The number of backup files that are created per day for an instance cannot exceed 20.
  • ### [](#)References
  • * [Use the data backup feature for an ApsaraDB RDS for MySQL instance](~~378074~~)
  • * [Use the data backup feature for an ApsaraDB RDS for PostgreSQL instance](~~96772~~)
  • * [Use the data backup feature for an ApsaraDB RDS for SQL Server instance](~~95717~~)
  • * [Use the data backup feature for an ApsaraDB RDS for MariaDB instance](~~97147~~) *
  • @param request CreateBackupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateBackupResponse

func (*Client) CreateCloudMigrationPrecheckTask

func (client *Client) CreateCloudMigrationPrecheckTask(request *CreateCloudMigrationPrecheckTaskRequest) (_result *CreateCloudMigrationPrecheckTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cloud migration feature](~~365562~~) *
  • @param request CreateCloudMigrationPrecheckTaskRequest
  • @return CreateCloudMigrationPrecheckTaskResponse

func (*Client) CreateCloudMigrationPrecheckTaskWithOptions

func (client *Client) CreateCloudMigrationPrecheckTaskWithOptions(request *CreateCloudMigrationPrecheckTaskRequest, runtime *util.RuntimeOptions) (_result *CreateCloudMigrationPrecheckTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cloud migration feature](~~365562~~) *
  • @param request CreateCloudMigrationPrecheckTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateCloudMigrationPrecheckTaskResponse

func (*Client) CreateCloudMigrationTask

func (client *Client) CreateCloudMigrationTask(request *CreateCloudMigrationTaskRequest) (_result *CreateCloudMigrationTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cloud migration feature](~~365562~~) *
  • @param request CreateCloudMigrationTaskRequest
  • @return CreateCloudMigrationTaskResponse

func (*Client) CreateCloudMigrationTaskWithOptions

func (client *Client) CreateCloudMigrationTaskWithOptions(request *CreateCloudMigrationTaskRequest, runtime *util.RuntimeOptions) (_result *CreateCloudMigrationTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cloud migration feature](~~365562~~) *
  • @param request CreateCloudMigrationTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateCloudMigrationTaskResponse

func (*Client) CreateDBInstance

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

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:
  • * [Create an ApsaraDB RDS for MySQL instance](~~148036~~)
  • * [Create a serverless ApsaraDB RDS for MySQL instance](~~412231~~)
  • * [Create an ApsaraDB RDS for PostgreSQL instance](~~148038~~)
  • * [Create a serverless ApsaraDB RDS for PostgreSQL instance](~~607753~~)
  • * [Enable Babelfish for an ApsaraDB RDS for PostgreSQL instance](~~428615~~)
  • * [Create an ApsaraDB RDS for SQL Server instance](~~148037~~)
  • * [Create a serverless ApsaraDB RDS for SQL Server instance](~~603465~~)
  • * [Create an ApsaraDB RDS for MariaDB instance](~~148040~~) *
  • @param request CreateDBInstanceRequest
  • @return CreateDBInstanceResponse

func (*Client) CreateDBInstanceEndpoint added in v3.0.3

func (client *Client) CreateDBInstanceEndpoint(request *CreateDBInstanceEndpointRequest) (_result *CreateDBInstanceEndpointResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • [Add a read-only endpoint for a cluster](~~464132~~) *
  • @param request CreateDBInstanceEndpointRequest
  • @return CreateDBInstanceEndpointResponse

func (*Client) CreateDBInstanceEndpointAddress added in v3.0.3

func (client *Client) CreateDBInstanceEndpointAddress(request *CreateDBInstanceEndpointAddressRequest) (_result *CreateDBInstanceEndpointAddressResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### Precautions
  • * You can create a public endpoint of an endpoint type only when no public endpoint is created for this endpoint type.
  • * The node weights and other configurations are the same as those of the internal endpoint of this endpoint type. Only one public endpoint and one internal endpoint can be created for each endpoint type. *
  • @param request CreateDBInstanceEndpointAddressRequest
  • @return CreateDBInstanceEndpointAddressResponse

func (*Client) CreateDBInstanceEndpointAddressWithOptions added in v3.0.3

func (client *Client) CreateDBInstanceEndpointAddressWithOptions(request *CreateDBInstanceEndpointAddressRequest, runtime *util.RuntimeOptions) (_result *CreateDBInstanceEndpointAddressResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### Precautions
  • * You can create a public endpoint of an endpoint type only when no public endpoint is created for this endpoint type.
  • * The node weights and other configurations are the same as those of the internal endpoint of this endpoint type. Only one public endpoint and one internal endpoint can be created for each endpoint type. *
  • @param request CreateDBInstanceEndpointAddressRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDBInstanceEndpointAddressResponse

func (*Client) CreateDBInstanceEndpointWithOptions added in v3.0.3

func (client *Client) CreateDBInstanceEndpointWithOptions(tmpReq *CreateDBInstanceEndpointRequest, runtime *util.RuntimeOptions) (_result *CreateDBInstanceEndpointResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • [Add a read-only endpoint for a cluster](~~464132~~) *
  • @param tmpReq CreateDBInstanceEndpointRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDBInstanceEndpointResponse

func (*Client) CreateDBInstanceForRebuild added in v3.0.4

func (client *Client) CreateDBInstanceForRebuild(request *CreateDBInstanceForRebuildRequest) (_result *CreateDBInstanceForRebuildResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:
  • * [Manage ApsaraDB RDS for MySQL instances in the recycle bin](~~96065~~)
  • * [Manage ApsaraDB RDS for PostgreSQL instances in the recycle bin](~~96752~~)
  • * [Manage ApsaraDB RDS for SQL Server instances in the recycle bin](~~95669~~)
  • * [Manage ApsaraDB RDS for MariaDB instances in the recycle bin](~~97131~~) *
  • @param request CreateDBInstanceForRebuildRequest
  • @return CreateDBInstanceForRebuildResponse

func (*Client) CreateDBInstanceForRebuildWithOptions added in v3.0.4

func (client *Client) CreateDBInstanceForRebuildWithOptions(request *CreateDBInstanceForRebuildRequest, runtime *util.RuntimeOptions) (_result *CreateDBInstanceForRebuildResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:
  • * [Manage ApsaraDB RDS for MySQL instances in the recycle bin](~~96065~~)
  • * [Manage ApsaraDB RDS for PostgreSQL instances in the recycle bin](~~96752~~)
  • * [Manage ApsaraDB RDS for SQL Server instances in the recycle bin](~~95669~~)
  • * [Manage ApsaraDB RDS for MariaDB instances in the recycle bin](~~97131~~) *
  • @param request CreateDBInstanceForRebuildRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDBInstanceForRebuildResponse

func (*Client) CreateDBInstanceWithOptions

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

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:
  • * [Create an ApsaraDB RDS for MySQL instance](~~148036~~)
  • * [Create a serverless ApsaraDB RDS for MySQL instance](~~412231~~)
  • * [Create an ApsaraDB RDS for PostgreSQL instance](~~148038~~)
  • * [Create a serverless ApsaraDB RDS for PostgreSQL instance](~~607753~~)
  • * [Enable Babelfish for an ApsaraDB RDS for PostgreSQL instance](~~428615~~)
  • * [Create an ApsaraDB RDS for SQL Server instance](~~148037~~)
  • * [Create a serverless ApsaraDB RDS for SQL Server instance](~~603465~~)
  • * [Create an ApsaraDB RDS for MariaDB instance](~~148040~~) *
  • @param tmpReq CreateDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDBInstanceResponse

func (*Client) CreateDBNodes added in v3.0.4

func (client *Client) CreateDBNodes(request *CreateDBNodesRequest) (_result *CreateDBNodesResponse, _err error)

*

  • ### Supported database engines
  • MySQL
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Add a node to an ApsaraDB RDS for MySQL cluster](~~464129~~) *
  • @param request CreateDBNodesRequest
  • @return CreateDBNodesResponse

func (*Client) CreateDBNodesWithOptions added in v3.0.4

func (client *Client) CreateDBNodesWithOptions(tmpReq *CreateDBNodesRequest, runtime *util.RuntimeOptions) (_result *CreateDBNodesResponse, _err error)

*

  • ### Supported database engines
  • MySQL
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Add a node to an ApsaraDB RDS for MySQL cluster](~~464129~~) *
  • @param tmpReq CreateDBNodesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDBNodesResponse

func (*Client) CreateDBProxyEndpointAddress

func (client *Client) CreateDBProxyEndpointAddress(request *CreateDBProxyEndpointAddressRequest) (_result *CreateDBProxyEndpointAddressResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance](~~184921~~)
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](~~418274~~) *
  • @param request CreateDBProxyEndpointAddressRequest
  • @return CreateDBProxyEndpointAddressResponse

func (*Client) CreateDBProxyEndpointAddressWithOptions

func (client *Client) CreateDBProxyEndpointAddressWithOptions(request *CreateDBProxyEndpointAddressRequest, runtime *util.RuntimeOptions) (_result *CreateDBProxyEndpointAddressResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance](~~184921~~)
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](~~418274~~) *
  • @param request CreateDBProxyEndpointAddressRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDBProxyEndpointAddressResponse

func (*Client) CreateDatabase

func (client *Client) CreateDatabase(request *CreateDatabaseRequest) (_result *CreateDatabaseResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Create a database in an ApsaraDB RDS for MySQL instance](~~96105~~)
  • * [Create a database in an ApsaraDB RDS for PostgreSQL instance](~~96758~~)
  • * [Create a database in an ApsaraDB RDS for SQL Server instance](~~95698~~)
  • * [Create a database in an ApsaraDB RDS for MariaDB instance](~~97136~~) *
  • @param request CreateDatabaseRequest
  • @return CreateDatabaseResponse

func (*Client) CreateDatabaseWithOptions

func (client *Client) CreateDatabaseWithOptions(request *CreateDatabaseRequest, runtime *util.RuntimeOptions) (_result *CreateDatabaseResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Create a database in an ApsaraDB RDS for MySQL instance](~~96105~~)
  • * [Create a database in an ApsaraDB RDS for PostgreSQL instance](~~96758~~)
  • * [Create a database in an ApsaraDB RDS for SQL Server instance](~~95698~~)
  • * [Create a database in an ApsaraDB RDS for MariaDB instance](~~97136~~) *
  • @param request CreateDatabaseRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDatabaseResponse

func (*Client) CreateDdrInstance

func (client *Client) CreateDdrInstance(request *CreateDdrInstanceRequest) (_result *CreateDdrInstanceResponse, _err error)

*

  • > Before restoration, you can call the [CheckCreateDdrDBInstance](~~121721~~) operation to check whether a cross-region backup set can be used for cross-region restoration.
  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request CreateDdrInstanceRequest
  • @return CreateDdrInstanceResponse

func (*Client) CreateDdrInstanceWithOptions

func (client *Client) CreateDdrInstanceWithOptions(request *CreateDdrInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateDdrInstanceResponse, _err error)

*

  • > Before restoration, you can call the [CheckCreateDdrDBInstance](~~121721~~) operation to check whether a cross-region backup set can be used for cross-region restoration.
  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request CreateDdrInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDdrInstanceResponse

func (*Client) CreateDiagnosticReport

func (client *Client) CreateDiagnosticReport(request *CreateDiagnosticReportRequest) (_result *CreateDiagnosticReportResponse, _err error)

*

  • > This operation is no longer maintained. You can use the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
  • After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report. *
  • @param request CreateDiagnosticReportRequest
  • @return CreateDiagnosticReportResponse

func (*Client) CreateDiagnosticReportWithOptions

func (client *Client) CreateDiagnosticReportWithOptions(request *CreateDiagnosticReportRequest, runtime *util.RuntimeOptions) (_result *CreateDiagnosticReportResponse, _err error)

*

  • > This operation is no longer maintained. You can use the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
  • After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report. *
  • @param request CreateDiagnosticReportRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDiagnosticReportResponse

func (*Client) CreateGADInstance

func (client *Client) CreateGADInstance(request *CreateGADInstanceRequest) (_result *CreateGADInstanceResponse, _err error)

*

  • ### [](#)Supported database engine
  • * MySQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Create and release an ApsaraDB RDS global active database cluster](~~328592~~) *
  • @param request CreateGADInstanceRequest
  • @return CreateGADInstanceResponse

func (*Client) CreateGADInstanceWithOptions

func (client *Client) CreateGADInstanceWithOptions(request *CreateGADInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateGADInstanceResponse, _err error)

*

  • ### [](#)Supported database engine
  • * MySQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Create and release an ApsaraDB RDS global active database cluster](~~328592~~) *
  • @param request CreateGADInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateGADInstanceResponse

func (*Client) CreateGadInstanceMember

func (client *Client) CreateGadInstanceMember(request *CreateGadInstanceMemberRequest) (_result *CreateGadInstanceMemberResponse, _err error)

*

  • ## [](#)Prerequisites
  • An ApsaraDB RDS global active database cluster is created. You can call the [CreateGADInstance](~~336893~~) operation to create a global active database cluster.
  • For more information, see [Add unit nodes to or move unit nodes from an ApsaraDB RDS global active database cluster](~~331851~~). *
  • @param request CreateGadInstanceMemberRequest
  • @return CreateGadInstanceMemberResponse

func (*Client) CreateGadInstanceMemberWithOptions

func (client *Client) CreateGadInstanceMemberWithOptions(request *CreateGadInstanceMemberRequest, runtime *util.RuntimeOptions) (_result *CreateGadInstanceMemberResponse, _err error)

*

  • ## [](#)Prerequisites
  • An ApsaraDB RDS global active database cluster is created. You can call the [CreateGADInstance](~~336893~~) operation to create a global active database cluster.
  • For more information, see [Add unit nodes to or move unit nodes from an ApsaraDB RDS global active database cluster](~~331851~~). *
  • @param request CreateGadInstanceMemberRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateGadInstanceMemberResponse

func (*Client) CreateMigrateTask

func (client *Client) CreateMigrateTask(request *CreateMigrateTaskRequest) (_result *CreateMigrateTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Migrate data from a self-managed SQL Server instance to an ApsaraDB RDS for SQL Server instance](~~100019~~) *
  • @param request CreateMigrateTaskRequest
  • @return CreateMigrateTaskResponse

func (*Client) CreateMigrateTaskWithOptions

func (client *Client) CreateMigrateTaskWithOptions(request *CreateMigrateTaskRequest, runtime *util.RuntimeOptions) (_result *CreateMigrateTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Migrate data from a self-managed SQL Server instance to an ApsaraDB RDS for SQL Server instance](~~100019~~) *
  • @param request CreateMigrateTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateMigrateTaskResponse

func (*Client) CreateOnlineDatabaseTask

func (client *Client) CreateOnlineDatabaseTask(request *CreateOnlineDatabaseTaskRequest) (_result *CreateOnlineDatabaseTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • This operation is used to migrate backup data to the cloud. Before you call this operation, make sure that you understand the descriptions in the following topics:
  • * [Migrate the full backup data of a self-managed SQL Server database to an ApsaraDB RDS instance that runs SQL Server 2008 R2](~~95737~~)
  • * [Migrate full backup data of SQL Server 2012, 2014, 2016, 2017, or 2019 databases](~~95738~~)
  • * [Migrate incremental backup data to ApsaraDB RDS for SQL Server 2012, 2014, 2016, 2017, or 2019](~~95736~~) *
  • @param request CreateOnlineDatabaseTaskRequest
  • @return CreateOnlineDatabaseTaskResponse

func (*Client) CreateOnlineDatabaseTaskWithOptions

func (client *Client) CreateOnlineDatabaseTaskWithOptions(request *CreateOnlineDatabaseTaskRequest, runtime *util.RuntimeOptions) (_result *CreateOnlineDatabaseTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • This operation is used to migrate backup data to the cloud. Before you call this operation, make sure that you understand the descriptions in the following topics:
  • * [Migrate the full backup data of a self-managed SQL Server database to an ApsaraDB RDS instance that runs SQL Server 2008 R2](~~95737~~)
  • * [Migrate full backup data of SQL Server 2012, 2014, 2016, 2017, or 2019 databases](~~95738~~)
  • * [Migrate incremental backup data to ApsaraDB RDS for SQL Server 2012, 2014, 2016, 2017, or 2019](~~95736~~) *
  • @param request CreateOnlineDatabaseTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateOnlineDatabaseTaskResponse

func (*Client) CreateOrderForCreateDBNodes added in v3.1.0

func (client *Client) CreateOrderForCreateDBNodes(request *CreateOrderForCreateDBNodesRequest) (_result *CreateOrderForCreateDBNodesResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Add a node to an ApsaraDB RDS for MySQL cluster](~~464129~~) *
  • @param request CreateOrderForCreateDBNodesRequest
  • @return CreateOrderForCreateDBNodesResponse

func (*Client) CreateOrderForCreateDBNodesWithOptions added in v3.1.0

func (client *Client) CreateOrderForCreateDBNodesWithOptions(tmpReq *CreateOrderForCreateDBNodesRequest, runtime *util.RuntimeOptions) (_result *CreateOrderForCreateDBNodesResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Add a node to an ApsaraDB RDS for MySQL cluster](~~464129~~) *
  • @param tmpReq CreateOrderForCreateDBNodesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateOrderForCreateDBNodesResponse

func (*Client) CreateOrderForDeleteDBNodes added in v3.2.0

func (client *Client) CreateOrderForDeleteDBNodes(request *CreateOrderForDeleteDBNodesRequest) (_result *CreateOrderForDeleteDBNodesResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Delete a node from an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition](~~464130~~) *
  • @param request CreateOrderForDeleteDBNodesRequest
  • @return CreateOrderForDeleteDBNodesResponse

func (*Client) CreateOrderForDeleteDBNodesWithOptions added in v3.2.0

func (client *Client) CreateOrderForDeleteDBNodesWithOptions(tmpReq *CreateOrderForDeleteDBNodesRequest, runtime *util.RuntimeOptions) (_result *CreateOrderForDeleteDBNodesResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Delete a node from an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition](~~464130~~) *
  • @param tmpReq CreateOrderForDeleteDBNodesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateOrderForDeleteDBNodesResponse

func (*Client) CreateParameterGroup

func (client *Client) CreateParameterGroup(request *CreateParameterGroupRequest) (_result *CreateParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request CreateParameterGroupRequest
  • @return CreateParameterGroupResponse

func (*Client) CreateParameterGroupWithOptions

func (client *Client) CreateParameterGroupWithOptions(request *CreateParameterGroupRequest, runtime *util.RuntimeOptions) (_result *CreateParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request CreateParameterGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateParameterGroupResponse

func (*Client) CreatePostgresExtensions added in v3.0.28

func (client *Client) CreatePostgresExtensions(request *CreatePostgresExtensionsRequest) (_result *CreatePostgresExtensionsResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~)
  • ### [](#)Precautions
  • Install only the plug-ins that are supported by the major engine version of the instance. Otherwise, the installation fails.
  • * For more information, see [Extensions supported by ApsaraDB RDS for PostgreSQL](~~142340~~).
  • * You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the major engine version of an instance. *
  • @param request CreatePostgresExtensionsRequest
  • @return CreatePostgresExtensionsResponse

func (*Client) CreatePostgresExtensionsWithOptions added in v3.0.28

func (client *Client) CreatePostgresExtensionsWithOptions(request *CreatePostgresExtensionsRequest, runtime *util.RuntimeOptions) (_result *CreatePostgresExtensionsResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~)
  • ### [](#)Precautions
  • Install only the plug-ins that are supported by the major engine version of the instance. Otherwise, the installation fails.
  • * For more information, see [Extensions supported by ApsaraDB RDS for PostgreSQL](~~142340~~).
  • * You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the major engine version of an instance. *
  • @param request CreatePostgresExtensionsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreatePostgresExtensionsResponse

func (*Client) CreateReadOnlyDBInstance

func (client *Client) CreateReadOnlyDBInstance(request *CreateReadOnlyDBInstanceRequest) (_result *CreateReadOnlyDBInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Create a read-only ApsaraDB RDS for MySQL instance](~~56991~~)
  • * [Create a read-only ApsaraDB RDS for PostgreSQL instance](~~108959~~)
  • * [Create a read-only ApsaraDB RDS for SQL Server instance](~~99005~~) *
  • @param request CreateReadOnlyDBInstanceRequest
  • @return CreateReadOnlyDBInstanceResponse

func (*Client) CreateReadOnlyDBInstanceWithOptions

func (client *Client) CreateReadOnlyDBInstanceWithOptions(request *CreateReadOnlyDBInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateReadOnlyDBInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Create a read-only ApsaraDB RDS for MySQL instance](~~56991~~)
  • * [Create a read-only ApsaraDB RDS for PostgreSQL instance](~~108959~~)
  • * [Create a read-only ApsaraDB RDS for SQL Server instance](~~99005~~) *
  • @param request CreateReadOnlyDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateReadOnlyDBInstanceResponse

func (*Client) CreateSecret

func (client *Client) CreateSecret(request *CreateSecretRequest) (_result *CreateSecretResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL *
  • @param request CreateSecretRequest
  • @return CreateSecretResponse

func (*Client) CreateSecretWithOptions

func (client *Client) CreateSecretWithOptions(request *CreateSecretRequest, runtime *util.RuntimeOptions) (_result *CreateSecretResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL *
  • @param request CreateSecretRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateSecretResponse

func (*Client) CreateServiceLinkedRole

func (client *Client) CreateServiceLinkedRole(request *CreateServiceLinkedRoleRequest) (_result *CreateServiceLinkedRoleResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Service-linked roles](~~342840~~) *
  • @param request CreateServiceLinkedRoleRequest
  • @return CreateServiceLinkedRoleResponse

func (*Client) CreateServiceLinkedRoleWithOptions

func (client *Client) CreateServiceLinkedRoleWithOptions(request *CreateServiceLinkedRoleRequest, runtime *util.RuntimeOptions) (_result *CreateServiceLinkedRoleResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Service-linked roles](~~342840~~) *
  • @param request CreateServiceLinkedRoleRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateServiceLinkedRoleResponse

func (*Client) CreateTempDBInstance

func (client *Client) CreateTempDBInstance(request *CreateTempDBInstanceRequest) (_result *CreateTempDBInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • Your RDS instance runs SQL Server 2008 R2 with local disks.
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Restore the data of an ApsaraDB RDS for SQL Server instance by using a temporary RDS instance](~~95724~~) *
  • @param request CreateTempDBInstanceRequest
  • @return CreateTempDBInstanceResponse

func (*Client) CreateTempDBInstanceWithOptions

func (client *Client) CreateTempDBInstanceWithOptions(request *CreateTempDBInstanceRequest, runtime *util.RuntimeOptions) (_result *CreateTempDBInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • Your RDS instance runs SQL Server 2008 R2 with local disks.
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Restore the data of an ApsaraDB RDS for SQL Server instance by using a temporary RDS instance](~~95724~~) *
  • @param request CreateTempDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateTempDBInstanceResponse

func (*Client) CreateYouhuiForOrder added in v3.3.0

func (client *Client) CreateYouhuiForOrder(request *CreateYouhuiForOrderRequest) (_result *CreateYouhuiForOrderResponse, _err error)

func (*Client) CreateYouhuiForOrderWithOptions added in v3.3.0

func (client *Client) CreateYouhuiForOrderWithOptions(request *CreateYouhuiForOrderRequest, runtime *util.RuntimeOptions) (_result *CreateYouhuiForOrderResponse, _err error)

func (*Client) DeleteADSetting

func (client *Client) DeleteADSetting(request *DeleteADSettingRequest) (_result *DeleteADSettingResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request DeleteADSettingRequest
  • @return DeleteADSettingResponse

func (*Client) DeleteADSettingWithOptions

func (client *Client) DeleteADSettingWithOptions(request *DeleteADSettingRequest, runtime *util.RuntimeOptions) (_result *DeleteADSettingResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request DeleteADSettingRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteADSettingResponse

func (*Client) DeleteAccount

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Delete a database account from an ApsaraDB RDS for MySQL instance](~~96104~~)
  • * [Delete a database account from an ApsaraDB RDS for PostgreSQL instance](~~147649~~)
  • * [Delete a database account from an ApsaraDB RDS for SQL Server instance](~~95694~~)
  • * [Delete a database account from an ApsaraDB RDS for MariaDB instance](~~97135~~) *
  • @param request DeleteAccountRequest
  • @return DeleteAccountResponse

func (*Client) DeleteAccountWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Delete a database account from an ApsaraDB RDS for MySQL instance](~~96104~~)
  • * [Delete a database account from an ApsaraDB RDS for PostgreSQL instance](~~147649~~)
  • * [Delete a database account from an ApsaraDB RDS for SQL Server instance](~~95694~~)
  • * [Delete a database account from an ApsaraDB RDS for MariaDB instance](~~97135~~) *
  • @param request DeleteAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAccountResponse

func (*Client) DeleteBackup

func (client *Client) DeleteBackup(request *DeleteBackupRequest) (_result *DeleteBackupResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • > Only instances that run RDS High-availability Edition are supported.
  • ### Description
  • You can call this operation to delete backup sets of the instance itself. Backup sets of the associated instances such as read-only, disaster recovery, and cloned instances are not deleted.
  • ### Precautions
  • Before you call this operation, make sure that the following requirements are met:
  • * The instance is in the Running state.
  • * If the log backup feature is disabled, instances cannot be restored by point in time. You can delete data backup sets that are retained for more than seven days.
  • * If the log backup feature is enabled and the log backup retention period is shorter than the data backup retention period, you can delete the data backup files that are retained for a period longer than the log backup retention period. *
  • @param request DeleteBackupRequest
  • @return DeleteBackupResponse

func (*Client) DeleteBackupFile

func (client *Client) DeleteBackupFile(request *DeleteBackupFileRequest) (_result *DeleteBackupFileResponse, _err error)

*

  • ### Supported database engine
  • SQL Server
  • ### Usage notes
  • This operation is available for users whose accounts are added to the whitelist. If your account is not added to the whitelist, you can join the Database Backup (DBS) DingTalk group whose ID is 35585947 and contact the on-duty engineer to add your account to the whitelist. *
  • @param request DeleteBackupFileRequest
  • @return DeleteBackupFileResponse

func (*Client) DeleteBackupFileWithOptions

func (client *Client) DeleteBackupFileWithOptions(request *DeleteBackupFileRequest, runtime *util.RuntimeOptions) (_result *DeleteBackupFileResponse, _err error)

*

  • ### Supported database engine
  • SQL Server
  • ### Usage notes
  • This operation is available for users whose accounts are added to the whitelist. If your account is not added to the whitelist, you can join the Database Backup (DBS) DingTalk group whose ID is 35585947 and contact the on-duty engineer to add your account to the whitelist. *
  • @param request DeleteBackupFileRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteBackupFileResponse

func (*Client) DeleteBackupWithOptions

func (client *Client) DeleteBackupWithOptions(request *DeleteBackupRequest, runtime *util.RuntimeOptions) (_result *DeleteBackupResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • > Only instances that run RDS High-availability Edition are supported.
  • ### Description
  • You can call this operation to delete backup sets of the instance itself. Backup sets of the associated instances such as read-only, disaster recovery, and cloned instances are not deleted.
  • ### Precautions
  • Before you call this operation, make sure that the following requirements are met:
  • * The instance is in the Running state.
  • * If the log backup feature is disabled, instances cannot be restored by point in time. You can delete data backup sets that are retained for more than seven days.
  • * If the log backup feature is enabled and the log backup retention period is shorter than the data backup retention period, you can delete the data backup files that are retained for a period longer than the log backup retention period. *
  • @param request DeleteBackupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteBackupResponse

func (*Client) DeleteDBInstance

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Note Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Release an ApsaraDB RDS for MySQL instance](~~96057~~)
  • * [Release an ApsaraDB RDS for PostgreSQL instance](~~96749~~)
  • * [Release an ApsaraDB RDS for SQL Server instance](~~95662~~)
  • * [Release an ApsaraDB RDS for MariaDB instance](~~97128~~) *
  • @param request DeleteDBInstanceRequest
  • @return DeleteDBInstanceResponse

func (*Client) DeleteDBInstanceEndpoint added in v3.0.3

func (client *Client) DeleteDBInstanceEndpoint(request *DeleteDBInstanceEndpointRequest) (_result *DeleteDBInstanceEndpointResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Delete the read-only endpoint of an ApsaraDB RDS for MySQL cluster](~~464133~~) *
  • @param request DeleteDBInstanceEndpointRequest
  • @return DeleteDBInstanceEndpointResponse

func (*Client) DeleteDBInstanceEndpointAddress added in v3.0.3

func (client *Client) DeleteDBInstanceEndpointAddress(request *DeleteDBInstanceEndpointAddressRequest) (_result *DeleteDBInstanceEndpointAddressResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### Precautions
  • You can delete only the public endpoint of each endpoint type from the instance. If you want to delete an internal endpoint of any endpoint type, you can delete the type of endpoint. *
  • @param request DeleteDBInstanceEndpointAddressRequest
  • @return DeleteDBInstanceEndpointAddressResponse

func (*Client) DeleteDBInstanceEndpointAddressWithOptions added in v3.0.3

func (client *Client) DeleteDBInstanceEndpointAddressWithOptions(request *DeleteDBInstanceEndpointAddressRequest, runtime *util.RuntimeOptions) (_result *DeleteDBInstanceEndpointAddressResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### Precautions
  • You can delete only the public endpoint of each endpoint type from the instance. If you want to delete an internal endpoint of any endpoint type, you can delete the type of endpoint. *
  • @param request DeleteDBInstanceEndpointAddressRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDBInstanceEndpointAddressResponse

func (*Client) DeleteDBInstanceEndpointWithOptions added in v3.0.3

func (client *Client) DeleteDBInstanceEndpointWithOptions(request *DeleteDBInstanceEndpointRequest, runtime *util.RuntimeOptions) (_result *DeleteDBInstanceEndpointResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Delete the read-only endpoint of an ApsaraDB RDS for MySQL cluster](~~464133~~) *
  • @param request DeleteDBInstanceEndpointRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDBInstanceEndpointResponse

func (*Client) DeleteDBInstanceWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Note Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Release an ApsaraDB RDS for MySQL instance](~~96057~~)
  • * [Release an ApsaraDB RDS for PostgreSQL instance](~~96749~~)
  • * [Release an ApsaraDB RDS for SQL Server instance](~~95662~~)
  • * [Release an ApsaraDB RDS for MariaDB instance](~~97128~~) *
  • @param request DeleteDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDBInstanceResponse

func (*Client) DeleteDBNodes added in v3.0.4

func (client *Client) DeleteDBNodes(request *DeleteDBNodesRequest) (_result *DeleteDBNodesResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Delete a node from an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition](~~464130~~) *
  • @param request DeleteDBNodesRequest
  • @return DeleteDBNodesResponse

func (*Client) DeleteDBNodesWithOptions added in v3.0.4

func (client *Client) DeleteDBNodesWithOptions(tmpReq *DeleteDBNodesRequest, runtime *util.RuntimeOptions) (_result *DeleteDBNodesResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Delete a node from an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition](~~464130~~) *
  • @param tmpReq DeleteDBNodesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDBNodesResponse

func (*Client) DeleteDBProxyEndpointAddress

func (client *Client) DeleteDBProxyEndpointAddress(request *DeleteDBProxyEndpointAddressRequest) (_result *DeleteDBProxyEndpointAddressResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance](~~184921~~)
  • * [Configure the dedicated proxy endpoint for an ApsaraDB RDS for PostgreSQL instance](~~418274~~) *
  • @param request DeleteDBProxyEndpointAddressRequest
  • @return DeleteDBProxyEndpointAddressResponse

func (*Client) DeleteDBProxyEndpointAddressWithOptions

func (client *Client) DeleteDBProxyEndpointAddressWithOptions(request *DeleteDBProxyEndpointAddressRequest, runtime *util.RuntimeOptions) (_result *DeleteDBProxyEndpointAddressResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance](~~184921~~)
  • * [Configure the dedicated proxy endpoint for an ApsaraDB RDS for PostgreSQL instance](~~418274~~) *
  • @param request DeleteDBProxyEndpointAddressRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDBProxyEndpointAddressResponse

func (*Client) DeleteDatabase

func (client *Client) DeleteDatabase(request *DeleteDatabaseRequest) (_result *DeleteDatabaseResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### [](#)References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Delete a database from an ApsaraDB RDS for MySQL instance](~~96106~~)
  • * [Delete a database from an ApsaraDB RDS for PostgreSQL instance](~~96759~~)
  • * [Delete a database from an ApsaraDB RDS for SQL Server instance](~~95699~~)
  • * [Delete a database from an ApsaraDB RDS for MariaDB instance](~~97137~~) *
  • @param request DeleteDatabaseRequest
  • @return DeleteDatabaseResponse

func (*Client) DeleteDatabaseWithOptions

func (client *Client) DeleteDatabaseWithOptions(request *DeleteDatabaseRequest, runtime *util.RuntimeOptions) (_result *DeleteDatabaseResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### [](#)References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Delete a database from an ApsaraDB RDS for MySQL instance](~~96106~~)
  • * [Delete a database from an ApsaraDB RDS for PostgreSQL instance](~~96759~~)
  • * [Delete a database from an ApsaraDB RDS for SQL Server instance](~~95699~~)
  • * [Delete a database from an ApsaraDB RDS for MariaDB instance](~~97137~~) *
  • @param request DeleteDatabaseRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDatabaseResponse

func (*Client) DeleteGadInstance

func (client *Client) DeleteGadInstance(request *DeleteGadInstanceRequest) (_result *DeleteGadInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [Usage notes](#)
  • * A global active database cluster cannot be restored after it is deleted. Proceed with caution.
  • * If you delete a global active database cluster, the system removes all nodes and Data Transmission Service (DTS) synchronization tasks from the cluster. However, the system does not release the ApsaraDB RDS for MySQL instances that run as nodes in the cluster. If you no longer need the ApsaraDB RDS for MySQL instances, you can call the [DeleteDBInstance](~~26229~~) to release the instances one after another. *
  • @param request DeleteGadInstanceRequest
  • @return DeleteGadInstanceResponse

func (*Client) DeleteGadInstanceWithOptions

func (client *Client) DeleteGadInstanceWithOptions(request *DeleteGadInstanceRequest, runtime *util.RuntimeOptions) (_result *DeleteGadInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [Usage notes](#)
  • * A global active database cluster cannot be restored after it is deleted. Proceed with caution.
  • * If you delete a global active database cluster, the system removes all nodes and Data Transmission Service (DTS) synchronization tasks from the cluster. However, the system does not release the ApsaraDB RDS for MySQL instances that run as nodes in the cluster. If you no longer need the ApsaraDB RDS for MySQL instances, you can call the [DeleteDBInstance](~~26229~~) to release the instances one after another. *
  • @param request DeleteGadInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteGadInstanceResponse

func (*Client) DeleteParameterGroup

func (client *Client) DeleteParameterGroup(request *DeleteParameterGroupRequest) (_result *DeleteParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request DeleteParameterGroupRequest
  • @return DeleteParameterGroupResponse

func (*Client) DeleteParameterGroupWithOptions

func (client *Client) DeleteParameterGroupWithOptions(request *DeleteParameterGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request DeleteParameterGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteParameterGroupResponse

func (*Client) DeletePostgresExtensions added in v3.0.28

func (client *Client) DeletePostgresExtensions(request *DeletePostgresExtensionsRequest) (_result *DeletePostgresExtensionsResponse, _err error)

*

  • ### Supported database engines
  • RDS PostgreSQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~) *
  • @param request DeletePostgresExtensionsRequest
  • @return DeletePostgresExtensionsResponse

func (*Client) DeletePostgresExtensionsWithOptions added in v3.0.28

func (client *Client) DeletePostgresExtensionsWithOptions(request *DeletePostgresExtensionsRequest, runtime *util.RuntimeOptions) (_result *DeletePostgresExtensionsResponse, _err error)

*

  • ### Supported database engines
  • RDS PostgreSQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~) *
  • @param request DeletePostgresExtensionsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeletePostgresExtensionsResponse

func (*Client) DeleteSecret

func (client *Client) DeleteSecret(request *DeleteSecretRequest) (_result *DeleteSecretResponse, _err error)

func (*Client) DeleteSecretWithOptions

func (client *Client) DeleteSecretWithOptions(request *DeleteSecretRequest, runtime *util.RuntimeOptions) (_result *DeleteSecretResponse, _err error)

func (*Client) DeleteSlot added in v3.0.5

func (client *Client) DeleteSlot(request *DeleteSlotRequest) (_result *DeleteSlotResponse, _err error)

*

  • ### [](#)Supported database engine
  • * PostgreSQL
  • ### [](#)Precautions
  • You can delete a replication slot only when the status of the slot is **INACTIVE**. You can call the DescribeSlots operation to query the status of a replication slot. *
  • @param request DeleteSlotRequest
  • @return DeleteSlotResponse

func (*Client) DeleteSlotWithOptions added in v3.0.5

func (client *Client) DeleteSlotWithOptions(request *DeleteSlotRequest, runtime *util.RuntimeOptions) (_result *DeleteSlotResponse, _err error)

*

  • ### [](#)Supported database engine
  • * PostgreSQL
  • ### [](#)Precautions
  • You can delete a replication slot only when the status of the slot is **INACTIVE**. You can call the DescribeSlots operation to query the status of a replication slot. *
  • @param request DeleteSlotRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteSlotResponse

func (*Client) DeleteUserBackupFile

func (client *Client) DeleteUserBackupFile(request *DeleteUserBackupFileRequest) (_result *DeleteUserBackupFileResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)Description
  • * A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • * This operation deletes full backup files only from the ApsaraDB RDS console. This operation does not affect the full backup files that are stored as objects in Object Storage Service (OSS) buckets. After you call this operation to delete a full backup file, you can call the [ImportUserBackupFile](~~260266~~) operation to import the full backup file again. *
  • @param request DeleteUserBackupFileRequest
  • @return DeleteUserBackupFileResponse

func (*Client) DeleteUserBackupFileWithOptions

func (client *Client) DeleteUserBackupFileWithOptions(request *DeleteUserBackupFileRequest, runtime *util.RuntimeOptions) (_result *DeleteUserBackupFileResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)Description
  • * A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • * This operation deletes full backup files only from the ApsaraDB RDS console. This operation does not affect the full backup files that are stored as objects in Object Storage Service (OSS) buckets. After you call this operation to delete a full backup file, you can call the [ImportUserBackupFile](~~260266~~) operation to import the full backup file again. *
  • @param request DeleteUserBackupFileRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteUserBackupFileResponse

func (*Client) DescibeImportsFromDatabase

func (client *Client) DescibeImportsFromDatabase(request *DescibeImportsFromDatabaseRequest) (_result *DescibeImportsFromDatabaseResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL *
  • @param request DescibeImportsFromDatabaseRequest
  • @return DescibeImportsFromDatabaseResponse

func (*Client) DescibeImportsFromDatabaseWithOptions

func (client *Client) DescibeImportsFromDatabaseWithOptions(request *DescibeImportsFromDatabaseRequest, runtime *util.RuntimeOptions) (_result *DescibeImportsFromDatabaseResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL *
  • @param request DescibeImportsFromDatabaseRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescibeImportsFromDatabaseResponse

func (*Client) DescribeADInfo

func (client *Client) DescribeADInfo(request *DescribeADInfoRequest) (_result *DescribeADInfoResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request DescribeADInfoRequest
  • @return DescribeADInfoResponse

func (*Client) DescribeADInfoWithOptions

func (client *Client) DescribeADInfoWithOptions(request *DescribeADInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeADInfoResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request DescribeADInfoRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeADInfoResponse

func (*Client) DescribeAccounts

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeAccountsRequest
  • @return DescribeAccountsResponse

func (*Client) DescribeAccountsWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeAccountsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAccountsResponse

func (*Client) DescribeActionEventPolicy

func (client *Client) DescribeActionEventPolicy(request *DescribeActionEventPolicyRequest) (_result *DescribeActionEventPolicyResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeActionEventPolicyRequest
  • @return DescribeActionEventPolicyResponse

func (*Client) DescribeActionEventPolicyWithOptions

func (client *Client) DescribeActionEventPolicyWithOptions(request *DescribeActionEventPolicyRequest, runtime *util.RuntimeOptions) (_result *DescribeActionEventPolicyResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeActionEventPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeActionEventPolicyResponse

func (*Client) DescribeActiveOperationTasks added in v3.0.4

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeActiveOperationTasksRequest
  • @return DescribeActiveOperationTasksResponse

func (*Client) DescribeActiveOperationTasksWithOptions added in v3.0.4

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeActiveOperationTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeActiveOperationTasksResponse

func (*Client) DescribeAllWhitelistTemplate added in v3.0.29

func (client *Client) DescribeAllWhitelistTemplate(request *DescribeAllWhitelistTemplateRequest) (_result *DescribeAllWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeAllWhitelistTemplateRequest
  • @return DescribeAllWhitelistTemplateResponse

func (*Client) DescribeAllWhitelistTemplateWithOptions added in v3.0.29

func (client *Client) DescribeAllWhitelistTemplateWithOptions(request *DescribeAllWhitelistTemplateRequest, runtime *util.RuntimeOptions) (_result *DescribeAllWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeAllWhitelistTemplateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAllWhitelistTemplateResponse

func (*Client) DescribeAnalyticdbByPrimaryDBInstance

func (client *Client) DescribeAnalyticdbByPrimaryDBInstance(request *DescribeAnalyticdbByPrimaryDBInstanceRequest) (_result *DescribeAnalyticdbByPrimaryDBInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • [Create and view an analytic instance](~~155180~~) *
  • @param request DescribeAnalyticdbByPrimaryDBInstanceRequest
  • @return DescribeAnalyticdbByPrimaryDBInstanceResponse

func (*Client) DescribeAnalyticdbByPrimaryDBInstanceWithOptions

func (client *Client) DescribeAnalyticdbByPrimaryDBInstanceWithOptions(request *DescribeAnalyticdbByPrimaryDBInstanceRequest, runtime *util.RuntimeOptions) (_result *DescribeAnalyticdbByPrimaryDBInstanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • [Create and view an analytic instance](~~155180~~) *
  • @param request DescribeAnalyticdbByPrimaryDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAnalyticdbByPrimaryDBInstanceResponse

func (*Client) DescribeAvailableClasses

func (client *Client) DescribeAvailableClasses(request *DescribeAvailableClassesRequest) (_result *DescribeAvailableClassesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeAvailableClassesRequest
  • @return DescribeAvailableClassesResponse

func (*Client) DescribeAvailableClassesWithOptions

func (client *Client) DescribeAvailableClassesWithOptions(request *DescribeAvailableClassesRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableClassesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeAvailableClassesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAvailableClassesResponse

func (*Client) DescribeAvailableCrossRegion

func (client *Client) DescribeAvailableCrossRegion(request *DescribeAvailableCrossRegionRequest) (_result *DescribeAvailableCrossRegionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request DescribeAvailableCrossRegionRequest
  • @return DescribeAvailableCrossRegionResponse

func (*Client) DescribeAvailableCrossRegionWithOptions

func (client *Client) DescribeAvailableCrossRegionWithOptions(request *DescribeAvailableCrossRegionRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableCrossRegionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request DescribeAvailableCrossRegionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAvailableCrossRegionResponse

func (*Client) DescribeAvailableMetrics

func (client *Client) DescribeAvailableMetrics(request *DescribeAvailableMetricsRequest) (_result *DescribeAvailableMetricsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [View the Enhanced Monitoring metrics](~~299200~~) *
  • @param request DescribeAvailableMetricsRequest
  • @return DescribeAvailableMetricsResponse

func (*Client) DescribeAvailableMetricsWithOptions

func (client *Client) DescribeAvailableMetricsWithOptions(request *DescribeAvailableMetricsRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableMetricsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [View the Enhanced Monitoring metrics](~~299200~~) *
  • @param request DescribeAvailableMetricsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAvailableMetricsResponse

func (*Client) DescribeAvailableRecoveryTime

func (client *Client) DescribeAvailableRecoveryTime(request *DescribeAvailableRecoveryTimeRequest) (_result *DescribeAvailableRecoveryTimeResponse, _err error)

*

  • > To view the time range within which you can restore data from a standard backup set, see [DescribeBackups](~~26273~~)
  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~) *
  • @param request DescribeAvailableRecoveryTimeRequest
  • @return DescribeAvailableRecoveryTimeResponse

func (*Client) DescribeAvailableRecoveryTimeWithOptions

func (client *Client) DescribeAvailableRecoveryTimeWithOptions(request *DescribeAvailableRecoveryTimeRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableRecoveryTimeResponse, _err error)

*

  • > To view the time range within which you can restore data from a standard backup set, see [DescribeBackups](~~26273~~)
  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~) *
  • @param request DescribeAvailableRecoveryTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAvailableRecoveryTimeResponse

func (*Client) DescribeAvailableZones

func (client *Client) DescribeAvailableZones(request *DescribeAvailableZonesRequest) (_result *DescribeAvailableZonesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeAvailableZonesRequest
  • @return DescribeAvailableZonesResponse

func (*Client) DescribeAvailableZonesWithOptions

func (client *Client) DescribeAvailableZonesWithOptions(request *DescribeAvailableZonesRequest, runtime *util.RuntimeOptions) (_result *DescribeAvailableZonesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeAvailableZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAvailableZonesResponse

func (*Client) DescribeBackupDatabase

func (client *Client) DescribeBackupDatabase(request *DescribeBackupDatabaseRequest) (_result *DescribeBackupDatabaseResponse, _err error)

*

  • > This operation is phased out. *
  • @param request DescribeBackupDatabaseRequest
  • @return DescribeBackupDatabaseResponse

func (*Client) DescribeBackupDatabaseWithOptions

func (client *Client) DescribeBackupDatabaseWithOptions(request *DescribeBackupDatabaseRequest, runtime *util.RuntimeOptions) (_result *DescribeBackupDatabaseResponse, _err error)

*

  • > This operation is phased out. *
  • @param request DescribeBackupDatabaseRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeBackupDatabaseResponse

func (*Client) DescribeBackupPolicy

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeBackupPolicyRequest
  • @return DescribeBackupPolicyResponse

func (*Client) DescribeBackupPolicyWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeBackupPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeBackupPolicyResponse

func (*Client) DescribeBackupTasks

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeBackupTasksRequest
  • @return DescribeBackupTasksResponse

func (*Client) DescribeBackupTasksWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @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)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeBackupsRequest
  • @return DescribeBackupsResponse

func (*Client) DescribeBackupsWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeBackupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeBackupsResponse

func (*Client) DescribeBinlogFiles

func (client *Client) DescribeBinlogFiles(request *DescribeBinlogFilesRequest) (_result *DescribeBinlogFilesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * MariaDB
  • ### Usage notes
  • * If the return value of the **DownloadLink** parameter is NULL, ApsaraDB RDS does not provide a download URL.
  • * If the return value of the **DownloadLink** parameter is not NULL, ApsaraDB RDS provides a URL for you to download backup files. The expiration time of the URL is specified by the **LinkExpiredTime** parameter. You must download the backup files before the expiration time.
  • * If you use a RAM user to download backup files, you must grant permissions to the RAM user. For more information, see [Grant backup file download permissions to a RAM user with read-only permissions](~~100043~~).
  • * Each log file that is returned by this operation contains the log entries that are generated over the time range that is specified by the StartTime and EndTime parameters. *
  • @param request DescribeBinlogFilesRequest
  • @return DescribeBinlogFilesResponse

func (*Client) DescribeBinlogFilesWithOptions

func (client *Client) DescribeBinlogFilesWithOptions(request *DescribeBinlogFilesRequest, runtime *util.RuntimeOptions) (_result *DescribeBinlogFilesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * MariaDB
  • ### Usage notes
  • * If the return value of the **DownloadLink** parameter is NULL, ApsaraDB RDS does not provide a download URL.
  • * If the return value of the **DownloadLink** parameter is not NULL, ApsaraDB RDS provides a URL for you to download backup files. The expiration time of the URL is specified by the **LinkExpiredTime** parameter. You must download the backup files before the expiration time.
  • * If you use a RAM user to download backup files, you must grant permissions to the RAM user. For more information, see [Grant backup file download permissions to a RAM user with read-only permissions](~~100043~~).
  • * Each log file that is returned by this operation contains the log entries that are generated over the time range that is specified by the StartTime and EndTime parameters. *
  • @param request DescribeBinlogFilesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeBinlogFilesResponse

func (*Client) DescribeCharacterSetName

func (client *Client) DescribeCharacterSetName(request *DescribeCharacterSetNameRequest) (_result *DescribeCharacterSetNameResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeCharacterSetNameRequest
  • @return DescribeCharacterSetNameResponse

func (*Client) DescribeCharacterSetNameWithOptions

func (client *Client) DescribeCharacterSetNameWithOptions(request *DescribeCharacterSetNameRequest, runtime *util.RuntimeOptions) (_result *DescribeCharacterSetNameResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeCharacterSetNameRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCharacterSetNameResponse

func (*Client) DescribeClassDetails added in v3.0.20

func (client *Client) DescribeClassDetails(request *DescribeClassDetailsRequest) (_result *DescribeClassDetailsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeClassDetailsRequest
  • @return DescribeClassDetailsResponse

func (*Client) DescribeClassDetailsWithOptions added in v3.0.20

func (client *Client) DescribeClassDetailsWithOptions(request *DescribeClassDetailsRequest, runtime *util.RuntimeOptions) (_result *DescribeClassDetailsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeClassDetailsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClassDetailsResponse

func (*Client) DescribeCloudMigrationPrecheckResult

func (client *Client) DescribeCloudMigrationPrecheckResult(request *DescribeCloudMigrationPrecheckResultRequest) (_result *DescribeCloudMigrationPrecheckResultResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request DescribeCloudMigrationPrecheckResultRequest
  • @return DescribeCloudMigrationPrecheckResultResponse

func (*Client) DescribeCloudMigrationPrecheckResultWithOptions

func (client *Client) DescribeCloudMigrationPrecheckResultWithOptions(request *DescribeCloudMigrationPrecheckResultRequest, runtime *util.RuntimeOptions) (_result *DescribeCloudMigrationPrecheckResultResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request DescribeCloudMigrationPrecheckResultRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCloudMigrationPrecheckResultResponse

func (*Client) DescribeCloudMigrationResult

func (client *Client) DescribeCloudMigrationResult(request *DescribeCloudMigrationResultRequest) (_result *DescribeCloudMigrationResultResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request DescribeCloudMigrationResultRequest
  • @return DescribeCloudMigrationResultResponse

func (*Client) DescribeCloudMigrationResultWithOptions

func (client *Client) DescribeCloudMigrationResultWithOptions(request *DescribeCloudMigrationResultRequest, runtime *util.RuntimeOptions) (_result *DescribeCloudMigrationResultResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request DescribeCloudMigrationResultRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCloudMigrationResultResponse

func (*Client) DescribeCollationTimeZones

func (client *Client) DescribeCollationTimeZones(request *DescribeCollationTimeZonesRequest) (_result *DescribeCollationTimeZonesResponse, _err error)

*

  • ### Supported database engine
  • SQL Server *
  • @param request DescribeCollationTimeZonesRequest
  • @return DescribeCollationTimeZonesResponse

func (*Client) DescribeCollationTimeZonesWithOptions

func (client *Client) DescribeCollationTimeZonesWithOptions(request *DescribeCollationTimeZonesRequest, runtime *util.RuntimeOptions) (_result *DescribeCollationTimeZonesResponse, _err error)

*

  • ### Supported database engine
  • SQL Server *
  • @param request DescribeCollationTimeZonesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCollationTimeZonesResponse

func (*Client) DescribeCrossBackupMetaList

func (client *Client) DescribeCrossBackupMetaList(request *DescribeCrossBackupMetaListRequest) (_result *DescribeCrossBackupMetaListResponse, _err error)

*

  • ApsaraDB RDS for MySQL instances support cross-region backup and restoration. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~) and [Restore the data of an ApsaraDB RDS for MySQL instance across regions](~~120875~~).
  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~).
  • * SQL Server. For more information, see [Back up an ApsaraDB RDS for SQL Server instance across regions](~~187923~~).
  • * PostgreSQL. For more information, see [Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance](~~206671~~). *
  • @param request DescribeCrossBackupMetaListRequest
  • @return DescribeCrossBackupMetaListResponse

func (*Client) DescribeCrossBackupMetaListWithOptions

func (client *Client) DescribeCrossBackupMetaListWithOptions(request *DescribeCrossBackupMetaListRequest, runtime *util.RuntimeOptions) (_result *DescribeCrossBackupMetaListResponse, _err error)

*

  • ApsaraDB RDS for MySQL instances support cross-region backup and restoration. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~) and [Restore the data of an ApsaraDB RDS for MySQL instance across regions](~~120875~~).
  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~).
  • * SQL Server. For more information, see [Back up an ApsaraDB RDS for SQL Server instance across regions](~~187923~~).
  • * PostgreSQL. For more information, see [Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance](~~206671~~). *
  • @param request DescribeCrossBackupMetaListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCrossBackupMetaListResponse

func (*Client) DescribeCrossRegionBackupDBInstance

func (client *Client) DescribeCrossRegionBackupDBInstance(request *DescribeCrossRegionBackupDBInstanceRequest) (_result *DescribeCrossRegionBackupDBInstanceResponse, _err error)

*

  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~).
  • * SQL Server. For more information, see [Back up an ApsaraDB RDS for SQL Server instance across regions](~~187923~~).
  • * PostgreSQL. For more information, see [Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance](~~206671~~). *
  • @param request DescribeCrossRegionBackupDBInstanceRequest
  • @return DescribeCrossRegionBackupDBInstanceResponse

func (*Client) DescribeCrossRegionBackupDBInstanceWithOptions

func (client *Client) DescribeCrossRegionBackupDBInstanceWithOptions(request *DescribeCrossRegionBackupDBInstanceRequest, runtime *util.RuntimeOptions) (_result *DescribeCrossRegionBackupDBInstanceResponse, _err error)

*

  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL. For more information, see [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~).
  • * SQL Server. For more information, see [Back up an ApsaraDB RDS for SQL Server instance across regions](~~187923~~).
  • * PostgreSQL. For more information, see [Enable cross-region backups for an ApsaraDB RDS for PostgreSQL instance](~~206671~~). *
  • @param request DescribeCrossRegionBackupDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCrossRegionBackupDBInstanceResponse

func (*Client) DescribeCrossRegionBackups

func (client *Client) DescribeCrossRegionBackups(request *DescribeCrossRegionBackupsRequest) (_result *DescribeCrossRegionBackupsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • * [Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • > For more information about how to query cross-region log backup files, see [DescribeCrossRegionLogBackupFiles](~~121734~~). *
  • @param request DescribeCrossRegionBackupsRequest
  • @return DescribeCrossRegionBackupsResponse

func (*Client) DescribeCrossRegionBackupsWithOptions

func (client *Client) DescribeCrossRegionBackupsWithOptions(request *DescribeCrossRegionBackupsRequest, runtime *util.RuntimeOptions) (_result *DescribeCrossRegionBackupsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • * [Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • > For more information about how to query cross-region log backup files, see [DescribeCrossRegionLogBackupFiles](~~121734~~). *
  • @param request DescribeCrossRegionBackupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCrossRegionBackupsResponse

func (*Client) DescribeCrossRegionLogBackupFiles

func (client *Client) DescribeCrossRegionLogBackupFiles(request *DescribeCrossRegionLogBackupFilesRequest) (_result *DescribeCrossRegionLogBackupFilesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • > For more information about how to query cross-region data backup files, see [DescribeCrossRegionBackups](~~121733~~). *
  • @param request DescribeCrossRegionLogBackupFilesRequest
  • @return DescribeCrossRegionLogBackupFilesResponse

func (*Client) DescribeCrossRegionLogBackupFilesWithOptions

func (client *Client) DescribeCrossRegionLogBackupFilesWithOptions(request *DescribeCrossRegionLogBackupFilesRequest, runtime *util.RuntimeOptions) (_result *DescribeCrossRegionLogBackupFilesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • > For more information about how to query cross-region data backup files, see [DescribeCrossRegionBackups](~~121733~~). *
  • @param request DescribeCrossRegionLogBackupFilesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeCrossRegionLogBackupFilesResponse

func (*Client) DescribeCurrentModifyOrder added in v3.3.0

func (client *Client) DescribeCurrentModifyOrder(request *DescribeCurrentModifyOrderRequest) (_result *DescribeCurrentModifyOrderResponse, _err error)

func (*Client) DescribeCurrentModifyOrderWithOptions added in v3.3.0

func (client *Client) DescribeCurrentModifyOrderWithOptions(request *DescribeCurrentModifyOrderRequest, runtime *util.RuntimeOptions) (_result *DescribeCurrentModifyOrderResponse, _err error)

func (*Client) DescribeCustinsResourceInfo added in v3.3.0

func (client *Client) DescribeCustinsResourceInfo(request *DescribeCustinsResourceInfoRequest) (_result *DescribeCustinsResourceInfoResponse, _err error)

func (*Client) DescribeCustinsResourceInfoWithOptions added in v3.3.0

func (client *Client) DescribeCustinsResourceInfoWithOptions(request *DescribeCustinsResourceInfoRequest, runtime *util.RuntimeOptions) (_result *DescribeCustinsResourceInfoResponse, _err error)

func (*Client) DescribeDBInstanceAttribute

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeDBInstanceAttributeRequest
  • @return DescribeDBInstanceAttributeResponse

func (*Client) DescribeDBInstanceAttributeWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeDBInstanceAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceAttributeResponse

func (*Client) DescribeDBInstanceByTags

func (client *Client) DescribeDBInstanceByTags(request *DescribeDBInstanceByTagsRequest) (_result *DescribeDBInstanceByTagsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceByTagsRequest
  • @return DescribeDBInstanceByTagsResponse

func (*Client) DescribeDBInstanceByTagsWithOptions

func (client *Client) DescribeDBInstanceByTagsWithOptions(request *DescribeDBInstanceByTagsRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceByTagsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceByTagsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceByTagsResponse

func (*Client) DescribeDBInstanceConnectivity added in v3.3.0

func (client *Client) DescribeDBInstanceConnectivity(request *DescribeDBInstanceConnectivityRequest) (_result *DescribeDBInstanceConnectivityResponse, _err error)

func (*Client) DescribeDBInstanceConnectivityWithOptions added in v3.3.0

func (client *Client) DescribeDBInstanceConnectivityWithOptions(request *DescribeDBInstanceConnectivityRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceConnectivityResponse, _err error)

func (*Client) DescribeDBInstanceDetail

func (client *Client) DescribeDBInstanceDetail(request *DescribeDBInstanceDetailRequest) (_result *DescribeDBInstanceDetailResponse, _err error)

*

  • This operation is phased out. *
  • @param request DescribeDBInstanceDetailRequest
  • @return DescribeDBInstanceDetailResponse

func (*Client) DescribeDBInstanceDetailWithOptions

func (client *Client) DescribeDBInstanceDetailWithOptions(request *DescribeDBInstanceDetailRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceDetailResponse, _err error)

*

  • This operation is phased out. *
  • @param request DescribeDBInstanceDetailRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceDetailResponse

func (*Client) DescribeDBInstanceEncryptionKey

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

func (*Client) DescribeDBInstanceEncryptionKeyWithOptions

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

func (*Client) DescribeDBInstanceEndpoints added in v3.0.3

func (client *Client) DescribeDBInstanceEndpoints(request *DescribeDBInstanceEndpointsRequest) (_result *DescribeDBInstanceEndpointsResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL *
  • @param request DescribeDBInstanceEndpointsRequest
  • @return DescribeDBInstanceEndpointsResponse

func (*Client) DescribeDBInstanceEndpointsWithOptions added in v3.0.3

func (client *Client) DescribeDBInstanceEndpointsWithOptions(request *DescribeDBInstanceEndpointsRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceEndpointsResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL *
  • @param request DescribeDBInstanceEndpointsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceEndpointsResponse

func (*Client) DescribeDBInstanceHAConfig

func (client *Client) DescribeDBInstanceHAConfig(request *DescribeDBInstanceHAConfigRequest) (_result *DescribeDBInstanceHAConfigResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Query the data replication mode of an ApsaraDB RDS for MySQL instance](~~96055~~)
  • * [Query the data replication mode of an ApsaraDB RDS for PostgreSQL instance](~~151265~~)
  • * [Query the data replication mode of an ApsaraDB RDS for SQL Server instance](~~415433~~) *
  • @param request DescribeDBInstanceHAConfigRequest
  • @return DescribeDBInstanceHAConfigResponse

func (*Client) DescribeDBInstanceHAConfigWithOptions

func (client *Client) DescribeDBInstanceHAConfigWithOptions(request *DescribeDBInstanceHAConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceHAConfigResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Query the data replication mode of an ApsaraDB RDS for MySQL instance](~~96055~~)
  • * [Query the data replication mode of an ApsaraDB RDS for PostgreSQL instance](~~151265~~)
  • * [Query the data replication mode of an ApsaraDB RDS for SQL Server instance](~~415433~~) *
  • @param request DescribeDBInstanceHAConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceHAConfigResponse

func (*Client) DescribeDBInstanceIPArrayList

func (client *Client) DescribeDBInstanceIPArrayList(request *DescribeDBInstanceIPArrayListRequest) (_result *DescribeDBInstanceIPArrayListResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeDBInstanceIPArrayListRequest
  • @return DescribeDBInstanceIPArrayListResponse

func (*Client) DescribeDBInstanceIPArrayListWithOptions

func (client *Client) DescribeDBInstanceIPArrayListWithOptions(request *DescribeDBInstanceIPArrayListRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceIPArrayListResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeDBInstanceIPArrayListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceIPArrayListResponse

func (*Client) DescribeDBInstanceIpHostname

func (client *Client) DescribeDBInstanceIpHostname(request *DescribeDBInstanceIpHostnameRequest) (_result *DescribeDBInstanceIpHostnameResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS SQL Server
  • ### [](#)Prerequisites
  • * The RDS instance runs RDS Basic Edition, RDS High-availability Edition, or RDS Cluster Edition. If your RDS instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.
  • * The RDS instance belongs to a general-purpose or dedicated instance family. The shared instance family is not supported.
  • * If the RDS instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the Creation Time
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Configure a distributed transaction whitelist](~~124321~~) *
  • @param request DescribeDBInstanceIpHostnameRequest
  • @return DescribeDBInstanceIpHostnameResponse

func (*Client) DescribeDBInstanceIpHostnameWithOptions

func (client *Client) DescribeDBInstanceIpHostnameWithOptions(request *DescribeDBInstanceIpHostnameRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceIpHostnameResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS SQL Server
  • ### [](#)Prerequisites
  • * The RDS instance runs RDS Basic Edition, RDS High-availability Edition, or RDS Cluster Edition. If your RDS instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.
  • * The RDS instance belongs to a general-purpose or dedicated instance family. The shared instance family is not supported.
  • * If the RDS instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the Creation Time
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Configure a distributed transaction whitelist](~~124321~~) *
  • @param request DescribeDBInstanceIpHostnameRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceIpHostnameResponse

func (*Client) DescribeDBInstanceMetrics

func (client *Client) DescribeDBInstanceMetrics(request *DescribeDBInstanceMetricsRequest) (_result *DescribeDBInstanceMetricsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [View the Enhanced Monitoring metrics](~~299200~~) *
  • @param request DescribeDBInstanceMetricsRequest
  • @return DescribeDBInstanceMetricsResponse

func (*Client) DescribeDBInstanceMetricsWithOptions

func (client *Client) DescribeDBInstanceMetricsWithOptions(request *DescribeDBInstanceMetricsRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceMetricsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [View the Enhanced Monitoring metrics](~~299200~~) *
  • @param request DescribeDBInstanceMetricsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceMetricsResponse

func (*Client) DescribeDBInstanceMonitor

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceMonitorRequest
  • @return DescribeDBInstanceMonitorResponse

func (*Client) DescribeDBInstanceMonitorWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceMonitorRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceMonitorResponse

func (*Client) DescribeDBInstanceNetInfo

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceNetInfoRequest
  • @return DescribeDBInstanceNetInfoResponse

func (*Client) DescribeDBInstanceNetInfoForChannel

func (client *Client) DescribeDBInstanceNetInfoForChannel(request *DescribeDBInstanceNetInfoForChannelRequest) (_result *DescribeDBInstanceNetInfoForChannelResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceNetInfoForChannelRequest
  • @return DescribeDBInstanceNetInfoForChannelResponse

func (*Client) DescribeDBInstanceNetInfoForChannelWithOptions

func (client *Client) DescribeDBInstanceNetInfoForChannelWithOptions(request *DescribeDBInstanceNetInfoForChannelRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceNetInfoForChannelResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceNetInfoForChannelRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceNetInfoForChannelResponse

func (*Client) DescribeDBInstanceNetInfoWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstanceNetInfoRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceNetInfoResponse

func (*Client) DescribeDBInstancePerformance

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstancePerformanceRequest
  • @return DescribeDBInstancePerformanceResponse

func (*Client) DescribeDBInstancePerformanceWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstancePerformanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancePerformanceResponse

func (*Client) DescribeDBInstancePromoteActivity

func (client *Client) DescribeDBInstancePromoteActivity(request *DescribeDBInstancePromoteActivityRequest) (_result *DescribeDBInstancePromoteActivityResponse, _err error)

*

  • @deprecated *
  • @param request DescribeDBInstancePromoteActivityRequest
  • @return DescribeDBInstancePromoteActivityResponse

Deprecated

func (*Client) DescribeDBInstancePromoteActivityWithOptions

func (client *Client) DescribeDBInstancePromoteActivityWithOptions(request *DescribeDBInstancePromoteActivityRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancePromoteActivityResponse, _err error)

*

  • @deprecated *
  • @param request DescribeDBInstancePromoteActivityRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancePromoteActivityResponse

Deprecated

func (*Client) DescribeDBInstanceProxyConfiguration

func (client *Client) DescribeDBInstanceProxyConfiguration(request *DescribeDBInstanceProxyConfigurationRequest) (_result *DescribeDBInstanceProxyConfigurationResponse, _err error)

*

  • This operation is used to query the original settings of shared proxies rather than the latest settings of dedicated proxies. For more information about how to query the settings of dedicated proxies, see [DescribeDBProxy](~~141055~~).
  • Before you call this operation, make sure that the following requirements are met:
  • * The shared proxy feature must be enabled for the primary instance.
  • * The read/write splitting feature must be enabled for the primary instance. *
  • @param request DescribeDBInstanceProxyConfigurationRequest
  • @return DescribeDBInstanceProxyConfigurationResponse

func (*Client) DescribeDBInstanceProxyConfigurationWithOptions

func (client *Client) DescribeDBInstanceProxyConfigurationWithOptions(request *DescribeDBInstanceProxyConfigurationRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceProxyConfigurationResponse, _err error)

*

  • This operation is used to query the original settings of shared proxies rather than the latest settings of dedicated proxies. For more information about how to query the settings of dedicated proxies, see [DescribeDBProxy](~~141055~~).
  • Before you call this operation, make sure that the following requirements are met:
  • * The shared proxy feature must be enabled for the primary instance.
  • * The read/write splitting feature must be enabled for the primary instance. *
  • @param request DescribeDBInstanceProxyConfigurationRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceProxyConfigurationResponse

func (*Client) DescribeDBInstanceSSL

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeDBInstanceSSLRequest
  • @return DescribeDBInstanceSSLResponse

func (*Client) DescribeDBInstanceSSLWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeDBInstanceSSLRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceSSLResponse

func (*Client) DescribeDBInstanceTDE

func (client *Client) DescribeDBInstanceTDE(request *DescribeDBInstanceTDERequest) (_result *DescribeDBInstanceTDEResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request DescribeDBInstanceTDERequest
  • @return DescribeDBInstanceTDEResponse

func (*Client) DescribeDBInstanceTDEWithOptions

func (client *Client) DescribeDBInstanceTDEWithOptions(request *DescribeDBInstanceTDERequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstanceTDEResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request DescribeDBInstanceTDERequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstanceTDEResponse

func (*Client) DescribeDBInstances

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstancesRequest
  • @return DescribeDBInstancesResponse

func (*Client) DescribeDBInstancesAsCsv

func (client *Client) DescribeDBInstancesAsCsv(request *DescribeDBInstancesAsCsvRequest) (_result *DescribeDBInstancesAsCsvResponse, _err error)

*

  • @deprecated : DescribeDBInstancesAsCsv is deprecated, please use Rds::2014-08-15::DescribeDBInstances instead.
  • **
  • **Description:** This operation is phased out. Use the [DescribeDBInstances](~~610396~~) operation instead. *
  • @param request DescribeDBInstancesAsCsvRequest
  • @return DescribeDBInstancesAsCsvResponse

Deprecated

func (*Client) DescribeDBInstancesAsCsvWithOptions

func (client *Client) DescribeDBInstancesAsCsvWithOptions(request *DescribeDBInstancesAsCsvRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancesAsCsvResponse, _err error)

*

  • @deprecated : DescribeDBInstancesAsCsv is deprecated, please use Rds::2014-08-15::DescribeDBInstances instead.
  • **
  • **Description:** This operation is phased out. Use the [DescribeDBInstances](~~610396~~) operation instead. *
  • @param request DescribeDBInstancesAsCsvRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancesAsCsvResponse

Deprecated

func (*Client) DescribeDBInstancesByExpireTime

func (client *Client) DescribeDBInstancesByExpireTime(request *DescribeDBInstancesByExpireTimeRequest) (_result *DescribeDBInstancesByExpireTimeResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeDBInstancesByExpireTimeRequest
  • @return DescribeDBInstancesByExpireTimeResponse

func (*Client) DescribeDBInstancesByExpireTimeWithOptions

func (client *Client) DescribeDBInstancesByExpireTimeWithOptions(request *DescribeDBInstancesByExpireTimeRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancesByExpireTimeResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request DescribeDBInstancesByExpireTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancesByExpireTimeResponse

func (*Client) DescribeDBInstancesByPerformance

func (client *Client) DescribeDBInstancesByPerformance(request *DescribeDBInstancesByPerformanceRequest) (_result *DescribeDBInstancesByPerformanceResponse, _err error)

*

  • This operation is phased out. *
  • @param request DescribeDBInstancesByPerformanceRequest
  • @return DescribeDBInstancesByPerformanceResponse

func (*Client) DescribeDBInstancesByPerformanceWithOptions

func (client *Client) DescribeDBInstancesByPerformanceWithOptions(request *DescribeDBInstancesByPerformanceRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancesByPerformanceResponse, _err error)

*

  • This operation is phased out. *
  • @param request DescribeDBInstancesByPerformanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancesByPerformanceResponse

func (*Client) DescribeDBInstancesForClone

func (client *Client) DescribeDBInstancesForClone(request *DescribeDBInstancesForCloneRequest) (_result *DescribeDBInstancesForCloneResponse, _err error)

*

  • This operation is phased out. *
  • @param request DescribeDBInstancesForCloneRequest
  • @return DescribeDBInstancesForCloneResponse

func (*Client) DescribeDBInstancesForCloneWithOptions

func (client *Client) DescribeDBInstancesForCloneWithOptions(request *DescribeDBInstancesForCloneRequest, runtime *util.RuntimeOptions) (_result *DescribeDBInstancesForCloneResponse, _err error)

*

  • This operation is phased out. *
  • @param request DescribeDBInstancesForCloneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancesForCloneResponse

func (*Client) DescribeDBInstancesWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDBInstancesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBInstancesResponse

func (*Client) DescribeDBMiniEngineVersions

func (client *Client) DescribeDBMiniEngineVersions(request *DescribeDBMiniEngineVersionsRequest) (_result *DescribeDBMiniEngineVersionsResponse, _err error)

*

  • Before you purchase or upgrade an instance that runs MySQL or PostgreSQL, you can call the DescribeDBMiniEngineVersions operation to query the minor engine versions that are available for the instance. *
  • @param request DescribeDBMiniEngineVersionsRequest
  • @return DescribeDBMiniEngineVersionsResponse

func (*Client) DescribeDBMiniEngineVersionsWithOptions

func (client *Client) DescribeDBMiniEngineVersionsWithOptions(request *DescribeDBMiniEngineVersionsRequest, runtime *util.RuntimeOptions) (_result *DescribeDBMiniEngineVersionsResponse, _err error)

*

  • Before you purchase or upgrade an instance that runs MySQL or PostgreSQL, you can call the DescribeDBMiniEngineVersions operation to query the minor engine versions that are available for the instance. *
  • @param request DescribeDBMiniEngineVersionsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBMiniEngineVersionsResponse

func (*Client) DescribeDBProxy

func (client *Client) DescribeDBProxy(request *DescribeDBProxyRequest) (_result *DescribeDBProxyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL *
  • @param request DescribeDBProxyRequest
  • @return DescribeDBProxyResponse

func (*Client) DescribeDBProxyEndpoint

func (client *Client) DescribeDBProxyEndpoint(request *DescribeDBProxyEndpointRequest) (_result *DescribeDBProxyEndpointResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL *
  • @param request DescribeDBProxyEndpointRequest
  • @return DescribeDBProxyEndpointResponse

func (*Client) DescribeDBProxyEndpointWithOptions

func (client *Client) DescribeDBProxyEndpointWithOptions(request *DescribeDBProxyEndpointRequest, runtime *util.RuntimeOptions) (_result *DescribeDBProxyEndpointResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL *
  • @param request DescribeDBProxyEndpointRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBProxyEndpointResponse

func (*Client) DescribeDBProxyPerformance

func (client *Client) DescribeDBProxyPerformance(request *DescribeDBProxyPerformanceRequest) (_result *DescribeDBProxyPerformanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • > Starting October 17, 2023, ApsaraDB RDS provides a dedicated proxy free of charge for each ApsaraDB RDS for MySQL instance on RDS Cluster Edition. For more information, see [\\[Special offers/Price changes\\] One proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [View the monitoring data of an ApsaraDB RDS for MySQL instance](~~194241~~)
  • * [View the monitoring data of an ApsaraDB RDS for PostgreSQL instance](~~418275~~) *
  • @param request DescribeDBProxyPerformanceRequest
  • @return DescribeDBProxyPerformanceResponse

func (*Client) DescribeDBProxyPerformanceWithOptions

func (client *Client) DescribeDBProxyPerformanceWithOptions(request *DescribeDBProxyPerformanceRequest, runtime *util.RuntimeOptions) (_result *DescribeDBProxyPerformanceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • > Starting October 17, 2023, ApsaraDB RDS provides a dedicated proxy free of charge for each ApsaraDB RDS for MySQL instance on RDS Cluster Edition. For more information, see [\\[Special offers/Price changes\\] One proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [View the monitoring data of an ApsaraDB RDS for MySQL instance](~~194241~~)
  • * [View the monitoring data of an ApsaraDB RDS for PostgreSQL instance](~~418275~~) *
  • @param request DescribeDBProxyPerformanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBProxyPerformanceResponse

func (*Client) DescribeDBProxyWithOptions

func (client *Client) DescribeDBProxyWithOptions(request *DescribeDBProxyRequest, runtime *util.RuntimeOptions) (_result *DescribeDBProxyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL *
  • @param request DescribeDBProxyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDBProxyResponse

func (*Client) DescribeDTCSecurityIpHostsForSQLServer

func (client *Client) DescribeDTCSecurityIpHostsForSQLServer(request *DescribeDTCSecurityIpHostsForSQLServerRequest) (_result *DescribeDTCSecurityIpHostsForSQLServerResponse, _err error)

*

  • ### [](#)Supported database engines
  • SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Configures a distributed transaction whitelist for an ApsaraDB RDS for SQL Server instance](~~124321~~) *
  • @param request DescribeDTCSecurityIpHostsForSQLServerRequest
  • @return DescribeDTCSecurityIpHostsForSQLServerResponse

func (*Client) DescribeDTCSecurityIpHostsForSQLServerWithOptions

func (client *Client) DescribeDTCSecurityIpHostsForSQLServerWithOptions(request *DescribeDTCSecurityIpHostsForSQLServerRequest, runtime *util.RuntimeOptions) (_result *DescribeDTCSecurityIpHostsForSQLServerResponse, _err error)

*

  • ### [](#)Supported database engines
  • SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Configures a distributed transaction whitelist for an ApsaraDB RDS for SQL Server instance](~~124321~~) *
  • @param request DescribeDTCSecurityIpHostsForSQLServerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDTCSecurityIpHostsForSQLServerResponse

func (*Client) DescribeDatabases

func (client *Client) DescribeDatabases(request *DescribeDatabasesRequest) (_result *DescribeDatabasesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDatabasesRequest
  • @return DescribeDatabasesResponse

func (*Client) DescribeDatabasesWithOptions

func (client *Client) DescribeDatabasesWithOptions(request *DescribeDatabasesRequest, runtime *util.RuntimeOptions) (_result *DescribeDatabasesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeDatabasesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDatabasesResponse

func (*Client) DescribeDedicatedHostGroups

func (client *Client) DescribeDedicatedHostGroups(request *DescribeDedicatedHostGroupsRequest) (_result *DescribeDedicatedHostGroupsResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances in a cluster at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request DescribeDedicatedHostGroupsRequest
  • @return DescribeDedicatedHostGroupsResponse

func (*Client) DescribeDedicatedHostGroupsWithOptions

func (client *Client) DescribeDedicatedHostGroupsWithOptions(request *DescribeDedicatedHostGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeDedicatedHostGroupsResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances in a cluster at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request DescribeDedicatedHostGroupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDedicatedHostGroupsResponse

func (*Client) DescribeDedicatedHosts

func (client *Client) DescribeDedicatedHosts(request *DescribeDedicatedHostsRequest) (_result *DescribeDedicatedHostsResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request DescribeDedicatedHostsRequest
  • @return DescribeDedicatedHostsResponse

func (*Client) DescribeDedicatedHostsWithOptions

func (client *Client) DescribeDedicatedHostsWithOptions(request *DescribeDedicatedHostsRequest, runtime *util.RuntimeOptions) (_result *DescribeDedicatedHostsResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request DescribeDedicatedHostsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDedicatedHostsResponse

func (*Client) DescribeDetachedBackups

func (client *Client) DescribeDetachedBackups(request *DescribeDetachedBackupsRequest) (_result *DescribeDetachedBackupsResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • > This operation is available only for instances that use local disks.
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • For more information about how to retain the data backup files of an instance after the instance is released, see [Configure automatic backup](~~98818~~). *
  • @param request DescribeDetachedBackupsRequest
  • @return DescribeDetachedBackupsResponse

func (*Client) DescribeDetachedBackupsWithOptions

func (client *Client) DescribeDetachedBackupsWithOptions(request *DescribeDetachedBackupsRequest, runtime *util.RuntimeOptions) (_result *DescribeDetachedBackupsResponse, _err error)

*

  • ### Supported database engine
  • MySQL
  • > This operation is available only for instances that use local disks.
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • For more information about how to retain the data backup files of an instance after the instance is released, see [Configure automatic backup](~~98818~~). *
  • @param request DescribeDetachedBackupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDetachedBackupsResponse

func (*Client) DescribeDiagnosticReportList

func (client *Client) DescribeDiagnosticReportList(request *DescribeDiagnosticReportListRequest) (_result *DescribeDiagnosticReportListResponse, _err error)

*

  • @deprecated
  • > This operation is phased out. *
  • @param request DescribeDiagnosticReportListRequest
  • @return DescribeDiagnosticReportListResponse

Deprecated

func (*Client) DescribeDiagnosticReportListWithOptions

func (client *Client) DescribeDiagnosticReportListWithOptions(request *DescribeDiagnosticReportListRequest, runtime *util.RuntimeOptions) (_result *DescribeDiagnosticReportListResponse, _err error)

*

  • @deprecated
  • > This operation is phased out. *
  • @param request DescribeDiagnosticReportListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDiagnosticReportListResponse

Deprecated

func (*Client) DescribeErrorLogs

func (client *Client) DescribeErrorLogs(request *DescribeErrorLogsRequest) (_result *DescribeErrorLogsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeErrorLogsRequest
  • @return DescribeErrorLogsResponse

func (*Client) DescribeErrorLogsWithOptions

func (client *Client) DescribeErrorLogsWithOptions(request *DescribeErrorLogsRequest, runtime *util.RuntimeOptions) (_result *DescribeErrorLogsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeErrorLogsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeErrorLogsResponse

func (*Client) DescribeEvents

func (client *Client) DescribeEvents(request *DescribeEventsRequest) (_result *DescribeEventsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Historical events of an ApsaraDB RDS for MySQL instance](~~129759~~)
  • * [Historical events of an ApsaraDB RDS for PostgreSQL instance](~~131008~~)
  • * [Historical events of an ApsaraDB RDS for SQL Server instance](~~131013~~)
  • * [Historical events of an ApsaraDB RDS for MariaDB instance](~~131010~~) *
  • @param request DescribeEventsRequest
  • @return DescribeEventsResponse

func (*Client) DescribeEventsWithOptions

func (client *Client) DescribeEventsWithOptions(request *DescribeEventsRequest, runtime *util.RuntimeOptions) (_result *DescribeEventsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Historical events of an ApsaraDB RDS for MySQL instance](~~129759~~)
  • * [Historical events of an ApsaraDB RDS for PostgreSQL instance](~~131008~~)
  • * [Historical events of an ApsaraDB RDS for SQL Server instance](~~131013~~)
  • * [Historical events of an ApsaraDB RDS for MariaDB instance](~~131010~~) *
  • @param request DescribeEventsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeEventsResponse

func (*Client) DescribeGadInstances

func (client *Client) DescribeGadInstances(request *DescribeGadInstancesRequest) (_result *DescribeGadInstancesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL *
  • @param request DescribeGadInstancesRequest
  • @return DescribeGadInstancesResponse

func (*Client) DescribeGadInstancesWithOptions

func (client *Client) DescribeGadInstancesWithOptions(request *DescribeGadInstancesRequest, runtime *util.RuntimeOptions) (_result *DescribeGadInstancesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL *
  • @param request DescribeGadInstancesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeGadInstancesResponse

func (*Client) DescribeHADiagnoseConfig

func (client *Client) DescribeHADiagnoseConfig(request *DescribeHADiagnoseConfigRequest) (_result *DescribeHADiagnoseConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • [What is availability detection?](~~207467~~) *
  • @param request DescribeHADiagnoseConfigRequest
  • @return DescribeHADiagnoseConfigResponse

func (*Client) DescribeHADiagnoseConfigWithOptions

func (client *Client) DescribeHADiagnoseConfigWithOptions(request *DescribeHADiagnoseConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeHADiagnoseConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • [What is availability detection?](~~207467~~) *
  • @param request DescribeHADiagnoseConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeHADiagnoseConfigResponse

func (*Client) DescribeHASwitchConfig

func (client *Client) DescribeHASwitchConfig(request *DescribeHASwitchConfigRequest) (_result *DescribeHASwitchConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeHASwitchConfigRequest
  • @return DescribeHASwitchConfigResponse

func (*Client) DescribeHASwitchConfigWithOptions

func (client *Client) DescribeHASwitchConfigWithOptions(request *DescribeHASwitchConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeHASwitchConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeHASwitchConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeHASwitchConfigResponse

func (*Client) DescribeHistoryEvents added in v3.4.0

func (client *Client) DescribeHistoryEvents(request *DescribeHistoryEventsRequest) (_result *DescribeHistoryEventsResponse, _err error)

func (*Client) DescribeHistoryEventsStat added in v3.4.0

func (client *Client) DescribeHistoryEventsStat(request *DescribeHistoryEventsStatRequest) (_result *DescribeHistoryEventsStatResponse, _err error)

func (*Client) DescribeHistoryEventsStatWithOptions added in v3.4.0

func (client *Client) DescribeHistoryEventsStatWithOptions(request *DescribeHistoryEventsStatRequest, runtime *util.RuntimeOptions) (_result *DescribeHistoryEventsStatResponse, _err error)

func (*Client) DescribeHistoryEventsWithOptions added in v3.4.0

func (client *Client) DescribeHistoryEventsWithOptions(request *DescribeHistoryEventsRequest, runtime *util.RuntimeOptions) (_result *DescribeHistoryEventsResponse, _err error)

func (*Client) DescribeHistoryTasks added in v3.0.5

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Tasks of an ApsaraDB RDS for MySQL instance](~~474275~~)
  • * [Tasks of an ApsaraDB RDS for PostrgreSQL instance](~~474537~~)
  • * [Tasks of an ApsaraDB RDS for SQL Server instance](~~614826~~) *
  • @param request DescribeHistoryTasksRequest
  • @return DescribeHistoryTasksResponse

func (*Client) DescribeHistoryTasksStat added in v3.4.0

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

func (*Client) DescribeHistoryTasksStatWithOptions added in v3.4.0

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

func (*Client) DescribeHistoryTasksWithOptions added in v3.0.5

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Tasks of an ApsaraDB RDS for MySQL instance](~~474275~~)
  • * [Tasks of an ApsaraDB RDS for PostrgreSQL instance](~~474537~~)
  • * [Tasks of an ApsaraDB RDS for SQL Server instance](~~614826~~) *
  • @param request DescribeHistoryTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeHistoryTasksResponse

func (*Client) DescribeHostGroupElasticStrategyParameters added in v3.3.0

func (client *Client) DescribeHostGroupElasticStrategyParameters(request *DescribeHostGroupElasticStrategyParametersRequest) (_result *DescribeHostGroupElasticStrategyParametersResponse, _err error)

func (*Client) DescribeHostGroupElasticStrategyParametersWithOptions added in v3.3.0

func (client *Client) DescribeHostGroupElasticStrategyParametersWithOptions(request *DescribeHostGroupElasticStrategyParametersRequest, runtime *util.RuntimeOptions) (_result *DescribeHostGroupElasticStrategyParametersResponse, _err error)

func (*Client) DescribeHostWebShell added in v3.0.5

func (client *Client) DescribeHostWebShell(request *DescribeHostWebShellRequest) (_result *DescribeHostWebShellResponse, _err error)

*

  • > This operation is available only for instances that run SQL Server. If you require this operation, contact **Alibaba Cloud technical support**.
  • ### [](#)Prerequisites
  • The instance meets the following requirements:
  • * The instance resides in a region other than the China (Zhangjiakou) region.
  • * The instance runs RDS Basic Edition, RDS Cluster Edition, or RDS High-availability Edition. If your instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.
  • * The instance belongs to the general-purpose or dedicated instance family. The shared instance family is not supported.
  • * The instance resides in a virtual private cloud (VPC). For more information about how to change the network type of an RDS instance, see [Change the network type](~~95707~~).
  • * If the instance runs RDS High-availability Edition or RDS Cluster Edition, the instance is created on or after January 1, 2021. If the instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the **Creation Time** parameter of an instance in the **Status** section of the **Basic Information** page in the ApsaraDB RDS console.
  • Your **Alibaba Cloud account** is used for logons. *
  • @param request DescribeHostWebShellRequest
  • @return DescribeHostWebShellResponse

func (*Client) DescribeHostWebShellWithOptions added in v3.0.5

func (client *Client) DescribeHostWebShellWithOptions(request *DescribeHostWebShellRequest, runtime *util.RuntimeOptions) (_result *DescribeHostWebShellResponse, _err error)

*

  • > This operation is available only for instances that run SQL Server. If you require this operation, contact **Alibaba Cloud technical support**.
  • ### [](#)Prerequisites
  • The instance meets the following requirements:
  • * The instance resides in a region other than the China (Zhangjiakou) region.
  • * The instance runs RDS Basic Edition, RDS Cluster Edition, or RDS High-availability Edition. If your instance runs RDS High-availability Edition, make sure that the instance runs SQL Server 2012 or later.
  • * The instance belongs to the general-purpose or dedicated instance family. The shared instance family is not supported.
  • * The instance resides in a virtual private cloud (VPC). For more information about how to change the network type of an RDS instance, see [Change the network type](~~95707~~).
  • * If the instance runs RDS High-availability Edition or RDS Cluster Edition, the instance is created on or after January 1, 2021. If the instance runs RDS Basic Edition, the instance is created on or after September 02, 2022. You can view the **Creation Time** parameter of an instance in the **Status** section of the **Basic Information** page in the ApsaraDB RDS console.
  • Your **Alibaba Cloud account** is used for logons. *
  • @param request DescribeHostWebShellRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeHostWebShellResponse

func (*Client) DescribeInstanceAutoRenewalAttribute

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeInstanceAutoRenewalAttributeRequest
  • @return DescribeInstanceAutoRenewalAttributeResponse

func (*Client) DescribeInstanceAutoRenewalAttributeWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeInstanceAutoRenewalAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstanceAutoRenewalAttributeResponse

func (*Client) DescribeInstanceCrossBackupPolicy

func (client *Client) DescribeInstanceCrossBackupPolicy(request *DescribeInstanceCrossBackupPolicyRequest) (_result *DescribeInstanceCrossBackupPolicyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request DescribeInstanceCrossBackupPolicyRequest
  • @return DescribeInstanceCrossBackupPolicyResponse

func (*Client) DescribeInstanceCrossBackupPolicyWithOptions

func (client *Client) DescribeInstanceCrossBackupPolicyWithOptions(request *DescribeInstanceCrossBackupPolicyRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceCrossBackupPolicyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use the cross-region backup feature for an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request DescribeInstanceCrossBackupPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstanceCrossBackupPolicyResponse

func (*Client) DescribeInstanceKeywords

func (client *Client) DescribeInstanceKeywords(request *DescribeInstanceKeywordsRequest) (_result *DescribeInstanceKeywordsResponse, _err error)

func (*Client) DescribeInstanceKeywordsWithOptions

func (client *Client) DescribeInstanceKeywordsWithOptions(request *DescribeInstanceKeywordsRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceKeywordsResponse, _err error)

func (*Client) DescribeInstanceLinkedWhitelistTemplate added in v3.0.29

func (client *Client) DescribeInstanceLinkedWhitelistTemplate(request *DescribeInstanceLinkedWhitelistTemplateRequest) (_result *DescribeInstanceLinkedWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeInstanceLinkedWhitelistTemplateRequest
  • @return DescribeInstanceLinkedWhitelistTemplateResponse

func (*Client) DescribeInstanceLinkedWhitelistTemplateWithOptions added in v3.0.29

func (client *Client) DescribeInstanceLinkedWhitelistTemplateWithOptions(request *DescribeInstanceLinkedWhitelistTemplateRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceLinkedWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeInstanceLinkedWhitelistTemplateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeInstanceLinkedWhitelistTemplateResponse

func (*Client) DescribeLocalAvailableRecoveryTime

func (client *Client) DescribeLocalAvailableRecoveryTime(request *DescribeLocalAvailableRecoveryTimeRequest) (_result *DescribeLocalAvailableRecoveryTimeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * MariaDB *
  • @param request DescribeLocalAvailableRecoveryTimeRequest
  • @return DescribeLocalAvailableRecoveryTimeResponse

func (*Client) DescribeLocalAvailableRecoveryTimeWithOptions

func (client *Client) DescribeLocalAvailableRecoveryTimeWithOptions(request *DescribeLocalAvailableRecoveryTimeRequest, runtime *util.RuntimeOptions) (_result *DescribeLocalAvailableRecoveryTimeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * MariaDB *
  • @param request DescribeLocalAvailableRecoveryTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeLocalAvailableRecoveryTimeResponse

func (*Client) DescribeLogBackupFiles

func (client *Client) DescribeLogBackupFiles(request *DescribeLogBackupFilesRequest) (_result *DescribeLogBackupFilesResponse, _err error)

*

  • ### [](#)Supported database engines
  • SQL Server
  • > You can call the DescribeBinlogFiles operation to query the log files of instances that run different database engines. *
  • @param request DescribeLogBackupFilesRequest
  • @return DescribeLogBackupFilesResponse

func (*Client) DescribeLogBackupFilesWithOptions

func (client *Client) DescribeLogBackupFilesWithOptions(request *DescribeLogBackupFilesRequest, runtime *util.RuntimeOptions) (_result *DescribeLogBackupFilesResponse, _err error)

*

  • ### [](#)Supported database engines
  • SQL Server
  • > You can call the DescribeBinlogFiles operation to query the log files of instances that run different database engines. *
  • @param request DescribeLogBackupFilesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeLogBackupFilesResponse

func (*Client) DescribeMarketingActivity added in v3.3.0

func (client *Client) DescribeMarketingActivity(request *DescribeMarketingActivityRequest) (_result *DescribeMarketingActivityResponse, _err error)

func (*Client) DescribeMarketingActivityWithOptions added in v3.3.0

func (client *Client) DescribeMarketingActivityWithOptions(request *DescribeMarketingActivityRequest, runtime *util.RuntimeOptions) (_result *DescribeMarketingActivityResponse, _err error)

func (*Client) DescribeMetaList

func (client *Client) DescribeMetaList(request *DescribeMetaListRequest) (_result *DescribeMetaListResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • > This operation is available for RDS instances that run MySQL 8.0, MySQL 5.7, and MySQL 5.6 on RDS High-availability Edition with local disks.
  • ### [](#)Description
  • Before you call the [RestoreTable](~~131510~~) operation to restore individual databases or tables of an ApsaraDB RDS for MySQL instance, you can call this operation to query the information about the databases and tables that can be restored. For more information, see [Restore individual databases and tables of an ApsaraDB RDS for MySQL instance](~~103175~~). *
  • @param request DescribeMetaListRequest
  • @return DescribeMetaListResponse

func (*Client) DescribeMetaListWithOptions

func (client *Client) DescribeMetaListWithOptions(request *DescribeMetaListRequest, runtime *util.RuntimeOptions) (_result *DescribeMetaListResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • > This operation is available for RDS instances that run MySQL 8.0, MySQL 5.7, and MySQL 5.6 on RDS High-availability Edition with local disks.
  • ### [](#)Description
  • Before you call the [RestoreTable](~~131510~~) operation to restore individual databases or tables of an ApsaraDB RDS for MySQL instance, you can call this operation to query the information about the databases and tables that can be restored. For more information, see [Restore individual databases and tables of an ApsaraDB RDS for MySQL instance](~~103175~~). *
  • @param request DescribeMetaListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeMetaListResponse

func (*Client) DescribeMigrateTaskById

func (client *Client) DescribeMigrateTaskById(request *DescribeMigrateTaskByIdRequest) (_result *DescribeMigrateTaskByIdResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request DescribeMigrateTaskByIdRequest
  • @return DescribeMigrateTaskByIdResponse

func (*Client) DescribeMigrateTaskByIdWithOptions

func (client *Client) DescribeMigrateTaskByIdWithOptions(request *DescribeMigrateTaskByIdRequest, runtime *util.RuntimeOptions) (_result *DescribeMigrateTaskByIdResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request DescribeMigrateTaskByIdRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeMigrateTaskByIdResponse

func (*Client) DescribeMigrateTasks

func (client *Client) DescribeMigrateTasks(request *DescribeMigrateTasksRequest) (_result *DescribeMigrateTasksResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)Usage notes
  • This operation allows you to query the migration tasks that are created for the instance over the last week.
  • ### [](#)Precautions
  • * This operation is supported only for migration tasks that are created to migrate full backup files.
  • * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition. *
  • @param request DescribeMigrateTasksRequest
  • @return DescribeMigrateTasksResponse

func (*Client) DescribeMigrateTasksWithOptions

func (client *Client) DescribeMigrateTasksWithOptions(request *DescribeMigrateTasksRequest, runtime *util.RuntimeOptions) (_result *DescribeMigrateTasksResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)Usage notes
  • This operation allows you to query the migration tasks that are created for the instance over the last week.
  • ### [](#)Precautions
  • * This operation is supported only for migration tasks that are created to migrate full backup files.
  • * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition. *
  • @param request DescribeMigrateTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeMigrateTasksResponse

func (*Client) DescribeModifyPGHbaConfigLog

func (client *Client) DescribeModifyPGHbaConfigLog(request *DescribeModifyPGHbaConfigLogRequest) (_result *DescribeModifyPGHbaConfigLogResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL *
  • @param request DescribeModifyPGHbaConfigLogRequest
  • @return DescribeModifyPGHbaConfigLogResponse

func (*Client) DescribeModifyPGHbaConfigLogWithOptions

func (client *Client) DescribeModifyPGHbaConfigLogWithOptions(request *DescribeModifyPGHbaConfigLogRequest, runtime *util.RuntimeOptions) (_result *DescribeModifyPGHbaConfigLogResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL *
  • @param request DescribeModifyPGHbaConfigLogRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeModifyPGHbaConfigLogResponse

func (*Client) DescribeModifyParameterLog

func (client *Client) DescribeModifyParameterLog(request *DescribeModifyParameterLogRequest) (_result *DescribeModifyParameterLogResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeModifyParameterLogRequest
  • @return DescribeModifyParameterLogResponse

func (*Client) DescribeModifyParameterLogWithOptions

func (client *Client) DescribeModifyParameterLogWithOptions(request *DescribeModifyParameterLogRequest, runtime *util.RuntimeOptions) (_result *DescribeModifyParameterLogResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeModifyParameterLogRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeModifyParameterLogResponse

func (*Client) DescribeOssDownloads

func (client *Client) DescribeOssDownloads(request *DescribeOssDownloadsRequest) (_result *DescribeOssDownloadsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server
  • ### [Usage notes](#)
  • This operation is not supported for instances that run SQL Server 2017 EE or SQL Server 2019 EE. *
  • @param request DescribeOssDownloadsRequest
  • @return DescribeOssDownloadsResponse

func (*Client) DescribeOssDownloadsWithOptions

func (client *Client) DescribeOssDownloadsWithOptions(request *DescribeOssDownloadsRequest, runtime *util.RuntimeOptions) (_result *DescribeOssDownloadsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server
  • ### [Usage notes](#)
  • This operation is not supported for instances that run SQL Server 2017 EE or SQL Server 2019 EE. *
  • @param request DescribeOssDownloadsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeOssDownloadsResponse

func (*Client) DescribePGHbaConfig

func (client *Client) DescribePGHbaConfig(request *DescribePGHbaConfigRequest) (_result *DescribePGHbaConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL *
  • @param request DescribePGHbaConfigRequest
  • @return DescribePGHbaConfigResponse

func (*Client) DescribePGHbaConfigWithOptions

func (client *Client) DescribePGHbaConfigWithOptions(request *DescribePGHbaConfigRequest, runtime *util.RuntimeOptions) (_result *DescribePGHbaConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL *
  • @param request DescribePGHbaConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribePGHbaConfigResponse

func (*Client) DescribeParameterGroup

func (client *Client) DescribeParameterGroup(request *DescribeParameterGroupRequest) (_result *DescribeParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template for an ApsaraDB RDS for MySQL instance](~~130565~~)
  • * [Use a parameter template for an ApsaraDB RDS for PostgreSQL instance](~~457176~~) *
  • @param request DescribeParameterGroupRequest
  • @return DescribeParameterGroupResponse

func (*Client) DescribeParameterGroupWithOptions

func (client *Client) DescribeParameterGroupWithOptions(request *DescribeParameterGroupRequest, runtime *util.RuntimeOptions) (_result *DescribeParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template for an ApsaraDB RDS for MySQL instance](~~130565~~)
  • * [Use a parameter template for an ApsaraDB RDS for PostgreSQL instance](~~457176~~) *
  • @param request DescribeParameterGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeParameterGroupResponse

func (*Client) DescribeParameterGroups

func (client *Client) DescribeParameterGroups(request *DescribeParameterGroupsRequest) (_result *DescribeParameterGroupsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request DescribeParameterGroupsRequest
  • @return DescribeParameterGroupsResponse

func (*Client) DescribeParameterGroupsWithOptions

func (client *Client) DescribeParameterGroupsWithOptions(request *DescribeParameterGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeParameterGroupsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request DescribeParameterGroupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeParameterGroupsResponse

func (*Client) DescribeParameterTemplates

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeParameterTemplatesRequest
  • @return DescribeParameterTemplatesResponse

func (*Client) DescribeParameterTemplatesWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @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)

*

  • ### Applicable engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeParametersRequest
  • @return DescribeParametersResponse

func (*Client) DescribeParametersWithOptions

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

*

  • ### Applicable engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeParametersRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeParametersResponse

func (*Client) DescribePostgresExtensions added in v3.0.28

func (client *Client) DescribePostgresExtensions(request *DescribePostgresExtensionsRequest) (_result *DescribePostgresExtensionsResponse, _err error)

*

  • ### Supported database engines
  • RDS PostgreSQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~) *
  • @param request DescribePostgresExtensionsRequest
  • @return DescribePostgresExtensionsResponse

func (*Client) DescribePostgresExtensionsWithOptions added in v3.0.28

func (client *Client) DescribePostgresExtensionsWithOptions(request *DescribePostgresExtensionsRequest, runtime *util.RuntimeOptions) (_result *DescribePostgresExtensionsResponse, _err error)

*

  • ### Supported database engines
  • RDS PostgreSQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~) *
  • @param request DescribePostgresExtensionsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribePostgresExtensionsResponse

func (*Client) DescribePrice

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribePriceRequest
  • @return DescribePriceResponse

func (*Client) DescribePriceWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param tmpReq DescribePriceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribePriceResponse

func (*Client) DescribeQuickSaleConfig added in v3.3.0

func (client *Client) DescribeQuickSaleConfig(request *DescribeQuickSaleConfigRequest) (_result *DescribeQuickSaleConfigResponse, _err error)

func (*Client) DescribeQuickSaleConfigWithOptions added in v3.3.0

func (client *Client) DescribeQuickSaleConfigWithOptions(request *DescribeQuickSaleConfigRequest, runtime *util.RuntimeOptions) (_result *DescribeQuickSaleConfigResponse, _err error)

func (*Client) DescribeRdsResourceSettings

func (client *Client) DescribeRdsResourceSettings(request *DescribeRdsResourceSettingsRequest) (_result *DescribeRdsResourceSettingsResponse, _err error)

*

  • @deprecated *
  • @param request DescribeRdsResourceSettingsRequest
  • @return DescribeRdsResourceSettingsResponse

Deprecated

func (*Client) DescribeRdsResourceSettingsWithOptions

func (client *Client) DescribeRdsResourceSettingsWithOptions(request *DescribeRdsResourceSettingsRequest, runtime *util.RuntimeOptions) (_result *DescribeRdsResourceSettingsResponse, _err error)

*

  • @deprecated *
  • @param request DescribeRdsResourceSettingsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeRdsResourceSettingsResponse

Deprecated

func (*Client) DescribeReadDBInstanceDelay

func (client *Client) DescribeReadDBInstanceDelay(request *DescribeReadDBInstanceDelayRequest) (_result *DescribeReadDBInstanceDelayResponse, _err error)

*

  • Before you call this operation, make sure that the following requirements are met:
  • * The primary instance must run the MySQL or PostgreSQL database engine.
  • * The primary instance must be attached with a read-only instance. *
  • @param request DescribeReadDBInstanceDelayRequest
  • @return DescribeReadDBInstanceDelayResponse

func (*Client) DescribeReadDBInstanceDelayWithOptions

func (client *Client) DescribeReadDBInstanceDelayWithOptions(request *DescribeReadDBInstanceDelayRequest, runtime *util.RuntimeOptions) (_result *DescribeReadDBInstanceDelayResponse, _err error)

*

  • Before you call this operation, make sure that the following requirements are met:
  • * The primary instance must run the MySQL or PostgreSQL database engine.
  • * The primary instance must be attached with a read-only instance. *
  • @param request DescribeReadDBInstanceDelayRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeReadDBInstanceDelayResponse

func (*Client) DescribeRegionInfos

func (client *Client) DescribeRegionInfos(request *DescribeRegionInfosRequest) (_result *DescribeRegionInfosResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeRegionInfosRequest
  • @return DescribeRegionInfosResponse

func (*Client) DescribeRegionInfosWithOptions

func (client *Client) DescribeRegionInfosWithOptions(request *DescribeRegionInfosRequest, runtime *util.RuntimeOptions) (_result *DescribeRegionInfosResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeRegionInfosRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeRegionInfosResponse

func (*Client) DescribeRegions

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

*

  • Before you call the [CreateDBInstance](~~26228~~) operation to create an RDS instance, you can call the DescribeRegions operation to query the available regions and zones.
  • > If a zone supports the multi-zone deployment method, the value of the ZoneId parameter for the zone contains an MAZ part. Examples: cn-hangzhou-MAZ6(b,f) and cn-hangzhou-MAZ5(b,e,f). *
  • @param request DescribeRegionsRequest
  • @return DescribeRegionsResponse

func (*Client) DescribeRegionsWithOptions

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

*

  • Before you call the [CreateDBInstance](~~26228~~) operation to create an RDS instance, you can call the DescribeRegions operation to query the available regions and zones.
  • > If a zone supports the multi-zone deployment method, the value of the ZoneId parameter for the zone contains an MAZ part. Examples: cn-hangzhou-MAZ6(b,f) and cn-hangzhou-MAZ5(b,e,f). *
  • @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)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeRenewalPriceRequest
  • @return DescribeRenewalPriceResponse

func (*Client) DescribeRenewalPriceWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeRenewalPriceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeRenewalPriceResponse

func (*Client) DescribeResourceDetails added in v3.3.0

func (client *Client) DescribeResourceDetails(request *DescribeResourceDetailsRequest) (_result *DescribeResourceDetailsResponse, _err error)

func (*Client) DescribeResourceDetailsWithOptions added in v3.3.0

func (client *Client) DescribeResourceDetailsWithOptions(request *DescribeResourceDetailsRequest, runtime *util.RuntimeOptions) (_result *DescribeResourceDetailsResponse, _err error)

func (*Client) DescribeResourceUsage

func (client *Client) DescribeResourceUsage(request *DescribeResourceUsageRequest) (_result *DescribeResourceUsageResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeResourceUsageRequest
  • @return DescribeResourceUsageResponse

func (*Client) DescribeResourceUsageWithOptions

func (client *Client) DescribeResourceUsageWithOptions(request *DescribeResourceUsageRequest, runtime *util.RuntimeOptions) (_result *DescribeResourceUsageResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeResourceUsageRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeResourceUsageResponse

func (*Client) DescribeSQLCollectorPolicy

func (client *Client) DescribeSQLCollectorPolicy(request *DescribeSQLCollectorPolicyRequest) (_result *DescribeSQLCollectorPolicyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request DescribeSQLCollectorPolicyRequest
  • @return DescribeSQLCollectorPolicyResponse

func (*Client) DescribeSQLCollectorPolicyWithOptions

func (client *Client) DescribeSQLCollectorPolicyWithOptions(request *DescribeSQLCollectorPolicyRequest, runtime *util.RuntimeOptions) (_result *DescribeSQLCollectorPolicyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request DescribeSQLCollectorPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSQLCollectorPolicyResponse

func (*Client) DescribeSQLCollectorRetention

func (client *Client) DescribeSQLCollectorRetention(request *DescribeSQLCollectorRetentionRequest) (_result *DescribeSQLCollectorRetentionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request DescribeSQLCollectorRetentionRequest
  • @return DescribeSQLCollectorRetentionResponse

func (*Client) DescribeSQLCollectorRetentionWithOptions

func (client *Client) DescribeSQLCollectorRetentionWithOptions(request *DescribeSQLCollectorRetentionRequest, runtime *util.RuntimeOptions) (_result *DescribeSQLCollectorRetentionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server *
  • @param request DescribeSQLCollectorRetentionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSQLCollectorRetentionResponse

func (*Client) DescribeSQLLogFiles

func (client *Client) DescribeSQLLogFiles(request *DescribeSQLLogFilesRequest) (_result *DescribeSQLLogFilesResponse, _err error)

*

  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL
  • * SQL Server 2008 R2
  • * PostgreSQL
  • >
  • * The DescribeSQLLogFiles operation cannot be called to query the log files that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.
  • * The DescribeSQLLogFiles operation cannot be called to query the log files that are generated by the SQL Explorer feature and manually exported from the ApsaraDB RDS console. The DescribeSQLLogFiles operation can be called to query the SQL Explorer log files that are generated by calling the [DescribeSQLLogRecords](~~610533~~) operation with the request parameter **Form** set to **File**. *
  • @param request DescribeSQLLogFilesRequest
  • @return DescribeSQLLogFilesResponse

func (*Client) DescribeSQLLogFilesWithOptions

func (client *Client) DescribeSQLLogFilesWithOptions(request *DescribeSQLLogFilesRequest, runtime *util.RuntimeOptions) (_result *DescribeSQLLogFilesResponse, _err error)

*

  • Before you call this operation, make sure that the instance runs one of the following database engines:
  • * MySQL
  • * SQL Server 2008 R2
  • * PostgreSQL
  • >
  • * The DescribeSQLLogFiles operation cannot be called to query the log files that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.
  • * The DescribeSQLLogFiles operation cannot be called to query the log files that are generated by the SQL Explorer feature and manually exported from the ApsaraDB RDS console. The DescribeSQLLogFiles operation can be called to query the SQL Explorer log files that are generated by calling the [DescribeSQLLogRecords](~~610533~~) operation with the request parameter **Form** set to **File**. *
  • @param request DescribeSQLLogFilesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSQLLogFilesResponse

func (*Client) DescribeSQLLogRecords

func (client *Client) DescribeSQLLogRecords(request *DescribeSQLLogRecordsRequest) (_result *DescribeSQLLogRecordsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [Usage notes](#)
  • * You can call this operation up to 1,000 times per minute per account. The calls initiated by using both your Alibaba Cloud account and RAM users within your Alibaba Cloud account are counted.
  • * This operation cannot be used to query the logs that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.
  • * When you call this operation and set the **Form** parameter to **File** to generate an audit file, a maximum of 1 million log entries can be recorded in the audit file, and you cannot filter log entries by keyword. *
  • @param request DescribeSQLLogRecordsRequest
  • @return DescribeSQLLogRecordsResponse

func (*Client) DescribeSQLLogRecordsWithOptions

func (client *Client) DescribeSQLLogRecordsWithOptions(request *DescribeSQLLogRecordsRequest, runtime *util.RuntimeOptions) (_result *DescribeSQLLogRecordsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [Usage notes](#)
  • * You can call this operation up to 1,000 times per minute per account. The calls initiated by using both your Alibaba Cloud account and RAM users within your Alibaba Cloud account are counted.
  • * This operation cannot be used to query the logs that are generated by SQL Explorer Trial Edition for an ApsaraDB RDS for MySQL instance.
  • * When you call this operation and set the **Form** parameter to **File** to generate an audit file, a maximum of 1 million log entries can be recorded in the audit file, and you cannot filter log entries by keyword. *
  • @param request DescribeSQLLogRecordsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSQLLogRecordsResponse

func (*Client) DescribeSQLLogReportList

func (client *Client) DescribeSQLLogReportList(request *DescribeSQLLogReportListRequest) (_result *DescribeSQLLogReportListResponse, _err error)

func (*Client) DescribeSQLLogReportListWithOptions

func (client *Client) DescribeSQLLogReportListWithOptions(request *DescribeSQLLogReportListRequest, runtime *util.RuntimeOptions) (_result *DescribeSQLLogReportListResponse, _err error)

func (*Client) DescribeSecrets

func (client *Client) DescribeSecrets(request *DescribeSecretsRequest) (_result *DescribeSecretsResponse, _err error)

*

  • ### [](#)Supported database engine
  • * MySQL *
  • @param request DescribeSecretsRequest
  • @return DescribeSecretsResponse

func (*Client) DescribeSecretsWithOptions

func (client *Client) DescribeSecretsWithOptions(request *DescribeSecretsRequest, runtime *util.RuntimeOptions) (_result *DescribeSecretsResponse, _err error)

*

  • ### [](#)Supported database engine
  • * MySQL *
  • @param request DescribeSecretsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSecretsResponse

func (*Client) DescribeSecurityGroupConfiguration

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure a security group for an ApsaraDB RDS for MySQL instance](~~201042~~)
  • * [Configure a security group for an ApsaraDB RDS for PostgreSQL instance](~~206310~~)
  • * [Configure a security group for an ApsaraDB RDS for SQL Server instance](~~2392322~~) *
  • @param request DescribeSecurityGroupConfigurationRequest
  • @return DescribeSecurityGroupConfigurationResponse

func (*Client) DescribeSecurityGroupConfigurationWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure a security group for an ApsaraDB RDS for MySQL instance](~~201042~~)
  • * [Configure a security group for an ApsaraDB RDS for PostgreSQL instance](~~206310~~)
  • * [Configure a security group for an ApsaraDB RDS for SQL Server instance](~~2392322~~) *
  • @param request DescribeSecurityGroupConfigurationRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSecurityGroupConfigurationResponse

func (*Client) DescribeSlots added in v3.0.5

func (client *Client) DescribeSlots(request *DescribeSlotsRequest) (_result *DescribeSlotsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request DescribeSlotsRequest
  • @return DescribeSlotsResponse

func (*Client) DescribeSlotsWithOptions added in v3.0.5

func (client *Client) DescribeSlotsWithOptions(request *DescribeSlotsRequest, runtime *util.RuntimeOptions) (_result *DescribeSlotsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL *
  • @param request DescribeSlotsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSlotsResponse

func (*Client) DescribeSlowLogRecords

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### Precautions
  • The response parameters returned by this operation are updated every minute. *
  • @param request DescribeSlowLogRecordsRequest
  • @return DescribeSlowLogRecordsResponse

func (*Client) DescribeSlowLogRecordsWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### Precautions
  • The response parameters returned by this operation are updated every minute. *
  • @param request DescribeSlowLogRecordsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSlowLogRecordsResponse

func (*Client) DescribeSlowLogs

func (client *Client) DescribeSlowLogs(request *DescribeSlowLogsRequest) (_result *DescribeSlowLogsResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • **
  • **Note**MySQL 5.7 on RDS Basic Edition is not supported.
  • * SQL Server
  • **
  • **Note**Only SQL Server 2008 R2 is supported.
  • * MariaDB
  • ### Usage notes
  • Slow query logs are not collected in real time and may show a latency of 6 hours to 8 hours. *
  • @param request DescribeSlowLogsRequest
  • @return DescribeSlowLogsResponse

func (*Client) DescribeSlowLogsWithOptions

func (client *Client) DescribeSlowLogsWithOptions(request *DescribeSlowLogsRequest, runtime *util.RuntimeOptions) (_result *DescribeSlowLogsResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • **
  • **Note**MySQL 5.7 on RDS Basic Edition is not supported.
  • * SQL Server
  • **
  • **Note**Only SQL Server 2008 R2 is supported.
  • * MariaDB
  • ### Usage notes
  • Slow query logs are not collected in real time and may show a latency of 6 hours to 8 hours. *
  • @param request DescribeSlowLogsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSlowLogsResponse

func (*Client) DescribeSupportOnlineResizeDisk added in v3.0.4

func (client *Client) DescribeSupportOnlineResizeDisk(request *DescribeSupportOnlineResizeDiskRequest) (_result *DescribeSupportOnlineResizeDiskResponse, _err error)

*

  • ### Supported database engine
  • SQL Server *
  • @param request DescribeSupportOnlineResizeDiskRequest
  • @return DescribeSupportOnlineResizeDiskResponse

func (*Client) DescribeSupportOnlineResizeDiskWithOptions added in v3.0.4

func (client *Client) DescribeSupportOnlineResizeDiskWithOptions(request *DescribeSupportOnlineResizeDiskRequest, runtime *util.RuntimeOptions) (_result *DescribeSupportOnlineResizeDiskResponse, _err error)

*

  • ### Supported database engine
  • SQL Server *
  • @param request DescribeSupportOnlineResizeDiskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSupportOnlineResizeDiskResponse

func (*Client) DescribeTags

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [Usage notes](#)
  • * If an instance ID is specified, all tags that are added to this instance are queried, and other filter conditions are invalid.
  • * If you specify only TagKey, the results that match the specified TagKey are returned. If you specify both TagKey and TagValue, the results that match both the specified TagKey and TagValue are returned. *
  • @param request DescribeTagsRequest
  • @return DescribeTagsResponse

func (*Client) DescribeTagsWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [Usage notes](#)
  • * If an instance ID is specified, all tags that are added to this instance are queried, and other filter conditions are invalid.
  • * If you specify only TagKey, the results that match the specified TagKey are returned. If you specify both TagKey and TagValue, the results that match both the specified TagKey and TagValue are returned. *
  • @param request DescribeTagsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeTagsResponse

func (*Client) DescribeTasks

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

*

  • This operation is phased out. *
  • @param request DescribeTasksRequest
  • @return DescribeTasksResponse

func (*Client) DescribeTasksWithOptions

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

*

  • This operation is phased out. *
  • @param request DescribeTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeTasksResponse

func (*Client) DescribeUpgradeMajorVersionPrecheckTask

func (client *Client) DescribeUpgradeMajorVersionPrecheckTask(request *DescribeUpgradeMajorVersionPrecheckTaskRequest) (_result *DescribeUpgradeMajorVersionPrecheckTaskResponse, _err error)

*

func (*Client) DescribeUpgradeMajorVersionPrecheckTaskWithOptions

func (client *Client) DescribeUpgradeMajorVersionPrecheckTaskWithOptions(request *DescribeUpgradeMajorVersionPrecheckTaskRequest, runtime *util.RuntimeOptions) (_result *DescribeUpgradeMajorVersionPrecheckTaskResponse, _err error)

*

func (*Client) DescribeUpgradeMajorVersionTasks

func (client *Client) DescribeUpgradeMajorVersionTasks(request *DescribeUpgradeMajorVersionTasksRequest) (_result *DescribeUpgradeMajorVersionTasksResponse, _err error)

*

  • ### [](#)Supported database engines
  • PostgreSQL *
  • @param request DescribeUpgradeMajorVersionTasksRequest
  • @return DescribeUpgradeMajorVersionTasksResponse

func (*Client) DescribeUpgradeMajorVersionTasksWithOptions

func (client *Client) DescribeUpgradeMajorVersionTasksWithOptions(request *DescribeUpgradeMajorVersionTasksRequest, runtime *util.RuntimeOptions) (_result *DescribeUpgradeMajorVersionTasksResponse, _err error)

*

  • ### [](#)Supported database engines
  • PostgreSQL *
  • @param request DescribeUpgradeMajorVersionTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeUpgradeMajorVersionTasksResponse

func (*Client) DescribeVSwitches

func (client *Client) DescribeVSwitches(request *DescribeVSwitchesRequest) (_result *DescribeVSwitchesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeVSwitchesRequest
  • @return DescribeVSwitchesResponse

func (*Client) DescribeVSwitchesWithOptions

func (client *Client) DescribeVSwitchesWithOptions(request *DescribeVSwitchesRequest, runtime *util.RuntimeOptions) (_result *DescribeVSwitchesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request DescribeVSwitchesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeVSwitchesResponse

func (*Client) DescribeWhitelistTemplate added in v3.0.29

func (client *Client) DescribeWhitelistTemplate(request *DescribeWhitelistTemplateRequest) (_result *DescribeWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeWhitelistTemplateRequest
  • @return DescribeWhitelistTemplateResponse

func (*Client) DescribeWhitelistTemplateLinkedInstance added in v3.0.29

func (client *Client) DescribeWhitelistTemplateLinkedInstance(request *DescribeWhitelistTemplateLinkedInstanceRequest) (_result *DescribeWhitelistTemplateLinkedInstanceResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeWhitelistTemplateLinkedInstanceRequest
  • @return DescribeWhitelistTemplateLinkedInstanceResponse

func (*Client) DescribeWhitelistTemplateLinkedInstanceWithOptions added in v3.0.29

func (client *Client) DescribeWhitelistTemplateLinkedInstanceWithOptions(request *DescribeWhitelistTemplateLinkedInstanceRequest, runtime *util.RuntimeOptions) (_result *DescribeWhitelistTemplateLinkedInstanceResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeWhitelistTemplateLinkedInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeWhitelistTemplateLinkedInstanceResponse

func (*Client) DescribeWhitelistTemplateWithOptions added in v3.0.29

func (client *Client) DescribeWhitelistTemplateWithOptions(request *DescribeWhitelistTemplateRequest, runtime *util.RuntimeOptions) (_result *DescribeWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DescribeWhitelistTemplateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeWhitelistTemplateResponse

func (*Client) DestroyDBInstance

func (client *Client) DestroyDBInstance(request *DestroyDBInstanceRequest) (_result *DestroyDBInstanceResponse, _err error)

*

  • The DestroyDBInstance operation is phased out. *
  • @param request DestroyDBInstanceRequest
  • @return DestroyDBInstanceResponse

func (*Client) DestroyDBInstanceWithOptions

func (client *Client) DestroyDBInstanceWithOptions(request *DestroyDBInstanceRequest, runtime *util.RuntimeOptions) (_result *DestroyDBInstanceResponse, _err error)

*

  • The DestroyDBInstance operation is phased out. *
  • @param request DestroyDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DestroyDBInstanceResponse

func (*Client) DetachGadInstanceMember

func (client *Client) DetachGadInstanceMember(request *DetachGadInstanceMemberRequest) (_result *DetachGadInstanceMemberResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [Usage notes](#)
  • This operation can be used to remove only unit nodes. *
  • @param request DetachGadInstanceMemberRequest
  • @return DetachGadInstanceMemberResponse

func (*Client) DetachGadInstanceMemberWithOptions

func (client *Client) DetachGadInstanceMemberWithOptions(request *DetachGadInstanceMemberRequest, runtime *util.RuntimeOptions) (_result *DetachGadInstanceMemberResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [Usage notes](#)
  • This operation can be used to remove only unit nodes. *
  • @param request DetachGadInstanceMemberRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DetachGadInstanceMemberResponse

func (*Client) DetachWhitelistTemplateToInstance added in v3.0.29

func (client *Client) DetachWhitelistTemplateToInstance(request *DetachWhitelistTemplateToInstanceRequest) (_result *DetachWhitelistTemplateToInstanceResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DetachWhitelistTemplateToInstanceRequest
  • @return DetachWhitelistTemplateToInstanceResponse

func (*Client) DetachWhitelistTemplateToInstanceWithOptions added in v3.0.29

func (client *Client) DetachWhitelistTemplateToInstanceWithOptions(request *DetachWhitelistTemplateToInstanceRequest, runtime *util.RuntimeOptions) (_result *DetachWhitelistTemplateToInstanceResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request DetachWhitelistTemplateToInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DetachWhitelistTemplateToInstanceResponse

func (*Client) EvaluateLocalExtendDisk added in v3.3.0

func (client *Client) EvaluateLocalExtendDisk(request *EvaluateLocalExtendDiskRequest) (_result *EvaluateLocalExtendDiskResponse, _err error)

func (*Client) EvaluateLocalExtendDiskWithOptions added in v3.3.0

func (client *Client) EvaluateLocalExtendDiskWithOptions(request *EvaluateLocalExtendDiskRequest, runtime *util.RuntimeOptions) (_result *EvaluateLocalExtendDiskResponse, _err error)

func (*Client) GetDBInstanceTopology

func (client *Client) GetDBInstanceTopology(request *GetDBInstanceTopologyRequest) (_result *GetDBInstanceTopologyResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request GetDBInstanceTopologyRequest
  • @return GetDBInstanceTopologyResponse

func (*Client) GetDBInstanceTopologyWithOptions

func (client *Client) GetDBInstanceTopologyWithOptions(request *GetDBInstanceTopologyRequest, runtime *util.RuntimeOptions) (_result *GetDBInstanceTopologyResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request GetDBInstanceTopologyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetDBInstanceTopologyResponse

func (*Client) GetDbProxyInstanceSsl

func (client *Client) GetDbProxyInstanceSsl(request *GetDbProxyInstanceSslRequest) (_result *GetDbProxyInstanceSslResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL *
  • @param request GetDbProxyInstanceSslRequest
  • @return GetDbProxyInstanceSslResponse

func (*Client) GetDbProxyInstanceSslWithOptions

func (client *Client) GetDbProxyInstanceSslWithOptions(request *GetDbProxyInstanceSslRequest, runtime *util.RuntimeOptions) (_result *GetDbProxyInstanceSslResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL *
  • @param request GetDbProxyInstanceSslRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetDbProxyInstanceSslResponse

func (*Client) GetEndpoint

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

func (*Client) GrantAccountPrivilege

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

*

  • Each account can be granted permissions on one or more databases. Before you call this operation, make sure that the instance is in the Running state.
  • > This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition or run PostgreSQL with local disks. *
  • @param request GrantAccountPrivilegeRequest
  • @return GrantAccountPrivilegeResponse

func (*Client) GrantAccountPrivilegeWithOptions

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

*

  • Each account can be granted permissions on one or more databases. Before you call this operation, make sure that the instance is in the Running state.
  • > This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition or run PostgreSQL with local disks. *
  • @param request GrantAccountPrivilegeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GrantAccountPrivilegeResponse

func (*Client) GrantOperatorPermission

func (client *Client) GrantOperatorPermission(request *GrantOperatorPermissionRequest) (_result *GrantOperatorPermissionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Grant permissions to the service account of an ApsaraDB RDS for MySQL instance](~~96102~~)
  • * [Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance](~~95693~~) *
  • @param request GrantOperatorPermissionRequest
  • @return GrantOperatorPermissionResponse

func (*Client) GrantOperatorPermissionWithOptions

func (client *Client) GrantOperatorPermissionWithOptions(request *GrantOperatorPermissionRequest, runtime *util.RuntimeOptions) (_result *GrantOperatorPermissionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Grant permissions to the service account of an ApsaraDB RDS for MySQL instance](~~96102~~)
  • * [Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance](~~95693~~) *
  • @param request GrantOperatorPermissionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GrantOperatorPermissionResponse

func (*Client) ImportDatabaseBetweenInstances

func (client *Client) ImportDatabaseBetweenInstances(request *ImportDatabaseBetweenInstancesRequest) (_result *ImportDatabaseBetweenInstancesResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)Description
  • We recommend that you use Data Transmission Service (DTS). DTS provides data migration, subscription, and synchronization features that allow you to establish stable, secure transmission links. For more information, see [DTS API overview](~~49456~~).
  • ### [](#)Precautions
  • * During the migration, the source instance is in the **Migrating** state, and the destination instance is in the **Importing** state.
  • * Before you call this operation, make sure that the following requirements are met:
  • * The source and destination instances must run SQL Server and belong to the dedicated or dedicated host instance family. For more information about the supported instance types, see [Primary instance types](~~26312~~).
  • * The source and destination instances must be created by using the same user credentials.
  • * The instance is in the Running state.
  • * The source and destination databases must be in the Running state.
  • * The remaining storage of the destination instance must be greater than the storage capacity of the source instance.
  • >
  • * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.
  • * You can migrate the data of multiple databases at a time. *
  • @param request ImportDatabaseBetweenInstancesRequest
  • @return ImportDatabaseBetweenInstancesResponse

func (*Client) ImportDatabaseBetweenInstancesWithOptions

func (client *Client) ImportDatabaseBetweenInstancesWithOptions(request *ImportDatabaseBetweenInstancesRequest, runtime *util.RuntimeOptions) (_result *ImportDatabaseBetweenInstancesResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)Description
  • We recommend that you use Data Transmission Service (DTS). DTS provides data migration, subscription, and synchronization features that allow you to establish stable, secure transmission links. For more information, see [DTS API overview](~~49456~~).
  • ### [](#)Precautions
  • * During the migration, the source instance is in the **Migrating** state, and the destination instance is in the **Importing** state.
  • * Before you call this operation, make sure that the following requirements are met:
  • * The source and destination instances must run SQL Server and belong to the dedicated or dedicated host instance family. For more information about the supported instance types, see [Primary instance types](~~26312~~).
  • * The source and destination instances must be created by using the same user credentials.
  • * The instance is in the Running state.
  • * The source and destination databases must be in the Running state.
  • * The remaining storage of the destination instance must be greater than the storage capacity of the source instance.
  • >
  • * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.
  • * You can migrate the data of multiple databases at a time. *
  • @param request ImportDatabaseBetweenInstancesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ImportDatabaseBetweenInstancesResponse

func (*Client) ImportUserBackupFile

func (client *Client) ImportUserBackupFile(request *ImportUserBackupFileRequest) (_result *ImportUserBackupFileResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)Description
  • A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance.
  • ### [](#)Usage notes
  • Before you call this operation, make sure that the following requirements are met:
  • * The self-managed MySQL instance runs MySQL 5.7 and is backed up by using XtraBackup. The name of the backup file ends with `_qp.xb`. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • * The full backup file of the self-managed MySQL instance is uploaded to an Object Storage Service (OSS) bucket in the region of the ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • > This operation is supported only for MySQL 5.7. *
  • @param request ImportUserBackupFileRequest
  • @return ImportUserBackupFileResponse

func (*Client) ImportUserBackupFileWithOptions

func (client *Client) ImportUserBackupFileWithOptions(request *ImportUserBackupFileRequest, runtime *util.RuntimeOptions) (_result *ImportUserBackupFileResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)Description
  • A full backup file contains the data of a self-managed MySQL instance. You can restore the data of a self-managed MySQL instance from a full backup file to an ApsaraDB RDS for MySQL instance.
  • ### [](#)Usage notes
  • Before you call this operation, make sure that the following requirements are met:
  • * The self-managed MySQL instance runs MySQL 5.7 and is backed up by using XtraBackup. The name of the backup file ends with `_qp.xb`. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • * The full backup file of the self-managed MySQL instance is uploaded to an Object Storage Service (OSS) bucket in the region of the ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • > This operation is supported only for MySQL 5.7. *
  • @param request ImportUserBackupFileRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ImportUserBackupFileResponse

func (*Client) Init

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

func (*Client) ListClasses

func (client *Client) ListClasses(request *ListClassesRequest) (_result *ListClassesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request ListClassesRequest
  • @return ListClassesResponse

func (*Client) ListClassesWithOptions

func (client *Client) ListClassesWithOptions(request *ListClassesRequest, runtime *util.RuntimeOptions) (_result *ListClassesResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request ListClassesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListClassesResponse

func (*Client) ListTagResources

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB *
  • @param request ListTagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) ListUserBackupFiles

func (client *Client) ListUserBackupFiles(request *ListUserBackupFilesRequest) (_result *ListUserBackupFilesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)Feature description
  • * A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • * Before you call the [CreateDBInstance](~~26228~~) operation to create an ApsaraDB RDS for MySQL instance into which you want to import full backup files, you can call this operation to query the IDs of full backup files.
  • * You can call the [ImportUserBackupFile](~~260266~~) operation to import a full backup file into an ApsaraDB RDS for MySQL instance. *
  • @param request ListUserBackupFilesRequest
  • @return ListUserBackupFilesResponse

func (*Client) ListUserBackupFilesWithOptions

func (client *Client) ListUserBackupFilesWithOptions(request *ListUserBackupFilesRequest, runtime *util.RuntimeOptions) (_result *ListUserBackupFilesResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)Feature description
  • * A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 instance to the cloud](~~251779~~).
  • * Before you call the [CreateDBInstance](~~26228~~) operation to create an ApsaraDB RDS for MySQL instance into which you want to import full backup files, you can call this operation to query the IDs of full backup files.
  • * You can call the [ImportUserBackupFile](~~260266~~) operation to import a full backup file into an ApsaraDB RDS for MySQL instance. *
  • @param request ListUserBackupFilesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListUserBackupFilesResponse

func (*Client) LockAccount

func (client *Client) LockAccount(request *LockAccountRequest) (_result *LockAccountResponse, _err error)

*

  • ### [](#)Supported database engines
  • PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Lock an account of an ApsaraDB RDS for PostgreSQL instance](~~147649~~) *
  • @param request LockAccountRequest
  • @return LockAccountResponse

func (*Client) LockAccountWithOptions

func (client *Client) LockAccountWithOptions(request *LockAccountRequest, runtime *util.RuntimeOptions) (_result *LockAccountResponse, _err error)

*

  • ### [](#)Supported database engines
  • PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Lock an account of an ApsaraDB RDS for PostgreSQL instance](~~147649~~) *
  • @param request LockAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return LockAccountResponse

func (*Client) MigrateConnectionToOtherZone

func (client *Client) MigrateConnectionToOtherZone(request *MigrateConnectionToOtherZoneRequest) (_result *MigrateConnectionToOtherZoneResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Migrate an ApsaraDB RDS for MySQL instance across zones in the same region](~~96746~~)
  • * [Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region](~~96746~~)
  • * [Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region](~~95658~~) *
  • @param request MigrateConnectionToOtherZoneRequest
  • @return MigrateConnectionToOtherZoneResponse

func (*Client) MigrateConnectionToOtherZoneWithOptions

func (client *Client) MigrateConnectionToOtherZoneWithOptions(request *MigrateConnectionToOtherZoneRequest, runtime *util.RuntimeOptions) (_result *MigrateConnectionToOtherZoneResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Migrate an ApsaraDB RDS for MySQL instance across zones in the same region](~~96746~~)
  • * [Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region](~~96746~~)
  • * [Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region](~~95658~~) *
  • @param request MigrateConnectionToOtherZoneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return MigrateConnectionToOtherZoneResponse

func (*Client) MigrateDBInstance

func (client *Client) MigrateDBInstance(request *MigrateDBInstanceRequest) (_result *MigrateDBInstanceResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request MigrateDBInstanceRequest
  • @return MigrateDBInstanceResponse

func (*Client) MigrateDBInstanceWithOptions

func (client *Client) MigrateDBInstanceWithOptions(request *MigrateDBInstanceRequest, runtime *util.RuntimeOptions) (_result *MigrateDBInstanceResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request MigrateDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return MigrateDBInstanceResponse

func (*Client) MigrateSecurityIPMode

func (client *Client) MigrateSecurityIPMode(request *MigrateSecurityIPModeRequest) (_result *MigrateSecurityIPModeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Change the whitelist mode of an ApsaraDB RDS for MySQL instance to the enhanced whitelist mode](~~96117~~)
  • * [Change the whitelist mode of an ApsaraDB RDS for PostgreSQL instance to the enhanced whitelist mode](~~96767~~) *
  • @param request MigrateSecurityIPModeRequest
  • @return MigrateSecurityIPModeResponse

func (*Client) MigrateSecurityIPModeWithOptions

func (client *Client) MigrateSecurityIPModeWithOptions(request *MigrateSecurityIPModeRequest, runtime *util.RuntimeOptions) (_result *MigrateSecurityIPModeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Change the whitelist mode of an ApsaraDB RDS for MySQL instance to the enhanced whitelist mode](~~96117~~)
  • * [Change the whitelist mode of an ApsaraDB RDS for PostgreSQL instance to the enhanced whitelist mode](~~96767~~) *
  • @param request MigrateSecurityIPModeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return MigrateSecurityIPModeResponse

func (*Client) MigrateToOtherZone

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Migrate an ApsaraDB RDS for MySQL instance across zones in the same region](~~96053~~)
  • * [Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region](~~96746~~)
  • * [Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region](~~95658~~) *
  • @param request MigrateToOtherZoneRequest
  • @return MigrateToOtherZoneResponse

func (*Client) MigrateToOtherZoneWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Migrate an ApsaraDB RDS for MySQL instance across zones in the same region](~~96053~~)
  • * [Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region](~~96746~~)
  • * [Migrate an ApsaraDB RDS for SQL Server instance across zones in the same region](~~95658~~) *
  • @param request MigrateToOtherZoneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return MigrateToOtherZoneResponse

func (*Client) ModifyADInfo

func (client *Client) ModifyADInfo(request *ModifyADInfoRequest) (_result *ModifyADInfoResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Connect an RDS instance to a self-managed domain](~~170734~~) *
  • @param request ModifyADInfoRequest
  • @return ModifyADInfoResponse

func (*Client) ModifyADInfoWithOptions

func (client *Client) ModifyADInfoWithOptions(request *ModifyADInfoRequest, runtime *util.RuntimeOptions) (_result *ModifyADInfoResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Connect an RDS instance to a self-managed domain](~~170734~~) *
  • @param request ModifyADInfoRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyADInfoResponse

func (*Client) ModifyAccountDescription

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request ModifyAccountDescriptionRequest
  • @return ModifyAccountDescriptionResponse

func (*Client) ModifyAccountDescriptionWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request ModifyAccountDescriptionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyAccountDescriptionResponse

func (*Client) ModifyActionEventPolicy

func (client *Client) ModifyActionEventPolicy(request *ModifyActionEventPolicyRequest) (_result *ModifyActionEventPolicyResponse, _err error)

*

  • The event history feature enables you to view historical events that occurred in a region over a specific time range. These events include instance creation and parameter reconfiguration. For more information, see [Event history](~~129759~~). *
  • @param request ModifyActionEventPolicyRequest
  • @return ModifyActionEventPolicyResponse

func (*Client) ModifyActionEventPolicyWithOptions

func (client *Client) ModifyActionEventPolicyWithOptions(request *ModifyActionEventPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifyActionEventPolicyResponse, _err error)

*

  • The event history feature enables you to view historical events that occurred in a region over a specific time range. These events include instance creation and parameter reconfiguration. For more information, see [Event history](~~129759~~). *
  • @param request ModifyActionEventPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyActionEventPolicyResponse

func (*Client) ModifyActiveOperationTasks added in v3.0.4

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Scheduled events for ApsaraDB RDS for MySQL instances](~~104183~~)
  • * [Scheduled events for ApsaraDB RDS for PostgreSQL instances](~~104452~~)
  • * [Scheduled events for ApsaraDB RDS for SQL Server instances](~~104451~~)
  • * [Scheduled events for ApsaraDB RDS for MariaDB instances](~~104454~~) *
  • @param request ModifyActiveOperationTasksRequest
  • @return ModifyActiveOperationTasksResponse

func (*Client) ModifyActiveOperationTasksWithOptions added in v3.0.4

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Scheduled events for ApsaraDB RDS for MySQL instances](~~104183~~)
  • * [Scheduled events for ApsaraDB RDS for PostgreSQL instances](~~104452~~)
  • * [Scheduled events for ApsaraDB RDS for SQL Server instances](~~104451~~)
  • * [Scheduled events for ApsaraDB RDS for MariaDB instances](~~104454~~) *
  • @param request ModifyActiveOperationTasksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyActiveOperationTasksResponse

func (*Client) ModifyBackupPolicy

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure an automatic backup policy for an ApsaraDB RDS for MySQL instance](~~98818~~)
  • * [Configure an automatic backup policy for an ApsaraDB RDS for PostgreSQL instance](~~96772~~)
  • * [Configure an automatic backup policy for an ApsaraDB RDS for SQL Server instance](~~95717~~)
  • * [Configure an automatic backup policy for an ApsaraDB RDS for MariaDB instance](~~97147~~) *
  • @param request ModifyBackupPolicyRequest
  • @return ModifyBackupPolicyResponse

func (*Client) ModifyBackupPolicyWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure an automatic backup policy for an ApsaraDB RDS for MySQL instance](~~98818~~)
  • * [Configure an automatic backup policy for an ApsaraDB RDS for PostgreSQL instance](~~96772~~)
  • * [Configure an automatic backup policy for an ApsaraDB RDS for SQL Server instance](~~95717~~)
  • * [Configure an automatic backup policy for an ApsaraDB RDS for MariaDB instance](~~97147~~) *
  • @param request ModifyBackupPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyBackupPolicyResponse

func (*Client) ModifyCollationTimeZone

func (client *Client) ModifyCollationTimeZone(request *ModifyCollationTimeZoneRequest) (_result *ModifyCollationTimeZoneResponse, _err error)

*

  • > This operation is phased out. *
  • @param request ModifyCollationTimeZoneRequest
  • @return ModifyCollationTimeZoneResponse

func (*Client) ModifyCollationTimeZoneWithOptions

func (client *Client) ModifyCollationTimeZoneWithOptions(request *ModifyCollationTimeZoneRequest, runtime *util.RuntimeOptions) (_result *ModifyCollationTimeZoneResponse, _err error)

*

  • > This operation is phased out. *
  • @param request ModifyCollationTimeZoneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyCollationTimeZoneResponse

func (*Client) ModifyCustinsResource added in v3.3.0

func (client *Client) ModifyCustinsResource(request *ModifyCustinsResourceRequest) (_result *ModifyCustinsResourceResponse, _err error)

func (*Client) ModifyCustinsResourceWithOptions added in v3.3.0

func (client *Client) ModifyCustinsResourceWithOptions(request *ModifyCustinsResourceRequest, runtime *util.RuntimeOptions) (_result *ModifyCustinsResourceResponse, _err error)

func (*Client) ModifyDBDescription

func (client *Client) ModifyDBDescription(request *ModifyDBDescriptionRequest) (_result *ModifyDBDescriptionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request ModifyDBDescriptionRequest
  • @return ModifyDBDescriptionResponse

func (*Client) ModifyDBDescriptionWithOptions

func (client *Client) ModifyDBDescriptionWithOptions(request *ModifyDBDescriptionRequest, runtime *util.RuntimeOptions) (_result *ModifyDBDescriptionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB *
  • @param request ModifyDBDescriptionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBDescriptionResponse

func (*Client) ModifyDBInstanceAutoUpgradeMinorVersion

func (client *Client) ModifyDBInstanceAutoUpgradeMinorVersion(request *ModifyDBInstanceAutoUpgradeMinorVersionRequest) (_result *ModifyDBInstanceAutoUpgradeMinorVersionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Modify automatic update settings for an ApsaraDB RDS for MySQL instance](~~96059~~)
  • * [Modify automatic update settings for an ApsaraDB RDS for PostgreSQL instance](~~146895~~) *
  • @param request ModifyDBInstanceAutoUpgradeMinorVersionRequest
  • @return ModifyDBInstanceAutoUpgradeMinorVersionResponse

func (*Client) ModifyDBInstanceAutoUpgradeMinorVersionWithOptions

func (client *Client) ModifyDBInstanceAutoUpgradeMinorVersionWithOptions(request *ModifyDBInstanceAutoUpgradeMinorVersionRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceAutoUpgradeMinorVersionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Modify automatic update settings for an ApsaraDB RDS for MySQL instance](~~96059~~)
  • * [Modify automatic update settings for an ApsaraDB RDS for PostgreSQL instance](~~146895~~) *
  • @param request ModifyDBInstanceAutoUpgradeMinorVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceAutoUpgradeMinorVersionResponse

func (*Client) ModifyDBInstanceConfig added in v3.0.9

func (client *Client) ModifyDBInstanceConfig(request *ModifyDBInstanceConfigRequest) (_result *ModifyDBInstanceConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • > The configuration item that is supported is [PgBouncer](~~2398301~~) of ApsaraDB RDS for PostgreSQL instances. *
  • @param request ModifyDBInstanceConfigRequest
  • @return ModifyDBInstanceConfigResponse

func (*Client) ModifyDBInstanceConfigWithOptions added in v3.0.9

func (client *Client) ModifyDBInstanceConfigWithOptions(request *ModifyDBInstanceConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • > The configuration item that is supported is [PgBouncer](~~2398301~~) of ApsaraDB RDS for PostgreSQL instances. *
  • @param request ModifyDBInstanceConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceConfigResponse

func (*Client) ModifyDBInstanceConnectionMode

func (client *Client) ModifyDBInstanceConnectionMode(request *ModifyDBInstanceConnectionModeRequest) (_result *ModifyDBInstanceConnectionModeResponse, _err error)

*

  • > The API has been taken offline *
  • @param request ModifyDBInstanceConnectionModeRequest
  • @return ModifyDBInstanceConnectionModeResponse

func (*Client) ModifyDBInstanceConnectionModeWithOptions

func (client *Client) ModifyDBInstanceConnectionModeWithOptions(request *ModifyDBInstanceConnectionModeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceConnectionModeResponse, _err error)

*

  • > The API has been taken offline *
  • @param request ModifyDBInstanceConnectionModeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceConnectionModeResponse

func (*Client) ModifyDBInstanceConnectionString

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • * [Change the endpoint and port number of an ApsaraDB RDS for MySQL instance](~~96163~~)
  • * [Change the endpoint and port number of an ApsaraDB RDS for PostgreSQL instance](~~96788~~)
  • * [Change the endpoint and port number of an ApsaraDB RDS for SQL Server instance](~~95740~~)
  • * [Change the endpoint and port number of an ApsaraDB RDS for MariaDB instance](~~97157~~) *
  • @param request ModifyDBInstanceConnectionStringRequest
  • @return ModifyDBInstanceConnectionStringResponse

func (*Client) ModifyDBInstanceConnectionStringWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • * [Change the endpoint and port number of an ApsaraDB RDS for MySQL instance](~~96163~~)
  • * [Change the endpoint and port number of an ApsaraDB RDS for PostgreSQL instance](~~96788~~)
  • * [Change the endpoint and port number of an ApsaraDB RDS for SQL Server instance](~~95740~~)
  • * [Change the endpoint and port number of an ApsaraDB RDS for MariaDB instance](~~97157~~) *
  • @param request ModifyDBInstanceConnectionStringRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceConnectionStringResponse

func (*Client) ModifyDBInstanceDelayedReplicationTime

func (client *Client) ModifyDBInstanceDelayedReplicationTime(request *ModifyDBInstanceDelayedReplicationTimeRequest) (_result *ModifyDBInstanceDelayedReplicationTimeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure a data replication latency for a read-only ApsaraDB RDS for MySQL instance](~~96056~~) *
  • @param request ModifyDBInstanceDelayedReplicationTimeRequest
  • @return ModifyDBInstanceDelayedReplicationTimeResponse

func (*Client) ModifyDBInstanceDelayedReplicationTimeWithOptions

func (client *Client) ModifyDBInstanceDelayedReplicationTimeWithOptions(request *ModifyDBInstanceDelayedReplicationTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceDelayedReplicationTimeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure a data replication latency for a read-only ApsaraDB RDS for MySQL instance](~~96056~~) *
  • @param request ModifyDBInstanceDelayedReplicationTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceDelayedReplicationTimeResponse

func (*Client) ModifyDBInstanceDeletionProtection

func (client *Client) ModifyDBInstanceDeletionProtection(request *ModifyDBInstanceDeletionProtectionRequest) (_result *ModifyDBInstanceDeletionProtectionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Enable and disable instance release protection for an ApsaraDB RDS for MySQL instance](~~414512~~)
  • * [Enable and disable instance release protection for an ApsaraDB RDS for PostgreSQL instance](~~471512~~)
  • * [Enable and disable instance release protection for an ApsaraDB RDS for SQL Server instance](~~416209~~)
  • * [Enable and disable release protection for an ApsaraDB RDS for MariaDB instance](~~414512~~) *
  • @param request ModifyDBInstanceDeletionProtectionRequest
  • @return ModifyDBInstanceDeletionProtectionResponse

func (*Client) ModifyDBInstanceDeletionProtectionWithOptions

func (client *Client) ModifyDBInstanceDeletionProtectionWithOptions(request *ModifyDBInstanceDeletionProtectionRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceDeletionProtectionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Enable and disable instance release protection for an ApsaraDB RDS for MySQL instance](~~414512~~)
  • * [Enable and disable instance release protection for an ApsaraDB RDS for PostgreSQL instance](~~471512~~)
  • * [Enable and disable instance release protection for an ApsaraDB RDS for SQL Server instance](~~416209~~)
  • * [Enable and disable release protection for an ApsaraDB RDS for MariaDB instance](~~414512~~) *
  • @param request ModifyDBInstanceDeletionProtectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceDeletionProtectionResponse

func (*Client) ModifyDBInstanceDescription

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

func (*Client) ModifyDBInstanceDescriptionWithOptions

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

func (*Client) ModifyDBInstanceEndpoint added in v3.0.3

func (client *Client) ModifyDBInstanceEndpoint(request *ModifyDBInstanceEndpointRequest) (_result *ModifyDBInstanceEndpointResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL *
  • @param request ModifyDBInstanceEndpointRequest
  • @return ModifyDBInstanceEndpointResponse

func (*Client) ModifyDBInstanceEndpointAddress added in v3.0.3

func (client *Client) ModifyDBInstanceEndpointAddress(request *ModifyDBInstanceEndpointAddressRequest) (_result *ModifyDBInstanceEndpointAddressResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL
  • ### [](#)Precautions
  • * You can modify the following information about the endpoint of an instance: the public and internal endpoints, the public and internal ports, and the virtual private cloud (VPC), vSwitch, and IP address of the internal endpoint.
  • * The VPC and vSwitch must be modified at the same time. If you specify the VPC, vSwitch, and IP address of the internal endpoint, you do not need to specify the endpoint and port. If you specify the endpoint and port, you do not need to specify the VPC, vSwitch, and IP address of the internal endpoint. *
  • @param request ModifyDBInstanceEndpointAddressRequest
  • @return ModifyDBInstanceEndpointAddressResponse

func (*Client) ModifyDBInstanceEndpointAddressWithOptions added in v3.0.3

func (client *Client) ModifyDBInstanceEndpointAddressWithOptions(request *ModifyDBInstanceEndpointAddressRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceEndpointAddressResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL
  • ### [](#)Precautions
  • * You can modify the following information about the endpoint of an instance: the public and internal endpoints, the public and internal ports, and the virtual private cloud (VPC), vSwitch, and IP address of the internal endpoint.
  • * The VPC and vSwitch must be modified at the same time. If you specify the VPC, vSwitch, and IP address of the internal endpoint, you do not need to specify the endpoint and port. If you specify the endpoint and port, you do not need to specify the VPC, vSwitch, and IP address of the internal endpoint. *
  • @param request ModifyDBInstanceEndpointAddressRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceEndpointAddressResponse

func (*Client) ModifyDBInstanceEndpointWithOptions added in v3.0.3

func (client *Client) ModifyDBInstanceEndpointWithOptions(tmpReq *ModifyDBInstanceEndpointRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceEndpointResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL *
  • @param tmpReq ModifyDBInstanceEndpointRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceEndpointResponse

func (*Client) ModifyDBInstanceHAConfig

func (client *Client) ModifyDBInstanceHAConfig(request *ModifyDBInstanceHAConfigRequest) (_result *ModifyDBInstanceHAConfigResponse, _err error)

func (*Client) ModifyDBInstanceHAConfigWithOptions

func (client *Client) ModifyDBInstanceHAConfigWithOptions(request *ModifyDBInstanceHAConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceHAConfigResponse, _err error)

func (*Client) ModifyDBInstanceMaintainTime

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Set a maintenance window for an ApsaraDB RDS for MySQL instance](~~96052~~)
  • * [Set a maintenance window for an ApsaraDB RDS for PostgreSQL instance](~~96799~~)
  • * [Set a maintenance window for an ApsaraDB RDS for SQL Sever instance](~~95657~~)
  • * [Set a maintenance window for an ApsaraDB RDS for MariaDB instance](~~97473~~) *
  • @param request ModifyDBInstanceMaintainTimeRequest
  • @return ModifyDBInstanceMaintainTimeResponse

func (*Client) ModifyDBInstanceMaintainTimeWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Set a maintenance window for an ApsaraDB RDS for MySQL instance](~~96052~~)
  • * [Set a maintenance window for an ApsaraDB RDS for PostgreSQL instance](~~96799~~)
  • * [Set a maintenance window for an ApsaraDB RDS for SQL Sever instance](~~95657~~)
  • * [Set a maintenance window for an ApsaraDB RDS for MariaDB instance](~~97473~~) *
  • @param request ModifyDBInstanceMaintainTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceMaintainTimeResponse

func (*Client) ModifyDBInstanceMetrics

func (client *Client) ModifyDBInstanceMetrics(request *ModifyDBInstanceMetricsRequest) (_result *ModifyDBInstanceMetricsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [View the Enhanced Monitoring metrics](~~299200~~) *
  • @param request ModifyDBInstanceMetricsRequest
  • @return ModifyDBInstanceMetricsResponse

func (*Client) ModifyDBInstanceMetricsWithOptions

func (client *Client) ModifyDBInstanceMetricsWithOptions(request *ModifyDBInstanceMetricsRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceMetricsResponse, _err error)

*

  • ### [](#)Supported database engines
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [View the Enhanced Monitoring metrics](~~299200~~) *
  • @param request ModifyDBInstanceMetricsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceMetricsResponse

func (*Client) ModifyDBInstanceMonitor

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)Usage notes
  • If you use the Every 5 Seconds monitoring frequency, you are charged additional fees. Before you call this operation, make sure that you understand the [billing methods and pricing](~~45020~~) of ApsaraDB RDS.
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure the monitoring frequency for an ApsaraDB RDS for MySQL instance](~~96112~~)
  • * [Configure the monitoring frequency for an ApsaraDB RDS for SQL Server instance](~~95710~~) *
  • @param request ModifyDBInstanceMonitorRequest
  • @return ModifyDBInstanceMonitorResponse

func (*Client) ModifyDBInstanceMonitorWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)Usage notes
  • If you use the Every 5 Seconds monitoring frequency, you are charged additional fees. Before you call this operation, make sure that you understand the [billing methods and pricing](~~45020~~) of ApsaraDB RDS.
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure the monitoring frequency for an ApsaraDB RDS for MySQL instance](~~96112~~)
  • * [Configure the monitoring frequency for an ApsaraDB RDS for SQL Server instance](~~95710~~) *
  • @param request ModifyDBInstanceMonitorRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceMonitorResponse

func (*Client) ModifyDBInstanceNetworkExpireTime

func (client *Client) ModifyDBInstanceNetworkExpireTime(request *ModifyDBInstanceNetworkExpireTimeRequest) (_result *ModifyDBInstanceNetworkExpireTimeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)References
  • * [Configure the hybrid access solution for an ApsaraDB RDS for MySQL instance](~~96110~~)
  • * [Configure the hybrid access solution for an ApsaraDB RDS for SQL Server instance](~~95708~~) *
  • @param request ModifyDBInstanceNetworkExpireTimeRequest
  • @return ModifyDBInstanceNetworkExpireTimeResponse

func (*Client) ModifyDBInstanceNetworkExpireTimeWithOptions

func (client *Client) ModifyDBInstanceNetworkExpireTimeWithOptions(request *ModifyDBInstanceNetworkExpireTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceNetworkExpireTimeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)References
  • * [Configure the hybrid access solution for an ApsaraDB RDS for MySQL instance](~~96110~~)
  • * [Configure the hybrid access solution for an ApsaraDB RDS for SQL Server instance](~~95708~~) *
  • @param request ModifyDBInstanceNetworkExpireTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceNetworkExpireTimeResponse

func (*Client) ModifyDBInstanceNetworkType

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Change the network type of an ApsaraDB RDS for MySQL instance](~~96109~~)
  • * [Change the network type of an ApsaraDB RDS for PostgreSQL instance](~~96761~~)
  • * [Change the network type of an ApsaraDB RDS for SQL Server instance](~~95707~~) *
  • @param request ModifyDBInstanceNetworkTypeRequest
  • @return ModifyDBInstanceNetworkTypeResponse

func (*Client) ModifyDBInstanceNetworkTypeWithOptions

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

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Change the network type of an ApsaraDB RDS for MySQL instance](~~96109~~)
  • * [Change the network type of an ApsaraDB RDS for PostgreSQL instance](~~96761~~)
  • * [Change the network type of an ApsaraDB RDS for SQL Server instance](~~95707~~) *
  • @param request ModifyDBInstanceNetworkTypeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceNetworkTypeResponse

func (*Client) ModifyDBInstancePayType

func (client *Client) ModifyDBInstancePayType(request *ModifyDBInstancePayTypeRequest) (_result *ModifyDBInstancePayTypeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:
  • * [Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription](~~96048~~)
  • * [Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription](~~96743~~)
  • * [Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription](~~95631~~)
  • * [Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription](~~97120~~) *
  • @param request ModifyDBInstancePayTypeRequest
  • @return ModifyDBInstancePayTypeResponse

func (*Client) ModifyDBInstancePayTypeWithOptions

func (client *Client) ModifyDBInstancePayTypeWithOptions(request *ModifyDBInstancePayTypeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstancePayTypeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:
  • * [Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription](~~96048~~)
  • * [Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription](~~96743~~)
  • * [Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription](~~95631~~)
  • * [Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription](~~97120~~) *
  • @param request ModifyDBInstancePayTypeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstancePayTypeResponse

func (*Client) ModifyDBInstanceProxyConfiguration

func (client *Client) ModifyDBInstanceProxyConfiguration(request *ModifyDBInstanceProxyConfigurationRequest) (_result *ModifyDBInstanceProxyConfigurationResponse, _err error)

*

  • > This operation is phased out. *
  • @param request ModifyDBInstanceProxyConfigurationRequest
  • @return ModifyDBInstanceProxyConfigurationResponse

func (*Client) ModifyDBInstanceProxyConfigurationWithOptions

func (client *Client) ModifyDBInstanceProxyConfigurationWithOptions(request *ModifyDBInstanceProxyConfigurationRequest, runtime *util.RuntimeOptions) (_result *ModifyDBInstanceProxyConfigurationResponse, _err error)

*

  • > This operation is phased out. *
  • @param request ModifyDBInstanceProxyConfigurationRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceProxyConfigurationResponse

func (*Client) ModifyDBInstanceSSL

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the SSL encryption feature for an ApsaraDB RDS for MySQL instance](~~96120~~)
  • * [Use the SSL encryption feature for an ApsaraDB RDS for PostgreSQL instance](~~229517~~)
  • * [Use the SSL encryption feature for an ApsaraDB RDS for SQL Server instance](~~95715~~) *
  • @param request ModifyDBInstanceSSLRequest
  • @return ModifyDBInstanceSSLResponse

func (*Client) ModifyDBInstanceSSLWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the SSL encryption feature for an ApsaraDB RDS for MySQL instance](~~96120~~)
  • * [Use the SSL encryption feature for an ApsaraDB RDS for PostgreSQL instance](~~229517~~)
  • * [Use the SSL encryption feature for an ApsaraDB RDS for SQL Server instance](~~95715~~) *
  • @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)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:
  • * [Change the specifications of an ApsaraDB RDS for MySQL instance](~~96061~~)
  • * [Change the specifications of an ApsaraDB RDS for PostgreSQL instance](~~96750~~)
  • * [Change the specifications of an ApsaraDB RDS for SQL Server instance](~~95665~~)
  • * [Change the specifications of an ApsaraDB RDS for MariaDB instance](~~97129~~) *
  • @param request ModifyDBInstanceSpecRequest
  • @return ModifyDBInstanceSpecResponse

func (*Client) ModifyDBInstanceSpecWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Fees are generated if the call is successful. Before you call this operation, carefully read the following documentation:
  • * [Change the specifications of an ApsaraDB RDS for MySQL instance](~~96061~~)
  • * [Change the specifications of an ApsaraDB RDS for PostgreSQL instance](~~96750~~)
  • * [Change the specifications of an ApsaraDB RDS for SQL Server instance](~~95665~~)
  • * [Change the specifications of an ApsaraDB RDS for MariaDB instance](~~97129~~) *
  • @param tmpReq ModifyDBInstanceSpecRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceSpecResponse

func (*Client) ModifyDBInstanceTDE

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure TDE for an ApsaraDB RDS for MySQL instance](~~96121~~)
  • * [Configure TDE for an ApsaraDB RDS for PostgreSQL instance](~~465652~~)
  • * [Configure TDE for an ApsaraDB RDS for SQL Server instance](~~95716~~) *
  • @param request ModifyDBInstanceTDERequest
  • @return ModifyDBInstanceTDEResponse

func (*Client) ModifyDBInstanceTDEWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure TDE for an ApsaraDB RDS for MySQL instance](~~96121~~)
  • * [Configure TDE for an ApsaraDB RDS for PostgreSQL instance](~~465652~~)
  • * [Configure TDE for an ApsaraDB RDS for SQL Server instance](~~95716~~) *
  • @param request ModifyDBInstanceTDERequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBInstanceTDEResponse

func (*Client) ModifyDBNode added in v3.2.0

func (client *Client) ModifyDBNode(request *ModifyDBNodeRequest) (_result *ModifyDBNodeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)References
  • > Fees are generated if the call is successful. Before you call this operation, carefully read the following topics:
  • * [Change the specifications of an ApsaraDB RDS for MySQL instance](~~96061~~) *
  • @param request ModifyDBNodeRequest
  • @return ModifyDBNodeResponse

func (*Client) ModifyDBNodeWithOptions added in v3.2.0

func (client *Client) ModifyDBNodeWithOptions(tmpReq *ModifyDBNodeRequest, runtime *util.RuntimeOptions) (_result *ModifyDBNodeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • ### [](#)References
  • > Fees are generated if the call is successful. Before you call this operation, carefully read the following topics:
  • * [Change the specifications of an ApsaraDB RDS for MySQL instance](~~96061~~) *
  • @param tmpReq ModifyDBNodeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBNodeResponse

func (*Client) ModifyDBProxy

func (client *Client) ModifyDBProxy(request *ModifyDBProxyRequest) (_result *ModifyDBProxyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • > Starting October 17, 2023, ApsaraDB RDS provides a dedicated proxy free of charge for each ApsaraDB RDS for MySQL instance on RDS Cluster Edition. For more information, see [\\[Special offers/Price changes\\] One proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Enable and configure the dedicated proxy feature for an ApsaraDB RDS for MySQL instance](~~197456~~)
  • * [Enable and configure the dedicated proxy feature for an ApsaraDB RDS for PostgreSQL instance](~~418272~~) *
  • @param request ModifyDBProxyRequest
  • @return ModifyDBProxyResponse

func (*Client) ModifyDBProxyEndpoint

func (client *Client) ModifyDBProxyEndpoint(request *ModifyDBProxyEndpointRequest) (_result *ModifyDBProxyEndpointResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Enable and configure the dedicated proxy feature](~~197456~~)
  • * [Create a database proxy terminal for an ApsaraDB RDS for PostgreSQL instance](~~418273~~) *
  • @param request ModifyDBProxyEndpointRequest
  • @return ModifyDBProxyEndpointResponse

func (*Client) ModifyDBProxyEndpointAddress

func (client *Client) ModifyDBProxyEndpointAddress(request *ModifyDBProxyEndpointAddressRequest) (_result *ModifyDBProxyEndpointAddressResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance](~~184921~~)
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](~~418274~~) *
  • @param request ModifyDBProxyEndpointAddressRequest
  • @return ModifyDBProxyEndpointAddressResponse

func (*Client) ModifyDBProxyEndpointAddressWithOptions

func (client *Client) ModifyDBProxyEndpointAddressWithOptions(request *ModifyDBProxyEndpointAddressRequest, runtime *util.RuntimeOptions) (_result *ModifyDBProxyEndpointAddressResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for MySQL instance](~~184921~~)
  • * [Configure the dedicated proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](~~418274~~) *
  • @param request ModifyDBProxyEndpointAddressRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBProxyEndpointAddressResponse

func (*Client) ModifyDBProxyEndpointWithOptions

func (client *Client) ModifyDBProxyEndpointWithOptions(request *ModifyDBProxyEndpointRequest, runtime *util.RuntimeOptions) (_result *ModifyDBProxyEndpointResponse, _err error)

*

  • ### [](#)Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Enable and configure the dedicated proxy feature](~~197456~~)
  • * [Create a database proxy terminal for an ApsaraDB RDS for PostgreSQL instance](~~418273~~) *
  • @param request ModifyDBProxyEndpointRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBProxyEndpointResponse

func (*Client) ModifyDBProxyInstance

func (client *Client) ModifyDBProxyInstance(request *ModifyDBProxyInstanceRequest) (_result *ModifyDBProxyInstanceResponse, _err error)

*

  • Before you call the ModifyDBProxyInstance operation, make sure that the [ModifyDBProxy](~~141054~~) operation is called to enable the database proxy feature for the instance.
  • * The dedicated proxy feature of ApsaraDB RDS for MySQL provides capabilities such as read/write splitting and short-lived connection optimization. For more information, see [What are database proxies?](~~138705~~)
  • * The database proxy feature of ApsaraDB RDS for PostgreSQL supports read/write splitting. For more information, see [What are database proxies?](~~412194~~) *
  • @param request ModifyDBProxyInstanceRequest
  • @return ModifyDBProxyInstanceResponse

func (*Client) ModifyDBProxyInstanceWithOptions

func (client *Client) ModifyDBProxyInstanceWithOptions(request *ModifyDBProxyInstanceRequest, runtime *util.RuntimeOptions) (_result *ModifyDBProxyInstanceResponse, _err error)

*

  • Before you call the ModifyDBProxyInstance operation, make sure that the [ModifyDBProxy](~~141054~~) operation is called to enable the database proxy feature for the instance.
  • * The dedicated proxy feature of ApsaraDB RDS for MySQL provides capabilities such as read/write splitting and short-lived connection optimization. For more information, see [What are database proxies?](~~138705~~)
  • * The database proxy feature of ApsaraDB RDS for PostgreSQL supports read/write splitting. For more information, see [What are database proxies?](~~412194~~) *
  • @param request ModifyDBProxyInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBProxyInstanceResponse

func (*Client) ModifyDBProxyWithOptions

func (client *Client) ModifyDBProxyWithOptions(request *ModifyDBProxyRequest, runtime *util.RuntimeOptions) (_result *ModifyDBProxyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • > Starting October 17, 2023, ApsaraDB RDS provides a dedicated proxy free of charge for each ApsaraDB RDS for MySQL instance on RDS Cluster Edition. For more information, see [\\[Special offers/Price changes\\] One proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Enable and configure the dedicated proxy feature for an ApsaraDB RDS for MySQL instance](~~197456~~)
  • * [Enable and configure the dedicated proxy feature for an ApsaraDB RDS for PostgreSQL instance](~~418272~~) *
  • @param request ModifyDBProxyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDBProxyResponse

func (*Client) ModifyDTCSecurityIpHostsForSQLServer

func (client *Client) ModifyDTCSecurityIpHostsForSQLServer(request *ModifyDTCSecurityIpHostsForSQLServerRequest) (_result *ModifyDTCSecurityIpHostsForSQLServerResponse, _err error)

*

  • Distributed transaction whitelists allow for distributed transactions between an Elastic Compute Service (ECS) instance and an RDS instance. For more information, see [Configure a distributed transaction whitelist](~~124321~~).
  • This operation is applicable to instances that run one of the following SQL Server versions in the RDS High-Availability Edition: 2012 SE, 2012 EE, 2014 SE, 2016 SE, 2016 EE, and 2017 SE. *
  • @param request ModifyDTCSecurityIpHostsForSQLServerRequest
  • @return ModifyDTCSecurityIpHostsForSQLServerResponse

func (*Client) ModifyDTCSecurityIpHostsForSQLServerWithOptions

func (client *Client) ModifyDTCSecurityIpHostsForSQLServerWithOptions(request *ModifyDTCSecurityIpHostsForSQLServerRequest, runtime *util.RuntimeOptions) (_result *ModifyDTCSecurityIpHostsForSQLServerResponse, _err error)

*

  • Distributed transaction whitelists allow for distributed transactions between an Elastic Compute Service (ECS) instance and an RDS instance. For more information, see [Configure a distributed transaction whitelist](~~124321~~).
  • This operation is applicable to instances that run one of the following SQL Server versions in the RDS High-Availability Edition: 2012 SE, 2012 EE, 2014 SE, 2016 SE, 2016 EE, and 2017 SE. *
  • @param request ModifyDTCSecurityIpHostsForSQLServerRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDTCSecurityIpHostsForSQLServerResponse

func (*Client) ModifyDasInstanceConfig

func (client *Client) ModifyDasInstanceConfig(request *ModifyDasInstanceConfigRequest) (_result *ModifyDasInstanceConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure automatic storage expansion for ApsaraDB RDS for MySQL](~~173826~~)
  • * [Configure automatic storage expansion for ApsaraDB RDS for PostgreSQL](~~432496~~) *
  • @param request ModifyDasInstanceConfigRequest
  • @return ModifyDasInstanceConfigResponse

func (*Client) ModifyDasInstanceConfigWithOptions

func (client *Client) ModifyDasInstanceConfigWithOptions(request *ModifyDasInstanceConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyDasInstanceConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure automatic storage expansion for ApsaraDB RDS for MySQL](~~173826~~)
  • * [Configure automatic storage expansion for ApsaraDB RDS for PostgreSQL](~~432496~~) *
  • @param request ModifyDasInstanceConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDasInstanceConfigResponse

func (*Client) ModifyDatabaseConfig added in v3.1.0

func (client *Client) ModifyDatabaseConfig(request *ModifyDatabaseConfigRequest) (_result *ModifyDatabaseConfigResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server *
  • @param request ModifyDatabaseConfigRequest
  • @return ModifyDatabaseConfigResponse

func (*Client) ModifyDatabaseConfigWithOptions added in v3.1.0

func (client *Client) ModifyDatabaseConfigWithOptions(request *ModifyDatabaseConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyDatabaseConfigResponse, _err error)

*

  • ### [](#)Supported database engine
  • * SQL Server *
  • @param request ModifyDatabaseConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDatabaseConfigResponse

func (*Client) ModifyDbProxyInstanceSsl

func (client *Client) ModifyDbProxyInstanceSsl(request *ModifyDbProxyInstanceSslRequest) (_result *ModifyDbProxyInstanceSslResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL
  • ### [](#)References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • [Configure SSL encryption for a proxy endpoint](~~188164~~) *
  • @param request ModifyDbProxyInstanceSslRequest
  • @return ModifyDbProxyInstanceSslResponse

func (*Client) ModifyDbProxyInstanceSslWithOptions

func (client *Client) ModifyDbProxyInstanceSslWithOptions(request *ModifyDbProxyInstanceSslRequest, runtime *util.RuntimeOptions) (_result *ModifyDbProxyInstanceSslResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS MySQL
  • ### [](#)References
  • > : Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • [Configure SSL encryption for a proxy endpoint](~~188164~~) *
  • @param request ModifyDbProxyInstanceSslRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDbProxyInstanceSslResponse

func (*Client) ModifyEventInfo added in v3.4.0

func (client *Client) ModifyEventInfo(request *ModifyEventInfoRequest) (_result *ModifyEventInfoResponse, _err error)

func (*Client) ModifyEventInfoWithOptions added in v3.4.0

func (client *Client) ModifyEventInfoWithOptions(request *ModifyEventInfoRequest, runtime *util.RuntimeOptions) (_result *ModifyEventInfoResponse, _err error)

func (*Client) ModifyHADiagnoseConfig

func (client *Client) ModifyHADiagnoseConfig(request *ModifyHADiagnoseConfigRequest) (_result *ModifyHADiagnoseConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [What is availability check?](~~207467~~) *
  • @param request ModifyHADiagnoseConfigRequest
  • @return ModifyHADiagnoseConfigResponse

func (*Client) ModifyHADiagnoseConfigWithOptions

func (client *Client) ModifyHADiagnoseConfigWithOptions(request *ModifyHADiagnoseConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyHADiagnoseConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [What is availability check?](~~207467~~) *
  • @param request ModifyHADiagnoseConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyHADiagnoseConfigResponse

func (*Client) ModifyHASwitchConfig

func (client *Client) ModifyHASwitchConfig(request *ModifyHASwitchConfigRequest) (_result *ModifyHASwitchConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MySQL instance](~~96054~~)
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for PostgreSQL instance](~~96747~~)
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for SQL Server instance](~~95659~~)
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MariaDB instance](~~97127~~) *
  • @param request ModifyHASwitchConfigRequest
  • @return ModifyHASwitchConfigResponse

func (*Client) ModifyHASwitchConfigWithOptions

func (client *Client) ModifyHASwitchConfigWithOptions(request *ModifyHASwitchConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyHASwitchConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MySQL instance](~~96054~~)
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for PostgreSQL instance](~~96747~~)
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for SQL Server instance](~~95659~~)
  • * [Use the automatic primary/secondary switchover feature for an ApsaraDB RDS for MariaDB instance](~~97127~~) *
  • @param request ModifyHASwitchConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyHASwitchConfigResponse

func (*Client) ModifyInstanceAutoRenewalAttribute

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

*

  • If you enable auto-renewal for your instance, you do not need to manually renew your subscription or be concerned about business interruptions caused by subscription expiration. For more information, see [Configure auto-renewal](~~96049~~). *
  • @param request ModifyInstanceAutoRenewalAttributeRequest
  • @return ModifyInstanceAutoRenewalAttributeResponse

func (*Client) ModifyInstanceAutoRenewalAttributeWithOptions

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

*

  • If you enable auto-renewal for your instance, you do not need to manually renew your subscription or be concerned about business interruptions caused by subscription expiration. For more information, see [Configure auto-renewal](~~96049~~). *
  • @param request ModifyInstanceAutoRenewalAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceAutoRenewalAttributeResponse

func (*Client) ModifyInstanceCrossBackupPolicy

func (client *Client) ModifyInstanceCrossBackupPolicy(request *ModifyInstanceCrossBackupPolicyRequest) (_result *ModifyInstanceCrossBackupPolicyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request ModifyInstanceCrossBackupPolicyRequest
  • @return ModifyInstanceCrossBackupPolicyResponse

func (*Client) ModifyInstanceCrossBackupPolicyWithOptions

func (client *Client) ModifyInstanceCrossBackupPolicyWithOptions(request *ModifyInstanceCrossBackupPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifyInstanceCrossBackupPolicyResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the cross-region backup feature of an ApsaraDB RDS for MySQL instance](~~120824~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for PostgreSQL instance](~~206671~~)
  • * [Use the cross-region backup feature for an ApsaraDB RDS for SQL Server instance](~~187923~~) *
  • @param request ModifyInstanceCrossBackupPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyInstanceCrossBackupPolicyResponse

func (*Client) ModifyPGHbaConfig

func (client *Client) ModifyPGHbaConfig(request *ModifyPGHbaConfigRequest) (_result *ModifyPGHbaConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Connect an ApsaraDB RDS for PostgreSQL instance to a self-managed AD domain](~~349288~~)
  • * [The pg_hba.conf File](https://www.postgresql.org/docs/11/auth-pg-hba-conf.html) *
  • @param request ModifyPGHbaConfigRequest
  • @return ModifyPGHbaConfigResponse

func (*Client) ModifyPGHbaConfigWithOptions

func (client *Client) ModifyPGHbaConfigWithOptions(request *ModifyPGHbaConfigRequest, runtime *util.RuntimeOptions) (_result *ModifyPGHbaConfigResponse, _err error)

*

  • ### [](#)Supported database engines
  • RDS PostgreSQL
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Connect an ApsaraDB RDS for PostgreSQL instance to a self-managed AD domain](~~349288~~)
  • * [The pg_hba.conf File](https://www.postgresql.org/docs/11/auth-pg-hba-conf.html) *
  • @param request ModifyPGHbaConfigRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyPGHbaConfigResponse

func (*Client) ModifyParameter

func (client *Client) ModifyParameter(request *ModifyParameterRequest) (_result *ModifyParameterResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Modify the parameters of an ApsaraDB RDS for MySQL instance](~~96063~~)
  • * [Modify the parameters of an ApsaraDB RDS for PostgreSQL instance](~~96751~~)
  • * [Modify the parameters of an ApsaraDB RDS for SQL Server instance](~~95667~~)
  • * [Modify the parameters of an ApsaraDB RDS for MariaDB instance](~~97130~~) *
  • @param request ModifyParameterRequest
  • @return ModifyParameterResponse

func (*Client) ModifyParameterGroup

func (client *Client) ModifyParameterGroup(request *ModifyParameterGroupRequest) (_result *ModifyParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request ModifyParameterGroupRequest
  • @return ModifyParameterGroupResponse

func (*Client) ModifyParameterGroupWithOptions

func (client *Client) ModifyParameterGroupWithOptions(request *ModifyParameterGroupRequest, runtime *util.RuntimeOptions) (_result *ModifyParameterGroupResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for MySQL instances](~~130565~~)
  • * [Use a parameter template to configure the parameters of ApsaraDB RDS for PostgreSQL instances](~~457176~~) *
  • @param request ModifyParameterGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyParameterGroupResponse

func (*Client) ModifyParameterWithOptions

func (client *Client) ModifyParameterWithOptions(request *ModifyParameterRequest, runtime *util.RuntimeOptions) (_result *ModifyParameterResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Modify the parameters of an ApsaraDB RDS for MySQL instance](~~96063~~)
  • * [Modify the parameters of an ApsaraDB RDS for PostgreSQL instance](~~96751~~)
  • * [Modify the parameters of an ApsaraDB RDS for SQL Server instance](~~95667~~)
  • * [Modify the parameters of an ApsaraDB RDS for MariaDB instance](~~97130~~) *
  • @param request ModifyParameterRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyParameterResponse

func (*Client) ModifyReadWriteSplittingConnection

func (client *Client) ModifyReadWriteSplittingConnection(request *ModifyReadWriteSplittingConnectionRequest) (_result *ModifyReadWriteSplittingConnectionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)Prerequisites
  • Before you call this operation, make sure that the following requirements are met:
  • * The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.
  • * The read/write splitting feature is enabled for your ApsaraDB RDS for MySQL instance.
  • * The instance must run one of the following database engine versions and RDS editions:
  • * MySQL 5.7 on RDS High-availability Edition with local disks
  • * MySQL 5.6
  • * SQL Server on RDS Cluster Edition *
  • @param request ModifyReadWriteSplittingConnectionRequest
  • @return ModifyReadWriteSplittingConnectionResponse

func (*Client) ModifyReadWriteSplittingConnectionWithOptions

func (client *Client) ModifyReadWriteSplittingConnectionWithOptions(request *ModifyReadWriteSplittingConnectionRequest, runtime *util.RuntimeOptions) (_result *ModifyReadWriteSplittingConnectionResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • ### [](#)Prerequisites
  • Before you call this operation, make sure that the following requirements are met:
  • * The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.
  • * The read/write splitting feature is enabled for your ApsaraDB RDS for MySQL instance.
  • * The instance must run one of the following database engine versions and RDS editions:
  • * MySQL 5.7 on RDS High-availability Edition with local disks
  • * MySQL 5.6
  • * SQL Server on RDS Cluster Edition *
  • @param request ModifyReadWriteSplittingConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyReadWriteSplittingConnectionResponse

func (*Client) ModifyReadonlyInstanceDelayReplicationTime

func (client *Client) ModifyReadonlyInstanceDelayReplicationTime(request *ModifyReadonlyInstanceDelayReplicationTimeRequest) (_result *ModifyReadonlyInstanceDelayReplicationTimeResponse, _err error)

*

  • ### Supported database engines
  • RDS MySQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Set the data replication latency of a read-only ApsaraDB RDS for MySQL instance](~~96056~~) *
  • @param request ModifyReadonlyInstanceDelayReplicationTimeRequest
  • @return ModifyReadonlyInstanceDelayReplicationTimeResponse

func (*Client) ModifyReadonlyInstanceDelayReplicationTimeWithOptions

func (client *Client) ModifyReadonlyInstanceDelayReplicationTimeWithOptions(request *ModifyReadonlyInstanceDelayReplicationTimeRequest, runtime *util.RuntimeOptions) (_result *ModifyReadonlyInstanceDelayReplicationTimeResponse, _err error)

*

  • ### Supported database engines
  • RDS MySQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Set the data replication latency of a read-only ApsaraDB RDS for MySQL instance](~~96056~~) *
  • @param request ModifyReadonlyInstanceDelayReplicationTimeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyReadonlyInstanceDelayReplicationTimeResponse

func (*Client) ModifyResourceGroup

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Transfer resources across resource groups](~~94487~~) *
  • @param request ModifyResourceGroupRequest
  • @return ModifyResourceGroupResponse

func (*Client) ModifyResourceGroupWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Transfer resources across resource groups](~~94487~~) *
  • @param request ModifyResourceGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyResourceGroupResponse

func (*Client) ModifySQLCollectorPolicy

func (client *Client) ModifySQLCollectorPolicy(request *ModifySQLCollectorPolicyRequest) (_result *ModifySQLCollectorPolicyResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the SQL Explorer and Audit feature for an ApsaraDB RDS for MySQL instance](~~476574~~)
  • * [Use the SQL Audit feature for an ApsaraDB RDS for PostgreSQL instance](~~96766~~)
  • * [Use the SQL Audit feature for an ApsaraDB RDS for SQL Server instance](~~95712~~) *
  • @param request ModifySQLCollectorPolicyRequest
  • @return ModifySQLCollectorPolicyResponse

func (*Client) ModifySQLCollectorPolicyWithOptions

func (client *Client) ModifySQLCollectorPolicyWithOptions(request *ModifySQLCollectorPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifySQLCollectorPolicyResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Use the SQL Explorer and Audit feature for an ApsaraDB RDS for MySQL instance](~~476574~~)
  • * [Use the SQL Audit feature for an ApsaraDB RDS for PostgreSQL instance](~~96766~~)
  • * [Use the SQL Audit feature for an ApsaraDB RDS for SQL Server instance](~~95712~~) *
  • @param request ModifySQLCollectorPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifySQLCollectorPolicyResponse

func (*Client) ModifySQLCollectorRetention

func (client *Client) ModifySQLCollectorRetention(request *ModifySQLCollectorRetentionRequest) (_result *ModifySQLCollectorRetentionResponse, _err error)

*

  • ### Supported database engines
  • RDS MySQL
  • ### Precautions
  • After you shorten the log backup retention period, log backup files that are stored longer than the specified log backup retention period are immediately deleted.
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the SQL Explorer and Audit feature](~~476574~~) *
  • @param request ModifySQLCollectorRetentionRequest
  • @return ModifySQLCollectorRetentionResponse

func (*Client) ModifySQLCollectorRetentionWithOptions

func (client *Client) ModifySQLCollectorRetentionWithOptions(request *ModifySQLCollectorRetentionRequest, runtime *util.RuntimeOptions) (_result *ModifySQLCollectorRetentionResponse, _err error)

*

  • ### Supported database engines
  • RDS MySQL
  • ### Precautions
  • After you shorten the log backup retention period, log backup files that are stored longer than the specified log backup retention period are immediately deleted.
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Use the SQL Explorer and Audit feature](~~476574~~) *
  • @param request ModifySQLCollectorRetentionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifySQLCollectorRetentionResponse

func (*Client) ModifySecurityGroupConfiguration

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure a security group for an ApsaraDB RDS for MySQL instance](~~201042~~)
  • * [Configure a security group for an ApsaraDB RDS for PostgreSQL instance](~~206310~~)
  • * [Configure a security group for an ApsaraDB RDS for SQL Server instance](~~2392322~~) *
  • @param request ModifySecurityGroupConfigurationRequest
  • @return ModifySecurityGroupConfigurationResponse

func (*Client) ModifySecurityGroupConfigurationWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Configure a security group for an ApsaraDB RDS for MySQL instance](~~201042~~)
  • * [Configure a security group for an ApsaraDB RDS for PostgreSQL instance](~~206310~~)
  • * [Configure a security group for an ApsaraDB RDS for SQL Server instance](~~2392322~~) *
  • @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)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure an IP address whitelist for an ApsaraDB RDS for MySQL instance](~~96118~~)
  • * [Configure an IP address whitelist for an ApsaraDB RDS for PostgreSQL instance](~~43187~~)
  • * [Configure an IP address whitelist for an ApsaraDB RDS for SQL Server instance](~~43186~~)
  • * [Configure an IP address whitelist for an ApsaraDB RDS for MariaDB instance](~~90336~~) *
  • @param request ModifySecurityIpsRequest
  • @return ModifySecurityIpsResponse

func (*Client) ModifySecurityIpsWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Configure an IP address whitelist for an ApsaraDB RDS for MySQL instance](~~96118~~)
  • * [Configure an IP address whitelist for an ApsaraDB RDS for PostgreSQL instance](~~43187~~)
  • * [Configure an IP address whitelist for an ApsaraDB RDS for SQL Server instance](~~43186~~)
  • * [Configure an IP address whitelist for an ApsaraDB RDS for MariaDB instance](~~90336~~) *
  • @param request ModifySecurityIpsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifySecurityIpsResponse

func (*Client) ModifyTaskInfo added in v3.4.0

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

func (*Client) ModifyTaskInfoWithOptions added in v3.4.0

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

func (*Client) ModifyWhitelistTemplate added in v3.0.29

func (client *Client) ModifyWhitelistTemplate(request *ModifyWhitelistTemplateRequest) (_result *ModifyWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request ModifyWhitelistTemplateRequest
  • @return ModifyWhitelistTemplateResponse

func (*Client) ModifyWhitelistTemplateWithOptions added in v3.0.29

func (client *Client) ModifyWhitelistTemplateWithOptions(request *ModifyWhitelistTemplateRequest, runtime *util.RuntimeOptions) (_result *ModifyWhitelistTemplateResponse, _err error)

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server *
  • @param request ModifyWhitelistTemplateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyWhitelistTemplateResponse

func (*Client) PreCheckCreateOrderForCreateDBNodes added in v3.3.0

func (client *Client) PreCheckCreateOrderForCreateDBNodes(request *PreCheckCreateOrderForCreateDBNodesRequest) (_result *PreCheckCreateOrderForCreateDBNodesResponse, _err error)

func (*Client) PreCheckCreateOrderForCreateDBNodesWithOptions added in v3.3.0

func (client *Client) PreCheckCreateOrderForCreateDBNodesWithOptions(tmpReq *PreCheckCreateOrderForCreateDBNodesRequest, runtime *util.RuntimeOptions) (_result *PreCheckCreateOrderForCreateDBNodesResponse, _err error)

func (*Client) PreCheckCreateOrderForDeleteDBNodes added in v3.3.0

func (client *Client) PreCheckCreateOrderForDeleteDBNodes(request *PreCheckCreateOrderForDeleteDBNodesRequest) (_result *PreCheckCreateOrderForDeleteDBNodesResponse, _err error)

func (*Client) PreCheckCreateOrderForDeleteDBNodesWithOptions added in v3.3.0

func (client *Client) PreCheckCreateOrderForDeleteDBNodesWithOptions(tmpReq *PreCheckCreateOrderForDeleteDBNodesRequest, runtime *util.RuntimeOptions) (_result *PreCheckCreateOrderForDeleteDBNodesResponse, _err error)

func (*Client) PurgeDBInstanceLog

func (client *Client) PurgeDBInstanceLog(request *PurgeDBInstanceLogRequest) (_result *PurgeDBInstanceLogResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • ### Description
  • The system automatically uploads log backup files to Object Storage Service (OSS) buckets. If the remaining storage of an instance is insufficient, you can call this operation to upload the log backup files of the instance to OSS buckets. After the upload is complete, the system deletes these files from the instance to release storage. This operation is called to upload log backup files from an instance to OSS buckets and then delete these files from the instance. If the instance runs SQL Server, transaction log backup files are compressed before they are uploaded.
  • ### Precautions
  • * When you upload log backup files, the data restoration feature is not affected.
  • * This operation is called to release storage. The backup storage usage is not reduced.
  • * The OSS buckets to which log backup files are uploaded are provided by the system. You do not need to purchase these OSS buckets. In addition, you cannot access these OSS buckets. *
  • @param request PurgeDBInstanceLogRequest
  • @return PurgeDBInstanceLogResponse

func (*Client) PurgeDBInstanceLogWithOptions

func (client *Client) PurgeDBInstanceLogWithOptions(request *PurgeDBInstanceLogRequest, runtime *util.RuntimeOptions) (_result *PurgeDBInstanceLogResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • ### Description
  • The system automatically uploads log backup files to Object Storage Service (OSS) buckets. If the remaining storage of an instance is insufficient, you can call this operation to upload the log backup files of the instance to OSS buckets. After the upload is complete, the system deletes these files from the instance to release storage. This operation is called to upload log backup files from an instance to OSS buckets and then delete these files from the instance. If the instance runs SQL Server, transaction log backup files are compressed before they are uploaded.
  • ### Precautions
  • * When you upload log backup files, the data restoration feature is not affected.
  • * This operation is called to release storage. The backup storage usage is not reduced.
  • * The OSS buckets to which log backup files are uploaded are provided by the system. You do not need to purchase these OSS buckets. In addition, you cannot access these OSS buckets. *
  • @param request PurgeDBInstanceLogRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return PurgeDBInstanceLogResponse

func (*Client) QueryNotify

func (client *Client) QueryNotify(request *QueryNotifyRequest) (_result *QueryNotifyResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### Feature description
  • The notifications are highlighted at the top of the ApsaraDB RDS console. The notifications include renewal reminders and reminders of instance creation failures.
  • After you call this operation to query notifications, you can call the [ConfirmNotify](~~610444~~) operation to mark the notifications as confirmed, which means that you understand the content of the notifications. *
  • @param request QueryNotifyRequest
  • @return QueryNotifyResponse

func (*Client) QueryNotifyWithOptions

func (client *Client) QueryNotifyWithOptions(request *QueryNotifyRequest, runtime *util.RuntimeOptions) (_result *QueryNotifyResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### Feature description
  • The notifications are highlighted at the top of the ApsaraDB RDS console. The notifications include renewal reminders and reminders of instance creation failures.
  • After you call this operation to query notifications, you can call the [ConfirmNotify](~~610444~~) operation to mark the notifications as confirmed, which means that you understand the content of the notifications. *
  • @param request QueryNotifyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return QueryNotifyResponse

func (*Client) QueryRecommendByCode added in v3.3.0

func (client *Client) QueryRecommendByCode(request *QueryRecommendByCodeRequest) (_result *QueryRecommendByCodeResponse, _err error)

func (*Client) QueryRecommendByCodeWithOptions added in v3.3.0

func (client *Client) QueryRecommendByCodeWithOptions(request *QueryRecommendByCodeRequest, runtime *util.RuntimeOptions) (_result *QueryRecommendByCodeResponse, _err error)

func (*Client) RebuildDBInstance

func (client *Client) RebuildDBInstance(request *RebuildDBInstanceRequest) (_result *RebuildDBInstanceResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request RebuildDBInstanceRequest
  • @return RebuildDBInstanceResponse

func (*Client) RebuildDBInstanceWithOptions

func (client *Client) RebuildDBInstanceWithOptions(request *RebuildDBInstanceRequest, runtime *util.RuntimeOptions) (_result *RebuildDBInstanceResponse, _err error)

*

  • Dedicated clusters allow you to manage a number of instances at a time. You can create multiple dedicated clusters in a single region. Each dedicated cluster consists of multiple hosts. You can create multiple instances on each host. For more information, see [What is ApsaraDB MyBase?](~~141455~~) *
  • @param request RebuildDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RebuildDBInstanceResponse

func (*Client) ReceiveDBInstance

func (client *Client) ReceiveDBInstance(request *ReceiveDBInstanceRequest) (_result *ReceiveDBInstanceResponse, _err error)

*

  • The operation is phased out. *
  • @param request ReceiveDBInstanceRequest
  • @return ReceiveDBInstanceResponse

func (*Client) ReceiveDBInstanceWithOptions

func (client *Client) ReceiveDBInstanceWithOptions(request *ReceiveDBInstanceRequest, runtime *util.RuntimeOptions) (_result *ReceiveDBInstanceResponse, _err error)

*

  • The operation is phased out. *
  • @param request ReceiveDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReceiveDBInstanceResponse

func (*Client) RecoveryDBInstance

func (client *Client) RecoveryDBInstance(request *RecoveryDBInstanceRequest) (_result *RecoveryDBInstanceResponse, _err error)

*

  • You can call this operation to restore databases to a new instance or an existing instance. If you want to restore databases to an existing instance, we recommend that you call the [Copy databases](~~88810~~) operation.
  • If you want to restore databases to a new instance, you must create an instance and then restore specific or all databases to the new instance.
  • * If you specify the name of a database, only the specified database is restored to the new instance.
  • * If you do not specify the name of a database, all databases are restored to the new instance.
  • > This operation is supported only for instances that run SQL Server 2012 or later. *
  • @param request RecoveryDBInstanceRequest
  • @return RecoveryDBInstanceResponse

func (*Client) RecoveryDBInstanceWithOptions

func (client *Client) RecoveryDBInstanceWithOptions(request *RecoveryDBInstanceRequest, runtime *util.RuntimeOptions) (_result *RecoveryDBInstanceResponse, _err error)

*

  • You can call this operation to restore databases to a new instance or an existing instance. If you want to restore databases to an existing instance, we recommend that you call the [Copy databases](~~88810~~) operation.
  • If you want to restore databases to a new instance, you must create an instance and then restore specific or all databases to the new instance.
  • * If you specify the name of a database, only the specified database is restored to the new instance.
  • * If you do not specify the name of a database, all databases are restored to the new instance.
  • > This operation is supported only for instances that run SQL Server 2012 or later. *
  • @param request RecoveryDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RecoveryDBInstanceResponse

func (*Client) ReleaseInstanceConnection

func (client *Client) ReleaseInstanceConnection(request *ReleaseInstanceConnectionRequest) (_result *ReleaseInstanceConnectionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • * [Release the public endpoint of an ApsaraDB RDS for MySQL instance](~~26128~~)
  • * [Release the public endpoint of an ApsaraDB RDS for PostgreSQL instance](~~97738~~)
  • * [Release the public endpoint of an ApsaraDB RDS for SQL Server instance](~~97736~~)
  • * [Release the public endpoint of an ApsaraDB RDS for MariaDB instance](~~97740~~) *
  • @param request ReleaseInstanceConnectionRequest
  • @return ReleaseInstanceConnectionResponse

func (*Client) ReleaseInstanceConnectionWithOptions

func (client *Client) ReleaseInstanceConnectionWithOptions(request *ReleaseInstanceConnectionRequest, runtime *util.RuntimeOptions) (_result *ReleaseInstanceConnectionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • * [Release the public endpoint of an ApsaraDB RDS for MySQL instance](~~26128~~)
  • * [Release the public endpoint of an ApsaraDB RDS for PostgreSQL instance](~~97738~~)
  • * [Release the public endpoint of an ApsaraDB RDS for SQL Server instance](~~97736~~)
  • * [Release the public endpoint of an ApsaraDB RDS for MariaDB instance](~~97740~~) *
  • @param request ReleaseInstanceConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReleaseInstanceConnectionResponse

func (*Client) ReleaseInstancePublicConnection

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

*

  • To ensure data security, you can release the public endpoint when you do not need to access the database from the Internet. *
  • @param request ReleaseInstancePublicConnectionRequest
  • @return ReleaseInstancePublicConnectionResponse

func (*Client) ReleaseInstancePublicConnectionWithOptions

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

*

  • To ensure data security, you can release the public endpoint when you do not need to access the database from the Internet. *
  • @param request ReleaseInstancePublicConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReleaseInstancePublicConnectionResponse

func (*Client) ReleaseReadWriteSplittingConnection

func (client *Client) ReleaseReadWriteSplittingConnection(request *ReleaseReadWriteSplittingConnectionRequest) (_result *ReleaseReadWriteSplittingConnectionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • ### Prerequisites
  • Before you call this operation, make sure that the following requirements are met:
  • * The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.
  • * The read/write splitting feature is enabled for the instance.
  • * The instance must run one of the following database engine versions and RDS editions:
  • * MySQL 5.7 on RDS High-availability Edition (with local disks)
  • * MySQL 5.6
  • * SQL Server on RDS Cluster Edition *
  • @param request ReleaseReadWriteSplittingConnectionRequest
  • @return ReleaseReadWriteSplittingConnectionResponse

func (*Client) ReleaseReadWriteSplittingConnectionWithOptions

func (client *Client) ReleaseReadWriteSplittingConnectionWithOptions(request *ReleaseReadWriteSplittingConnectionRequest, runtime *util.RuntimeOptions) (_result *ReleaseReadWriteSplittingConnectionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • ### Prerequisites
  • Before you call this operation, make sure that the following requirements are met:
  • * The shared proxy feature is enabled for your ApsaraDB RDS for MySQL instance.
  • * The read/write splitting feature is enabled for the instance.
  • * The instance must run one of the following database engine versions and RDS editions:
  • * MySQL 5.7 on RDS High-availability Edition (with local disks)
  • * MySQL 5.6
  • * SQL Server on RDS Cluster Edition *
  • @param request ReleaseReadWriteSplittingConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReleaseReadWriteSplittingConnectionResponse

func (*Client) RemoveTagsFromResource

func (client *Client) RemoveTagsFromResource(request *RemoveTagsFromResourceRequest) (_result *RemoveTagsFromResourceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • * A maximum of 10 tags can be removed in a single request.
  • * If a tag is removed from all instances to which the tag is added, the tag is automatically deleted.
  • * If you specify only TagKey, all tags that match the TagKey condition are removed.
  • * You must specify at least TagKey or a pair of TagKey and TagValue. *
  • @param request RemoveTagsFromResourceRequest
  • @return RemoveTagsFromResourceResponse

func (*Client) RemoveTagsFromResourceWithOptions

func (client *Client) RemoveTagsFromResourceWithOptions(request *RemoveTagsFromResourceRequest, runtime *util.RuntimeOptions) (_result *RemoveTagsFromResourceResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • * A maximum of 10 tags can be removed in a single request.
  • * If a tag is removed from all instances to which the tag is added, the tag is automatically deleted.
  • * If you specify only TagKey, all tags that match the TagKey condition are removed.
  • * You must specify at least TagKey or a pair of TagKey and TagValue. *
  • @param request RemoveTagsFromResourceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveTagsFromResourceResponse

func (*Client) RenewInstance

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:
  • * [Manually renew an ApsaraDB RDS for MySQL instance](~~96050~~)
  • * [Manually renew an ApsaraDB RDS for PostgreSQL instance](~~96741~~)
  • * [Manually renew an ApsaraDB RDS for SQL Server instance](~~95637~~)
  • * [Manually renew an ApsaraDB RDS for MariaDB instance](~~97122~~) *
  • @param request RenewInstanceRequest
  • @return RenewInstanceResponse

func (*Client) RenewInstanceWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > Fees of an instance are changed if the call is successful. Before you call this operation, carefully read the following topics:
  • * [Manually renew an ApsaraDB RDS for MySQL instance](~~96050~~)
  • * [Manually renew an ApsaraDB RDS for PostgreSQL instance](~~96741~~)
  • * [Manually renew an ApsaraDB RDS for SQL Server instance](~~95637~~)
  • * [Manually renew an ApsaraDB RDS for MariaDB instance](~~97122~~) *
  • @param request RenewInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RenewInstanceResponse

func (*Client) ResetAccount

func (client *Client) ResetAccount(request *ResetAccountRequest) (_result *ResetAccountResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Reset of the permissions of privileged accounts](~~140724~~) *
  • @param request ResetAccountRequest
  • @return ResetAccountResponse

func (*Client) ResetAccountPassword

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Reset the password of an ApsaraDB RDS for MySQL instance](~~96100~~)
  • * [Reset the password of an ApsaraDB RDS for PostgreSQL instance](~~96814~~)
  • * [Reset the password of an ApsaraDB RDS for SQL Server instance](~~95691~~)
  • * [Reset the password of an ApsaraDB RDS for MariaDB instance](~~97133~~) *
  • @param request ResetAccountPasswordRequest
  • @return ResetAccountPasswordResponse

func (*Client) ResetAccountPasswordWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Reset the password of an ApsaraDB RDS for MySQL instance](~~96100~~)
  • * [Reset the password of an ApsaraDB RDS for PostgreSQL instance](~~96814~~)
  • * [Reset the password of an ApsaraDB RDS for SQL Server instance](~~95691~~)
  • * [Reset the password of an ApsaraDB RDS for MariaDB instance](~~97133~~) *
  • @param request ResetAccountPasswordRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ResetAccountPasswordResponse

func (*Client) ResetAccountWithOptions

func (client *Client) ResetAccountWithOptions(request *ResetAccountRequest, runtime *util.RuntimeOptions) (_result *ResetAccountResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Reset of the permissions of privileged accounts](~~140724~~) *
  • @param request ResetAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ResetAccountResponse

func (*Client) RestartDBInstance

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

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Restart an ApsaraDB RDS for MySQL instance](~~96051~~)
  • * [Restart an ApsaraDB RDS for PostgreSQL instance](~~96798~~)
  • * [Restart an ApsaraDB RDS for SQL Server instance](~~95656~~)
  • * [Restart an ApsaraDB RDS for MariaDB instance](~~97472~~) *
  • @param request RestartDBInstanceRequest
  • @return RestartDBInstanceResponse

func (*Client) RestartDBInstanceWithOptions

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

*

  • ### Supported database engines
  • * RDS MySQL
  • * RDS PostgreSQL
  • * RDS SQL Server
  • * RDS MariaDB
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Restart an ApsaraDB RDS for MySQL instance](~~96051~~)
  • * [Restart an ApsaraDB RDS for PostgreSQL instance](~~96798~~)
  • * [Restart an ApsaraDB RDS for SQL Server instance](~~95656~~)
  • * [Restart an ApsaraDB RDS for MariaDB instance](~~97472~~) *
  • @param request RestartDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RestartDBInstanceResponse

func (*Client) RestoreDdrTable

func (client *Client) RestoreDdrTable(request *RestoreDdrTableRequest) (_result *RestoreDdrTableResponse, _err error)

*

  • > Before restoration, you can call the [CheckCreateDdrDBInstance](~~121721~~) operation to check whether a cross-region backup set can be used for cross-region restoration.
  • ### [](#)Supported database engine
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~)
  • * [Restore the data of an ApsaraDB RDS for MySQL instance across regions](~~120875~~) *
  • @param request RestoreDdrTableRequest
  • @return RestoreDdrTableResponse

func (*Client) RestoreDdrTableWithOptions

func (client *Client) RestoreDdrTableWithOptions(request *RestoreDdrTableRequest, runtime *util.RuntimeOptions) (_result *RestoreDdrTableResponse, _err error)

*

  • > Before restoration, you can call the [CheckCreateDdrDBInstance](~~121721~~) operation to check whether a cross-region backup set can be used for cross-region restoration.
  • ### [](#)Supported database engine
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Back up an ApsaraDB RDS for MySQL instance across regions](~~120824~~)
  • * [Restore the data of an ApsaraDB RDS for MySQL instance across regions](~~120875~~) *
  • @param request RestoreDdrTableRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RestoreDdrTableResponse

func (*Client) RestoreTable

func (client *Client) RestoreTable(request *RestoreTableRequest) (_result *RestoreTableResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Restore individual databases and tables](~~103175~~) *
  • @param request RestoreTableRequest
  • @return RestoreTableResponse

func (*Client) RestoreTableWithOptions

func (client *Client) RestoreTableWithOptions(request *RestoreTableRequest, runtime *util.RuntimeOptions) (_result *RestoreTableResponse, _err error)

*

  • ### [](#)Supported database engines
  • MySQL
  • ### [](#)References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Restore individual databases and tables](~~103175~~) *
  • @param request RestoreTableRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RestoreTableResponse

func (*Client) RevokeAccountPrivilege

func (client *Client) RevokeAccountPrivilege(request *RevokeAccountPrivilegeRequest) (_result *RevokeAccountPrivilegeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Prerequisites
  • * The instance is in the Running state.
  • * The database is in the Running state.
  • ### [](#)Precautions
  • * The permissions that can be revoked include SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, and TRIGGER.
  • * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition and run PostgreSQL. *
  • @param request RevokeAccountPrivilegeRequest
  • @return RevokeAccountPrivilegeResponse

func (*Client) RevokeAccountPrivilegeWithOptions

func (client *Client) RevokeAccountPrivilegeWithOptions(request *RevokeAccountPrivilegeRequest, runtime *util.RuntimeOptions) (_result *RevokeAccountPrivilegeResponse, _err error)

*

  • ### [](#)Supported database engines
  • * MySQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Prerequisites
  • * The instance is in the Running state.
  • * The database is in the Running state.
  • ### [](#)Precautions
  • * The permissions that can be revoked include SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, and TRIGGER.
  • * This operation is not supported for instances that run SQL Server 2017 on RDS Cluster Edition and run PostgreSQL. *
  • @param request RevokeAccountPrivilegeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RevokeAccountPrivilegeResponse

func (*Client) RevokeOperatorPermission

func (client *Client) RevokeOperatorPermission(request *RevokeOperatorPermissionRequest) (_result *RevokeOperatorPermissionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Grant permissions to the service account of an ApsaraDB RDS for MySQL instance](~~96102~~)
  • * [Grant permissions to the service account of an ApsaraDB RDS for PostgreSQL instance](~~146887~~)
  • * [Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance](~~95693~~) *
  • @param request RevokeOperatorPermissionRequest
  • @return RevokeOperatorPermissionResponse

func (*Client) RevokeOperatorPermissionWithOptions

func (client *Client) RevokeOperatorPermissionWithOptions(request *RevokeOperatorPermissionRequest, runtime *util.RuntimeOptions) (_result *RevokeOperatorPermissionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Grant permissions to the service account of an ApsaraDB RDS for MySQL instance](~~96102~~)
  • * [Grant permissions to the service account of an ApsaraDB RDS for PostgreSQL instance](~~146887~~)
  • * [Grant permissions to the service account of an ApsaraDB RDS for SQL Server instance](~~95693~~) *
  • @param request RevokeOperatorPermissionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RevokeOperatorPermissionResponse

func (*Client) StartDBInstance

func (client *Client) StartDBInstance(request *StartDBInstanceRequest) (_result *StartDBInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • * [Resume an ApsaraDB RDS for MySQL instance](~~427093~~)
  • * [Resume an ApsaraDB RDS for PostgreSQL instance](~~452314~~)
  • * [Resume an ApsaraDB RDS for SQL Server instance](~~462504~~) *
  • @param request StartDBInstanceRequest
  • @return StartDBInstanceResponse

func (*Client) StartDBInstanceWithOptions

func (client *Client) StartDBInstanceWithOptions(request *StartDBInstanceRequest, runtime *util.RuntimeOptions) (_result *StartDBInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation:
  • * [Resume an ApsaraDB RDS for MySQL instance](~~427093~~)
  • * [Resume an ApsaraDB RDS for PostgreSQL instance](~~452314~~)
  • * [Resume an ApsaraDB RDS for SQL Server instance](~~462504~~) *
  • @param request StartDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartDBInstanceResponse

func (*Client) StopDBInstance

func (client *Client) StopDBInstance(request *StopDBInstanceRequest) (_result *StopDBInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Suspend an ApsaraDB RDS for MySQL instance](~~427093~~)
  • * [Suspend an ApsaraDB RDS for PostgreSQL instance](~~452314~~)
  • * [Suspend an ApsaraDB RDS for SQL Server instance](~~462504~~) *
  • @param request StopDBInstanceRequest
  • @return StopDBInstanceResponse

func (*Client) StopDBInstanceWithOptions

func (client *Client) StopDBInstanceWithOptions(request *StopDBInstanceRequest, runtime *util.RuntimeOptions) (_result *StopDBInstanceResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Suspend an ApsaraDB RDS for MySQL instance](~~427093~~)
  • * [Suspend an ApsaraDB RDS for PostgreSQL instance](~~452314~~)
  • * [Suspend an ApsaraDB RDS for SQL Server instance](~~462504~~) *
  • @param request StopDBInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopDBInstanceResponse

func (*Client) SwitchDBInstanceHA

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Switch workloads between primary and secondary ApsaraDB RDS for MySQL instances](~~96054~~)
  • * [Switch workloads between primary and secondary ApsaraDB RDS for PostgreSQL instances](~~96747~~)
  • * [Switch workloads between primary and secondary ApsaraDB RDS for SQL Server instances](~~95659~~)
  • * [Switch workloads between primary and secondary ApsaraDB RDS for MariaDB instances](~~97127~~) *
  • @param request SwitchDBInstanceHARequest
  • @return SwitchDBInstanceHAResponse

func (*Client) SwitchDBInstanceHAWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Switch workloads between primary and secondary ApsaraDB RDS for MySQL instances](~~96054~~)
  • * [Switch workloads between primary and secondary ApsaraDB RDS for PostgreSQL instances](~~96747~~)
  • * [Switch workloads between primary and secondary ApsaraDB RDS for SQL Server instances](~~95659~~)
  • * [Switch workloads between primary and secondary ApsaraDB RDS for MariaDB instances](~~97127~~) *
  • @param request SwitchDBInstanceHARequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SwitchDBInstanceHAResponse

func (*Client) SwitchDBInstanceNetType

func (client *Client) SwitchDBInstanceNetType(request *SwitchDBInstanceNetTypeRequest) (_result *SwitchDBInstanceNetTypeResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • ### Prerequisites
  • * The instance is connected by using its internal or public endpoint.
  • * The instance is in the Running state.
  • * The number of times that you have switched the instance between its internal and public endpoints within the last 24 hours does not reach 20.
  • * The instance resides in the classic network.
  • ### Usage notes
  • After the endpoint that is used to connect to the instance is changed, you must update the endpoint information in the code of your application and restart the application. *
  • @param request SwitchDBInstanceNetTypeRequest
  • @return SwitchDBInstanceNetTypeResponse

func (*Client) SwitchDBInstanceNetTypeWithOptions

func (client *Client) SwitchDBInstanceNetTypeWithOptions(request *SwitchDBInstanceNetTypeRequest, runtime *util.RuntimeOptions) (_result *SwitchDBInstanceNetTypeResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * SQL Server
  • ### Prerequisites
  • * The instance is connected by using its internal or public endpoint.
  • * The instance is in the Running state.
  • * The number of times that you have switched the instance between its internal and public endpoints within the last 24 hours does not reach 20.
  • * The instance resides in the classic network.
  • ### Usage notes
  • After the endpoint that is used to connect to the instance is changed, you must update the endpoint information in the code of your application and restart the application. *
  • @param request SwitchDBInstanceNetTypeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SwitchDBInstanceNetTypeResponse

func (*Client) SwitchDBInstanceVpc

func (client *Client) SwitchDBInstanceVpc(request *SwitchDBInstanceVpcRequest) (_result *SwitchDBInstanceVpcResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Change the VPC and vSwitch for an ApsaraDB RDS for MySQL instance](~~137567~~)
  • * [Change the vSwitch for an ApsaraDB RDS for PostgreSQL instance](~~146885~~)
  • * [Change the VPC and vSwitch for an ApsaraDB RDS for SQL Server instance](~~347675~~) *
  • @param request SwitchDBInstanceVpcRequest
  • @return SwitchDBInstanceVpcResponse

func (*Client) SwitchDBInstanceVpcWithOptions

func (client *Client) SwitchDBInstanceVpcWithOptions(request *SwitchDBInstanceVpcRequest, runtime *util.RuntimeOptions) (_result *SwitchDBInstanceVpcResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Change the VPC and vSwitch for an ApsaraDB RDS for MySQL instance](~~137567~~)
  • * [Change the vSwitch for an ApsaraDB RDS for PostgreSQL instance](~~146885~~)
  • * [Change the VPC and vSwitch for an ApsaraDB RDS for SQL Server instance](~~347675~~) *
  • @param request SwitchDBInstanceVpcRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SwitchDBInstanceVpcResponse

func (*Client) SwitchGuardToMasterInstance

func (client *Client) SwitchGuardToMasterInstance(request *SwitchGuardToMasterInstanceRequest) (_result *SwitchGuardToMasterInstanceResponse, _err error)

*

  • This operation is phased out. *
  • @param request SwitchGuardToMasterInstanceRequest
  • @return SwitchGuardToMasterInstanceResponse

func (*Client) SwitchGuardToMasterInstanceWithOptions

func (client *Client) SwitchGuardToMasterInstanceWithOptions(request *SwitchGuardToMasterInstanceRequest, runtime *util.RuntimeOptions) (_result *SwitchGuardToMasterInstanceResponse, _err error)

*

  • This operation is phased out. *
  • @param request SwitchGuardToMasterInstanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SwitchGuardToMasterInstanceResponse

func (*Client) TagResources

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Create tags for an ApsaraDB RDS for MySQL instance](~~96149~~)
  • * [Create tags for an ApsaraDB RDS for PostgreSQL instance](~~96777~~)
  • * [Create tags for an ApsaraDB RDS for SQL Server instance](~~95726~~)
  • * [Create tags for an ApsaraDB RDS for MariaDB instance](~~97152~~) *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • * [Create tags for an ApsaraDB RDS for MySQL instance](~~96149~~)
  • * [Create tags for an ApsaraDB RDS for PostgreSQL instance](~~96777~~)
  • * [Create tags for an ApsaraDB RDS for SQL Server instance](~~95726~~)
  • * [Create tags for an ApsaraDB RDS for MariaDB instance](~~97152~~) *
  • @param request TagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TagResourcesResponse

func (*Client) TerminateMigrateTask

func (client *Client) TerminateMigrateTask(request *TerminateMigrateTaskRequest) (_result *TerminateMigrateTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request TerminateMigrateTaskRequest
  • @return TerminateMigrateTaskResponse

func (*Client) TerminateMigrateTaskWithOptions

func (client *Client) TerminateMigrateTaskWithOptions(request *TerminateMigrateTaskRequest, runtime *util.RuntimeOptions) (_result *TerminateMigrateTaskResponse, _err error)

*

  • ### [](#)Supported database engines
  • * SQL Server *
  • @param request TerminateMigrateTaskRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TerminateMigrateTaskResponse

func (*Client) TransformDBInstancePayType

func (client *Client) TransformDBInstancePayType(request *TransformDBInstancePayTypeRequest) (_result *TransformDBInstancePayTypeResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Fees are generated if the call is successful. Before you call this operation, you must read the following documentation.
  • * [Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription](~~96048~~) or [Change the billing method of an ApsaraDB RDS for MySQL instance from subscription to pay-as-you-go](~~161875~~)
  • * [Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription](~~96743~~) or [Change the billing method of an ApsaraDB RDS for PostgreSQL instance from subscription to pay-as-you-go](~~162756~~)
  • * [Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription](~~95631~~) or [Change the billing method of an ApsaraDB RDS for SQL Server instance from subscription to pay-as-you-go](~~162755~~)
  • * [Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription](~~97120~~) or [Change the billing method of an ApsaraDB RDS for MariaDB instance from subscription to pay-as-you-go](~~169252~~) *
  • @param request TransformDBInstancePayTypeRequest
  • @return TransformDBInstancePayTypeResponse

func (*Client) TransformDBInstancePayTypeWithOptions

func (client *Client) TransformDBInstancePayTypeWithOptions(request *TransformDBInstancePayTypeRequest, runtime *util.RuntimeOptions) (_result *TransformDBInstancePayTypeResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### References
  • > Fees are generated if the call is successful. Before you call this operation, you must read the following documentation.
  • * [Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription](~~96048~~) or [Change the billing method of an ApsaraDB RDS for MySQL instance from subscription to pay-as-you-go](~~161875~~)
  • * [Change the billing method of an ApsaraDB RDS for PostgreSQL instance from pay-as-you-go to subscription](~~96743~~) or [Change the billing method of an ApsaraDB RDS for PostgreSQL instance from subscription to pay-as-you-go](~~162756~~)
  • * [Change the billing method of an ApsaraDB RDS for SQL Server instance from pay-as-you-go to subscription](~~95631~~) or [Change the billing method of an ApsaraDB RDS for SQL Server instance from subscription to pay-as-you-go](~~162755~~)
  • * [Change the billing method of an ApsaraDB RDS for MariaDB instance from pay-as-you-go to subscription](~~97120~~) or [Change the billing method of an ApsaraDB RDS for MariaDB instance from subscription to pay-as-you-go](~~169252~~) *
  • @param request TransformDBInstancePayTypeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TransformDBInstancePayTypeResponse

func (*Client) UnlockAccount

func (client *Client) UnlockAccount(request *UnlockAccountRequest) (_result *UnlockAccountResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Lock an account of an ApsaraDB RDS for PostgreSQL instance](~~147649~~) *
  • @param request UnlockAccountRequest
  • @return UnlockAccountResponse

func (*Client) UnlockAccountWithOptions

func (client *Client) UnlockAccountWithOptions(request *UnlockAccountRequest, runtime *util.RuntimeOptions) (_result *UnlockAccountResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Lock an account of an ApsaraDB RDS for PostgreSQL instance](~~147649~~) *
  • @param request UnlockAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UnlockAccountResponse

func (*Client) UntagResources

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • * You can remove up to 20 tags at a time.
  • * If a tag is removed from an instance and is not added to other instances, the tag is automatically deleted. *
  • @param request UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

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

*

  • ### [](#)Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • * MariaDB
  • ### [](#)Usage notes
  • * You can remove up to 20 tags at a time.
  • * If a tag is removed from an instance and is not added to other instances, the tag is automatically deleted. *
  • @param request UntagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

func (*Client) UpdatePostgresExtensions added in v3.0.28

func (client *Client) UpdatePostgresExtensions(request *UpdatePostgresExtensionsRequest) (_result *UpdatePostgresExtensionsResponse, _err error)

*

  • ### Supported database engines
  • RDS PostgreSQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~) *
  • @param request UpdatePostgresExtensionsRequest
  • @return UpdatePostgresExtensionsResponse

func (*Client) UpdatePostgresExtensionsWithOptions added in v3.0.28

func (client *Client) UpdatePostgresExtensionsWithOptions(request *UpdatePostgresExtensionsRequest, runtime *util.RuntimeOptions) (_result *UpdatePostgresExtensionsResponse, _err error)

*

  • ### Supported database engines
  • RDS PostgreSQL
  • ### References
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Manage extensions](~~2402409~~) *
  • @param request UpdatePostgresExtensionsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdatePostgresExtensionsResponse

func (*Client) UpdateUserBackupFile

func (client *Client) UpdateUserBackupFile(request *UpdateUserBackupFileRequest) (_result *UpdateUserBackupFileResponse, _err error)

*

  • ### Supported database engines
  • RDS MySQL
  • ### References
  • A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 or MySQL 8.0 instance to an ApsaraDB RDS for MySQL instance](~~251779~~).
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation. *
  • @param request UpdateUserBackupFileRequest
  • @return UpdateUserBackupFileResponse

func (*Client) UpdateUserBackupFileWithOptions

func (client *Client) UpdateUserBackupFileWithOptions(request *UpdateUserBackupFileRequest, runtime *util.RuntimeOptions) (_result *UpdateUserBackupFileResponse, _err error)

*

  • ### Supported database engines
  • RDS MySQL
  • ### References
  • A full backup file contains the data of a self-managed MySQL database. You can restore the data of a self-managed MySQL database from a full backup file to an ApsaraDB RDS for MySQL instance. For more information, see [Migrate the data of a self-managed MySQL 5.7 or MySQL 8.0 instance to an ApsaraDB RDS for MySQL instance](~~251779~~).
  • > : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation. *
  • @param request UpdateUserBackupFileRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateUserBackupFileResponse

func (*Client) UpgradeDBInstanceEngineVersion

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

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Upgrade the major engine version of an ApsaraDB RDS for MySQL instance](~~96058~~) *
  • @param request UpgradeDBInstanceEngineVersionRequest
  • @return UpgradeDBInstanceEngineVersionResponse

func (*Client) UpgradeDBInstanceEngineVersionWithOptions

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

*

  • ### Supported database engine
  • MySQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • [Upgrade the major engine version of an ApsaraDB RDS for MySQL instance](~~96058~~) *
  • @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)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Update the minor engine version of an ApsaraDB RDS for MySQL instance](~~96059~~)
  • * [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](~~146895~~)
  • * [Update the minor engine version of an ApsaraDB RDS for SQL Server instance](~~213582~~) *
  • @param request UpgradeDBInstanceKernelVersionRequest
  • @return UpgradeDBInstanceKernelVersionResponse

func (*Client) UpgradeDBInstanceKernelVersionWithOptions

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

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • * SQL Server
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Update the minor engine version of an ApsaraDB RDS for MySQL instance](~~96059~~)
  • * [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](~~146895~~)
  • * [Update the minor engine version of an ApsaraDB RDS for SQL Server instance](~~213582~~) *
  • @param request UpgradeDBInstanceKernelVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpgradeDBInstanceKernelVersionResponse

func (*Client) UpgradeDBInstanceMajorVersion

func (client *Client) UpgradeDBInstanceMajorVersion(request *UpgradeDBInstanceMajorVersionRequest) (_result *UpgradeDBInstanceMajorVersionResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • Fees are generated if the call is successful. Before you call this operation, read the following documentation and make sure that you fully understand the billing rules, prerequisites, and impacts of this operation.
  • [Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance](~~203309~~) *
  • @param request UpgradeDBInstanceMajorVersionRequest
  • @return UpgradeDBInstanceMajorVersionResponse

func (*Client) UpgradeDBInstanceMajorVersionPrecheck

func (client *Client) UpgradeDBInstanceMajorVersionPrecheck(request *UpgradeDBInstanceMajorVersionPrecheckRequest) (_result *UpgradeDBInstanceMajorVersionPrecheckResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance](~~203309~~) *
  • @param request UpgradeDBInstanceMajorVersionPrecheckRequest
  • @return UpgradeDBInstanceMajorVersionPrecheckResponse

func (*Client) UpgradeDBInstanceMajorVersionPrecheckWithOptions

func (client *Client) UpgradeDBInstanceMajorVersionPrecheckWithOptions(request *UpgradeDBInstanceMajorVersionPrecheckRequest, runtime *util.RuntimeOptions) (_result *UpgradeDBInstanceMajorVersionPrecheckResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • > Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
  • [Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance](~~203309~~) *
  • @param request UpgradeDBInstanceMajorVersionPrecheckRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpgradeDBInstanceMajorVersionPrecheckResponse

func (*Client) UpgradeDBInstanceMajorVersionWithOptions

func (client *Client) UpgradeDBInstanceMajorVersionWithOptions(request *UpgradeDBInstanceMajorVersionRequest, runtime *util.RuntimeOptions) (_result *UpgradeDBInstanceMajorVersionResponse, _err error)

*

  • ### Supported database engine
  • PostgreSQL
  • ### References
  • Fees are generated if the call is successful. Before you call this operation, read the following documentation and make sure that you fully understand the billing rules, prerequisites, and impacts of this operation.
  • [Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance](~~203309~~) *
  • @param request UpgradeDBInstanceMajorVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpgradeDBInstanceMajorVersionResponse

func (*Client) UpgradeDBProxyInstanceKernelVersion

func (client *Client) UpgradeDBProxyInstanceKernelVersion(request *UpgradeDBProxyInstanceKernelVersionRequest) (_result *UpgradeDBProxyInstanceKernelVersionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Upgrade the dedicated proxy version of an ApsaraDB RDS for MySQL instance](~~197465~~)
  • * [Upgrade the dedicated proxy version of an ApsaraDB RDS for PostgreSQL instance](~~418469~~) *
  • @param request UpgradeDBProxyInstanceKernelVersionRequest
  • @return UpgradeDBProxyInstanceKernelVersionResponse

func (*Client) UpgradeDBProxyInstanceKernelVersionWithOptions

func (client *Client) UpgradeDBProxyInstanceKernelVersionWithOptions(request *UpgradeDBProxyInstanceKernelVersionRequest, runtime *util.RuntimeOptions) (_result *UpgradeDBProxyInstanceKernelVersionResponse, _err error)

*

  • ### Supported database engines
  • * MySQL
  • * PostgreSQL
  • ### References
  • > Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
  • * [Upgrade the dedicated proxy version of an ApsaraDB RDS for MySQL instance](~~197465~~)
  • * [Upgrade the dedicated proxy version of an ApsaraDB RDS for PostgreSQL instance](~~418469~~) *
  • @param request UpgradeDBProxyInstanceKernelVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpgradeDBProxyInstanceKernelVersionResponse

type CloneDBInstanceRequest

type CloneDBInstanceRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// > The default value is true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can pay for the order in the ApsaraDB RDS console.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The backup set ID.
	//
	// You can call the DescribeBackups operation to query the backup set ID.
	//
	// >  You must specify at least one of the **BackupId** or **RestoreTime** parameters.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The type of backup that is used to restore the data of the original instance. Valid values:
	//
	// *   **FullBackup**
	// *   **IncrementalBackup**
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition.
	// *   **HighAvailability**: RDS High-availability Edition.
	// *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server.
	// *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	// *   **Finance**: RDS Enterprise Edition. This edition is available only on the China site (aliyun.com).
	//
	// **Serverless instances**
	//
	// *   **serverless_basic**: RDS Basic Edition. This edition is available only for serverless instances that run MySQL and PostgreSQL.
	// *   **serverless_standard**: RDS High-availability Edition for ApsaraDB RDS for MySQL
	// *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server
	//
	// >  You do not need to configure this parameter. The value of this parameter is the same as that of the original instance.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The instance type of the new instance. For information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	//
	// > By default, the new instance uses the same instance type as the original primary instance.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the new instance. Unit: GB. You can increase the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	//
	// > By default, the new instance has the same storage capacity as the original primary instance.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSDs
	// *   **cloud_ssd**: standard SSDs
	// *   **cloud_essd**: enhanced SSDs (ESSDs) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSDs of PL2
	// *   **cloud_essd3**: ESSD of PL3
	//
	// > Serverless instances support only ESSDs of PL 1. For a serverless instance, you must set this parameter to **cloud_essd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The name of the database. If you specify more than one database, the value is in the following format: `Original database name 1,Original database name 2`.
	DbNames *string `json:"DbNames,omitempty" xml:"DbNames,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Specifies whether to enable the release protection feature for the instance. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false** (default): disables the feature.
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// The network type of the new instance. Valid values:
	//
	// *   **VPC**
	// *   **Classic**
	//
	// > By default, the new instance has the same network type as the original primary instance.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	// *   **Serverless**: serverless. This value is not supported for instances that run MariaDB. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](~~411291~~), [Overview of serverless ApsaraDB RDS for SQL Server instances](~~604344~~), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](~~607742~~).
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit that is used to calculate the billing cycle of the new instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// > If you set the PayType parameter to **Prepaid**, you must also specify this parameter.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The internal IP address of the new instance, which must be within the CIDR block supported by the specified vSwitch. The system automatically assigns an internal IP address based on the values of the **VPCId** and **VSwitchId** parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to restore only the databases and tables that you specify. The value **1** specifies to restore only the specified databases and tables. If you do not want to restore only the specified databases or tables, you do not need to specify this parameter.
	RestoreTable *string `json:"RestoreTable,omitempty" xml:"RestoreTable,omitempty"`
	// The point in time to which you want to restore data. The point in time must fall within the specified backup retention period. 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.
	//
	// > You must specify at least one of the **BackupId** and **RestoreTime** parameters.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The configuration of the serverless instance. You must specify this parameter only when you restore data to a new serverless instance.
	ServerlessConfig *CloneDBInstanceRequestServerlessConfig `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty" type:"Struct"`
	// The information about the database and table that you want to restore. The value is in the following format: `[{"type":"db","name":"Name of Database 1","newname":"New name of Database 1","tables":[{"type":"table","name":"Name of Table 1 in Database 1","newname":"New name of Table 1"},{"type":"table","name":"Name of Table 2 in Database 1","newname":"New name of Table 2"}]},{"type":"db","name":"Name of Database 2","newname":"New name of Database 2","tables":[{"type":"table","name":"Name of Table 1 in Database 2","newname":"New name of Table 1"},{"type":"table","name":"Name of Table 2 in Database 2","newname":"New name of Table 2"}]}]`
	TableMeta *string `json:"TableMeta,omitempty" xml:"TableMeta,omitempty"`
	// The subscription duration of the new instance. Valid values:
	//
	// *   If you set the **Period** parameter to **Year**, the value of the UsedTime parameter ranges from **1 to 3**.
	// *   If you set the **Period** parameter to **Month**, the value of the UsedTime parameter ranges from **1 to 9**.
	//
	// > If you set the PayType parameter to **Prepaid**, you must also specify this parameter.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The ID of the virtual private cloud (VPC).
	//
	// >  Make sure that the VPC belongs to the required region.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch. The vSwitch must belong to the zone that is specified by **ZoneId**.
	//
	// *   If you set **InstanceNetworkType** to **VPC**, you must also specify this parameter.
	// *   If you specify the **ZoneSlaveId1** parameter, you must specify the IDs of two vSwitches for this parameter and separate the IDs with a comma (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the primary instance. You can call the DescribeRegions operation to query the zone ID.
	//
	// >  Set this value to the zone ID of the original instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The zone ID of the secondary instance. If you set the ZoneIdSlave1 parameter and the **ZoneId** parameter to the same value, the single-zone deployment method is used. If you set the ZoneIdSlave1 parameter and the **ZoneId** parameter to different values, the multi-zone deployment method is used.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// The zone ID of the logger instance. If you set the ZoneIdSlave2 parameter to the same value as the **ZoneId** parameter, the single-zone deployment method is used. If you set the ZoneIdSlave2 parameter to a different value from the **ZoneId** parameter, the multi-zone deployment method is used.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (CloneDBInstanceRequest) GoString

func (s CloneDBInstanceRequest) GoString() string

func (*CloneDBInstanceRequest) SetAutoPay added in v3.0.5

func (*CloneDBInstanceRequest) SetBackupId

func (*CloneDBInstanceRequest) SetBackupType

func (*CloneDBInstanceRequest) SetBpeEnabled added in v3.0.5

func (*CloneDBInstanceRequest) SetBurstingEnabled added in v3.0.5

func (s *CloneDBInstanceRequest) SetBurstingEnabled(v bool) *CloneDBInstanceRequest

func (*CloneDBInstanceRequest) SetCategory

func (*CloneDBInstanceRequest) SetDBInstanceClass

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

func (*CloneDBInstanceRequest) SetDBInstanceId

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

func (*CloneDBInstanceRequest) SetDBInstanceStorage

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

func (*CloneDBInstanceRequest) SetDBInstanceStorageType

func (s *CloneDBInstanceRequest) SetDBInstanceStorageType(v string) *CloneDBInstanceRequest

func (*CloneDBInstanceRequest) SetDbNames

func (*CloneDBInstanceRequest) SetDedicatedHostGroupId

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

func (*CloneDBInstanceRequest) SetDeletionProtection

func (s *CloneDBInstanceRequest) SetDeletionProtection(v bool) *CloneDBInstanceRequest

func (*CloneDBInstanceRequest) SetInstanceNetworkType

func (s *CloneDBInstanceRequest) SetInstanceNetworkType(v string) *CloneDBInstanceRequest

func (*CloneDBInstanceRequest) SetPayType

func (*CloneDBInstanceRequest) SetPeriod

func (*CloneDBInstanceRequest) SetPrivateIpAddress

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

func (*CloneDBInstanceRequest) SetRegionId

func (*CloneDBInstanceRequest) SetResourceOwnerId

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

func (*CloneDBInstanceRequest) SetRestoreTable

func (s *CloneDBInstanceRequest) SetRestoreTable(v string) *CloneDBInstanceRequest

func (*CloneDBInstanceRequest) SetRestoreTime

func (*CloneDBInstanceRequest) SetServerlessConfig

func (*CloneDBInstanceRequest) SetTableMeta

func (*CloneDBInstanceRequest) SetUsedTime

func (*CloneDBInstanceRequest) SetVPCId

func (*CloneDBInstanceRequest) SetVSwitchId

func (*CloneDBInstanceRequest) SetZoneId

func (*CloneDBInstanceRequest) SetZoneIdSlave1 added in v3.0.4

func (s *CloneDBInstanceRequest) SetZoneIdSlave1(v string) *CloneDBInstanceRequest

func (*CloneDBInstanceRequest) SetZoneIdSlave2 added in v3.0.4

func (s *CloneDBInstanceRequest) SetZoneIdSlave2(v string) *CloneDBInstanceRequest

func (CloneDBInstanceRequest) String

func (s CloneDBInstanceRequest) String() string

type CloneDBInstanceRequestServerlessConfig

type CloneDBInstanceRequestServerlessConfig struct {
	// Specifies whether to enable the automatic start and stop feature for the serverless ApsaraDB RDS for MySQL instance. After the automatic start and stop feature is enabled, if no connections to the instance are established within 10 minutes, the instance is suspended. After a connection is established to the instance, the instance is automatically resumed. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false** (default): disables the feature.
	//
	// > This parameter is supported only for serverless ApsaraDB RDS for MySQL instances.
	AutoPause *bool `json:"AutoPause,omitempty" xml:"AutoPause,omitempty"`
	// The maximum number of RDS Capacity Units (RCUs). Valid values:
	//
	// *   Serverless ApsaraDB RDS for MySQL instances: **1 to 8**
	// *   Serverless ApsaraDB RDS for SQL Server instances: **2 to 8**
	// *   Serverless ApsaraDB RDS for PostgreSQL instances: **1 to 12**
	//
	// > The value of this parameter must be greater than or equal to the value of **MinCapacity** and can be specified only to an **integer**.
	MaxCapacity *float64 `json:"MaxCapacity,omitempty" xml:"MaxCapacity,omitempty"`
	// The minimum number of RCUs. Valid values:
	//
	// *   Serverless ApsaraDB RDS for MySQL instances: **0.5 to 8**.
	// *   Serverless ApsaraDB RDS for SQL Server instances: **2 to 8**. Only integers are supported.
	// *   Serverless ApsaraDB RDS for PostgreSQL instances: **0.5 to 12**.
	//
	// > The value of this parameter must be less than or equal to the value of **MaxCapacity**.
	MinCapacity *float64 `json:"MinCapacity,omitempty" xml:"MinCapacity,omitempty"`
	// Specifies whether to enable the forced scaling feature for the serverless ApsaraDB RDS for MySQL instance. In most cases, ApsaraDB RDS automatically scales in or out the RCUs of a serverless instance based on business requirements in real time. In rare cases, the scaling does not take effect in real time. You can enable the forced scaling feature to forcefully scales in or out the RCUs of the instance. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false** (default): disables the feature.
	//
	// > This parameter is supported only for serverless ApsaraDB RDS for MySQL instances.
	SwitchForce *bool `json:"SwitchForce,omitempty" xml:"SwitchForce,omitempty"`
}

func (CloneDBInstanceRequestServerlessConfig) GoString

func (*CloneDBInstanceRequestServerlessConfig) SetAutoPause

func (*CloneDBInstanceRequestServerlessConfig) SetMaxCapacity

func (*CloneDBInstanceRequestServerlessConfig) SetMinCapacity

func (*CloneDBInstanceRequestServerlessConfig) SetSwitchForce

func (CloneDBInstanceRequestServerlessConfig) String

type CloneDBInstanceResponse

type CloneDBInstanceResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CloneDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CloneDBInstanceResponse) GoString

func (s CloneDBInstanceResponse) GoString() string

func (*CloneDBInstanceResponse) SetBody

func (*CloneDBInstanceResponse) SetHeaders

func (*CloneDBInstanceResponse) SetStatusCode

func (CloneDBInstanceResponse) String

func (s CloneDBInstanceResponse) String() string

type CloneDBInstanceResponseBody

type CloneDBInstanceResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CloneDBInstanceResponseBody) GoString

func (s CloneDBInstanceResponseBody) GoString() string

func (*CloneDBInstanceResponseBody) SetDBInstanceId

func (*CloneDBInstanceResponseBody) SetOrderId

func (*CloneDBInstanceResponseBody) SetRequestId

func (CloneDBInstanceResponseBody) String

type CloneDBInstanceShrinkRequest

type CloneDBInstanceShrinkRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// > The default value is true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can pay for the order in the ApsaraDB RDS console.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The backup set ID.
	//
	// You can call the DescribeBackups operation to query the backup set ID.
	//
	// >  You must specify at least one of the **BackupId** or **RestoreTime** parameters.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The type of backup that is used to restore the data of the original instance. Valid values:
	//
	// *   **FullBackup**
	// *   **IncrementalBackup**
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition.
	// *   **HighAvailability**: RDS High-availability Edition.
	// *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server.
	// *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	// *   **Finance**: RDS Enterprise Edition. This edition is available only on the China site (aliyun.com).
	//
	// **Serverless instances**
	//
	// *   **serverless_basic**: RDS Basic Edition. This edition is available only for serverless instances that run MySQL and PostgreSQL.
	// *   **serverless_standard**: RDS High-availability Edition for ApsaraDB RDS for MySQL
	// *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server
	//
	// >  You do not need to configure this parameter. The value of this parameter is the same as that of the original instance.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The instance type of the new instance. For information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	//
	// > By default, the new instance uses the same instance type as the original primary instance.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the new instance. Unit: GB. You can increase the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	//
	// > By default, the new instance has the same storage capacity as the original primary instance.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSDs
	// *   **cloud_ssd**: standard SSDs
	// *   **cloud_essd**: enhanced SSDs (ESSDs) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSDs of PL2
	// *   **cloud_essd3**: ESSD of PL3
	//
	// > Serverless instances support only ESSDs of PL 1. For a serverless instance, you must set this parameter to **cloud_essd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The name of the database. If you specify more than one database, the value is in the following format: `Original database name 1,Original database name 2`.
	DbNames *string `json:"DbNames,omitempty" xml:"DbNames,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Specifies whether to enable the release protection feature for the instance. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false** (default): disables the feature.
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// The network type of the new instance. Valid values:
	//
	// *   **VPC**
	// *   **Classic**
	//
	// > By default, the new instance has the same network type as the original primary instance.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	// *   **Serverless**: serverless. This value is not supported for instances that run MariaDB. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](~~411291~~), [Overview of serverless ApsaraDB RDS for SQL Server instances](~~604344~~), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](~~607742~~).
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit that is used to calculate the billing cycle of the new instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// > If you set the PayType parameter to **Prepaid**, you must also specify this parameter.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The internal IP address of the new instance, which must be within the CIDR block supported by the specified vSwitch. The system automatically assigns an internal IP address based on the values of the **VPCId** and **VSwitchId** parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to restore only the databases and tables that you specify. The value **1** specifies to restore only the specified databases and tables. If you do not want to restore only the specified databases or tables, you do not need to specify this parameter.
	RestoreTable *string `json:"RestoreTable,omitempty" xml:"RestoreTable,omitempty"`
	// The point in time to which you want to restore data. The point in time must fall within the specified backup retention period. 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.
	//
	// > You must specify at least one of the **BackupId** and **RestoreTime** parameters.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The configuration of the serverless instance. You must specify this parameter only when you restore data to a new serverless instance.
	ServerlessConfigShrink *string `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty"`
	// The information about the database and table that you want to restore. The value is in the following format: `[{"type":"db","name":"Name of Database 1","newname":"New name of Database 1","tables":[{"type":"table","name":"Name of Table 1 in Database 1","newname":"New name of Table 1"},{"type":"table","name":"Name of Table 2 in Database 1","newname":"New name of Table 2"}]},{"type":"db","name":"Name of Database 2","newname":"New name of Database 2","tables":[{"type":"table","name":"Name of Table 1 in Database 2","newname":"New name of Table 1"},{"type":"table","name":"Name of Table 2 in Database 2","newname":"New name of Table 2"}]}]`
	TableMeta *string `json:"TableMeta,omitempty" xml:"TableMeta,omitempty"`
	// The subscription duration of the new instance. Valid values:
	//
	// *   If you set the **Period** parameter to **Year**, the value of the UsedTime parameter ranges from **1 to 3**.
	// *   If you set the **Period** parameter to **Month**, the value of the UsedTime parameter ranges from **1 to 9**.
	//
	// > If you set the PayType parameter to **Prepaid**, you must also specify this parameter.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The ID of the virtual private cloud (VPC).
	//
	// >  Make sure that the VPC belongs to the required region.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch. The vSwitch must belong to the zone that is specified by **ZoneId**.
	//
	// *   If you set **InstanceNetworkType** to **VPC**, you must also specify this parameter.
	// *   If you specify the **ZoneSlaveId1** parameter, you must specify the IDs of two vSwitches for this parameter and separate the IDs with a comma (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the primary instance. You can call the DescribeRegions operation to query the zone ID.
	//
	// >  Set this value to the zone ID of the original instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The zone ID of the secondary instance. If you set the ZoneIdSlave1 parameter and the **ZoneId** parameter to the same value, the single-zone deployment method is used. If you set the ZoneIdSlave1 parameter and the **ZoneId** parameter to different values, the multi-zone deployment method is used.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// The zone ID of the logger instance. If you set the ZoneIdSlave2 parameter to the same value as the **ZoneId** parameter, the single-zone deployment method is used. If you set the ZoneIdSlave2 parameter to a different value from the **ZoneId** parameter, the multi-zone deployment method is used.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (CloneDBInstanceShrinkRequest) GoString

func (s CloneDBInstanceShrinkRequest) GoString() string

func (*CloneDBInstanceShrinkRequest) SetAutoPay added in v3.0.5

func (*CloneDBInstanceShrinkRequest) SetBackupId

func (*CloneDBInstanceShrinkRequest) SetBackupType

func (*CloneDBInstanceShrinkRequest) SetBpeEnabled added in v3.0.5

func (*CloneDBInstanceShrinkRequest) SetBurstingEnabled added in v3.0.5

func (*CloneDBInstanceShrinkRequest) SetCategory

func (*CloneDBInstanceShrinkRequest) SetDBInstanceClass

func (*CloneDBInstanceShrinkRequest) SetDBInstanceId

func (*CloneDBInstanceShrinkRequest) SetDBInstanceStorage

func (*CloneDBInstanceShrinkRequest) SetDBInstanceStorageType

func (s *CloneDBInstanceShrinkRequest) SetDBInstanceStorageType(v string) *CloneDBInstanceShrinkRequest

func (*CloneDBInstanceShrinkRequest) SetDbNames

func (*CloneDBInstanceShrinkRequest) SetDedicatedHostGroupId

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

func (*CloneDBInstanceShrinkRequest) SetDeletionProtection

func (s *CloneDBInstanceShrinkRequest) SetDeletionProtection(v bool) *CloneDBInstanceShrinkRequest

func (*CloneDBInstanceShrinkRequest) SetInstanceNetworkType

func (*CloneDBInstanceShrinkRequest) SetPayType

func (*CloneDBInstanceShrinkRequest) SetPeriod

func (*CloneDBInstanceShrinkRequest) SetPrivateIpAddress

func (*CloneDBInstanceShrinkRequest) SetRegionId

func (*CloneDBInstanceShrinkRequest) SetResourceOwnerId

func (*CloneDBInstanceShrinkRequest) SetRestoreTable

func (*CloneDBInstanceShrinkRequest) SetRestoreTime

func (*CloneDBInstanceShrinkRequest) SetServerlessConfigShrink

func (s *CloneDBInstanceShrinkRequest) SetServerlessConfigShrink(v string) *CloneDBInstanceShrinkRequest

func (*CloneDBInstanceShrinkRequest) SetTableMeta

func (*CloneDBInstanceShrinkRequest) SetUsedTime

func (*CloneDBInstanceShrinkRequest) SetVPCId

func (*CloneDBInstanceShrinkRequest) SetVSwitchId

func (*CloneDBInstanceShrinkRequest) SetZoneId

func (*CloneDBInstanceShrinkRequest) SetZoneIdSlave1 added in v3.0.4

func (*CloneDBInstanceShrinkRequest) SetZoneIdSlave2 added in v3.0.4

func (CloneDBInstanceShrinkRequest) String

type CloneParameterGroupRequest

type CloneParameterGroupRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The description of the parameter template in the destination region.
	ParameterGroupDesc *string `json:"ParameterGroupDesc,omitempty" xml:"ParameterGroupDesc,omitempty"`
	// The ID of the parameter template. You can call the DescribeParameterGroups operation to query the parameter template ID.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The name of the parameter template in the destination region.
	ParameterGroupName *string `json:"ParameterGroupName,omitempty" xml:"ParameterGroupName,omitempty"`
	// The ID of the source region to which the parameter template belongs. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group. You can leave this parameter empty.
	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 destination region. You can call the DescribeRegions operation to query the most recent region list.
	TargetRegionId *string `json:"TargetRegionId,omitempty" xml:"TargetRegionId,omitempty"`
}

func (CloneParameterGroupRequest) GoString

func (s CloneParameterGroupRequest) GoString() string

func (*CloneParameterGroupRequest) SetOwnerId

func (*CloneParameterGroupRequest) SetParameterGroupDesc

func (s *CloneParameterGroupRequest) SetParameterGroupDesc(v string) *CloneParameterGroupRequest

func (*CloneParameterGroupRequest) SetParameterGroupId

func (*CloneParameterGroupRequest) SetParameterGroupName

func (s *CloneParameterGroupRequest) SetParameterGroupName(v string) *CloneParameterGroupRequest

func (*CloneParameterGroupRequest) SetRegionId

func (*CloneParameterGroupRequest) SetResourceGroupId added in v3.0.214

func (*CloneParameterGroupRequest) SetResourceOwnerAccount

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

func (*CloneParameterGroupRequest) SetResourceOwnerId

func (*CloneParameterGroupRequest) SetTargetRegionId

func (CloneParameterGroupRequest) String

type CloneParameterGroupResponse

type CloneParameterGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CloneParameterGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CloneParameterGroupResponse) GoString

func (s CloneParameterGroupResponse) GoString() string

func (*CloneParameterGroupResponse) SetBody

func (*CloneParameterGroupResponse) SetHeaders

func (*CloneParameterGroupResponse) SetStatusCode

func (CloneParameterGroupResponse) String

type CloneParameterGroupResponseBody

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

func (CloneParameterGroupResponseBody) GoString

func (*CloneParameterGroupResponseBody) SetRequestId

func (CloneParameterGroupResponseBody) String

type ConfirmNotifyRequest

type ConfirmNotifyRequest struct {
	// The ID of the Alibaba Cloud account that is used to confirm the notification. You can set this parameter to **0**, which indicates that the notification is confirmed by the system.
	Confirmor *int64 `json:"Confirmor,omitempty" xml:"Confirmor,omitempty"`
	// The IDs of the notifications that needs to be confirmed. You can call the [QueryNotify](~~427959~~) operation to query notifications for an instance.
	NotifyIdList []*int64 `json:"NotifyIdList,omitempty" xml:"NotifyIdList,omitempty" type:"Repeated"`
}

func (ConfirmNotifyRequest) GoString

func (s ConfirmNotifyRequest) GoString() string

func (*ConfirmNotifyRequest) SetConfirmor

func (s *ConfirmNotifyRequest) SetConfirmor(v int64) *ConfirmNotifyRequest

func (*ConfirmNotifyRequest) SetNotifyIdList

func (s *ConfirmNotifyRequest) SetNotifyIdList(v []*int64) *ConfirmNotifyRequest

func (ConfirmNotifyRequest) String

func (s ConfirmNotifyRequest) String() string

type ConfirmNotifyResponse

type ConfirmNotifyResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ConfirmNotifyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ConfirmNotifyResponse) GoString

func (s ConfirmNotifyResponse) GoString() string

func (*ConfirmNotifyResponse) SetBody

func (*ConfirmNotifyResponse) SetHeaders

func (*ConfirmNotifyResponse) SetStatusCode

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

func (ConfirmNotifyResponse) String

func (s ConfirmNotifyResponse) String() string

type ConfirmNotifyResponseBody

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

func (ConfirmNotifyResponseBody) GoString

func (s ConfirmNotifyResponseBody) GoString() string

func (*ConfirmNotifyResponseBody) SetRequestId

func (ConfirmNotifyResponseBody) String

func (s ConfirmNotifyResponseBody) String() string

type ConfirmNotifyShrinkRequest

type ConfirmNotifyShrinkRequest struct {
	// The ID of the Alibaba Cloud account that is used to confirm the notification. You can set this parameter to **0**, which indicates that the notification is confirmed by the system.
	Confirmor *int64 `json:"Confirmor,omitempty" xml:"Confirmor,omitempty"`
	// The IDs of the notifications that needs to be confirmed. You can call the [QueryNotify](~~427959~~) operation to query notifications for an instance.
	NotifyIdListShrink *string `json:"NotifyIdList,omitempty" xml:"NotifyIdList,omitempty"`
}

func (ConfirmNotifyShrinkRequest) GoString

func (s ConfirmNotifyShrinkRequest) GoString() string

func (*ConfirmNotifyShrinkRequest) SetConfirmor

func (*ConfirmNotifyShrinkRequest) SetNotifyIdListShrink

func (s *ConfirmNotifyShrinkRequest) SetNotifyIdListShrink(v string) *ConfirmNotifyShrinkRequest

func (ConfirmNotifyShrinkRequest) String

type CopyDatabaseBetweenInstancesRequest

type CopyDatabaseBetweenInstancesRequest struct {
	// The ID of the backup set by which you want to restore databases of the source instance. When you replicate databases by backup set, you can call the DescribeBackups operation to obtain the ID of the backup set.
	//
	// > : You must specify one of the **BackupId** and **RestoreTime** parameters.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The source instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The names of the databases that you want to copy. Format: `Source database name 1,Source database name 2`.
	DbNames         *string `json:"DbNames,omitempty" xml:"DbNames,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time when the system replicates databases. You can select a point in time within the backup retention period. 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.
	//
	// > You must specify one of the **BackupId** and **RestoreTime** parameters.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// Specifies whether to copy users and permissions.
	//
	// *   **YES**: copies users and permissions. If the destination instance has a user whose name is the same as a user in the source instance, the permissions of the user in the source instance will also be granted to the user in the destination instance after you copy user permissions.
	// *   **NO**: does not copy users and permissions.
	//
	// Default value: **NO**.
	SyncUserPrivilege *string `json:"SyncUserPrivilege,omitempty" xml:"SyncUserPrivilege,omitempty"`
	// The destination instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	TargetDBInstanceId *string `json:"TargetDBInstanceId,omitempty" xml:"TargetDBInstanceId,omitempty"`
}

func (CopyDatabaseBetweenInstancesRequest) GoString

func (*CopyDatabaseBetweenInstancesRequest) SetBackupId

func (*CopyDatabaseBetweenInstancesRequest) SetDBInstanceId

func (*CopyDatabaseBetweenInstancesRequest) SetDbNames

func (*CopyDatabaseBetweenInstancesRequest) SetResourceOwnerId

func (*CopyDatabaseBetweenInstancesRequest) SetRestoreTime

func (*CopyDatabaseBetweenInstancesRequest) SetSyncUserPrivilege

func (*CopyDatabaseBetweenInstancesRequest) SetTargetDBInstanceId

func (CopyDatabaseBetweenInstancesRequest) String

type CopyDatabaseBetweenInstancesResponse

type CopyDatabaseBetweenInstancesResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CopyDatabaseBetweenInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CopyDatabaseBetweenInstancesResponse) GoString

func (*CopyDatabaseBetweenInstancesResponse) SetHeaders

func (*CopyDatabaseBetweenInstancesResponse) SetStatusCode

func (CopyDatabaseBetweenInstancesResponse) String

type CopyDatabaseBetweenInstancesResponseBody

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

func (CopyDatabaseBetweenInstancesResponseBody) GoString

func (*CopyDatabaseBetweenInstancesResponseBody) SetRequestId

func (CopyDatabaseBetweenInstancesResponseBody) String

type CopyDatabaseRequest

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

func (CopyDatabaseRequest) GoString

func (s CopyDatabaseRequest) GoString() string

func (*CopyDatabaseRequest) SetOwnerId

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

func (*CopyDatabaseRequest) SetResourceGroupId added in v3.0.210

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

func (*CopyDatabaseRequest) SetResourceOwnerAccount

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

func (*CopyDatabaseRequest) SetResourceOwnerId

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

func (CopyDatabaseRequest) String

func (s CopyDatabaseRequest) String() string

type CopyDatabaseResponse

type CopyDatabaseResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CopyDatabaseResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CopyDatabaseResponse) GoString

func (s CopyDatabaseResponse) GoString() string

func (*CopyDatabaseResponse) SetBody

func (*CopyDatabaseResponse) SetHeaders

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

func (*CopyDatabaseResponse) SetStatusCode

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

func (CopyDatabaseResponse) String

func (s CopyDatabaseResponse) String() string

type CopyDatabaseResponseBody

type CopyDatabaseResponseBody struct {
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The status of the database. Valid values:
	//
	// *   **Creating**
	// *   **Running**
	// *   **Deleting**
	DBStatus *string `json:"DBStatus,omitempty" xml:"DBStatus,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (CopyDatabaseResponseBody) GoString

func (s CopyDatabaseResponseBody) GoString() string

func (*CopyDatabaseResponseBody) SetDBName

func (*CopyDatabaseResponseBody) SetDBStatus

func (*CopyDatabaseResponseBody) SetRequestId

func (*CopyDatabaseResponseBody) SetTaskId

func (CopyDatabaseResponseBody) String

func (s CopyDatabaseResponseBody) String() string

type CreateAccountRequest

type CreateAccountRequest struct {
	// The description of the account. The value must be 2 to 256 characters in length. The value can contain letters, digits, underscores (\_), and hyphens (-), and must start with a letter.
	//
	// > : The name cannot start with http:// or https://.
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The username of the account.
	//
	// *   The value must be unique.
	//
	// *   The value must start with a lowercase letter, and end with a lowercase letter or a digit.
	//
	// *   The value can contain lowercase letters, digits, and underscores (\_).
	//
	// *   The length of the value must meet the following requirements:
	//
	//     *   If the instance runs MySQL 5.7 or MySQL 8.0, the value must be 2 to 32 characters in length.
	//     *   If the instance runs MySQL 5.6, the value must be 2 to 16 characters in length.
	//     *   If the instance runs SQL Server, the value must be 2 to 64 characters in length.
	//     *   If the instance runs PostgreSQL with cloud disks, the value must be 2 to 63 characters in length.
	//     *   If the instance runs PostgreSQL with local disks, the value must be 2 to 16 characters in length.
	//     *   If the instance runs MariaDB, the value must be 2 to 16 characters in length.
	//
	// *   For more information about invalid characters, see [Forbidden keywords table](~~26317~~).
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password of the account.
	//
	//
	// *   The value must be 8 to 32 characters in length.
	//
	// *   The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// *   Special characters include `! @ # $ % ^ & * ( ) _ + - =`
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The account type. Valid values:
	//
	// *   **Normal**: standard account
	// *   **Super**: privileged account
	//
	// Default value: **Normal**.
	AccountType *string `json:"AccountType,omitempty" xml:"AccountType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateAccountRequest) GoString

func (s CreateAccountRequest) GoString() string

func (*CreateAccountRequest) SetAccountDescription

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

func (*CreateAccountRequest) SetAccountName

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

func (*CreateAccountRequest) SetAccountPassword

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

func (*CreateAccountRequest) SetAccountType

func (s *CreateAccountRequest) SetAccountType(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" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateAccountResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 ID of the request.
	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 type of the instance. Valid values:
	//
	// *   **Logical**: logical backup
	// *   **Physical**: physical backup
	// *   **Snapshot**: snapshot backup
	//
	// Default value: **Physical**.
	//
	// > *   You can perform a logical backup only when databases are created on the instance.
	// > *   When you perform a snapshot backup on an ApsaraDB RDS for MariaDB instance, you must set this parameter to **Physical**.
	// > *   For more information about the supported backup types, see [Use the data backup feature](~~98818~~).
	// > *   When you perform a snapshot backup on an ApsaraDB RDS for SQL Server instance that uses cloud disks, you must set this parameter to **Snapshot**.
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The backup policy. Valid values:
	//
	// *   **db**: a database-level backup.
	// *   **instance**: an instance-level backup.
	//
	// > You can specify this parameter when you perform a logical backup on an ApsaraDB RDS for MySQL instance. You can also specify this parameter when you perform a full physical backup on an ApsaraDB RDS for SQL Server instance.
	BackupStrategy *string `json:"BackupStrategy,omitempty" xml:"BackupStrategy,omitempty"`
	// The backup method. Valid values:
	//
	// *   **Auto**: full or incremental backup that is automatically selected
	// *   **FullBackup**: full backup
	//
	// Default value: **Auto**.
	//
	// > *   You must set this parameter only when the instance runs SQL Server.
	// > *   This parameter is valid only when you set the **BackupMethod** parameter to **Physical**.
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The names of the databases whose data you want to back up. Separate the names of the databases with commas (,).
	//
	// > You can specify this parameter when you perform a logical backup on individual databases of an ApsaraDB RDS for MySQL instance. You can also specify this parameter when you perform a full physical backup on individual databases of an ApsaraDB RDS for SQL Server instance.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute to query the resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,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) SetBackupStrategy

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

func (*CreateBackupRequest) SetBackupType

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

func (*CreateBackupRequest) SetDBInstanceId

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

func (*CreateBackupRequest) SetDBName

func (*CreateBackupRequest) SetResourceGroupId

func (s *CreateBackupRequest) SetResourceGroupId(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" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateBackupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateBackupResponse) GoString

func (s CreateBackupResponse) GoString() string

func (*CreateBackupResponse) SetBody

func (*CreateBackupResponse) SetHeaders

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

func (*CreateBackupResponse) SetStatusCode

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

func (CreateBackupResponse) String

func (s CreateBackupResponse) String() string

type CreateBackupResponseBody

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

func (CreateBackupResponseBody) GoString

func (s CreateBackupResponseBody) GoString() string

func (*CreateBackupResponseBody) SetBackupJobId

func (*CreateBackupResponseBody) SetRequestId

func (CreateBackupResponseBody) String

func (s CreateBackupResponseBody) String() string

type CreateCloudMigrationPrecheckTaskRequest

type CreateCloudMigrationPrecheckTaskRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName  *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The username of the account that is used to connect to the self-managed PostgreSQL instance. Enter the username of the account that you created in the [Create an account for cloud migration on a self-managed PostgreSQL instance](~~369500~~) topic.
	SourceAccount *string `json:"SourceAccount,omitempty" xml:"SourceAccount,omitempty"`
	// The environment in which the self-managed PostgreSQL instance runs.
	//
	// *   **idcOnVpc**: The self-managed PostgreSQL instance resides in a data center. The data center can communicate with the VPC to which the ApsaraDB RDS for PostgreSQL instance belongs.
	// *   **ecsOnVpc**: The self-managed PostgreSQL instance resides on an ECS instance.
	SourceCategory *string `json:"SourceCategory,omitempty" xml:"SourceCategory,omitempty"`
	// The private IP address that is used to connect to the self-managed PostgreSQL instance.
	//
	// *   If the self-managed PostgreSQL instance resides on an ECS instance, enter the private IP address of the ECS instance. For more information about how to obtain the private IP address of an ECS instance, see [View IP addresses](~~273914~~).
	// *   If the self-managed PostgreSQL instance resides in an on-premises data center, enter the private IP address of the on-premises data center.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The password of the account that is used to connect to the self-managed PostgreSQL instance. Enter the password of the account that you created in the [Create an account for cloud migration on a self-managed PostgreSQL instance](~~369500~~) topic.
	SourcePassword *string `json:"SourcePassword,omitempty" xml:"SourcePassword,omitempty"`
	// The port that is used to connect to the self-managed PostgreSQL instance. You can run the `netstat -a | grep PGSQL` command to view the port.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// The name of the task. If you do not specify this parameter, ApsaraDB RDS automatically generates a name for the cloud migration task.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (CreateCloudMigrationPrecheckTaskRequest) GoString

func (*CreateCloudMigrationPrecheckTaskRequest) SetDBInstanceName

func (*CreateCloudMigrationPrecheckTaskRequest) SetResourceOwnerId

func (*CreateCloudMigrationPrecheckTaskRequest) SetSourceAccount

func (*CreateCloudMigrationPrecheckTaskRequest) SetSourceCategory

func (*CreateCloudMigrationPrecheckTaskRequest) SetSourceIpAddress

func (*CreateCloudMigrationPrecheckTaskRequest) SetSourcePassword

func (*CreateCloudMigrationPrecheckTaskRequest) SetSourcePort

func (*CreateCloudMigrationPrecheckTaskRequest) SetTaskName

func (CreateCloudMigrationPrecheckTaskRequest) String

type CreateCloudMigrationPrecheckTaskResponse

type CreateCloudMigrationPrecheckTaskResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateCloudMigrationPrecheckTaskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateCloudMigrationPrecheckTaskResponse) GoString

func (*CreateCloudMigrationPrecheckTaskResponse) SetHeaders

func (*CreateCloudMigrationPrecheckTaskResponse) SetStatusCode

func (CreateCloudMigrationPrecheckTaskResponse) String

type CreateCloudMigrationPrecheckTaskResponseBody

type CreateCloudMigrationPrecheckTaskResponseBody struct {
	// The name of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The name of the task.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (CreateCloudMigrationPrecheckTaskResponseBody) GoString

func (*CreateCloudMigrationPrecheckTaskResponseBody) SetDBInstanceName

func (*CreateCloudMigrationPrecheckTaskResponseBody) SetRequestId

func (*CreateCloudMigrationPrecheckTaskResponseBody) SetTaskId

func (*CreateCloudMigrationPrecheckTaskResponseBody) SetTaskName

func (CreateCloudMigrationPrecheckTaskResponseBody) String

type CreateCloudMigrationTaskRequest

type CreateCloudMigrationTaskRequest struct {
	// The ID of the destination instance. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName  *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The username of the account that is used to connect to the self-managed PostgreSQL instance. Enter the username of the account that you created in the [Create an account for cloud migration on a self-managed PostgreSQL instance](~~369500~~) topic.
	SourceAccount *string `json:"SourceAccount,omitempty" xml:"SourceAccount,omitempty"`
	// The environment in which the self-managed PostgreSQL instance runs.
	//
	// *   **idcOnVpc**: The self-managed PostgreSQL instance resides in a data center. The data center can communicate with the VPC to which the ApsaraDB RDS for PostgreSQL instance belongs.
	// *   **ecsOnVpc**: The self-managed PostgreSQL instance resides on an ECS instance.
	SourceCategory *string `json:"SourceCategory,omitempty" xml:"SourceCategory,omitempty"`
	// The private or public IP address that is used to connect to the self-managed PostgreSQL instance.
	//
	// *   If the self-managed PostgreSQL instance resides on an Elastic Compute Service (ECS) instance, enter the private IP address of the ECS instance. For more information about how to obtain the private IP address of an ECS instance, see [View IP addresses](~~273914~~).
	// *   If the self-managed PostgreSQL instance resides in a data center, enter the private IP address of the data center.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The password of the account that is used to connect to the self-managed PostgreSQL instance. Enter the password of the account that you created in the [Create an account for cloud migration on a self-managed PostgreSQL instance](~~369500~~) topic.
	SourcePassword *string `json:"SourcePassword,omitempty" xml:"SourcePassword,omitempty"`
	// The port number that is used to connect to the self-managed PostgreSQL instance. You can run the `netstat -a | grep PGSQL` command to obtain the port number.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// The name of the task. If you do not specify this parameter, ApsaraDB RDS automatically generates a name for the cloud migration task.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (CreateCloudMigrationTaskRequest) GoString

func (*CreateCloudMigrationTaskRequest) SetDBInstanceName

func (*CreateCloudMigrationTaskRequest) SetResourceOwnerId

func (*CreateCloudMigrationTaskRequest) SetSourceAccount

func (*CreateCloudMigrationTaskRequest) SetSourceCategory

func (*CreateCloudMigrationTaskRequest) SetSourceIpAddress

func (*CreateCloudMigrationTaskRequest) SetSourcePassword

func (*CreateCloudMigrationTaskRequest) SetSourcePort

func (*CreateCloudMigrationTaskRequest) SetTaskName

func (CreateCloudMigrationTaskRequest) String

type CreateCloudMigrationTaskResponse

type CreateCloudMigrationTaskResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateCloudMigrationTaskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateCloudMigrationTaskResponse) GoString

func (*CreateCloudMigrationTaskResponse) SetHeaders

func (*CreateCloudMigrationTaskResponse) SetStatusCode

func (CreateCloudMigrationTaskResponse) String

type CreateCloudMigrationTaskResponseBody

type CreateCloudMigrationTaskResponseBody struct {
	// The name of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The name of the task.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (CreateCloudMigrationTaskResponseBody) GoString

func (*CreateCloudMigrationTaskResponseBody) SetDBInstanceName

func (*CreateCloudMigrationTaskResponseBody) SetRequestId

func (*CreateCloudMigrationTaskResponseBody) SetTaskId

func (*CreateCloudMigrationTaskResponseBody) SetTaskName

func (CreateCloudMigrationTaskResponseBody) String

type CreateDBInstanceEndpointAddressRequest added in v3.0.3

type CreateDBInstanceEndpointAddressRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The prefix of the public endpoint.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The endpoint ID of the instance. You can call the [DescribeDBInstanceEndpoints](~~610488~~) operation to query the endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the endpoint. Only Internet is supported. Set the value to **Public**.
	IpType *string `json:"IpType,omitempty" xml:"IpType,omitempty"`
	// The port number of the public endpoint.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateDBInstanceEndpointAddressRequest) GoString added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetClientToken added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetConnectionStringPrefix added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetDBInstanceEndpointId added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetDBInstanceId added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetIpType added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetPort added in v3.0.3

func (*CreateDBInstanceEndpointAddressRequest) SetResourceGroupId added in v3.0.7

func (*CreateDBInstanceEndpointAddressRequest) SetResourceOwnerId added in v3.0.3

func (CreateDBInstanceEndpointAddressRequest) String added in v3.0.3

type CreateDBInstanceEndpointAddressResponse added in v3.0.3

type CreateDBInstanceEndpointAddressResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDBInstanceEndpointAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDBInstanceEndpointAddressResponse) GoString added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponse) SetBody added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponse) SetHeaders added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponse) SetStatusCode added in v3.0.3

func (CreateDBInstanceEndpointAddressResponse) String added in v3.0.3

type CreateDBInstanceEndpointAddressResponseBody added in v3.0.3

type CreateDBInstanceEndpointAddressResponseBody struct {
	// The data returned.
	Data *CreateDBInstanceEndpointAddressResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDBInstanceEndpointAddressResponseBody) GoString added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponseBody) SetData added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponseBody) SetRequestId added in v3.0.3

func (CreateDBInstanceEndpointAddressResponseBody) String added in v3.0.3

type CreateDBInstanceEndpointAddressResponseBodyData added in v3.0.3

type CreateDBInstanceEndpointAddressResponseBodyData struct {
	// The public endpoint.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (CreateDBInstanceEndpointAddressResponseBodyData) GoString added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponseBodyData) SetConnectionString added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponseBodyData) SetDBInstanceEndpointId added in v3.0.3

func (*CreateDBInstanceEndpointAddressResponseBodyData) SetDBInstanceName added in v3.0.3

func (CreateDBInstanceEndpointAddressResponseBodyData) String added in v3.0.3

type CreateDBInstanceEndpointRequest added in v3.0.3

type CreateDBInstanceEndpointRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The prefix of the internal endpoint.
	//
	// When you create any type of endpoint, an internal endpoint is automatically created for the endpoint. This parameter specifies the prefix of the internal endpoint.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The user-defined description of the endpoint.
	DBInstanceEndpointDescription *string `json:"DBInstanceEndpointDescription,omitempty" xml:"DBInstanceEndpointDescription,omitempty"`
	// The type of the endpoint. Valid values:
	//
	// *   Primary: read/write endpoint of the instance
	// *   Readonly: read-only endpoint of the instance
	DBInstanceEndpointType *string `json:"DBInstanceEndpointType,omitempty" xml:"DBInstanceEndpointType,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The information about the node that is configured for the endpoint.
	NodeItems []*CreateDBInstanceEndpointRequestNodeItems `json:"NodeItems,omitempty" xml:"NodeItems,omitempty" type:"Repeated"`
	// The port number of the internal endpoint. You can specify the port number for the internal endpoint.
	//
	// Valid values: 3000 to 5999.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The IP address of the internal endpoint.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The vSwitch ID of the internal endpoint.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The virtual private cloud (VPC) ID of the internal endpoint.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (CreateDBInstanceEndpointRequest) GoString added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetClientToken added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetConnectionStringPrefix added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetDBInstanceEndpointDescription added in v3.0.3

func (s *CreateDBInstanceEndpointRequest) SetDBInstanceEndpointDescription(v string) *CreateDBInstanceEndpointRequest

func (*CreateDBInstanceEndpointRequest) SetDBInstanceEndpointType added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetDBInstanceId added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetNodeItems added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetPort added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetPrivateIpAddress added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetResourceGroupId added in v3.0.7

func (*CreateDBInstanceEndpointRequest) SetResourceOwnerId added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetVSwitchId added in v3.0.3

func (*CreateDBInstanceEndpointRequest) SetVpcId added in v3.0.3

func (CreateDBInstanceEndpointRequest) String added in v3.0.3

type CreateDBInstanceEndpointRequestNodeItems added in v3.0.3

type CreateDBInstanceEndpointRequestNodeItems struct {
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node ID.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The weight of the node. Read requests are distributed based on the weight.
	//
	// Valid values: 0 to 100.
	Weight *int64 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (CreateDBInstanceEndpointRequestNodeItems) GoString added in v3.0.3

func (*CreateDBInstanceEndpointRequestNodeItems) SetDBInstanceId added in v3.0.3

func (*CreateDBInstanceEndpointRequestNodeItems) SetNodeId added in v3.0.3

func (*CreateDBInstanceEndpointRequestNodeItems) SetWeight added in v3.0.3

func (CreateDBInstanceEndpointRequestNodeItems) String added in v3.0.3

type CreateDBInstanceEndpointResponse added in v3.0.3

type CreateDBInstanceEndpointResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDBInstanceEndpointResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDBInstanceEndpointResponse) GoString added in v3.0.3

func (*CreateDBInstanceEndpointResponse) SetBody added in v3.0.3

func (*CreateDBInstanceEndpointResponse) SetHeaders added in v3.0.3

func (*CreateDBInstanceEndpointResponse) SetStatusCode added in v3.0.3

func (CreateDBInstanceEndpointResponse) String added in v3.0.3

type CreateDBInstanceEndpointResponseBody added in v3.0.3

type CreateDBInstanceEndpointResponseBody struct {
	// The data returned.
	Data *CreateDBInstanceEndpointResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDBInstanceEndpointResponseBody) GoString added in v3.0.3

func (*CreateDBInstanceEndpointResponseBody) SetData added in v3.0.3

func (*CreateDBInstanceEndpointResponseBody) SetRequestId added in v3.0.3

func (CreateDBInstanceEndpointResponseBody) String added in v3.0.3

type CreateDBInstanceEndpointResponseBodyData added in v3.0.3

type CreateDBInstanceEndpointResponseBodyData struct {
	// The internal endpoint.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (CreateDBInstanceEndpointResponseBodyData) GoString added in v3.0.3

func (*CreateDBInstanceEndpointResponseBodyData) SetConnectionString added in v3.0.3

func (*CreateDBInstanceEndpointResponseBodyData) SetDBInstanceEndpointId added in v3.0.3

func (*CreateDBInstanceEndpointResponseBodyData) SetDBInstanceName added in v3.0.3

func (CreateDBInstanceEndpointResponseBodyData) String added in v3.0.3

type CreateDBInstanceEndpointShrinkRequest added in v3.0.3

type CreateDBInstanceEndpointShrinkRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The prefix of the internal endpoint.
	//
	// When you create any type of endpoint, an internal endpoint is automatically created for the endpoint. This parameter specifies the prefix of the internal endpoint.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The user-defined description of the endpoint.
	DBInstanceEndpointDescription *string `json:"DBInstanceEndpointDescription,omitempty" xml:"DBInstanceEndpointDescription,omitempty"`
	// The type of the endpoint. Valid values:
	//
	// *   Primary: read/write endpoint of the instance
	// *   Readonly: read-only endpoint of the instance
	DBInstanceEndpointType *string `json:"DBInstanceEndpointType,omitempty" xml:"DBInstanceEndpointType,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The information about the node that is configured for the endpoint.
	NodeItemsShrink *string `json:"NodeItems,omitempty" xml:"NodeItems,omitempty"`
	// The port number of the internal endpoint. You can specify the port number for the internal endpoint.
	//
	// Valid values: 3000 to 5999.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The IP address of the internal endpoint.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The vSwitch ID of the internal endpoint.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The virtual private cloud (VPC) ID of the internal endpoint.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (CreateDBInstanceEndpointShrinkRequest) GoString added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetClientToken added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetConnectionStringPrefix added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetDBInstanceEndpointDescription added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetDBInstanceEndpointType added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetDBInstanceId added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetNodeItemsShrink added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetPort added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetPrivateIpAddress added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetResourceGroupId added in v3.0.7

func (*CreateDBInstanceEndpointShrinkRequest) SetResourceOwnerId added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetVSwitchId added in v3.0.3

func (*CreateDBInstanceEndpointShrinkRequest) SetVpcId added in v3.0.3

func (CreateDBInstanceEndpointShrinkRequest) String added in v3.0.3

type CreateDBInstanceForRebuildRequest added in v3.0.4

type CreateDBInstanceForRebuildRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The name of the instance. The name must be 2 to 256 characters in length. The name can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
	//
	// > : The name cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the network connection to the instance. Valid values:
	//
	// *   **Internet**
	// *   **Intranet**
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **VPC**
	// *   **Classic**
	//
	// Default value: Classic.
	//
	// >  The **VPCId** and **VSwitchId** parameters must be specified when this parameter is set to **VPC**.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	OwnerAccount        *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId             *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The billing method of the destination instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit of the subscription duration. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// >  If you set the PayType parameter to **Prepaid**, you must specify this parameter.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~610399~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group. The value of this parameter can be NULL.
	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 IP address whitelist of the serverless instance. For more information, see [Use a database client or the CLI to connect to an ApsaraDB RDS for PostgreSQL instance](~~43185~~). If the IP address whitelist contains more than one entry, separate the entries with commas (,). Each entry must be unique. You can specify up to 1,000 entries. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as 10.10.XX.XX.
	// *   CIDR blocks, such as 10.10.XX.XX/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.
	//
	// If this parameter is not specified, the default IP address whitelist is used.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	SecurityToken  *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The subscription duration of the instance. Valid values:
	//
	// *   If you set **Period** to **Year**, the value of **UsedTime** ranges from **1** to **5**.
	// *   If you set **Period** to **Month**, the value of **UsedTime** ranges from **1** to **11**.
	//
	// > If you set **PayType** to **Prepaid**, you must specify this parameter.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The VPC ID of the instance. If you set **InstanceNetworkType** to **VPC**, you must specify this parameter.
	//
	// > : If you specify this parameter, you must also specify **ZoneId**.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch. The vSwitch must belong to the zone that is specified by **ZoneId**.
	//
	// >
	//
	// *   If you set **InstanceNetworkType** to **VPC**, you must also specify this parameter.
	//
	// *   If you specify the ZoneSlaveId1 parameter, you must specify the IDs of two vSwitches for this parameter and separate the IDs with a comma (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the primary instance. You can call the [DescribeRegions](~~26243~~) operation to query the most recent zone list.
	//
	// > If you specify a virtual private cloud (VPC) and a vSwitch, you must specify this parameter to identify the zone for the vSwitch.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The zone ID of the secondary instance.
	//
	// >  If the instance does not run RDS Basic Edition, you must specify this parameter.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// The zone ID of the logger instance.
	//
	// >  This parameter is available only when the instance runs RDS Enterprise Edition.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (CreateDBInstanceForRebuildRequest) GoString added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetClientToken added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetDBInstanceDescription added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetDBInstanceId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetDBInstanceNetType added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetInstanceNetworkType added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetOwnerAccount added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetOwnerId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetPayType added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetPeriod added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetRegionId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetResourceGroupId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetResourceOwnerAccount added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetResourceOwnerId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetSecurityIPList added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetSecurityToken added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetUsedTime added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetVPCId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetVSwitchId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetZoneId added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetZoneIdSlave1 added in v3.0.4

func (*CreateDBInstanceForRebuildRequest) SetZoneIdSlave2 added in v3.0.4

func (CreateDBInstanceForRebuildRequest) String added in v3.0.4

type CreateDBInstanceForRebuildResponse added in v3.0.4

type CreateDBInstanceForRebuildResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDBInstanceForRebuildResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDBInstanceForRebuildResponse) GoString added in v3.0.4

func (*CreateDBInstanceForRebuildResponse) SetBody added in v3.0.4

func (*CreateDBInstanceForRebuildResponse) SetHeaders added in v3.0.4

func (*CreateDBInstanceForRebuildResponse) SetStatusCode added in v3.0.4

func (CreateDBInstanceForRebuildResponse) String added in v3.0.4

type CreateDBInstanceForRebuildResponseBody added in v3.0.4

type CreateDBInstanceForRebuildResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The response parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (CreateDBInstanceForRebuildResponseBody) GoString added in v3.0.4

func (*CreateDBInstanceForRebuildResponseBody) SetDBInstanceId added in v3.0.4

func (*CreateDBInstanceForRebuildResponseBody) SetMessage added in v3.0.4

func (*CreateDBInstanceForRebuildResponseBody) SetOrderId added in v3.0.4

func (*CreateDBInstanceForRebuildResponseBody) SetRequestId added in v3.0.4

func (*CreateDBInstanceForRebuildResponseBody) SetTaskId added in v3.0.4

func (CreateDBInstanceForRebuildResponseBody) String added in v3.0.4

type CreateDBInstanceRequest

type CreateDBInstanceRequest struct {
	// The number of ApsaraDB RDS for MySQL instances that you want to create. The parameter takes effect only when you create multiple ApsaraDB RDS for MySQL instances at a time by using a single request.
	//
	// Valid values: **1** to **20**. Default value: **1**.
	//
	// > *   If you want to create multiple ApsaraDB RDS for MySQL instances at a time by using a single request, you can add tags to all the instances by using the **Tag.Key** parameter and the **Tag.Value** parameter. After the instances are created, you can manage the instances based on the tags.
	// > *   After you submit a request to create multiple ApsaraDB RDS for MySQL instances, this operation returns **TaskId**, **RequestId**, and **Message**. You can call the DescribeDBInstanceAttribute operation to query the details of an instance.
	// > *   If the value of the **Engine** parameter is not **MySQL** and the value of the Amount parameter is greater than **1**, this operation fails and returns an error code `InvalidParam.Engine`.
	Amount *int32 `json:"Amount,omitempty" xml:"Amount,omitempty"`
	// Specifies whether to automatically complete the payment. Default value: true. Valid values:
	//
	// *   **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// *   **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can pay for the order in the ApsaraDB RDS console.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. You must specify this parameter only if the instance uses the subscription billing method. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > *   The auto-renewal cycle is one month for a monthly subscription.
	// > *   The auto-renewal cycle is one year for a yearly subscription.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The configuration of the Babelfish feature for the instance that runs PostgreSQL.
	//
	// Format:{"babelfishEnabled":"true","migrationMode":"xxxxxxx","masterUsername":"xxxxxxx","masterUserPassword":"xxxxxxxx"}
	//
	// The following list describes the fields in the format:
	//
	// *   **babelfishEnabled**: specifies whether to enable Babelfish for the instance. If you set this field to **true**, you enable Babelfish for the instance. If you leave this parameter empty, Babelfish is disabled for the instance.
	// *   **migrationMode**: The migration mode of the instance. Valid values: **single-db** and **multi-db**.
	// *   **masterUsername**: The username of the administrator account. The username can contain lowercase letters, digits, and underscores (\_). It must start with a letter and end with a letter or digit. It can be up to 63 characters in length and cannot start with pg.
	// *   **masterUserPassword**: The password of the administrator account. The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. It must be 8 to 32 characters in length. The password can contain any of the following characters: `! @ # $ % ^ & * ( ) _ + - =`.
	//
	// > : This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](~~428613~~).
	BabelfishConfig *string `json:"BabelfishConfig,omitempty" xml:"BabelfishConfig,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The additional business information about the instance.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   Regular RDS instance
	//
	//     *   **Basic**: RDS Basic Edition.
	//     *   **HighAvailability**: RDS High-availability Edition.
	//     *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	//     *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server.
	//     *   **Finance**: RDS Enterprise Edition.
	//
	// *   Serverless instance
	//
	//     *   **serverless_basic**: RDS Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL.
	//     *   **serverless_standard**: RDS High-availability Edition. This edition is available only for instances that run MySQL and PostgreSQL.
	//     *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server.
	//
	//     **
	//
	//     **Note** This parameter is required when you create a serverless instance.
	Category *string `json:"Category,omitempty" xml:"Category,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	//
	// ApsaraDB RDS automatically assigns a connection mode to the instance.
	//
	// > : SQL Server 2012, SQL Server 2016, and SQL Server 2017 support only the standard mode.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The internal endpoint that is used to connect to the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The policy based on which multiple instances are created. The parameter takes effect only when the value of the **Amount** parameter is greater than 1. Valid values:
	//
	// *   **Atomicity** (default): atomicity. The instances are all created together. If one instance cannot be created, none of the instances are created.
	// *   **Partial**: non-atomicity. Each instance is independently created. The failure in creating an instance does not affect the creation of the other instances.
	CreateStrategy *string `json:"CreateStrategy,omitempty" xml:"CreateStrategy,omitempty"`
	// The instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	//
	// To create a serverless instance, set this parameter to one of the following values:
	//
	// *   If you want to create a serverless instance that runs MySQL on RDS Basic Edition, set this parameter to **mysql.n2.serverless.1c**.
	// *   If you want to create a serverless instance that runs MySQL on RDS High-availability Edition, set this parameter to **mysql.n2.serverless.2c**.
	// *   If you want to create a serverless instance that runs SQL Server, set this parameter to **mssql.mem2.serverless.s2**.
	// *   If you want to create a serverless instance that runs PostgreSQL on RDS Basic Edition, set this parameter to **pg.n2.serverless.1c**.
	// *   If you want to create a serverless instance that runs PostgreSQL on RDS High-availability Edition, set this parameter to **pg.n2.serverless.2c**.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance name. The name must be 2 to 255 characters in length and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
	//
	// > : The name cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The network connection type of the instance. The value of this parameter is fixed as **Intranet**, indicating an internal network connection.
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The storage capacity of the instance. Unit: GB. The storage capacity increases in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD. This is the recommended storage type.
	// *   **cloud_ssd**: standard SSD. This storage type is not recommended. Standard SSDs are no longer available for purchase in some Alibaba Cloud regions.
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1).
	// *   **cloud_essd2**: ESSD of PL2.
	// *   **cloud_essd3**: ESSD of PL3.
	//
	// The default value of this parameter is determined by the instance type specified by the **DBInstanceClass** parameter.
	//
	// *   If the instance type specifies the local SSD storage type, the default value of this parameter is **local_ssd**.
	// *   If the instance type specifies the standard SSD or ESSD storage type, the default value of this parameter is **cloud_essd**.
	//
	// >  Serverless instances use only ESSDs of PL1. If you create a serverless instance, you must set this parameter to **cloud_essd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// Specifies whether the table name is case-sensitive. Valid values:
	//
	// *   **true**: Table names are not case-sensitive. This is the default value.
	// *   **false**: Table names are case-sensitive.
	DBIsIgnoreCase *string `json:"DBIsIgnoreCase,omitempty" xml:"DBIsIgnoreCase,omitempty"`
	// The ID of the parameter template. You can call the DescribeParameterGroups operation to query the ID of the parameter template.
	//
	// > : This parameter is available if you want to create an instance that runs MySQL or PostgreSQL . If you do not configure this parameter, the default parameter template is used. If you want to use a custom parameter template, you can customize a parameter template and set this parameter to the ID of the custom template.
	DBParamGroupId *string `json:"DBParamGroupId,omitempty" xml:"DBParamGroupId,omitempty"`
	// The time zone of the instance. This parameter takes effect only when you set the **Engine** parameter to **MySQL** or **PostgreSQL**.
	//
	// *   If you set **Engine** to **MySQL**:
	//
	//     *   The time zone of the instance is in UTC. Valid values: \*\*-12:59\*\* to **+13:00**.
	//     *   If the instance uses local SSDs, you can specify the name of the time zone. Example: Asia/Hong_Kong. For more information, see [Time zones](~~297356~~).
	//
	// *   If you set **Engine** to **PostgreSQL**:
	//
	//     *   The time zone of the instance is not in UTC. For more information, see [Time zones](~~297356~~).
	//     *   You can specify this parameter only when the instance runs PostgreSQL with standard SSDs or ESSDs.
	//
	// > *   You can specify the time zone when you create a primary instance. You cannot specify the time zone when you create a read-only instance. Read-only instances inherit the time zone of their primary instance.
	// > *   If you do not specify this parameter, the system automatically assigns the default time zone of the region in which the instance resides.
	DBTimeZone *string `json:"DBTimeZone,omitempty" xml:"DBTimeZone,omitempty"`
	// The ID of the dedicated cluster to which the instance belongs.
	//
	// If you create the instance in a dedicated cluster, you must specify this parameter.
	//
	// *   You can call the DescribeDedicatedHostGroups operation to query the details of a dedicated cluster.
	// *   If no dedicated clusters are created, you can call the CreateDedicatedHostGroup operation to create a dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Specifies whether to enable the release protection feature for the instance. This feature is available only for pay-as-you-go instances. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run but does not perform the actual request. The system checks items such as the request parameters, request format, service limits, and available resources.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the instance is created.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the key that is used to encrypt data on standard SSDs or ESSDs in the region of the instance. If you specify the EncryptionKey parameter, cloud disk encryption is automatically enabled. In this case, you must also specify the **RoleARN** parameter. Cloud disk encryption cannot be disabled after it is enabled.
	//
	// You can obtain the ID of the key from the Key Management Service (KMS) console. You can also create a key. For more information, see [Create a CMK](~~181610~~).
	//
	// >  This parameter is optional when you create an ApsaraDB RDS for PostgreSQL instance. You need to only specify the **RoleARN** parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// *   Regular RDS instance
	//
	//     *   Valid values when you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**
	//     *   Valid values when you set Engine to SQLServer: **08r2\_ent_ha**(cloud disks, discontinued), **2008r2**(local disks, discontinued), **2012**(SQL Server EE Basic), **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2014\_ent_ha**, **2014\_std_ha**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_ent**, **2017\_std_ha**, **2017\_web**, **2019\_ent**, **2019\_std_ha**, **2019\_web**, **2022\_ent**, **2022\_std_ha**, and **2022\_web**
	//     *   Valid values when you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	//     *   Valid value when you set Engine to MariaDB: **10.3**
	//
	// *   Serverless instance
	//
	//     *   Valid values when you set Engine to MySQL: **5.7** and **8.0**
	//     *   Valid values when you set Engine to SQLServer: **2016\_std_sl**, **2017\_std_sl**, and **2019\_std_sl**
	//     *   Valid value when you set Engine to PostgreSQL: **14.0**
	//
	// <!---->
	//
	// *   ApsaraDB RDS for MariaDB does not support serverless instances.
	// *   For ApsaraDB RDS for SQL Server instances, `_ent` indicates SQL Server EE on RDS Cluster Edition, `_ent_ha` indicates SQL Server EE, `_std_ha` indicates SQL Server SE, and `_web` indicates SQL Server Web.
	//
	// >
	//
	// *   ApsaraDB RDS for MariaDB does not support serverless instances.
	//
	// *   Valid value if you set Engine to SQL Server: `_ent` specifies SQL Server EE on RDS Cluster Edition, `_ent_ha` specifies SQL Server EE, `_std_ha` specifies SQL Server SE, and `_web` specifies SQL Server Web.
	//
	// *   RDS instances that run SQL Server 2014 are not available for purchase on the international site.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **VPC**: virtual private cloud (VPC).
	// *   **Classic**: the classic network
	//
	// >
	//
	// *   If the instance runs MySQL and uses cloud disks, you must set this parameter to **VPC**.
	//
	// *   If the instance runs PostgreSQL or MariaDB, you must set this parameter to **VPC**.
	//
	// *   RDS instances that run SQL Server Basic and SQL Server Web can reside in the classic network and virtual private clouds (VPCs). If the instance runs other database engines, you must set this parameter to **VPC**.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	// *   **Serverless**: serverless. This value is not supported for instances that run MariaDB. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](~~411291~~), [Overview of serverless ApsaraDB RDS for SQL Server instances](~~604344~~), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](~~607742~~).
	//
	// > : The system automatically generates a purchase order and completes the payment.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit of the subscription duration. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// >  If you set the PayType parameter to **Prepaid**, you must specify the UsedTime parameter.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The port. You can initialize the port when you create the instance.
	//
	// *   Valid values if the instance runs MySQL: 1000 to 65534
	// *   Valid values if the instance runs PostgreSQL, SQL Server, or MariaDB: 1000 to 5999
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the instance. The private IP address must be within the CIDR block that is supported by the specified vSwitch. ApsaraDB RDS automatically assigns a private IP address to the instance based on the values of the **VPCId** and **vSwitchId** parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) that is provided by your Alibaba Cloud account for RAM users. RAM users can use the ARN to connect ApsaraDB RDS to KMS. You can call the CheckCloudResourceAuthorized operation to query the ARN.
	RoleARN *string `json:"RoleARN,omitempty" xml:"RoleARN,omitempty"`
	// The IP address whitelist of the instance. For more information, see [Use a database client or the CLI to connect to an ApsaraDB RDS for MySQL instance](~~43185~~). If the IP address whitelist contains more than one entry, separate the entries with commas (,). Each entry must be unique. The IP address whitelist can contain up to 1,000 entries. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as 10.10.XX.XX.
	// *   CIDR blocks, such as 10.10.XX.XX/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.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The settings of the serverless instance. This parameter is required when you create a serverless instance.
	//
	// >  ApsaraDB RDS for MariaDB does not support serverless instances.
	ServerlessConfig *CreateDBInstanceRequestServerlessConfig `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty" type:"Struct"`
	// Specifies whether to enable the automatic storage expansion feature for the instance. This feature is supported if your RDS instance runs MySQL or PostgreSQL. Valid values:
	//
	// *   **Enable**
	// *   **Disable** (default)
	//
	// >  After the instance is created, you can call the ModifyDasInstanceConfig operation to adjust the settings of automatic storage expansion for the instance. For more information, see [Configure automatic storage expansion for an ApsaraDB RDS for MySQL instance](~~173826~~).
	StorageAutoScale *string `json:"StorageAutoScale,omitempty" xml:"StorageAutoScale,omitempty"`
	// The threshold in percentage based on which automatic storage expansion is triggered.
	//
	// *   **10**
	// *   **20**
	// *   **30**
	// *   **40**
	// *   **50**
	//
	// >  If you set the **StorageAutoScale** parameter to **Enable**, you must specify this parameter.
	StorageThreshold *int32 `json:"StorageThreshold,omitempty" xml:"StorageThreshold,omitempty"`
	// The maximum storage capacity that is allowed for automatic storage expansion. The storage capacity of the instance cannot exceed the maximum storage capacity. Unit: GB.
	//
	// > *   Valid values: an integer greater than or equal to 0.
	// > *   If you set **StorageAutoScale** to **Enable**, you must specify this parameter.
	StorageUpperBound *int32 `json:"StorageUpperBound,omitempty" xml:"StorageUpperBound,omitempty"`
	// A deprecated parameter. You do not need to specify this parameter.
	SystemDBCharset *string `json:"SystemDBCharset,omitempty" xml:"SystemDBCharset,omitempty"`
	// The tags.
	Tag []*CreateDBInstanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the host to which the logger instance belongs in the specified dedicated cluster.
	//
	// If you want to create an instance that runs RDS Enterprise Edition in a dedicated cluster, you must specify this parameter. If you do not specify this parameter, the system automatically assigns a host.
	//
	// *   You can call the DescribeDedicatedHosts operation to query the details of the hosts in a dedicated cluster.
	// *   If no hosts are created, you can call the CreateDedicatedHost operation to create a host.
	TargetDedicatedHostIdForLog *string `json:"TargetDedicatedHostIdForLog,omitempty" xml:"TargetDedicatedHostIdForLog,omitempty"`
	// The ID of the host to which the instance belongs in the specified dedicated cluster.
	//
	// If you create the instance in a dedicated cluster, you must specify this parameter. If you do not specify this parameter, the system automatically assigns a host.
	//
	// *   You can call the DescribeDedicatedHost operation to query the details about the hosts in a dedicated cluster.
	// *   If no hosts are created, you can call the CreateDedicatedHost operation to create a host.
	TargetDedicatedHostIdForMaster *string `json:"TargetDedicatedHostIdForMaster,omitempty" xml:"TargetDedicatedHostIdForMaster,omitempty"`
	// The ID of the host to which the secondary instance belongs in the specified dedicated cluster.
	//
	// If you want to create an instance that runs RDS High-availability Edition or RDS Enterprise Edition in a dedicated cluster, you must specify this parameter. If you do not specify this parameter, the system automatically assigns a host.
	//
	// *   You can call the DescribeDedicatedHosts operation to query the details of the hosts in a dedicated cluster.
	// *   If no hosts are created, you can call the CreateDedicatedHost operation to create a host.
	TargetDedicatedHostIdForSlave *string `json:"TargetDedicatedHostIdForSlave,omitempty" xml:"TargetDedicatedHostIdForSlave,omitempty"`
	// The minor engine version of the instance. This parameter is required only when you create an instance that runs MySQL or PostgreSQL. The value format varies based on the database engine of the instance.
	//
	// *   If you create an instance that runs MySQL, the value is in the following format: `<RDS edition>_<Minor engine version>`. Examples: `rds_20200229`, `xcluster_20200229`, and `xcluster80_20200229`. The following list describes the fields in the example values:
	//
	//     *   rds: The instance runs RDS Basic Edition or RDS High-availability Edition.
	//     *   xcluster: The instance runs MySQL 5.7 on RDS Enterprise Edition.
	//     *   xcluster80: The instance runs MySQL 8.0 on RDS Enterprise Edition.
	//
	//     **
	//
	//     **Note** You can call the DescribeDBMiniEngineVersions operation to query the minor engine version. For more information about minor engine versions, see [Release notes of minor AliSQL versions](~~96060~~).
	//
	// *   If you create an instance that runs PostgreSQL, the value is in the following format: `rds_postgres_<Major engine version>00_<Minor engine version>`. Example: `rds_postgres_1400_20220830`. The following list describes the fields in the example values:
	//
	//     *   1400: The major engine version is PostgreSQL 14.
	//     *   20220830: the AliPG version. You can call the DescribeDBMiniEngineVersions operation to query the AliPG version. For more information about minor engine versions, see [Release notes for AliPG](~~126002~~).
	//
	//     **
	//
	//     **Note** If you configure the **BabelfishConfig** parameter for your instance that runs PostgreSQL and set the babelfishEnabled field to true, the value of this parameter is in the following format: `rds_postgres_Major engine version00_AliPG version_babelfish`.
	TargetMinorVersion *string `json:"TargetMinorVersion,omitempty" xml:"TargetMinorVersion,omitempty"`
	// The subscription duration of the instance.
	//
	// *   If you set the **Period** parameter to **Year**, the value of the **UsedTime** parameter ranges from **1 to 5**.
	// *   If you set the **Period** parameter to **Month**, the value of the **UsedTime** parameter ranges from **1 to 11**.
	//
	// >  If you set the PayType parameter to **Prepaid**, you must specify the UsedTime parameter.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The ID of the backup file. You can call the ListUserBackupFiles operation to query backup files. If you want to create an instance by using the data of a backup file, you must specify this parameter.
	//
	// This parameter is supported only when the following requirements are met:
	//
	// *   The **PayType** parameter is set to **Postpaid**.
	// *   The **Engine** parameter is set to **MySQL**.
	// *   The **EngineVersion** parameter is set to **5.7**.
	// *   The **Category** parameter is set to **Basic**.
	UserBackupId *string `json:"UserBackupId,omitempty" xml:"UserBackupId,omitempty"`
	// The ID of the VPC to which the instance belongs.
	//
	// > : This parameter is available when you set the **InstanceNetworkType** parameter to **VPC**.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch. The vSwitch must belong to the zone that is specified by **ZoneId**.
	//
	// *   If you set **InstanceNetworkType** to **VPC**, you must also specify this parameter.
	// *   If you specify the ZoneSlaveId1 parameter, you must specify the IDs of two vSwitches for this parameter and separate the IDs with a comma (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the primary instance.
	//
	// *   If you specify a virtual private cloud (VPC) and a vSwitch, you must specify the ID of the zone to which the specified vSwitch belongs. Otherwise, the instance cannot be created.
	// *   If the instance runs RDS High-availability Edition, you must specify the **ZoneIdSlave1** parameter. The ZoneIdSlave1 parameter specifies whether to use the single-zone deployment method or the multi-zone deployment method.
	// *   If the instance runs RDS Enterprise Edition, you must specify the **ZoneIdSlave1** and **ZoneIdSlave2** parameters. The ZoneIdSlave1 and ZoneIdSlave2 parameters specify whether to use the single-zone deployment method or the multi-zone deployment method.
	// *   If the instance runs MySQL on RDS Cluster Edition, you must specify the **ZoneIdSlave1** parameter for the RDS cluster that has two nodes and the **ZoneIdSlave1** and **ZoneIdSlave2** parameters for the RDS cluster that has three nodes.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The zone ID of the secondary instance.
	//
	// *   If you set this parameter to **Auto**, the multi-zone deployment method is used and the zone of the secondary instance is automatically configured.
	// *   If you set this parameter to the same value as the **ZoneId** parameter, the single-zone deployment method is used.
	// *   If you set this parameter to a value that is different from the value of the **ZoneId** parameter, the multiple-zone deployment method is used.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// This parameter is deprecated.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (CreateDBInstanceRequest) GoString

func (s CreateDBInstanceRequest) GoString() string

func (*CreateDBInstanceRequest) SetAmount

func (*CreateDBInstanceRequest) SetAutoPay added in v3.0.5

func (*CreateDBInstanceRequest) SetAutoRenew

func (*CreateDBInstanceRequest) SetBabelfishConfig

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

func (*CreateDBInstanceRequest) SetBpeEnabled added in v3.0.5

func (*CreateDBInstanceRequest) SetBurstingEnabled added in v3.0.5

func (s *CreateDBInstanceRequest) SetBurstingEnabled(v bool) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetBusinessInfo

func (*CreateDBInstanceRequest) SetCategory

func (*CreateDBInstanceRequest) SetClientToken

func (*CreateDBInstanceRequest) SetConnectionMode

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

func (*CreateDBInstanceRequest) SetConnectionString

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

func (*CreateDBInstanceRequest) SetCreateStrategy

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

func (*CreateDBInstanceRequest) SetDBInstanceClass

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

func (*CreateDBInstanceRequest) SetDBInstanceDescription

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

func (*CreateDBInstanceRequest) SetDBInstanceNetType

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

func (*CreateDBInstanceRequest) SetDBInstanceStorage

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

func (*CreateDBInstanceRequest) SetDBInstanceStorageType

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

func (*CreateDBInstanceRequest) SetDBIsIgnoreCase

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

func (*CreateDBInstanceRequest) SetDBParamGroupId

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

func (*CreateDBInstanceRequest) SetDBTimeZone

func (*CreateDBInstanceRequest) SetDedicatedHostGroupId

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

func (*CreateDBInstanceRequest) SetDeletionProtection

func (s *CreateDBInstanceRequest) SetDeletionProtection(v bool) *CreateDBInstanceRequest

func (*CreateDBInstanceRequest) SetDryRun

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

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

func (*CreateDBInstanceRequest) SetPayType

func (*CreateDBInstanceRequest) SetPeriod

func (*CreateDBInstanceRequest) SetPort added in v3.0.4

func (*CreateDBInstanceRequest) SetPrivateIpAddress

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

func (*CreateDBInstanceRequest) SetRegionId

func (*CreateDBInstanceRequest) SetResourceGroupId

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

func (*CreateDBInstanceRequest) SetResourceOwnerId

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

func (*CreateDBInstanceRequest) SetRoleARN

func (*CreateDBInstanceRequest) SetSecurityIPList

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

func (*CreateDBInstanceRequest) SetServerlessConfig

func (*CreateDBInstanceRequest) SetStorageAutoScale

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

func (*CreateDBInstanceRequest) SetStorageThreshold

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

func (*CreateDBInstanceRequest) SetStorageUpperBound

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

func (*CreateDBInstanceRequest) SetSystemDBCharset

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

func (*CreateDBInstanceRequest) SetTag

func (*CreateDBInstanceRequest) SetTargetDedicatedHostIdForLog

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

func (*CreateDBInstanceRequest) SetTargetDedicatedHostIdForMaster

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

func (*CreateDBInstanceRequest) SetTargetDedicatedHostIdForSlave

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

func (*CreateDBInstanceRequest) SetTargetMinorVersion

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

func (*CreateDBInstanceRequest) SetUsedTime

func (*CreateDBInstanceRequest) SetUserBackupId

func (*CreateDBInstanceRequest) SetVPCId

func (*CreateDBInstanceRequest) SetVSwitchId

func (*CreateDBInstanceRequest) SetZoneId

func (*CreateDBInstanceRequest) SetZoneIdSlave1

func (*CreateDBInstanceRequest) SetZoneIdSlave2

func (CreateDBInstanceRequest) String

func (s CreateDBInstanceRequest) String() string

type CreateDBInstanceRequestServerlessConfig

type CreateDBInstanceRequestServerlessConfig struct {
	// Specifies whether to enable the automatic startup and stop feature for the serverless instance. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// >  This parameter is required only for serverless instances that run MySQL and PostgreSQL. After the automatic start and stop feature is enabled, if no connections to the instance are established within 10 minutes, the instance is suspended. After a connection to the instance is established, the instance is resumed.
	AutoPause *bool `json:"AutoPause,omitempty" xml:"AutoPause,omitempty"`
	// The maximum number of RDS Capacity Units (RCUs). Valid values:
	//
	// *   Serverless ApsaraDB RDS for MySQL instances: **1 to 8**
	// *   Serverless ApsaraDB RDS for SQL Server instances: **2 to 8**
	// *   Serverless ApsaraDB RDS for PostgreSQL instances: **1 to 12**
	//
	// >  The value of this parameter must be greater than or equal to the value of **MinCapacity** and can be specified only to an **integer**.
	MaxCapacity *float64 `json:"MaxCapacity,omitempty" xml:"MaxCapacity,omitempty"`
	// The minimum number of RCUs. Valid values:
	//
	// *   Serverless ApsaraDB RDS for MySQL instances: **0.5 to 8**.
	// *   Serverless ApsaraDB RDS for SQL Server instances: **2 to 8**. Only integers are supported.
	// *   Serverless ApsaraDB RDS for PostgreSQL instances: **0.5 to 12**.
	//
	// >  The value of this parameter must be less than or equal to the value of **MaxCapacity**.
	MinCapacity *float64 `json:"MinCapacity,omitempty" xml:"MinCapacity,omitempty"`
	// Specifies whether to enable the forced scaling feature for the serverless instance. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// >
	//
	// *   This parameter is required if you want to create a serverless instance that run MySQL and PostgreSQL. If you set this parameter to true, a transient connection that lasts approximately 1 minute occurs during forced scaling. Process with caution.
	//
	// *   The RCU scaling for a serverless instance immediately takes effect. In some cases, such as the execution of large transactions, the scaling does not immediately take effect. In this case, you can enable this feature to forcefully scale the RCUs of the instance.
	SwitchForce *bool `json:"SwitchForce,omitempty" xml:"SwitchForce,omitempty"`
}

func (CreateDBInstanceRequestServerlessConfig) GoString

func (*CreateDBInstanceRequestServerlessConfig) SetAutoPause

func (*CreateDBInstanceRequestServerlessConfig) SetMaxCapacity

func (*CreateDBInstanceRequestServerlessConfig) SetMinCapacity

func (*CreateDBInstanceRequestServerlessConfig) SetSwitchForce

func (CreateDBInstanceRequestServerlessConfig) String

type CreateDBInstanceRequestTag

type CreateDBInstanceRequestTag struct {
	// The key of the tag that you want to add to the instance. You can use this parameter to add tags to the instance.
	//
	// *   If the specified tag key is an existing key, the system directly adds the tag key to the instance. You can call the ListTagResources operation to query the details of the existing tags.
	// *   If the specified tag key is not an existing key, the system creates the tag key and adds the tag key to the instance.
	// *   A tag key cannot be an empty string.
	// *   This parameter must be used together with the **Tag.Value** parameter.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value that is associated with the specified tag key. You can use this parameter to add tags to the instance.
	//
	// *   If the specified tag value is found in the specified tag key, the system directly adds the tag value to the instance. You can call the ListTagResources operation to query the details of the existing tags.
	// *   If the specified tag value is not found in the specified tag key, the system creates the tag value and adds the tag value to the instance.
	// *   This parameter must be used together with the **Tag.Key** parameter.
	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" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 internal endpoint of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance ID. If the value of the **Amount** parameter is greater than **1**, more than one instance ID is returned. The number of instance IDs that are returned is the same as the value of the Amount parameter. The returned instance IDs are separated by commas (,).
	//
	// For example, if the value of the **Amount** parameter is **3**, three instance IDs are returned. Examples: `rm-uf6wjk5*****1,rm-uf6wjk5*****2,rm-uf6wjk5*****3`
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Indicates that the system performed a dry run.
	//
	// *   The value is fixed as **true**.
	// *   If the system does not perform a dry run, this parameter is not returned.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// Indicates whether the request passed the dry run. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > *   If the system does not perform a dry run, this parameter is not returned.
	// > *   If the request failed the dry run, an error message is returned.
	DryRunResult *bool `json:"DryRunResult,omitempty" xml:"DryRunResult,omitempty"`
	// The message that indicates whether multiple instances are created.
	//
	// > The parameter is returned only when the value of the **Amount** parameter is greater than 1.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The order ID.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The internal IP address and port number that are used to connect to the instance.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the specified tag is added to the instance. Valid values:
	//
	// *   **true**: The specified tag is added to the instance.
	// *   **false**: The specified tag fails to be added to the instance.
	//
	// > If you do not add a tag to the instance, this parameter is not returned.
	TagResult *bool `json:"TagResult,omitempty" xml:"TagResult,omitempty"`
	// The ID of the task that is run to create multiple instances.
	//
	// *   This parameter is returned only when the value of **Amount** is greater than 1.
	// *   The **TaskID** parameter cannot be used to query a task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (CreateDBInstanceResponseBody) GoString

func (s CreateDBInstanceResponseBody) GoString() string

func (*CreateDBInstanceResponseBody) SetConnectionString

func (*CreateDBInstanceResponseBody) SetDBInstanceId

func (*CreateDBInstanceResponseBody) SetDryRun

func (*CreateDBInstanceResponseBody) SetDryRunResult

func (*CreateDBInstanceResponseBody) SetMessage

func (*CreateDBInstanceResponseBody) SetOrderId

func (*CreateDBInstanceResponseBody) SetPort

func (*CreateDBInstanceResponseBody) SetRequestId

func (*CreateDBInstanceResponseBody) SetTagResult

func (*CreateDBInstanceResponseBody) SetTaskId

func (CreateDBInstanceResponseBody) String

type CreateDBInstanceShrinkRequest

type CreateDBInstanceShrinkRequest struct {
	// The number of ApsaraDB RDS for MySQL instances that you want to create. The parameter takes effect only when you create multiple ApsaraDB RDS for MySQL instances at a time by using a single request.
	//
	// Valid values: **1** to **20**. Default value: **1**.
	//
	// > *   If you want to create multiple ApsaraDB RDS for MySQL instances at a time by using a single request, you can add tags to all the instances by using the **Tag.Key** parameter and the **Tag.Value** parameter. After the instances are created, you can manage the instances based on the tags.
	// > *   After you submit a request to create multiple ApsaraDB RDS for MySQL instances, this operation returns **TaskId**, **RequestId**, and **Message**. You can call the DescribeDBInstanceAttribute operation to query the details of an instance.
	// > *   If the value of the **Engine** parameter is not **MySQL** and the value of the Amount parameter is greater than **1**, this operation fails and returns an error code `InvalidParam.Engine`.
	Amount *int32 `json:"Amount,omitempty" xml:"Amount,omitempty"`
	// Specifies whether to automatically complete the payment. Default value: true. Valid values:
	//
	// *   **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// *   **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can pay for the order in the ApsaraDB RDS console.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. You must specify this parameter only if the instance uses the subscription billing method. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > *   The auto-renewal cycle is one month for a monthly subscription.
	// > *   The auto-renewal cycle is one year for a yearly subscription.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The configuration of the Babelfish feature for the instance that runs PostgreSQL.
	//
	// Format:{"babelfishEnabled":"true","migrationMode":"xxxxxxx","masterUsername":"xxxxxxx","masterUserPassword":"xxxxxxxx"}
	//
	// The following list describes the fields in the format:
	//
	// *   **babelfishEnabled**: specifies whether to enable Babelfish for the instance. If you set this field to **true**, you enable Babelfish for the instance. If you leave this parameter empty, Babelfish is disabled for the instance.
	// *   **migrationMode**: The migration mode of the instance. Valid values: **single-db** and **multi-db**.
	// *   **masterUsername**: The username of the administrator account. The username can contain lowercase letters, digits, and underscores (\_). It must start with a letter and end with a letter or digit. It can be up to 63 characters in length and cannot start with pg.
	// *   **masterUserPassword**: The password of the administrator account. The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. It must be 8 to 32 characters in length. The password can contain any of the following characters: `! @ # $ % ^ & * ( ) _ + - =`.
	//
	// > : This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](~~428613~~).
	BabelfishConfig *string `json:"BabelfishConfig,omitempty" xml:"BabelfishConfig,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The additional business information about the instance.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   Regular RDS instance
	//
	//     *   **Basic**: RDS Basic Edition.
	//     *   **HighAvailability**: RDS High-availability Edition.
	//     *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	//     *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server.
	//     *   **Finance**: RDS Enterprise Edition.
	//
	// *   Serverless instance
	//
	//     *   **serverless_basic**: RDS Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL.
	//     *   **serverless_standard**: RDS High-availability Edition. This edition is available only for instances that run MySQL and PostgreSQL.
	//     *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server.
	//
	//     **
	//
	//     **Note** This parameter is required when you create a serverless instance.
	Category *string `json:"Category,omitempty" xml:"Category,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	//
	// ApsaraDB RDS automatically assigns a connection mode to the instance.
	//
	// > : SQL Server 2012, SQL Server 2016, and SQL Server 2017 support only the standard mode.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The internal endpoint that is used to connect to the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The policy based on which multiple instances are created. The parameter takes effect only when the value of the **Amount** parameter is greater than 1. Valid values:
	//
	// *   **Atomicity** (default): atomicity. The instances are all created together. If one instance cannot be created, none of the instances are created.
	// *   **Partial**: non-atomicity. Each instance is independently created. The failure in creating an instance does not affect the creation of the other instances.
	CreateStrategy *string `json:"CreateStrategy,omitempty" xml:"CreateStrategy,omitempty"`
	// The instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	//
	// To create a serverless instance, set this parameter to one of the following values:
	//
	// *   If you want to create a serverless instance that runs MySQL on RDS Basic Edition, set this parameter to **mysql.n2.serverless.1c**.
	// *   If you want to create a serverless instance that runs MySQL on RDS High-availability Edition, set this parameter to **mysql.n2.serverless.2c**.
	// *   If you want to create a serverless instance that runs SQL Server, set this parameter to **mssql.mem2.serverless.s2**.
	// *   If you want to create a serverless instance that runs PostgreSQL on RDS Basic Edition, set this parameter to **pg.n2.serverless.1c**.
	// *   If you want to create a serverless instance that runs PostgreSQL on RDS High-availability Edition, set this parameter to **pg.n2.serverless.2c**.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance name. The name must be 2 to 255 characters in length and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
	//
	// > : The name cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The network connection type of the instance. The value of this parameter is fixed as **Intranet**, indicating an internal network connection.
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The storage capacity of the instance. Unit: GB. The storage capacity increases in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD. This is the recommended storage type.
	// *   **cloud_ssd**: standard SSD. This storage type is not recommended. Standard SSDs are no longer available for purchase in some Alibaba Cloud regions.
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1).
	// *   **cloud_essd2**: ESSD of PL2.
	// *   **cloud_essd3**: ESSD of PL3.
	//
	// The default value of this parameter is determined by the instance type specified by the **DBInstanceClass** parameter.
	//
	// *   If the instance type specifies the local SSD storage type, the default value of this parameter is **local_ssd**.
	// *   If the instance type specifies the standard SSD or ESSD storage type, the default value of this parameter is **cloud_essd**.
	//
	// >  Serverless instances use only ESSDs of PL1. If you create a serverless instance, you must set this parameter to **cloud_essd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// Specifies whether the table name is case-sensitive. Valid values:
	//
	// *   **true**: Table names are not case-sensitive. This is the default value.
	// *   **false**: Table names are case-sensitive.
	DBIsIgnoreCase *string `json:"DBIsIgnoreCase,omitempty" xml:"DBIsIgnoreCase,omitempty"`
	// The ID of the parameter template. You can call the DescribeParameterGroups operation to query the ID of the parameter template.
	//
	// > : This parameter is available if you want to create an instance that runs MySQL or PostgreSQL . If you do not configure this parameter, the default parameter template is used. If you want to use a custom parameter template, you can customize a parameter template and set this parameter to the ID of the custom template.
	DBParamGroupId *string `json:"DBParamGroupId,omitempty" xml:"DBParamGroupId,omitempty"`
	// The time zone of the instance. This parameter takes effect only when you set the **Engine** parameter to **MySQL** or **PostgreSQL**.
	//
	// *   If you set **Engine** to **MySQL**:
	//
	//     *   The time zone of the instance is in UTC. Valid values: \*\*-12:59\*\* to **+13:00**.
	//     *   If the instance uses local SSDs, you can specify the name of the time zone. Example: Asia/Hong_Kong. For more information, see [Time zones](~~297356~~).
	//
	// *   If you set **Engine** to **PostgreSQL**:
	//
	//     *   The time zone of the instance is not in UTC. For more information, see [Time zones](~~297356~~).
	//     *   You can specify this parameter only when the instance runs PostgreSQL with standard SSDs or ESSDs.
	//
	// > *   You can specify the time zone when you create a primary instance. You cannot specify the time zone when you create a read-only instance. Read-only instances inherit the time zone of their primary instance.
	// > *   If you do not specify this parameter, the system automatically assigns the default time zone of the region in which the instance resides.
	DBTimeZone *string `json:"DBTimeZone,omitempty" xml:"DBTimeZone,omitempty"`
	// The ID of the dedicated cluster to which the instance belongs.
	//
	// If you create the instance in a dedicated cluster, you must specify this parameter.
	//
	// *   You can call the DescribeDedicatedHostGroups operation to query the details of a dedicated cluster.
	// *   If no dedicated clusters are created, you can call the CreateDedicatedHostGroup operation to create a dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Specifies whether to enable the release protection feature for the instance. This feature is available only for pay-as-you-go instances. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// Specifies whether to perform a dry run. Valid values:
	//
	// *   **true**: performs a dry run but does not perform the actual request. The system checks items such as the request parameters, request format, service limits, and available resources.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the instance is created.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// The ID of the key that is used to encrypt data on standard SSDs or ESSDs in the region of the instance. If you specify the EncryptionKey parameter, cloud disk encryption is automatically enabled. In this case, you must also specify the **RoleARN** parameter. Cloud disk encryption cannot be disabled after it is enabled.
	//
	// You can obtain the ID of the key from the Key Management Service (KMS) console. You can also create a key. For more information, see [Create a CMK](~~181610~~).
	//
	// >  This parameter is optional when you create an ApsaraDB RDS for PostgreSQL instance. You need to only specify the **RoleARN** parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// *   Regular RDS instance
	//
	//     *   Valid values when you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**
	//     *   Valid values when you set Engine to SQLServer: **08r2\_ent_ha**(cloud disks, discontinued), **2008r2**(local disks, discontinued), **2012**(SQL Server EE Basic), **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2014\_ent_ha**, **2014\_std_ha**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_ent**, **2017\_std_ha**, **2017\_web**, **2019\_ent**, **2019\_std_ha**, **2019\_web**, **2022\_ent**, **2022\_std_ha**, and **2022\_web**
	//     *   Valid values when you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	//     *   Valid value when you set Engine to MariaDB: **10.3**
	//
	// *   Serverless instance
	//
	//     *   Valid values when you set Engine to MySQL: **5.7** and **8.0**
	//     *   Valid values when you set Engine to SQLServer: **2016\_std_sl**, **2017\_std_sl**, and **2019\_std_sl**
	//     *   Valid value when you set Engine to PostgreSQL: **14.0**
	//
	// <!---->
	//
	// *   ApsaraDB RDS for MariaDB does not support serverless instances.
	// *   For ApsaraDB RDS for SQL Server instances, `_ent` indicates SQL Server EE on RDS Cluster Edition, `_ent_ha` indicates SQL Server EE, `_std_ha` indicates SQL Server SE, and `_web` indicates SQL Server Web.
	//
	// >
	//
	// *   ApsaraDB RDS for MariaDB does not support serverless instances.
	//
	// *   Valid value if you set Engine to SQL Server: `_ent` specifies SQL Server EE on RDS Cluster Edition, `_ent_ha` specifies SQL Server EE, `_std_ha` specifies SQL Server SE, and `_web` specifies SQL Server Web.
	//
	// *   RDS instances that run SQL Server 2014 are not available for purchase on the international site.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **VPC**: virtual private cloud (VPC).
	// *   **Classic**: the classic network
	//
	// >
	//
	// *   If the instance runs MySQL and uses cloud disks, you must set this parameter to **VPC**.
	//
	// *   If the instance runs PostgreSQL or MariaDB, you must set this parameter to **VPC**.
	//
	// *   RDS instances that run SQL Server Basic and SQL Server Web can reside in the classic network and virtual private clouds (VPCs). If the instance runs other database engines, you must set this parameter to **VPC**.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	// *   **Serverless**: serverless. This value is not supported for instances that run MariaDB. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](~~411291~~), [Overview of serverless ApsaraDB RDS for SQL Server instances](~~604344~~), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](~~607742~~).
	//
	// > : The system automatically generates a purchase order and completes the payment.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit of the subscription duration. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// >  If you set the PayType parameter to **Prepaid**, you must specify the UsedTime parameter.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The port. You can initialize the port when you create the instance.
	//
	// *   Valid values if the instance runs MySQL: 1000 to 65534
	// *   Valid values if the instance runs PostgreSQL, SQL Server, or MariaDB: 1000 to 5999
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the instance. The private IP address must be within the CIDR block that is supported by the specified vSwitch. ApsaraDB RDS automatically assigns a private IP address to the instance based on the values of the **VPCId** and **vSwitchId** parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) that is provided by your Alibaba Cloud account for RAM users. RAM users can use the ARN to connect ApsaraDB RDS to KMS. You can call the CheckCloudResourceAuthorized operation to query the ARN.
	RoleARN *string `json:"RoleARN,omitempty" xml:"RoleARN,omitempty"`
	// The IP address whitelist of the instance. For more information, see [Use a database client or the CLI to connect to an ApsaraDB RDS for MySQL instance](~~43185~~). If the IP address whitelist contains more than one entry, separate the entries with commas (,). Each entry must be unique. The IP address whitelist can contain up to 1,000 entries. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as 10.10.XX.XX.
	// *   CIDR blocks, such as 10.10.XX.XX/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.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The settings of the serverless instance. This parameter is required when you create a serverless instance.
	//
	// >  ApsaraDB RDS for MariaDB does not support serverless instances.
	ServerlessConfigShrink *string `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty"`
	// Specifies whether to enable the automatic storage expansion feature for the instance. This feature is supported if your RDS instance runs MySQL or PostgreSQL. Valid values:
	//
	// *   **Enable**
	// *   **Disable** (default)
	//
	// >  After the instance is created, you can call the ModifyDasInstanceConfig operation to adjust the settings of automatic storage expansion for the instance. For more information, see [Configure automatic storage expansion for an ApsaraDB RDS for MySQL instance](~~173826~~).
	StorageAutoScale *string `json:"StorageAutoScale,omitempty" xml:"StorageAutoScale,omitempty"`
	// The threshold in percentage based on which automatic storage expansion is triggered.
	//
	// *   **10**
	// *   **20**
	// *   **30**
	// *   **40**
	// *   **50**
	//
	// >  If you set the **StorageAutoScale** parameter to **Enable**, you must specify this parameter.
	StorageThreshold *int32 `json:"StorageThreshold,omitempty" xml:"StorageThreshold,omitempty"`
	// The maximum storage capacity that is allowed for automatic storage expansion. The storage capacity of the instance cannot exceed the maximum storage capacity. Unit: GB.
	//
	// > *   Valid values: an integer greater than or equal to 0.
	// > *   If you set **StorageAutoScale** to **Enable**, you must specify this parameter.
	StorageUpperBound *int32 `json:"StorageUpperBound,omitempty" xml:"StorageUpperBound,omitempty"`
	// A deprecated parameter. You do not need to specify this parameter.
	SystemDBCharset *string `json:"SystemDBCharset,omitempty" xml:"SystemDBCharset,omitempty"`
	// The tags.
	Tag []*CreateDBInstanceShrinkRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID of the host to which the logger instance belongs in the specified dedicated cluster.
	//
	// If you want to create an instance that runs RDS Enterprise Edition in a dedicated cluster, you must specify this parameter. If you do not specify this parameter, the system automatically assigns a host.
	//
	// *   You can call the DescribeDedicatedHosts operation to query the details of the hosts in a dedicated cluster.
	// *   If no hosts are created, you can call the CreateDedicatedHost operation to create a host.
	TargetDedicatedHostIdForLog *string `json:"TargetDedicatedHostIdForLog,omitempty" xml:"TargetDedicatedHostIdForLog,omitempty"`
	// The ID of the host to which the instance belongs in the specified dedicated cluster.
	//
	// If you create the instance in a dedicated cluster, you must specify this parameter. If you do not specify this parameter, the system automatically assigns a host.
	//
	// *   You can call the DescribeDedicatedHost operation to query the details about the hosts in a dedicated cluster.
	// *   If no hosts are created, you can call the CreateDedicatedHost operation to create a host.
	TargetDedicatedHostIdForMaster *string `json:"TargetDedicatedHostIdForMaster,omitempty" xml:"TargetDedicatedHostIdForMaster,omitempty"`
	// The ID of the host to which the secondary instance belongs in the specified dedicated cluster.
	//
	// If you want to create an instance that runs RDS High-availability Edition or RDS Enterprise Edition in a dedicated cluster, you must specify this parameter. If you do not specify this parameter, the system automatically assigns a host.
	//
	// *   You can call the DescribeDedicatedHosts operation to query the details of the hosts in a dedicated cluster.
	// *   If no hosts are created, you can call the CreateDedicatedHost operation to create a host.
	TargetDedicatedHostIdForSlave *string `json:"TargetDedicatedHostIdForSlave,omitempty" xml:"TargetDedicatedHostIdForSlave,omitempty"`
	// The minor engine version of the instance. This parameter is required only when you create an instance that runs MySQL or PostgreSQL. The value format varies based on the database engine of the instance.
	//
	// *   If you create an instance that runs MySQL, the value is in the following format: `<RDS edition>_<Minor engine version>`. Examples: `rds_20200229`, `xcluster_20200229`, and `xcluster80_20200229`. The following list describes the fields in the example values:
	//
	//     *   rds: The instance runs RDS Basic Edition or RDS High-availability Edition.
	//     *   xcluster: The instance runs MySQL 5.7 on RDS Enterprise Edition.
	//     *   xcluster80: The instance runs MySQL 8.0 on RDS Enterprise Edition.
	//
	//     **
	//
	//     **Note** You can call the DescribeDBMiniEngineVersions operation to query the minor engine version. For more information about minor engine versions, see [Release notes of minor AliSQL versions](~~96060~~).
	//
	// *   If you create an instance that runs PostgreSQL, the value is in the following format: `rds_postgres_<Major engine version>00_<Minor engine version>`. Example: `rds_postgres_1400_20220830`. The following list describes the fields in the example values:
	//
	//     *   1400: The major engine version is PostgreSQL 14.
	//     *   20220830: the AliPG version. You can call the DescribeDBMiniEngineVersions operation to query the AliPG version. For more information about minor engine versions, see [Release notes for AliPG](~~126002~~).
	//
	//     **
	//
	//     **Note** If you configure the **BabelfishConfig** parameter for your instance that runs PostgreSQL and set the babelfishEnabled field to true, the value of this parameter is in the following format: `rds_postgres_Major engine version00_AliPG version_babelfish`.
	TargetMinorVersion *string `json:"TargetMinorVersion,omitempty" xml:"TargetMinorVersion,omitempty"`
	// The subscription duration of the instance.
	//
	// *   If you set the **Period** parameter to **Year**, the value of the **UsedTime** parameter ranges from **1 to 5**.
	// *   If you set the **Period** parameter to **Month**, the value of the **UsedTime** parameter ranges from **1 to 11**.
	//
	// >  If you set the PayType parameter to **Prepaid**, you must specify the UsedTime parameter.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The ID of the backup file. You can call the ListUserBackupFiles operation to query backup files. If you want to create an instance by using the data of a backup file, you must specify this parameter.
	//
	// This parameter is supported only when the following requirements are met:
	//
	// *   The **PayType** parameter is set to **Postpaid**.
	// *   The **Engine** parameter is set to **MySQL**.
	// *   The **EngineVersion** parameter is set to **5.7**.
	// *   The **Category** parameter is set to **Basic**.
	UserBackupId *string `json:"UserBackupId,omitempty" xml:"UserBackupId,omitempty"`
	// The ID of the VPC to which the instance belongs.
	//
	// > : This parameter is available when you set the **InstanceNetworkType** parameter to **VPC**.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch. The vSwitch must belong to the zone that is specified by **ZoneId**.
	//
	// *   If you set **InstanceNetworkType** to **VPC**, you must also specify this parameter.
	// *   If you specify the ZoneSlaveId1 parameter, you must specify the IDs of two vSwitches for this parameter and separate the IDs with a comma (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the primary instance.
	//
	// *   If you specify a virtual private cloud (VPC) and a vSwitch, you must specify the ID of the zone to which the specified vSwitch belongs. Otherwise, the instance cannot be created.
	// *   If the instance runs RDS High-availability Edition, you must specify the **ZoneIdSlave1** parameter. The ZoneIdSlave1 parameter specifies whether to use the single-zone deployment method or the multi-zone deployment method.
	// *   If the instance runs RDS Enterprise Edition, you must specify the **ZoneIdSlave1** and **ZoneIdSlave2** parameters. The ZoneIdSlave1 and ZoneIdSlave2 parameters specify whether to use the single-zone deployment method or the multi-zone deployment method.
	// *   If the instance runs MySQL on RDS Cluster Edition, you must specify the **ZoneIdSlave1** parameter for the RDS cluster that has two nodes and the **ZoneIdSlave1** and **ZoneIdSlave2** parameters for the RDS cluster that has three nodes.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The zone ID of the secondary instance.
	//
	// *   If you set this parameter to **Auto**, the multi-zone deployment method is used and the zone of the secondary instance is automatically configured.
	// *   If you set this parameter to the same value as the **ZoneId** parameter, the single-zone deployment method is used.
	// *   If you set this parameter to a value that is different from the value of the **ZoneId** parameter, the multiple-zone deployment method is used.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// This parameter is deprecated.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (CreateDBInstanceShrinkRequest) GoString

func (*CreateDBInstanceShrinkRequest) SetAmount

func (*CreateDBInstanceShrinkRequest) SetAutoPay added in v3.0.5

func (*CreateDBInstanceShrinkRequest) SetAutoRenew

func (*CreateDBInstanceShrinkRequest) SetBabelfishConfig

func (*CreateDBInstanceShrinkRequest) SetBpeEnabled added in v3.0.5

func (*CreateDBInstanceShrinkRequest) SetBurstingEnabled added in v3.0.5

func (*CreateDBInstanceShrinkRequest) SetBusinessInfo

func (*CreateDBInstanceShrinkRequest) SetCategory

func (*CreateDBInstanceShrinkRequest) SetClientToken

func (*CreateDBInstanceShrinkRequest) SetConnectionMode

func (*CreateDBInstanceShrinkRequest) SetConnectionString

func (*CreateDBInstanceShrinkRequest) SetCreateStrategy

func (*CreateDBInstanceShrinkRequest) SetDBInstanceClass

func (*CreateDBInstanceShrinkRequest) SetDBInstanceDescription

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

func (*CreateDBInstanceShrinkRequest) SetDBInstanceNetType

func (*CreateDBInstanceShrinkRequest) SetDBInstanceStorage

func (*CreateDBInstanceShrinkRequest) SetDBInstanceStorageType

func (s *CreateDBInstanceShrinkRequest) SetDBInstanceStorageType(v string) *CreateDBInstanceShrinkRequest

func (*CreateDBInstanceShrinkRequest) SetDBIsIgnoreCase

func (*CreateDBInstanceShrinkRequest) SetDBParamGroupId

func (*CreateDBInstanceShrinkRequest) SetDBTimeZone

func (*CreateDBInstanceShrinkRequest) SetDedicatedHostGroupId

func (*CreateDBInstanceShrinkRequest) SetDeletionProtection

func (*CreateDBInstanceShrinkRequest) SetDryRun

func (*CreateDBInstanceShrinkRequest) SetEncryptionKey

func (*CreateDBInstanceShrinkRequest) SetEngine

func (*CreateDBInstanceShrinkRequest) SetEngineVersion

func (*CreateDBInstanceShrinkRequest) SetInstanceNetworkType

func (*CreateDBInstanceShrinkRequest) SetPayType

func (*CreateDBInstanceShrinkRequest) SetPeriod

func (*CreateDBInstanceShrinkRequest) SetPort added in v3.0.4

func (*CreateDBInstanceShrinkRequest) SetPrivateIpAddress

func (*CreateDBInstanceShrinkRequest) SetRegionId

func (*CreateDBInstanceShrinkRequest) SetResourceGroupId

func (*CreateDBInstanceShrinkRequest) SetResourceOwnerId

func (*CreateDBInstanceShrinkRequest) SetRoleARN

func (*CreateDBInstanceShrinkRequest) SetSecurityIPList

func (*CreateDBInstanceShrinkRequest) SetServerlessConfigShrink

func (s *CreateDBInstanceShrinkRequest) SetServerlessConfigShrink(v string) *CreateDBInstanceShrinkRequest

func (*CreateDBInstanceShrinkRequest) SetStorageAutoScale

func (*CreateDBInstanceShrinkRequest) SetStorageThreshold

func (*CreateDBInstanceShrinkRequest) SetStorageUpperBound

func (*CreateDBInstanceShrinkRequest) SetSystemDBCharset

func (*CreateDBInstanceShrinkRequest) SetTag

func (*CreateDBInstanceShrinkRequest) SetTargetDedicatedHostIdForLog

func (s *CreateDBInstanceShrinkRequest) SetTargetDedicatedHostIdForLog(v string) *CreateDBInstanceShrinkRequest

func (*CreateDBInstanceShrinkRequest) SetTargetDedicatedHostIdForMaster

func (s *CreateDBInstanceShrinkRequest) SetTargetDedicatedHostIdForMaster(v string) *CreateDBInstanceShrinkRequest

func (*CreateDBInstanceShrinkRequest) SetTargetDedicatedHostIdForSlave

func (s *CreateDBInstanceShrinkRequest) SetTargetDedicatedHostIdForSlave(v string) *CreateDBInstanceShrinkRequest

func (*CreateDBInstanceShrinkRequest) SetTargetMinorVersion

func (*CreateDBInstanceShrinkRequest) SetUsedTime

func (*CreateDBInstanceShrinkRequest) SetUserBackupId

func (*CreateDBInstanceShrinkRequest) SetVPCId

func (*CreateDBInstanceShrinkRequest) SetVSwitchId

func (*CreateDBInstanceShrinkRequest) SetZoneId

func (*CreateDBInstanceShrinkRequest) SetZoneIdSlave1

func (*CreateDBInstanceShrinkRequest) SetZoneIdSlave2

func (CreateDBInstanceShrinkRequest) String

type CreateDBInstanceShrinkRequestTag

type CreateDBInstanceShrinkRequestTag struct {
	// The key of the tag that you want to add to the instance. You can use this parameter to add tags to the instance.
	//
	// *   If the specified tag key is an existing key, the system directly adds the tag key to the instance. You can call the ListTagResources operation to query the details of the existing tags.
	// *   If the specified tag key is not an existing key, the system creates the tag key and adds the tag key to the instance.
	// *   A tag key cannot be an empty string.
	// *   This parameter must be used together with the **Tag.Value** parameter.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value that is associated with the specified tag key. You can use this parameter to add tags to the instance.
	//
	// *   If the specified tag value is found in the specified tag key, the system directly adds the tag value to the instance. You can call the ListTagResources operation to query the details of the existing tags.
	// *   If the specified tag value is not found in the specified tag key, the system creates the tag value and adds the tag value to the instance.
	// *   This parameter must be used together with the **Tag.Key** parameter.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDBInstanceShrinkRequestTag) GoString

func (*CreateDBInstanceShrinkRequestTag) SetKey

func (*CreateDBInstanceShrinkRequestTag) SetValue

func (CreateDBInstanceShrinkRequestTag) String

type CreateDBNodesRequest added in v3.0.4

type CreateDBNodesRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of the details of the node.
	DBNode       []*CreateDBNodesRequestDBNode `json:"DBNode,omitempty" xml:"DBNode,omitempty" type:"Repeated"`
	OwnerAccount *string                       `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64                        `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateDBNodesRequest) GoString added in v3.0.4

func (s CreateDBNodesRequest) GoString() string

func (*CreateDBNodesRequest) SetClientToken added in v3.0.4

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

func (*CreateDBNodesRequest) SetDBInstanceId added in v3.0.4

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

func (*CreateDBNodesRequest) SetDBNode added in v3.0.4

func (*CreateDBNodesRequest) SetOwnerAccount added in v3.0.4

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

func (*CreateDBNodesRequest) SetOwnerId added in v3.0.4

func (*CreateDBNodesRequest) SetResourceGroupId added in v3.0.7

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

func (*CreateDBNodesRequest) SetResourceOwnerAccount added in v3.0.4

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

func (*CreateDBNodesRequest) SetResourceOwnerId added in v3.0.4

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

func (CreateDBNodesRequest) String added in v3.0.4

func (s CreateDBNodesRequest) String() string

type CreateDBNodesRequestDBNode added in v3.0.4

type CreateDBNodesRequestDBNode struct {
	// The specification information of the node.
	ClassCode *string `json:"classCode,omitempty" xml:"classCode,omitempty"`
	// The zone ID of the node.
	ZoneId *string `json:"zoneId,omitempty" xml:"zoneId,omitempty"`
}

func (CreateDBNodesRequestDBNode) GoString added in v3.0.4

func (s CreateDBNodesRequestDBNode) GoString() string

func (*CreateDBNodesRequestDBNode) SetClassCode added in v3.0.4

func (*CreateDBNodesRequestDBNode) SetZoneId added in v3.0.4

func (CreateDBNodesRequestDBNode) String added in v3.0.4

type CreateDBNodesResponse added in v3.0.4

type CreateDBNodesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDBNodesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDBNodesResponse) GoString added in v3.0.4

func (s CreateDBNodesResponse) GoString() string

func (*CreateDBNodesResponse) SetBody added in v3.0.4

func (*CreateDBNodesResponse) SetHeaders added in v3.0.4

func (*CreateDBNodesResponse) SetStatusCode added in v3.0.4

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

func (CreateDBNodesResponse) String added in v3.0.4

func (s CreateDBNodesResponse) String() string

type CreateDBNodesResponseBody added in v3.0.4

type CreateDBNodesResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the created node. The value is a string. Multiple values are separated by commas (`,`).
	NodeIds *string `json:"NodeIds,omitempty" xml:"NodeIds,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDBNodesResponseBody) GoString added in v3.0.4

func (s CreateDBNodesResponseBody) GoString() string

func (*CreateDBNodesResponseBody) SetDBInstanceId added in v3.0.4

func (*CreateDBNodesResponseBody) SetNodeIds added in v3.0.4

func (*CreateDBNodesResponseBody) SetOrderId added in v3.0.4

func (*CreateDBNodesResponseBody) SetRequestId added in v3.0.4

func (CreateDBNodesResponseBody) String added in v3.0.4

func (s CreateDBNodesResponseBody) String() string

type CreateDBNodesShrinkRequest added in v3.0.4

type CreateDBNodesShrinkRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of the details of the node.
	DBNodeShrink *string `json:"DBNode,omitempty" xml:"DBNode,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateDBNodesShrinkRequest) GoString added in v3.0.4

func (s CreateDBNodesShrinkRequest) GoString() string

func (*CreateDBNodesShrinkRequest) SetClientToken added in v3.0.4

func (*CreateDBNodesShrinkRequest) SetDBInstanceId added in v3.0.4

func (*CreateDBNodesShrinkRequest) SetDBNodeShrink added in v3.0.4

func (*CreateDBNodesShrinkRequest) SetOwnerAccount added in v3.0.4

func (*CreateDBNodesShrinkRequest) SetOwnerId added in v3.0.4

func (*CreateDBNodesShrinkRequest) SetResourceGroupId added in v3.0.7

func (*CreateDBNodesShrinkRequest) SetResourceOwnerAccount added in v3.0.4

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

func (*CreateDBNodesShrinkRequest) SetResourceOwnerId added in v3.0.4

func (CreateDBNodesShrinkRequest) String added in v3.0.4

type CreateDBProxyEndpointAddressRequest

type CreateDBProxyEndpointAddressRequest struct {
	// The prefix of the proxy endpoint. Enter a custom prefix.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the proxy endpoint. Valid values:
	//
	// *   **Public**: Internet
	// *   **VPC**: Virtual Private Cloud (VPC)
	// *   **Classic**: classic network
	//
	// Default value: **Classic**
	DBProxyConnectStringNetType *string `json:"DBProxyConnectStringNetType,omitempty" xml:"DBProxyConnectStringNetType,omitempty"`
	// The proxy endpoint ID. You can call the DescribeDBProxyEndpoint operation to query the proxy endpoint ID.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The port number that is associated with the proxy endpoint.
	//
	// *   If the instance runs MySQL, the default value is **3306**.
	// *   If the instance runs PostgreSQL, the default value is **5432**.
	DBProxyNewConnectStringPort *string `json:"DBProxyNewConnectStringPort,omitempty" xml:"DBProxyNewConnectStringPort,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the VPC to which the proxy endpoint belongs. You can call the DescribeDBInstanceAttribute operation to query the VPC ID.
	//
	// >  This parameter must be specified when **DBProxyConnectStringNetType** is set to **VPC**.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch that is associated with the specified VPC. You can call the DescribeDBInstanceAttribute operation to query the vSwitch ID.
	//
	// >  This parameter must be specified when **DBProxyConnectStringNetType** is set to **VPC**.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (CreateDBProxyEndpointAddressRequest) GoString

func (*CreateDBProxyEndpointAddressRequest) SetConnectionStringPrefix

func (*CreateDBProxyEndpointAddressRequest) SetDBInstanceId

func (*CreateDBProxyEndpointAddressRequest) SetDBProxyConnectStringNetType

func (*CreateDBProxyEndpointAddressRequest) SetDBProxyEndpointId

func (*CreateDBProxyEndpointAddressRequest) SetDBProxyEngineType

func (*CreateDBProxyEndpointAddressRequest) SetDBProxyNewConnectStringPort

func (*CreateDBProxyEndpointAddressRequest) SetRegionId

func (*CreateDBProxyEndpointAddressRequest) SetResourceGroupId

func (*CreateDBProxyEndpointAddressRequest) SetVPCId

func (*CreateDBProxyEndpointAddressRequest) SetVSwitchId

func (CreateDBProxyEndpointAddressRequest) String

type CreateDBProxyEndpointAddressResponse

type CreateDBProxyEndpointAddressResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDBProxyEndpointAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDBProxyEndpointAddressResponse) GoString

func (*CreateDBProxyEndpointAddressResponse) SetHeaders

func (*CreateDBProxyEndpointAddressResponse) SetStatusCode

func (CreateDBProxyEndpointAddressResponse) String

type CreateDBProxyEndpointAddressResponseBody

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

func (CreateDBProxyEndpointAddressResponseBody) GoString

func (*CreateDBProxyEndpointAddressResponseBody) SetRequestId

func (CreateDBProxyEndpointAddressResponseBody) String

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	// The character set.
	//
	// *   Valid values for MySQL or MariaDB databases: **utf8, gbk, latin1, and utf8mb4**
	//
	// *   Valid values for SQL Server databases: **Chinese_PRC_CI_AS, Chinese_PRC_CS_AS, SQL_Latin1\_General_CP1\_CI_AS, SQL_Latin1\_General_CP1\_CS_AS, and Chinese_PRC_BIN**
	//
	// *   Valid values for PostgreSQL databases: a value in the `Character set,<Collate>,<Ctype>` format. Example: `UTF8,C,en_US.utf8`.
	//
	//     *   Valid values for the character set: **KOI8U, UTF8, WIN866, WIN874, WIN1250, WIN1251, WIN1252, WIN1253, WIN1254, WIN1255, WIN1256, WIN1257, WIN1258, EUC_CN, EUC_KR, EUC_TW, EUC_JP, EUC_JIS\_2004, KOI8R, MULE_INTERNAL, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, ISO\_8859\_5, ISO\_8859\_6, ISO\_8859\_7, ISO\_8859\_8, and SQL_ASCII**
	//     *   Valid values for the **Collate** field: You can execute the `SELECT DISTINCT collname FROM pg_collation;` statement to obtain the field value. The default value is **C**.
	//     *   Valid values for the **Ctype** field: You can execute the `SELECT DISTINCT collctype FROM pg_collation;` statement to obtain the field value. The default value is **en_US.utf8**.
	CharacterSetName *string `json:"CharacterSetName,omitempty" xml:"CharacterSetName,omitempty"`
	// The description of the database. The description must be 2 to 256 characters in length and can contain letters, digits, underscores (\_), and hyphens (-). The description must start with a letter.
	//
	// > The value cannot start with `http://` or `https://`.
	DBDescription *string `json:"DBDescription,omitempty" xml:"DBDescription,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	//
	// > *   The name must be 2 to 64 characters in length.
	// > *   The name must start with a lowercase letter and end with a lowercase letter or digit.
	// > *   The name can contain lowercase letters, digits, underscores (\_), and hyphens (-).
	// > *   The name must be unique within the instance.
	// > *   For more information about invalid characters, see [Forbidden keywords table](~~26317~~).
	DBName       *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateDatabaseRequest) GoString

func (s CreateDatabaseRequest) GoString() string

func (*CreateDatabaseRequest) SetCharacterSetName

func (s *CreateDatabaseRequest) SetCharacterSetName(v string) *CreateDatabaseRequest

func (*CreateDatabaseRequest) SetDBDescription

func (s *CreateDatabaseRequest) SetDBDescription(v string) *CreateDatabaseRequest

func (*CreateDatabaseRequest) SetDBInstanceId

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

func (*CreateDatabaseRequest) SetDBName

func (*CreateDatabaseRequest) SetOwnerAccount

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

func (*CreateDatabaseRequest) SetOwnerId

func (*CreateDatabaseRequest) SetResourceGroupId

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

func (*CreateDatabaseRequest) SetResourceOwnerAccount

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

func (*CreateDatabaseRequest) SetResourceOwnerId

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

func (CreateDatabaseRequest) String

func (s CreateDatabaseRequest) String() string

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDatabaseResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDatabaseResponse) GoString

func (s CreateDatabaseResponse) GoString() string

func (*CreateDatabaseResponse) SetBody

func (*CreateDatabaseResponse) SetHeaders

func (*CreateDatabaseResponse) SetStatusCode

func (CreateDatabaseResponse) String

func (s CreateDatabaseResponse) String() string

type CreateDatabaseResponseBody

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

func (CreateDatabaseResponseBody) GoString

func (s CreateDatabaseResponseBody) GoString() string

func (*CreateDatabaseResponseBody) SetRequestId

func (CreateDatabaseResponseBody) String

type CreateDdrInstanceRequest

type CreateDdrInstanceRequest struct {
	// The backup set ID that you want to use for the restoration. You can call the DescribeCrossRegionBackups operation to query backup set ID.
	//
	// >  This parameter is required when you set the **RestoreType** parameter to **BackupSet**.
	BackupSetId *string `json:"BackupSetId,omitempty" xml:"BackupSetId,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The connection mode of the destination instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	//
	// Default value: **Standard**.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The instance type of the destination instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance name. The name must be 2 to 256 characters in length. The value can contain letters, digits, underscores (\_), and hyphens (-), and must start with a letter.
	//
	// >  The value cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The network connection type of the destination instance. Valid values:
	//
	// *   **Internet**
	// *   **Intranet**
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The storage capacity of the destination instance. Valid values: **5 to 2000**. Unit: GB. You can increase the storage capacity at a step size of 5 GB. For more information, see [Primary instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the destination instance. Only the local SSD storage type is supported. Default value: **local_ssd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The database engine of the destination instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The major engine version of the destination instance. The value of this parameter varies based on the value of **Engine**.
	//
	// *   Valid values when Engine is set to MySQL: **5.5, 5.6, 5.7, and 8.0**
	// *   Valid values when Engine is set to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	// *   Valid values when Engine is set to PostgreSQL: **9.4, 10.0, 11.0, 12.0, and 13.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **VPC**
	// *   **Classic**
	//
	// Default value: Classic.
	//
	// > If you set this parameter to **VPC**, you must also specify **VpcId** and **VSwitchId**.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	OwnerAccount        *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId             *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit that is used to measure the subscription duration of the destination instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// > If you set PayType to **Prepaid**, you must specify UsedTime.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The private IP address of the destination instance. The private IP address must be within the CIDR block that is supported by the specified vSwitch. The system automatically assigns an internal IP address based on the values of the **VPCId** and **VSwitchId** parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The region ID of the destination instance. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. The point in time that you specify must be earlier than the current 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.
	//
	// > If **RestoreType** is set to **BackupTime**, you must specify this parameter.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The restoration method that you want to use. Valid values:
	//
	// *   **BackupSet**: restores data from a backup set. If you use this value, you must also specify **BackupSetId**.
	// *   **BackupTime**: restores data to a point in time. If you use this value, you must also specify **RestoreTime**, **SourceRegion**, and **SourceDBInstanceName**.
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	// The IP address whitelist of the destination instance. If you want to add more than one entry to the IP address whitelist, separate the entries with commas (,). Each entry must be unique. You can add a maximum of 1,000 entries. For more information, see [Configure an IP address whitelist for an ApsaraDB RDS for MySQL instance](~~43185~~). The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP address. Example: 10.23.12.24.
	// *   CIDR block. Example: 10.23.12.24/24. In this example, 24 indicates that the prefix of the CIDR block is 24 bits in length. You can replace 24 with a value that ranges from 1 to 32.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The source instance ID, which is used if you want to restore data to a point in time.
	//
	// >  This parameter is required when you set the **RestoreType** parameter to **BackupTime**.
	SourceDBInstanceName *string `json:"SourceDBInstanceName,omitempty" xml:"SourceDBInstanceName,omitempty"`
	// The region ID of the source instance if you want to restore data to a point in time.
	//
	// > If you set **RestoreType** to **BackupTime**, you must specify this parameter.
	SourceRegion *string `json:"SourceRegion,omitempty" xml:"SourceRegion,omitempty"`
	// The character set of the destination instance. Valid values:
	//
	// *   **utf8**
	// *   **gbk**
	// *   **latin1**
	// *   **utf8mb4**
	SystemDBCharset *string `json:"SystemDBCharset,omitempty" xml:"SystemDBCharset,omitempty"`
	// The subscription duration of the instance.
	//
	// *   If you set **Period** to **Year**, the value of UsedTime ranges from **1 to 3**.
	// *   If you set **Period** to **Month**, the value of UsedTime ranges from **1 to 9**.
	//
	// > If you set PayType to **Prepaid**, you must specify UsedTime.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The VPC ID of the destination instance. This parameter is available only when you set the **InstanceNetworkType** parameter to **VPC**.
	//
	// >  If you specify this parameter, you must also specify the **ZoneId** parameter.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the destination instance. If you specify more than one vSwitch, separate the IDs of the vSwitches with commas (,). This parameter is available only when you set the **InstanceNetworkType** parameter to **VPC**.
	//
	// >  If you specify this parameter, you must also specify the **ZoneId** parameter.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the destination instance. If the destination instance is deployed in multiple zones, separate the IDs of the zones with colons (:).
	//
	// > If you specify a virtual private cloud (VPC) and a vSwitch, you must specify this parameter to identify the zone for the vSwitch.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateDdrInstanceRequest) GoString

func (s CreateDdrInstanceRequest) GoString() string

func (*CreateDdrInstanceRequest) SetBackupSetId

func (*CreateDdrInstanceRequest) SetClientToken

func (*CreateDdrInstanceRequest) SetConnectionMode

func (s *CreateDdrInstanceRequest) SetConnectionMode(v string) *CreateDdrInstanceRequest

func (*CreateDdrInstanceRequest) SetDBInstanceClass

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

func (*CreateDdrInstanceRequest) SetDBInstanceDescription

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

func (*CreateDdrInstanceRequest) SetDBInstanceNetType

func (s *CreateDdrInstanceRequest) SetDBInstanceNetType(v string) *CreateDdrInstanceRequest

func (*CreateDdrInstanceRequest) SetDBInstanceStorage

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

func (*CreateDdrInstanceRequest) SetDBInstanceStorageType

func (s *CreateDdrInstanceRequest) SetDBInstanceStorageType(v string) *CreateDdrInstanceRequest

func (*CreateDdrInstanceRequest) SetEngine

func (*CreateDdrInstanceRequest) SetEngineVersion

func (*CreateDdrInstanceRequest) SetInstanceNetworkType

func (s *CreateDdrInstanceRequest) SetInstanceNetworkType(v string) *CreateDdrInstanceRequest

func (*CreateDdrInstanceRequest) SetOwnerAccount

func (*CreateDdrInstanceRequest) SetOwnerId

func (*CreateDdrInstanceRequest) SetPayType

func (*CreateDdrInstanceRequest) SetPeriod

func (*CreateDdrInstanceRequest) SetPrivateIpAddress

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

func (*CreateDdrInstanceRequest) SetRegionId

func (*CreateDdrInstanceRequest) SetResourceGroupId

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

func (*CreateDdrInstanceRequest) SetResourceOwnerAccount

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

func (*CreateDdrInstanceRequest) SetResourceOwnerId

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

func (*CreateDdrInstanceRequest) SetRestoreTime

func (*CreateDdrInstanceRequest) SetRestoreType

func (*CreateDdrInstanceRequest) SetSecurityIPList

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

func (*CreateDdrInstanceRequest) SetSourceDBInstanceName

func (s *CreateDdrInstanceRequest) SetSourceDBInstanceName(v string) *CreateDdrInstanceRequest

func (*CreateDdrInstanceRequest) SetSourceRegion

func (*CreateDdrInstanceRequest) SetSystemDBCharset

func (s *CreateDdrInstanceRequest) SetSystemDBCharset(v string) *CreateDdrInstanceRequest

func (*CreateDdrInstanceRequest) SetUsedTime

func (*CreateDdrInstanceRequest) SetVPCId

func (*CreateDdrInstanceRequest) SetVSwitchId

func (*CreateDdrInstanceRequest) SetZoneId

func (CreateDdrInstanceRequest) String

func (s CreateDdrInstanceRequest) String() string

type CreateDdrInstanceResponse

type CreateDdrInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDdrInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDdrInstanceResponse) GoString

func (s CreateDdrInstanceResponse) GoString() string

func (*CreateDdrInstanceResponse) SetBody

func (*CreateDdrInstanceResponse) SetHeaders

func (*CreateDdrInstanceResponse) SetStatusCode

func (CreateDdrInstanceResponse) String

func (s CreateDdrInstanceResponse) String() string

type CreateDdrInstanceResponseBody

type CreateDdrInstanceResponseBody struct {
	// The endpoint that is used to connect to the destination instance.
	//
	// >  The **DBInstanceNetType** parameter indicates whether the endpoint is internal or public.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The destination instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The order ID.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The port number that is used to connect to the destination instance.
	//
	// > **DBInstanceNetType** indicates whether the port is internal or public.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDdrInstanceResponseBody) GoString

func (*CreateDdrInstanceResponseBody) SetConnectionString

func (*CreateDdrInstanceResponseBody) SetDBInstanceId

func (*CreateDdrInstanceResponseBody) SetOrderId

func (*CreateDdrInstanceResponseBody) SetPort

func (*CreateDdrInstanceResponseBody) SetRequestId

func (CreateDdrInstanceResponseBody) String

type CreateDiagnosticReportRequest

type CreateDiagnosticReportRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end time of the monitored data that is used to generate the diagnostic report. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The start time of the monitored data that is used to generate the diagnostic report. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (CreateDiagnosticReportRequest) GoString

func (*CreateDiagnosticReportRequest) SetDBInstanceId

func (*CreateDiagnosticReportRequest) SetEndTime

func (*CreateDiagnosticReportRequest) SetStartTime

func (CreateDiagnosticReportRequest) String

type CreateDiagnosticReportResponse

type CreateDiagnosticReportResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDiagnosticReportResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDiagnosticReportResponse) GoString

func (*CreateDiagnosticReportResponse) SetHeaders

func (*CreateDiagnosticReportResponse) SetStatusCode

func (CreateDiagnosticReportResponse) String

type CreateDiagnosticReportResponseBody

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

func (CreateDiagnosticReportResponseBody) GoString

func (*CreateDiagnosticReportResponseBody) SetReportId

func (*CreateDiagnosticReportResponseBody) SetRequestId

func (CreateDiagnosticReportResponseBody) String

type CreateGADInstanceRequest

type CreateGADInstanceRequest struct {
	// The ID of the primary instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID. The primary instance serves as the central node of the global active database cluster.
	//
	// > *   A primary instance can serve as the central node only of a single global active database cluster.
	// > *   Only a primary instance that is created in one of the following regions can serve as the central node of a global active database cluster: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Shenzhen), and China (Chengdu).
	CentralDBInstanceId *string `json:"CentralDBInstanceId,omitempty" xml:"CentralDBInstanceId,omitempty"`
	// The username of the privileged account of the central node. You can call the [DescribeAccounts](~~26265~~) operation to query the privileged account of the central node.
	CentralRdsDtsAdminAccount *string `json:"CentralRdsDtsAdminAccount,omitempty" xml:"CentralRdsDtsAdminAccount,omitempty"`
	// The password of the privileged account of the central node.
	CentralRdsDtsAdminPassword *string `json:"CentralRdsDtsAdminPassword,omitempty" xml:"CentralRdsDtsAdminPassword,omitempty"`
	// The region ID of the central node. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	CentralRegionId *string `json:"CentralRegionId,omitempty" xml:"CentralRegionId,omitempty"`
	// A JSON array that consists of the information about a specified database on the central node. All database information that you specify in this array is synchronized to the unit nodes of the global active database cluster. The JSON array contains the following fields:
	//
	// *   **name**: the name of the database.
	// *   **all**: specifies whether to synchronize all data in the database or the table. Valid values: **true** and **false**.
	// *   **Table**: the name of the table. If you set the **all** field to **false**, you must nest the name of the table that you want to synchronize into the JSON array.
	//
	// Example: `{ "testdb": { "name": "testdb", "all": false, "Table": { "order": { "name": "order", "all": true }, "ordernew": { "name": "ordernew", "all": true } } } }`
	DBList *string `json:"DBList,omitempty" xml:"DBList,omitempty"`
	// The name of the global active database cluster.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// An array that consists of the details about the tag.
	Tag []*CreateGADInstanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The information about the unit node.
	UnitNode []*CreateGADInstanceRequestUnitNode `json:"UnitNode,omitempty" xml:"UnitNode,omitempty" type:"Repeated"`
}

func (CreateGADInstanceRequest) GoString

func (s CreateGADInstanceRequest) GoString() string

func (*CreateGADInstanceRequest) SetCentralDBInstanceId

func (s *CreateGADInstanceRequest) SetCentralDBInstanceId(v string) *CreateGADInstanceRequest

func (*CreateGADInstanceRequest) SetCentralRdsDtsAdminAccount

func (s *CreateGADInstanceRequest) SetCentralRdsDtsAdminAccount(v string) *CreateGADInstanceRequest

func (*CreateGADInstanceRequest) SetCentralRdsDtsAdminPassword

func (s *CreateGADInstanceRequest) SetCentralRdsDtsAdminPassword(v string) *CreateGADInstanceRequest

func (*CreateGADInstanceRequest) SetCentralRegionId

func (s *CreateGADInstanceRequest) SetCentralRegionId(v string) *CreateGADInstanceRequest

func (*CreateGADInstanceRequest) SetDBList

func (*CreateGADInstanceRequest) SetDescription

func (*CreateGADInstanceRequest) SetResourceGroupId

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

func (*CreateGADInstanceRequest) SetTag

func (*CreateGADInstanceRequest) SetUnitNode

func (CreateGADInstanceRequest) String

func (s CreateGADInstanceRequest) String() string

type CreateGADInstanceRequestTag

type CreateGADInstanceRequestTag struct {
	// The key of the tag. You can create N tag keys at a time. Valid values of N: **1 to 20**. The value of this parameter cannot be an empty string.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag. You can create N tag values at a time. Valid values of N: **1 to 20**. The value of this parameter can be an empty string.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateGADInstanceRequestTag) GoString

func (s CreateGADInstanceRequestTag) GoString() string

func (*CreateGADInstanceRequestTag) SetKey

func (*CreateGADInstanceRequestTag) SetValue

func (CreateGADInstanceRequestTag) String

type CreateGADInstanceRequestUnitNode

type CreateGADInstanceRequestUnitNode struct {
	// The name of the unit node that you want to create. The name must meet the following requirements:
	//
	// *   The name must be **2 to 255** characters in length.
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-) and must start with a letter.
	// *   The name cannot start with `http://` or `https://`.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The storage capacity of the unit node that you want to create. Unit: GB. The storage capacity increases at a step size of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can also call the [DescribeAvailableResource](~~134039~~) operation to query the storage capacity range that is supported for a specified instance type in a region.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DBInstanceStorage *int64 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD. This is the recommended storage type.
	// *   **cloud_ssd**: standard SSD. This storage type is not recommended. Standard SSDs are no longer available for purchase in some Alibaba Cloud regions.
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1).
	// *   **cloud_essd2**: ESSD of PL2
	// *   **cloud_essd3**: ESSD of PL3.
	//
	// The default value of this parameter is determined by the instance type specified by the **DBInstanceClass** parameter.
	//
	// *   If the instance type specifies the local SSD storage type, the default value of this parameter is **local_ssd**.
	// *   If the instance type specifies the cloud disk storage type, the default value of this parameter is **cloud_essd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The instance type of the unit node that you want to create. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can call the [DescribeAvailableResource](~~134039~~) operation to query the available instance types in a region.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DbInstanceClass *string `json:"DbInstanceClass,omitempty" xml:"DbInstanceClass,omitempty"`
	// The conflict resolution policy based on which Data Transmission Service (DTS) responds to primary key conflicts during data synchronization to the unit node that you want to create. Valid values:
	//
	// *   **overwrite**: DTS overwrites the conflicting primary key on the destination node.
	// *   **interrupt**: DTS stops the synchronization task, reports an error, and then exits.
	// *   **ignore**: DTS hides the conflicting primary key on the node.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DtsConflict *string `json:"DtsConflict,omitempty" xml:"DtsConflict,omitempty"`
	// The specifications of the data synchronization task for the unit node that you want to create. Valid values:
	//
	// *   **small**
	// *   **medium**
	// *   **large**
	// *   **micro**
	//
	// >  For more information, see [Specifications of data synchronization tasks](~~26605~~).
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DtsInstanceClass *string `json:"DtsInstanceClass,omitempty" xml:"DtsInstanceClass,omitempty"`
	// The database engine of the unit node that you want to create. Set the value to **MySQL**.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the unit node that you want to create. Valid values:
	//
	// *   **8.0**
	// *   **5.7**
	// *   **5.6**
	// *   **5.5**
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The billing method of the unit node that you want to create. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	//
	// >  The system automatically generates a purchase order and completes the payment. You do not need to manually confirm the purchase order or complete the payment.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The region ID of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	RegionID *string `json:"RegionID,omitempty" xml:"RegionID,omitempty"`
	// The IP address whitelist of the unit node that you want to create. For more information, see [IP address whitelist](~~43185~~). If you want to add more than one entry to the IP address whitelist, separate the entries with commas (,). Each entry must be unique. The IP address whitelist can contain up to 1,000 entries. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as `10.10.10.10`.
	// *   CIDR blocks, such as `10.10.10.10/24`. In this example, **24** indicates that the prefix of the IP address is 24 bits in length. You can replace 24 with a value within the range of **1 to 32**.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The vSwitch ID of the unit node that you want to create.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	VSwitchID *string `json:"VSwitchID,omitempty" xml:"VSwitchID,omitempty"`
	// The virtual private cloud (VPC) ID of the unit node that you want to create.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	VpcID *string `json:"VpcID,omitempty" xml:"VpcID,omitempty"`
	// The zone ID of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the ID of the zone.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	ZoneID *string `json:"ZoneID,omitempty" xml:"ZoneID,omitempty"`
	// The zone ID of the secondary node of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the ID of the zone.
	//
	// *   If the value of this parameter is the same as the **zone ID** of the unit node that you want to create, the single-zone deployment method is used.
	// *   If the value of this parameter is different from the **zone ID** of the unit node that you want to create, the multiple-zone deployment method is used.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	ZoneIDSlave1 *string `json:"ZoneIDSlave1,omitempty" xml:"ZoneIDSlave1,omitempty"`
	// The zone ID of the logger node of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the ID of the zone.
	//
	// *   If the value of this parameter is the same as the **zone ID** of the unit node that you want to create, the single-zone deployment method is used.
	// *   If the value of this parameter is different from the **zone ID** of the unit node that you want to create, the multiple-zone deployment method is used.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	ZoneIDSlave2 *string `json:"ZoneIDSlave2,omitempty" xml:"ZoneIDSlave2,omitempty"`
}

func (CreateGADInstanceRequestUnitNode) GoString

func (*CreateGADInstanceRequestUnitNode) SetDBInstanceDescription

func (*CreateGADInstanceRequestUnitNode) SetDBInstanceStorage

func (*CreateGADInstanceRequestUnitNode) SetDBInstanceStorageType added in v3.0.4

func (*CreateGADInstanceRequestUnitNode) SetDbInstanceClass

func (*CreateGADInstanceRequestUnitNode) SetDtsConflict

func (*CreateGADInstanceRequestUnitNode) SetDtsInstanceClass

func (*CreateGADInstanceRequestUnitNode) SetEngine

func (*CreateGADInstanceRequestUnitNode) SetEngineVersion

func (*CreateGADInstanceRequestUnitNode) SetPayType

func (*CreateGADInstanceRequestUnitNode) SetRegionID

func (*CreateGADInstanceRequestUnitNode) SetSecurityIPList

func (*CreateGADInstanceRequestUnitNode) SetVSwitchID

func (*CreateGADInstanceRequestUnitNode) SetVpcID

func (*CreateGADInstanceRequestUnitNode) SetZoneID

func (*CreateGADInstanceRequestUnitNode) SetZoneIDSlave1

func (*CreateGADInstanceRequestUnitNode) SetZoneIDSlave2

func (CreateGADInstanceRequestUnitNode) String

type CreateGADInstanceResponse

type CreateGADInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateGADInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateGADInstanceResponse) GoString

func (s CreateGADInstanceResponse) GoString() string

func (*CreateGADInstanceResponse) SetBody

func (*CreateGADInstanceResponse) SetHeaders

func (*CreateGADInstanceResponse) SetStatusCode

func (CreateGADInstanceResponse) String

func (s CreateGADInstanceResponse) String() string

type CreateGADInstanceResponseBody

type CreateGADInstanceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The data returned.
	Result *CreateGADInstanceResponseBodyResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Struct"`
}

func (CreateGADInstanceResponseBody) GoString

func (*CreateGADInstanceResponseBody) SetRequestId

func (CreateGADInstanceResponseBody) String

type CreateGADInstanceResponseBodyResult

type CreateGADInstanceResponseBodyResult struct {
	// The number of unit nodes that are created by calling this operation.
	CreateMemberCount *string `json:"CreateMemberCount,omitempty" xml:"CreateMemberCount,omitempty"`
	// The ID of the global active database cluster.
	GadInstanceName *string `json:"GadInstanceName,omitempty" xml:"GadInstanceName,omitempty"`
	// The task ID.
	TaskID *string `json:"TaskID,omitempty" xml:"TaskID,omitempty"`
}

func (CreateGADInstanceResponseBodyResult) GoString

func (*CreateGADInstanceResponseBodyResult) SetCreateMemberCount

func (*CreateGADInstanceResponseBodyResult) SetGadInstanceName

func (*CreateGADInstanceResponseBodyResult) SetTaskID

func (CreateGADInstanceResponseBodyResult) String

type CreateGadInstanceMemberRequest

type CreateGadInstanceMemberRequest struct {
	// The ID of the central node. You can call the [DescribeGadInstances](~~330105~~) operation to query the ID of the central node.
	CentralDBInstanceId *string `json:"CentralDBInstanceId,omitempty" xml:"CentralDBInstanceId,omitempty"`
	// The username of the privileged account of the central node. You can call the [DescribeAccounts](~~26265~~) operation to query the privileged account of the central node.
	CentralRdsDtsAdminAccount *string `json:"CentralRdsDtsAdminAccount,omitempty" xml:"CentralRdsDtsAdminAccount,omitempty"`
	// The password of the privileged account of the central node.
	CentralRdsDtsAdminPassword *string `json:"CentralRdsDtsAdminPassword,omitempty" xml:"CentralRdsDtsAdminPassword,omitempty"`
	// The region ID of the central node. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	CentralRegionId *string `json:"CentralRegionId,omitempty" xml:"CentralRegionId,omitempty"`
	// A JSON array that consists of the information about the databases on the central node. All database information that you specify in this array is synchronized to the unit nodes of the global active database cluster. The JSON array contains the following fields:
	//
	// *   **name**: the name of the database.
	// *   **all**: specifies whether to synchronize all data in the database or the table. Valid values: **true** and **false**.
	// *   **Table**: the name of the table. If you set the **all** field to **false**, you must nest the name of the table that you want to synchronize into the JSON array.
	//
	// Example: `{ "testdb": { "name": "testdb", "all": false, "Table": { "order": { "name": "order", "all": true }, "ordernew": { "name": "ordernew", "all": true } } } }`
	//
	// >  For more information, see [Objects of DTS tasks](~~209545~~).
	DBList *string `json:"DBList,omitempty" xml:"DBList,omitempty"`
	// The ID of the global active database cluster. You can call the [DescribeGadInstances](~~330105~~) operation to query the ID of the global active database cluster.
	GadInstanceId *string `json:"GadInstanceId,omitempty" xml:"GadInstanceId,omitempty"`
	// The information about the unit node.
	UnitNode []*CreateGadInstanceMemberRequestUnitNode `json:"UnitNode,omitempty" xml:"UnitNode,omitempty" type:"Repeated"`
}

func (CreateGadInstanceMemberRequest) GoString

func (*CreateGadInstanceMemberRequest) SetCentralDBInstanceId

func (*CreateGadInstanceMemberRequest) SetCentralRdsDtsAdminAccount

func (s *CreateGadInstanceMemberRequest) SetCentralRdsDtsAdminAccount(v string) *CreateGadInstanceMemberRequest

func (*CreateGadInstanceMemberRequest) SetCentralRdsDtsAdminPassword

func (s *CreateGadInstanceMemberRequest) SetCentralRdsDtsAdminPassword(v string) *CreateGadInstanceMemberRequest

func (*CreateGadInstanceMemberRequest) SetCentralRegionId

func (*CreateGadInstanceMemberRequest) SetDBList

func (*CreateGadInstanceMemberRequest) SetGadInstanceId

func (*CreateGadInstanceMemberRequest) SetUnitNode

func (CreateGadInstanceMemberRequest) String

type CreateGadInstanceMemberRequestUnitNode

type CreateGadInstanceMemberRequestUnitNode struct {
	// The name of the unit node that you want to create. The name must meet the following requirements:
	//
	// *   The name must be **2 to 255** characters in length.
	// *   The name can contain letters, digits, underscores (\_), and hyphens (-) and must start with a letter.
	// *   The name cannot start with `http://` or `https://`.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The storage capacity of the unit node that you want to create. Unit: GB. You can adjust the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can call the [DescribeAvailableResource](~~134039~~) operation to query the storage capacity range that is supported for a specified instance type in a region.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DBInstanceStorage *int64 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the new instance. Valid values:
	//
	// *   **local_ssd**: local SSDs
	// *   **cloud_ssd**: standard SSDs
	// *   **cloud_essd**: enhanced SSDs (ESSDs) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSDs of PL2.
	// *   **cloud_essd3**: ESSD of PL3.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The instance type of the unit node that you want to create. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can call the [DescribeAvailableResource](~~134039~~) operation to query the available instance types in a region.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DbInstanceClass *string `json:"DbInstanceClass,omitempty" xml:"DbInstanceClass,omitempty"`
	// The conflict resolution policy based on which Data Transmission Service (DTS) responds to primary key conflicts during data synchronization to the unit node that you want to create. Valid values:
	//
	// *   **overwrite**: DTS overwrites the conflicting primary key on the destination node.
	// *   **interrupt**: DTS stops the synchronization task, reports an error, and then exits.
	// *   **ignore**: DTS overwrites the conflicting primary key on the logger node.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DtsConflict *string `json:"DtsConflict,omitempty" xml:"DtsConflict,omitempty"`
	// The specifications of the data synchronization task for the unit node that you want to create. Valid values:
	//
	// *   **small**
	// *   **medium**
	// *   **large**
	// *   **micro**
	//
	// >  For more information, see [Specifications of data synchronization instances](~~26605~~).
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	DtsInstanceClass *string `json:"DtsInstanceClass,omitempty" xml:"DtsInstanceClass,omitempty"`
	// The database engine of the unit node that you want to create. Set the value to **MySQL**.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the unit node that you want to create. Valid values:
	//
	// *   **8.0**
	// *   **5.7**
	// *   **5.6**
	// *   **5.5**
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The region ID of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	RegionID *string `json:"RegionID,omitempty" xml:"RegionID,omitempty"`
	// The IP address whitelist of the unit node that you want to create. For more information, see [IP address whitelist](~~43185~~). If you want to add more than one entry to the IP address whitelist, separate the entries with commas (,). Each entry must be unique. The IP address whitelist can contain up to 1,000 entries. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as `10.10.XX.XX`.
	// *   CIDR blocks, such as `10.10.XX.XX/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**.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The vSwitch ID of the unit node that you want to create.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	VSwitchID *string `json:"VSwitchID,omitempty" xml:"VSwitchID,omitempty"`
	// The virtual private cloud (VPC) ID of the unit node that you want to create.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	VpcID *string `json:"VpcID,omitempty" xml:"VpcID,omitempty"`
	// The zone ID of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the ID of the zone.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	ZoneID *string `json:"ZoneID,omitempty" xml:"ZoneID,omitempty"`
	// The zone ID of the secondary node of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the ID of the zone.
	//
	// *   If the value of this parameter is the same as the **zone ID** of the unit node that you want to create, the single-zone deployment method is used.
	// *   If the value of this parameter is different from the **zone ID** of the unit node that you want to create, the multiple-zone deployment method is used.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	ZoneIDSlave1 *string `json:"ZoneIDSlave1,omitempty" xml:"ZoneIDSlave1,omitempty"`
	// The zone ID of the logger node of the unit node that you want to create. You can call the [DescribeRegions](~~26243~~) operation to query the ID of the zone.
	//
	// *   If the value of this parameter is the same as the **zone ID** of the unit node that you want to create, the single-zone deployment method is used.
	// *   If the value of this parameter is different from the **zone ID** of the unit node that you want to create, the multiple-zone deployment method is used.
	//
	// **N** specifies unit node N. The value of N is an integer that ranges from **1 to 10**. You can create up to 10 unit nodes in a global active database cluster.
	ZoneIDSlave2 *string `json:"ZoneIDSlave2,omitempty" xml:"ZoneIDSlave2,omitempty"`
}

func (CreateGadInstanceMemberRequestUnitNode) GoString

func (*CreateGadInstanceMemberRequestUnitNode) SetDBInstanceDescription

func (*CreateGadInstanceMemberRequestUnitNode) SetDBInstanceStorage

func (*CreateGadInstanceMemberRequestUnitNode) SetDBInstanceStorageType added in v3.0.4

func (*CreateGadInstanceMemberRequestUnitNode) SetDbInstanceClass

func (*CreateGadInstanceMemberRequestUnitNode) SetDtsConflict

func (*CreateGadInstanceMemberRequestUnitNode) SetDtsInstanceClass

func (*CreateGadInstanceMemberRequestUnitNode) SetEngine

func (*CreateGadInstanceMemberRequestUnitNode) SetEngineVersion

func (*CreateGadInstanceMemberRequestUnitNode) SetRegionID

func (*CreateGadInstanceMemberRequestUnitNode) SetSecurityIPList

func (*CreateGadInstanceMemberRequestUnitNode) SetVSwitchID

func (*CreateGadInstanceMemberRequestUnitNode) SetVpcID

func (*CreateGadInstanceMemberRequestUnitNode) SetZoneID

func (*CreateGadInstanceMemberRequestUnitNode) SetZoneIDSlave1

func (*CreateGadInstanceMemberRequestUnitNode) SetZoneIDSlave2

func (CreateGadInstanceMemberRequestUnitNode) String

type CreateGadInstanceMemberResponse

type CreateGadInstanceMemberResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateGadInstanceMemberResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateGadInstanceMemberResponse) GoString

func (*CreateGadInstanceMemberResponse) SetHeaders

func (*CreateGadInstanceMemberResponse) SetStatusCode

func (CreateGadInstanceMemberResponse) String

type CreateGadInstanceMemberResponseBody

type CreateGadInstanceMemberResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array that consists of the information returned.
	Result *CreateGadInstanceMemberResponseBodyResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Struct"`
}

func (CreateGadInstanceMemberResponseBody) GoString

func (*CreateGadInstanceMemberResponseBody) SetRequestId

func (CreateGadInstanceMemberResponseBody) String

type CreateGadInstanceMemberResponseBodyResult

type CreateGadInstanceMemberResponseBodyResult struct {
	// The number of unit nodes that are created by calling this operation.
	CreateCount *string `json:"CreateCount,omitempty" xml:"CreateCount,omitempty"`
	// The ID of the global active database cluster.
	GadInstanceName *string `json:"GadInstanceName,omitempty" xml:"GadInstanceName,omitempty"`
}

func (CreateGadInstanceMemberResponseBodyResult) GoString

func (*CreateGadInstanceMemberResponseBodyResult) SetCreateCount

func (*CreateGadInstanceMemberResponseBodyResult) SetGadInstanceName

func (CreateGadInstanceMemberResponseBodyResult) String

type CreateMigrateTaskRequest

type CreateMigrateTaskRequest struct {
	// The type of the migration task. Valid values:
	//
	// *   **FULL**: The migration task migrates full backup files.
	// *   **UPDF**: The migration task migrates incremental or log backup files.
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The consistency check method for the database. Valid values:
	//
	// *   **SyncExecuteDBCheck**: synchronous database check
	// *   **AsyncExecuteDBCheck**: asynchronous database check
	//
	// Default value: **AsyncExecuteDBCheck** (compatible with SQL Server 2008 R2).
	//
	// >  This parameter is valid when **IsOnlineDB** is set to **True**.
	CheckDBMode *string `json:"CheckDBMode,omitempty" xml:"CheckDBMode,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the destination database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// Specifies whether to make the restored database data available for user access. Valid values:
	//
	// *   **True**
	// *   **False**
	//
	// > Set the value to **True** for instances that run SQL Server 2008 R2.
	IsOnlineDB *string `json:"IsOnlineDB,omitempty" xml:"IsOnlineDB,omitempty"`
	// The ID of the migration task.
	//
	// *   If you set **BackupMode** to **FULL**, the value of this parameter is empty. The full backup mode is compatible with instance that runs SQL Server 2008 R2.
	// *   If you set **BackupMode** to **UPDF**, the value of this parameter is the ID of the required full migration task.
	//
	// > *   If you set **IsOnlineDB** to **True**, the value of **BackupMode** must be **FULL**.
	// > *   If you set **IsOnlineDB** to **False**, the value of **BackupMode** must be **UPDF**.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	// The shared URL of the backup file in the OSS bucket. The URL must be encoded.
	//
	// If you specify multiple URLs, separate them with vertical bars (|) and then encode them.
	//
	// >  This parameter is required for instances that run SQL Server 2008 R2.
	OSSUrls *string `json:"OSSUrls,omitempty" xml:"OSSUrls,omitempty"`
	// The information about the backup file in the OSS bucket.
	//
	// The values consist of three parts that are separated by colons (:):
	//
	// *   OSS endpoint: oss-ap-southeast-1.aliyuncs.com.
	// *   Name of the OSS bucket: rdsmssqlsingapore.
	// *   Key of the backup file in the OSS bucket: autotest\_2008R2\_TestMigration_FULL.bak.
	//
	// > *   This parameter is optional for instances that run SQL Server 2008 R2.
	// > *   This parameter is required for instances that run a major engine version later than SQL Server 2008 R2.
	OssObjectPositions   *string `json:"OssObjectPositions,omitempty" xml:"OssObjectPositions,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 (CreateMigrateTaskRequest) GoString

func (s CreateMigrateTaskRequest) GoString() string

func (*CreateMigrateTaskRequest) SetBackupMode

func (*CreateMigrateTaskRequest) SetCheckDBMode

func (*CreateMigrateTaskRequest) SetDBInstanceId

func (*CreateMigrateTaskRequest) SetDBName

func (*CreateMigrateTaskRequest) SetIsOnlineDB

func (*CreateMigrateTaskRequest) SetMigrateTaskId

func (*CreateMigrateTaskRequest) SetOSSUrls

func (*CreateMigrateTaskRequest) SetOssObjectPositions

func (s *CreateMigrateTaskRequest) SetOssObjectPositions(v string) *CreateMigrateTaskRequest

func (*CreateMigrateTaskRequest) SetOwnerId

func (*CreateMigrateTaskRequest) SetResourceOwnerAccount

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

func (*CreateMigrateTaskRequest) SetResourceOwnerId

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

func (CreateMigrateTaskRequest) String

func (s CreateMigrateTaskRequest) String() string

type CreateMigrateTaskResponse

type CreateMigrateTaskResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateMigrateTaskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateMigrateTaskResponse) GoString

func (s CreateMigrateTaskResponse) GoString() string

func (*CreateMigrateTaskResponse) SetBody

func (*CreateMigrateTaskResponse) SetHeaders

func (*CreateMigrateTaskResponse) SetStatusCode

func (CreateMigrateTaskResponse) String

func (s CreateMigrateTaskResponse) String() string

type CreateMigrateTaskResponseBody

type CreateMigrateTaskResponseBody struct {
	// The type of the migration task. Valid values:
	//
	// *   **FULL**: The migration task migrates full backup files.
	// *   **UPDF**: The migration task migrates incremental or log backup files.
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The ID of the migration task.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (CreateMigrateTaskResponseBody) GoString

func (*CreateMigrateTaskResponseBody) SetBackupMode

func (*CreateMigrateTaskResponseBody) SetDBInstanceId

func (*CreateMigrateTaskResponseBody) SetDBName

func (*CreateMigrateTaskResponseBody) SetMigrateTaskId

func (*CreateMigrateTaskResponseBody) SetRequestId

func (*CreateMigrateTaskResponseBody) SetTaskId

func (CreateMigrateTaskResponseBody) String

type CreateOnlineDatabaseTaskRequest

type CreateOnlineDatabaseTaskRequest struct {
	// The consistency check method after the database is open. Valid values:
	//
	// *   **SyncExecuteDBCheck**: synchronous database check
	// *   **AsyncExecuteDBCheck**: asynchronous database check
	//
	// > The check methods are supported for RDS instances that run SQL Server 2008 R2.
	CheckDBMode *string `json:"CheckDBMode,omitempty" xml:"CheckDBMode,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The ID of the migration task.
	MigrateTaskId        *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,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 (CreateOnlineDatabaseTaskRequest) GoString

func (*CreateOnlineDatabaseTaskRequest) SetCheckDBMode

func (*CreateOnlineDatabaseTaskRequest) SetClientToken

func (*CreateOnlineDatabaseTaskRequest) SetDBInstanceId

func (*CreateOnlineDatabaseTaskRequest) SetDBName

func (*CreateOnlineDatabaseTaskRequest) SetMigrateTaskId

func (*CreateOnlineDatabaseTaskRequest) SetOwnerAccount

func (*CreateOnlineDatabaseTaskRequest) SetOwnerId

func (*CreateOnlineDatabaseTaskRequest) SetResourceOwnerAccount

func (*CreateOnlineDatabaseTaskRequest) SetResourceOwnerId

func (CreateOnlineDatabaseTaskRequest) String

type CreateOnlineDatabaseTaskResponse

type CreateOnlineDatabaseTaskResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateOnlineDatabaseTaskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateOnlineDatabaseTaskResponse) GoString

func (*CreateOnlineDatabaseTaskResponse) SetHeaders

func (*CreateOnlineDatabaseTaskResponse) SetStatusCode

func (CreateOnlineDatabaseTaskResponse) String

type CreateOnlineDatabaseTaskResponseBody

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

func (CreateOnlineDatabaseTaskResponseBody) GoString

func (*CreateOnlineDatabaseTaskResponseBody) SetRequestId

func (CreateOnlineDatabaseTaskResponseBody) String

type CreateOrderForCreateDBNodesRequest added in v3.1.0

type CreateOrderForCreateDBNodesRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// *   **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// *   **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code of the instance. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details about the node.
	DBNode []*CreateOrderForCreateDBNodesRequestDBNode `json:"DBNode,omitempty" xml:"DBNode,omitempty" type:"Repeated"`
	// The database engine version of the instance. Valid values:
	//
	// If the instance runs **MySQL**, set this parameter to **5.5**, **5.6**, **5.7**, or **8.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource of the instance.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID of the host. You can call the [DescribeRegions](~~26243~~) operation to query the zone ID of the host.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateOrderForCreateDBNodesRequest) GoString added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetAutoPay added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetBusinessInfo added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetClientToken added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetCommodityCode added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetDBInstanceId added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetDBNode added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetEngineVersion added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetNodeType added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetOwnerId added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetPromotionCode added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetRegionId added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetResource added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetResourceGroupId added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetResourceOwnerAccount added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetResourceOwnerId added in v3.1.0

func (*CreateOrderForCreateDBNodesRequest) SetZoneId added in v3.1.0

func (CreateOrderForCreateDBNodesRequest) String added in v3.1.0

type CreateOrderForCreateDBNodesRequestDBNode added in v3.1.0

type CreateOrderForCreateDBNodesRequestDBNode struct {
	// The specification information of the node.
	ClassCode *string `json:"classCode,omitempty" xml:"classCode,omitempty"`
	// The zone ID of the node.
	ZoneId *string `json:"zoneId,omitempty" xml:"zoneId,omitempty"`
}

func (CreateOrderForCreateDBNodesRequestDBNode) GoString added in v3.1.0

func (*CreateOrderForCreateDBNodesRequestDBNode) SetClassCode added in v3.1.0

func (*CreateOrderForCreateDBNodesRequestDBNode) SetZoneId added in v3.1.0

func (CreateOrderForCreateDBNodesRequestDBNode) String added in v3.1.0

type CreateOrderForCreateDBNodesResponse added in v3.1.0

type CreateOrderForCreateDBNodesResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateOrderForCreateDBNodesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateOrderForCreateDBNodesResponse) GoString added in v3.1.0

func (*CreateOrderForCreateDBNodesResponse) SetBody added in v3.1.0

func (*CreateOrderForCreateDBNodesResponse) SetHeaders added in v3.1.0

func (*CreateOrderForCreateDBNodesResponse) SetStatusCode added in v3.1.0

func (CreateOrderForCreateDBNodesResponse) String added in v3.1.0

type CreateOrderForCreateDBNodesResponseBody added in v3.1.0

type CreateOrderForCreateDBNodesResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The order ID.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateOrderForCreateDBNodesResponseBody) GoString added in v3.1.0

func (*CreateOrderForCreateDBNodesResponseBody) SetDBInstanceId added in v3.1.0

func (*CreateOrderForCreateDBNodesResponseBody) SetOrderId added in v3.1.0

func (*CreateOrderForCreateDBNodesResponseBody) SetRequestId added in v3.1.0

func (CreateOrderForCreateDBNodesResponseBody) String added in v3.1.0

type CreateOrderForCreateDBNodesShrinkRequest added in v3.1.0

type CreateOrderForCreateDBNodesShrinkRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// *   **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// *   **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code of the instance. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details about the node.
	DBNodeShrink *string `json:"DBNode,omitempty" xml:"DBNode,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// If the instance runs **MySQL**, set this parameter to **5.5**, **5.6**, **5.7**, or **8.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource of the instance.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID of the host. You can call the [DescribeRegions](~~26243~~) operation to query the zone ID of the host.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateOrderForCreateDBNodesShrinkRequest) GoString added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetAutoPay added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetBusinessInfo added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetClientToken added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetCommodityCode added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetDBInstanceId added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetDBNodeShrink added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetEngineVersion added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetNodeType added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetOwnerId added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetPromotionCode added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetRegionId added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetResource added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetResourceGroupId added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetResourceOwnerAccount added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetResourceOwnerId added in v3.1.0

func (*CreateOrderForCreateDBNodesShrinkRequest) SetZoneId added in v3.1.0

func (CreateOrderForCreateDBNodesShrinkRequest) String added in v3.1.0

type CreateOrderForDeleteDBNodesRequest added in v3.2.0

type CreateOrderForDeleteDBNodesRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: You must make sure that your account balance is sufficient.
	// 2.  **false**: An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of information about the ID of the node.
	DBNodeId []*string `json:"DBNodeId,omitempty" xml:"DBNodeId,omitempty" type:"Repeated"`
	// The database engine version of the instance. Valid values:
	//
	// Valid values if you set Engine to MySQL: **5.5, 5.6, 5.7, and 8.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~610399~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resources.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateOrderForDeleteDBNodesRequest) GoString added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetAutoPay added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetBusinessInfo added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetClientToken added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetCommodityCode added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetDBInstanceId added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetDBNodeId added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetEngineVersion added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetNodeType added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetOwnerId added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetPromotionCode added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetRegionId added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetResource added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetResourceGroupId added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetResourceOwnerAccount added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetResourceOwnerId added in v3.2.0

func (*CreateOrderForDeleteDBNodesRequest) SetZoneId added in v3.2.0

func (CreateOrderForDeleteDBNodesRequest) String added in v3.2.0

type CreateOrderForDeleteDBNodesResponse added in v3.2.0

type CreateOrderForDeleteDBNodesResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateOrderForDeleteDBNodesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateOrderForDeleteDBNodesResponse) GoString added in v3.2.0

func (*CreateOrderForDeleteDBNodesResponse) SetBody added in v3.2.0

func (*CreateOrderForDeleteDBNodesResponse) SetHeaders added in v3.2.0

func (*CreateOrderForDeleteDBNodesResponse) SetStatusCode added in v3.2.0

func (CreateOrderForDeleteDBNodesResponse) String added in v3.2.0

type CreateOrderForDeleteDBNodesResponseBody added in v3.2.0

type CreateOrderForDeleteDBNodesResponseBody struct {
	// The instance ID
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The order ID.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateOrderForDeleteDBNodesResponseBody) GoString added in v3.2.0

func (*CreateOrderForDeleteDBNodesResponseBody) SetDBInstanceId added in v3.2.0

func (*CreateOrderForDeleteDBNodesResponseBody) SetOrderId added in v3.2.0

func (*CreateOrderForDeleteDBNodesResponseBody) SetRequestId added in v3.2.0

func (CreateOrderForDeleteDBNodesResponseBody) String added in v3.2.0

type CreateOrderForDeleteDBNodesShrinkRequest added in v3.2.0

type CreateOrderForDeleteDBNodesShrinkRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: You must make sure that your account balance is sufficient.
	// 2.  **false**: An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of information about the ID of the node.
	DBNodeIdShrink *string `json:"DBNodeId,omitempty" xml:"DBNodeId,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// Valid values if you set Engine to MySQL: **5.5, 5.6, 5.7, and 8.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~610399~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resources.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateOrderForDeleteDBNodesShrinkRequest) GoString added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetAutoPay added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetBusinessInfo added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetClientToken added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetCommodityCode added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetDBInstanceId added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetDBNodeIdShrink added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetEngineVersion added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetNodeType added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetOwnerId added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetPromotionCode added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetRegionId added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetResource added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetResourceGroupId added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetResourceOwnerAccount added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetResourceOwnerId added in v3.2.0

func (*CreateOrderForDeleteDBNodesShrinkRequest) SetZoneId added in v3.2.0

func (CreateOrderForDeleteDBNodesShrinkRequest) String added in v3.2.0

type CreateParameterGroupRequest

type CreateParameterGroupRequest struct {
	// The database engine. Valid values:
	//
	// *   **mysql**
	// *   **PostgreSQL**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// *   If the instance runs MySQL, the instance must run one of the following MySQL versions:
	//
	//     *   **5.6**
	//     *   **5.7**
	//     *   **8.0**
	//
	// *   If the instance runs PostgreSQL, the instance must run one of the following PostgreSQL versions:
	//
	//     *   **10.0**
	//     *   **11.0**
	//     *   **12.0**
	//     *   **13.0**
	//     *   **14.0**
	//     *   **15.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The description of the parameter template. The value can be up to 200 characters in length.
	ParameterGroupDesc *string `json:"ParameterGroupDesc,omitempty" xml:"ParameterGroupDesc,omitempty"`
	// The name of the parameter template.
	//
	// *   The value must start with a letter and can contain letters, digits, periods (.), and underscores (\_).
	// *   The value can be 8 to 64 characters in length.
	ParameterGroupName *string `json:"ParameterGroupName,omitempty" xml:"ParameterGroupName,omitempty"`
	// A JSON string that consists of parameters and their values in the parameter template. Format: {"Parameter 1":"Value of Parameter 1","Parameter 2":"Value of Parameter 2"...}. For more information about the parameters that can be modified, see [Modify the parameters of an ApsaraDB RDS for MySQL instance](~~96063~~) or [Modify the parameters of an ApsaraDB RDS for PostgreSQL instance](~~96751~~).
	Parameters *string `json:"Parameters,omitempty" xml:"Parameters,omitempty"`
	// The region ID of the parameter template. You can call the DescribeRegions operation to query the most recent zone list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to obtain the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateParameterGroupRequest) GoString

func (s CreateParameterGroupRequest) GoString() string

func (*CreateParameterGroupRequest) SetEngine

func (*CreateParameterGroupRequest) SetEngineVersion

func (*CreateParameterGroupRequest) SetOwnerId

func (*CreateParameterGroupRequest) SetParameterGroupDesc

func (s *CreateParameterGroupRequest) SetParameterGroupDesc(v string) *CreateParameterGroupRequest

func (*CreateParameterGroupRequest) SetParameterGroupName

func (s *CreateParameterGroupRequest) SetParameterGroupName(v string) *CreateParameterGroupRequest

func (*CreateParameterGroupRequest) SetParameters

func (*CreateParameterGroupRequest) SetRegionId

func (*CreateParameterGroupRequest) SetResourceGroupId added in v3.0.214

func (*CreateParameterGroupRequest) SetResourceOwnerAccount

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

func (*CreateParameterGroupRequest) SetResourceOwnerId

func (CreateParameterGroupRequest) String

type CreateParameterGroupResponse

type CreateParameterGroupResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateParameterGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateParameterGroupResponse) GoString

func (s CreateParameterGroupResponse) GoString() string

func (*CreateParameterGroupResponse) SetBody

func (*CreateParameterGroupResponse) SetHeaders

func (*CreateParameterGroupResponse) SetStatusCode

func (CreateParameterGroupResponse) String

type CreateParameterGroupResponseBody

type CreateParameterGroupResponseBody struct {
	// The ID of the parameter template. You can call the [DescribeParameterGroups](~~144491~~) operation to query the IDs of parameter templates.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateParameterGroupResponseBody) GoString

func (*CreateParameterGroupResponseBody) SetParameterGroupId

func (*CreateParameterGroupResponseBody) SetRequestId

func (CreateParameterGroupResponseBody) String

type CreatePostgresExtensionsRequest added in v3.0.28

type CreatePostgresExtensionsRequest struct {
	// The account of the user who owns the extension. Only privileged accounts are supported.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database name. You can call the DescribeDatabases operation to query the database name.
	DBNames *string `json:"DBNames,omitempty" xml:"DBNames,omitempty"`
	// The extension that you want to install. If you want to install multiple extensions, separate them with commas (,). If you do not specify the **SourceDatabase** parameter, you must specify this parameter.
	Extensions   *string `json:"Extensions,omitempty" xml:"Extensions,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The source database from which you want to synchronize the extension to the destination database. If you do not specify the **Extensions** parameter, you must specify this parameter.
	SourceDatabase *string `json:"SourceDatabase,omitempty" xml:"SourceDatabase,omitempty"`
}

func (CreatePostgresExtensionsRequest) GoString added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetAccountName added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetClientToken added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetDBInstanceId added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetDBNames added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetExtensions added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetOwnerAccount added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetOwnerId added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetResourceGroupId added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetResourceOwnerAccount added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetResourceOwnerId added in v3.0.28

func (*CreatePostgresExtensionsRequest) SetSourceDatabase added in v3.0.28

func (CreatePostgresExtensionsRequest) String added in v3.0.28

type CreatePostgresExtensionsResponse added in v3.0.28

type CreatePostgresExtensionsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreatePostgresExtensionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreatePostgresExtensionsResponse) GoString added in v3.0.28

func (*CreatePostgresExtensionsResponse) SetBody added in v3.0.28

func (*CreatePostgresExtensionsResponse) SetHeaders added in v3.0.28

func (*CreatePostgresExtensionsResponse) SetStatusCode added in v3.0.28

func (CreatePostgresExtensionsResponse) String added in v3.0.28

type CreatePostgresExtensionsResponseBody added in v3.0.28

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

func (CreatePostgresExtensionsResponseBody) GoString added in v3.0.28

func (*CreatePostgresExtensionsResponseBody) SetRequestId added in v3.0.28

func (CreatePostgresExtensionsResponseBody) String added in v3.0.28

type CreateReadOnlyDBInstanceRequest

type CreateReadOnlyDBInstanceRequest struct {
	// Specifies whether to enable the automatic payment feature. Valid values:
	//
	// 1.  **true**: enables the feature. Make sure that your account balance is sufficient.
	// 2.  **false**: disables the feature. An unpaid order is generated.
	//
	// >  Default value: true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable the auto-renewal feature for the read-only instance. If you set the PayType parameter to Prepaid, you must also specify this parameter. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false**: disables the feature.
	//
	// > * If you set the Period parameter to Month, the auto-renewal cycle is one month.
	// > * If you set the Period parameter to Year, the auto-renewal cycle is one year.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability** (default): RDS High-availability Edition
	// *   **AlwaysOn**: RDS Cluster Edition
	//
	// >  The read-only instances of the primary instance that run PostgreSQL and use cloud disks run RDS Basic Edition. Therefore, set this parameter to **Basic**.
	Category *string `json:"Category,omitempty" xml:"Category,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance type of the read-only instance. For more information, see [Read-only ApsaraDB RDS instance types](~~145759~~). We recommend that you specify an instance type whose specifications are higher than or equal to the specifications of the instance type of the primary instance. If the specifications of the read-only instance are lower than the specifications of the primary instance, the read-only instance may encounter issues such as high latency and heavy load.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The description of the read-only instance. The description must be 2 to 256 characters in length and can contain letters, digits, underscores (\_), and hyphens (-). The value must start with a letter
	//
	// > The value cannot start with [http:// or https://.](http://https://。)
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The ID of the primary instance. You can call the [DescribeDBInstances](~~610396~~) operation to query the instance IDs.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the read-only instance. For more information, see the **Storage space** column in [Read-only instance types](~~145759~~). This value must be a multiple of 5 GB. Unit: GB.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSDs
	// *   **cloud_ssd**: standard SSDs
	// *   **cloud_essd**: enhanced SSDs (ESSDs) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSDs of PL2
	// *   **cloud_essd3**: ESSDs of PL3
	//
	// > *   If the primary instance runs MySQL with local disks, you must set this parameter to **local_ssd**. If the primary instance runs MySQL with cloud disks, you must set this parameter to cloud_ssd, cloud_essd, cloud_essd2, or cloud_essd3.
	// > *   If the primary instance runs SQL Server, you must set this parameter to cloud_ssd, cloud_essd, cloud_essd2, or cloud_essd3.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The ID of the dedicated cluster to which the read-only instance belongs. This parameter is valid when you create the read-only instance in a dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Specifies whether to enable the release protection feature for the read-only instance. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false** (default): disables the feature.
	//
	// >  You can enable the release protection feature for the read-only instance only when you set the **Billing Method** parameter to **Pay-As-You-Go**.
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// The version of the database engine. The read-only instance and the primary instance must run the same major engine version.
	//
	// *   If the read-only instance runs MySQL, set this parameter to **5.6**, **5.7**, or **8.0**.
	// *   If the read-only instance runs MySQL, set this parameter to **2017\_ent, 2019\_ent, or 2022\_ent**.
	// *   If the read-only instance runs PostgreSQL, set this parameter to **10.0, 11.0, 12.0, 13.0, 14.0, or 15.0**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// A reserved parameter.
	GdnInstanceName *string `json:"GdnInstanceName,omitempty" xml:"GdnInstanceName,omitempty"`
	// The network type of the read-only instance. Valid values:
	//
	// *   **VPC**
	// *   **Classic**
	//
	// Default value: VPC. If you set this parameter to VPC, you must also specify the **VPCId** and **VSwitchId** parameters.
	//
	// > The network type of the read-only instance can be different from the network type of the primary instance.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// A reserved parameter.
	InstructionSetArch *string `json:"InstructionSetArch,omitempty" xml:"InstructionSetArch,omitempty"`
	OwnerAccount       *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId            *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The billing method of the read-only instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The renewal cycle of the read-only instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The port that can be initialized when you create a read-only ApsaraDB RDS for MySQL instance.
	//
	// Valid values: 1000 to 65534.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The private IP address of the read-only instance. The private IP address must be within the CIDR block that is supported by the specified vSwitch. The system assigns a private IP address to the read-only instance based on the values of the **VPCId** and **VSwitchId** parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The region ID. The read-only instance and the primary instance must reside in the same region. You can call the [DescribeRegions](~~610399~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the host on which the primary instance resides. This parameter is valid when you create the read-only instance in a dedicated cluster.
	TargetDedicatedHostIdForMaster *string `json:"TargetDedicatedHostIdForMaster,omitempty" xml:"TargetDedicatedHostIdForMaster,omitempty"`
	// A reserved parameter.
	TddlBizType *string `json:"TddlBizType,omitempty" xml:"TddlBizType,omitempty"`
	// A reserved parameter.
	TddlRegionConfig *string `json:"TddlRegionConfig,omitempty" xml:"TddlRegionConfig,omitempty"`
	// The subscription duration of the read-only instance. Valid values:
	//
	// *   If you set the **Period** parameter to **Year**, the value of the **UsedTime** parameter ranges from **1** to **5**.
	// *   If you set the **Period** parameter to **Month**, the value of the **UsedTime** parameter ranges from **1** to **9**.
	//
	// > If you set the **PayType** parameter to **Prepaid**, you must specify the UsedTime parameter.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The virtual private cloud (VPC) ID of the read-only instance. If you leave the **InstanceNetworkType** parameter empty or set it to **VPC**, you must also specify this parameter.
	//
	// > * If the primary instance uses local disks, the read-only instance and the primary instance can belong to the same VPC or different VPCs.
	// > * If the primary instance uses cloud disks, the read-only instance and the primary instance must belong to the same VPC.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the read-only instance. If you leave the **InstanceNetworkType** parameter empty or set it to **VPC**, you must specify the VSwitchId parameter.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID. You can call the [DescribeRegions](~~610399~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateReadOnlyDBInstanceRequest) GoString

func (*CreateReadOnlyDBInstanceRequest) SetAutoPay added in v3.0.5

func (*CreateReadOnlyDBInstanceRequest) SetAutoRenew

func (*CreateReadOnlyDBInstanceRequest) SetBpeEnabled added in v3.0.5

func (*CreateReadOnlyDBInstanceRequest) SetBurstingEnabled added in v3.0.5

func (*CreateReadOnlyDBInstanceRequest) SetCategory

func (*CreateReadOnlyDBInstanceRequest) SetClientToken

func (*CreateReadOnlyDBInstanceRequest) SetDBInstanceClass

func (*CreateReadOnlyDBInstanceRequest) SetDBInstanceDescription

func (*CreateReadOnlyDBInstanceRequest) SetDBInstanceId

func (*CreateReadOnlyDBInstanceRequest) SetDBInstanceStorage

func (*CreateReadOnlyDBInstanceRequest) SetDBInstanceStorageType

func (*CreateReadOnlyDBInstanceRequest) SetDedicatedHostGroupId

func (*CreateReadOnlyDBInstanceRequest) SetDeletionProtection

func (*CreateReadOnlyDBInstanceRequest) SetEngineVersion

func (*CreateReadOnlyDBInstanceRequest) SetGdnInstanceName

func (*CreateReadOnlyDBInstanceRequest) SetInstanceNetworkType

func (*CreateReadOnlyDBInstanceRequest) SetInstructionSetArch

func (*CreateReadOnlyDBInstanceRequest) SetOwnerAccount

func (*CreateReadOnlyDBInstanceRequest) SetOwnerId

func (*CreateReadOnlyDBInstanceRequest) SetPayType

func (*CreateReadOnlyDBInstanceRequest) SetPeriod

func (*CreateReadOnlyDBInstanceRequest) SetPort added in v3.1.0

func (*CreateReadOnlyDBInstanceRequest) SetPrivateIpAddress

func (*CreateReadOnlyDBInstanceRequest) SetRegionId

func (*CreateReadOnlyDBInstanceRequest) SetResourceGroupId

func (*CreateReadOnlyDBInstanceRequest) SetResourceOwnerAccount

func (*CreateReadOnlyDBInstanceRequest) SetResourceOwnerId

func (*CreateReadOnlyDBInstanceRequest) SetTargetDedicatedHostIdForMaster

func (s *CreateReadOnlyDBInstanceRequest) SetTargetDedicatedHostIdForMaster(v string) *CreateReadOnlyDBInstanceRequest

func (*CreateReadOnlyDBInstanceRequest) SetTddlBizType

func (*CreateReadOnlyDBInstanceRequest) SetTddlRegionConfig

func (*CreateReadOnlyDBInstanceRequest) SetUsedTime

func (*CreateReadOnlyDBInstanceRequest) SetVPCId

func (*CreateReadOnlyDBInstanceRequest) SetVSwitchId

func (*CreateReadOnlyDBInstanceRequest) SetZoneId

func (CreateReadOnlyDBInstanceRequest) String

type CreateReadOnlyDBInstanceResponse

type CreateReadOnlyDBInstanceResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateReadOnlyDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateReadOnlyDBInstanceResponse) GoString

func (*CreateReadOnlyDBInstanceResponse) SetHeaders

func (*CreateReadOnlyDBInstanceResponse) SetStatusCode

func (CreateReadOnlyDBInstanceResponse) String

type CreateReadOnlyDBInstanceResponseBody

type CreateReadOnlyDBInstanceResponseBody struct {
	// The internal endpoint that is used to connect to the read-only instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The ID of the read-only instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The internal port number that is used to connect to the read-only instance.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateReadOnlyDBInstanceResponseBody) GoString

func (*CreateReadOnlyDBInstanceResponseBody) SetConnectionString

func (*CreateReadOnlyDBInstanceResponseBody) SetDBInstanceId

func (*CreateReadOnlyDBInstanceResponseBody) SetOrderId

func (*CreateReadOnlyDBInstanceResponseBody) SetPort

func (*CreateReadOnlyDBInstanceResponseBody) SetRequestId

func (CreateReadOnlyDBInstanceResponseBody) String

type CreateSecretRequest

type CreateSecretRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The name of the database.
	DbNames *string `json:"DbNames,omitempty" xml:"DbNames,omitempty"`
	// The description of the credential.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The engine of the database.
	//
	// > Only MySQL is supported.
	Engine  *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The password that is used to access the database.
	Password *string `json:"Password,omitempty" xml:"Password,omitempty"`
	// The region ID of the instance. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to query region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the instance belongs. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The name of the credential.
	SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"`
	// The username that is used to access the database.
	Username *string `json:"Username,omitempty" xml:"Username,omitempty"`
}

func (CreateSecretRequest) GoString

func (s CreateSecretRequest) GoString() string

func (*CreateSecretRequest) SetClientToken

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

func (*CreateSecretRequest) SetDbInstanceId

func (s *CreateSecretRequest) SetDbInstanceId(v string) *CreateSecretRequest

func (*CreateSecretRequest) SetDbNames

func (*CreateSecretRequest) SetDescription

func (s *CreateSecretRequest) SetDescription(v string) *CreateSecretRequest

func (*CreateSecretRequest) SetEngine

func (*CreateSecretRequest) SetOwnerId

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

func (*CreateSecretRequest) SetPassword

func (s *CreateSecretRequest) SetPassword(v string) *CreateSecretRequest

func (*CreateSecretRequest) SetRegionId

func (s *CreateSecretRequest) SetRegionId(v string) *CreateSecretRequest

func (*CreateSecretRequest) SetResourceGroupId

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

func (*CreateSecretRequest) SetResourceOwnerAccount

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

func (*CreateSecretRequest) SetResourceOwnerId

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

func (*CreateSecretRequest) SetSecretName

func (s *CreateSecretRequest) SetSecretName(v string) *CreateSecretRequest

func (*CreateSecretRequest) SetUsername

func (s *CreateSecretRequest) SetUsername(v string) *CreateSecretRequest

func (CreateSecretRequest) String

func (s CreateSecretRequest) String() string

type CreateSecretResponse

type CreateSecretResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateSecretResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateSecretResponse) GoString

func (s CreateSecretResponse) GoString() string

func (*CreateSecretResponse) SetBody

func (*CreateSecretResponse) SetHeaders

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

func (*CreateSecretResponse) SetStatusCode

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

func (CreateSecretResponse) String

func (s CreateSecretResponse) String() string

type CreateSecretResponseBody

type CreateSecretResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the credential for the created Data API account.
	SecretArn *string `json:"SecretArn,omitempty" xml:"SecretArn,omitempty"`
	// The name of the credential.
	SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// *   **true**: The request was successful.
	// *   **false**: The request failed.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CreateSecretResponseBody) GoString

func (s CreateSecretResponseBody) GoString() string

func (*CreateSecretResponseBody) SetRequestId

func (*CreateSecretResponseBody) SetSecretArn

func (*CreateSecretResponseBody) SetSecretName

func (*CreateSecretResponseBody) SetSuccess

func (CreateSecretResponseBody) String

func (s CreateSecretResponseBody) String() string

type CreateServiceLinkedRoleRequest

type CreateServiceLinkedRoleRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The name of the service-linked role.
	//
	// *   **AliyunServiceRoleForRdsPgsqlOnEcs**: the service-linked role for ApsaraDB RDS for PostgreSQL.
	// *   **AliyunServiceRoleForRDSProxyOnEcs**: the service-linked role for the database proxy feature of ApsaraDB RDS for PostgreSQL.
	ServiceLinkedRole *string `json:"ServiceLinkedRole,omitempty" xml:"ServiceLinkedRole,omitempty"`
}

func (CreateServiceLinkedRoleRequest) GoString

func (*CreateServiceLinkedRoleRequest) SetOwnerId

func (*CreateServiceLinkedRoleRequest) SetRegionId

func (*CreateServiceLinkedRoleRequest) SetResourceOwnerAccount

func (*CreateServiceLinkedRoleRequest) SetResourceOwnerId

func (*CreateServiceLinkedRoleRequest) SetServiceLinkedRole

func (CreateServiceLinkedRoleRequest) String

type CreateServiceLinkedRoleResponse

type CreateServiceLinkedRoleResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateServiceLinkedRoleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateServiceLinkedRoleResponse) GoString

func (*CreateServiceLinkedRoleResponse) SetHeaders

func (*CreateServiceLinkedRoleResponse) SetStatusCode

func (CreateServiceLinkedRoleResponse) String

type CreateServiceLinkedRoleResponseBody

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

func (CreateServiceLinkedRoleResponseBody) GoString

func (*CreateServiceLinkedRoleResponseBody) SetRequestId

func (CreateServiceLinkedRoleResponseBody) String

type CreateTempDBInstanceRequest

type CreateTempDBInstanceRequest struct {
	// The backup set ID. You can call the DescribeBackups operation to query the backup set ID.
	//
	// >  You must specify at least one of the **BackupId** or **RestoreTime** parameters.
	BackupId *int32 `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The specified point in time within the backup retention period. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// > *   The time can be set to a point in time within the last seven days and must be more than 30 minutes earlier than the current time. The default time zone is UTC.
	// > *   You must specify at least one of the **BackupId** and **RestoreTime** parameters.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
}

func (CreateTempDBInstanceRequest) GoString

func (s CreateTempDBInstanceRequest) GoString() string

func (*CreateTempDBInstanceRequest) SetBackupId

func (*CreateTempDBInstanceRequest) SetDBInstanceId

func (*CreateTempDBInstanceRequest) SetOwnerAccount

func (*CreateTempDBInstanceRequest) SetOwnerId

func (*CreateTempDBInstanceRequest) SetResourceGroupId

func (*CreateTempDBInstanceRequest) SetResourceOwnerAccount

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

func (*CreateTempDBInstanceRequest) SetResourceOwnerId

func (*CreateTempDBInstanceRequest) SetRestoreTime

func (CreateTempDBInstanceRequest) String

type CreateTempDBInstanceResponse

type CreateTempDBInstanceResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateTempDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateTempDBInstanceResponse) GoString

func (s CreateTempDBInstanceResponse) GoString() string

func (*CreateTempDBInstanceResponse) SetBody

func (*CreateTempDBInstanceResponse) SetHeaders

func (*CreateTempDBInstanceResponse) SetStatusCode

func (CreateTempDBInstanceResponse) String

type CreateTempDBInstanceResponseBody

type CreateTempDBInstanceResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The temporary instance ID.
	TempDBInstanceId *string `json:"TempDBInstanceId,omitempty" xml:"TempDBInstanceId,omitempty"`
}

func (CreateTempDBInstanceResponseBody) GoString

func (*CreateTempDBInstanceResponseBody) SetRequestId

func (*CreateTempDBInstanceResponseBody) SetTempDBInstanceId

func (CreateTempDBInstanceResponseBody) String

type CreateYouhuiForOrderRequest added in v3.3.0

type CreateYouhuiForOrderRequest struct {
	// The activity ID.
	ActivityId *int64  `json:"ActivityId,omitempty" xml:"ActivityId,omitempty"`
	OwnerId    *string `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The promotion ID. You can call the GetResourcePrice operation to query the promotion ID.
	PromotionId *int64 `json:"PromotionId,omitempty" xml:"PromotionId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CreateYouhuiForOrderRequest) GoString added in v3.3.0

func (s CreateYouhuiForOrderRequest) GoString() string

func (*CreateYouhuiForOrderRequest) SetActivityId added in v3.3.0

func (*CreateYouhuiForOrderRequest) SetOwnerId added in v3.3.0

func (*CreateYouhuiForOrderRequest) SetPromotionId added in v3.3.0

func (*CreateYouhuiForOrderRequest) SetRegionId added in v3.3.0

func (*CreateYouhuiForOrderRequest) SetResourceOwnerAccount added in v3.3.0

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

func (*CreateYouhuiForOrderRequest) SetResourceOwnerId added in v3.3.0

func (CreateYouhuiForOrderRequest) String added in v3.3.0

type CreateYouhuiForOrderResponse added in v3.3.0

type CreateYouhuiForOrderResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateYouhuiForOrderResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateYouhuiForOrderResponse) GoString added in v3.3.0

func (s CreateYouhuiForOrderResponse) GoString() string

func (*CreateYouhuiForOrderResponse) SetBody added in v3.3.0

func (*CreateYouhuiForOrderResponse) SetHeaders added in v3.3.0

func (*CreateYouhuiForOrderResponse) SetStatusCode added in v3.3.0

func (CreateYouhuiForOrderResponse) String added in v3.3.0

type CreateYouhuiForOrderResponseBody added in v3.3.0

type CreateYouhuiForOrderResponseBody struct {
	// The response parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The coupon ID.
	YouhuiId *string `json:"YouhuiId,omitempty" xml:"YouhuiId,omitempty"`
}

func (CreateYouhuiForOrderResponseBody) GoString added in v3.3.0

func (*CreateYouhuiForOrderResponseBody) SetMessage added in v3.3.0

func (*CreateYouhuiForOrderResponseBody) SetRequestId added in v3.3.0

func (*CreateYouhuiForOrderResponseBody) SetYouhuiId added in v3.3.0

func (CreateYouhuiForOrderResponseBody) String added in v3.3.0

type DeleteADSettingRequest

type DeleteADSettingRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteADSettingRequest) GoString

func (s DeleteADSettingRequest) GoString() string

func (*DeleteADSettingRequest) SetClientToken

func (*DeleteADSettingRequest) SetDBInstanceId

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

func (*DeleteADSettingRequest) SetOwnerId

func (*DeleteADSettingRequest) SetRegionId

func (*DeleteADSettingRequest) SetResourceOwnerAccount

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

func (*DeleteADSettingRequest) SetResourceOwnerId

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

func (DeleteADSettingRequest) String

func (s DeleteADSettingRequest) String() string

type DeleteADSettingResponse

type DeleteADSettingResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteADSettingResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteADSettingResponse) GoString

func (s DeleteADSettingResponse) GoString() string

func (*DeleteADSettingResponse) SetBody

func (*DeleteADSettingResponse) SetHeaders

func (*DeleteADSettingResponse) SetStatusCode

func (DeleteADSettingResponse) String

func (s DeleteADSettingResponse) String() string

type DeleteADSettingResponseBody

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

func (DeleteADSettingResponseBody) GoString

func (s DeleteADSettingResponseBody) GoString() string

func (*DeleteADSettingResponseBody) SetRequestId

func (DeleteADSettingResponseBody) String

type DeleteAccountRequest

type DeleteAccountRequest struct {
	// The name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteAccountRequest) GoString

func (s DeleteAccountRequest) GoString() string

func (*DeleteAccountRequest) SetAccountName

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

func (*DeleteAccountRequest) SetDBInstanceId

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

func (*DeleteAccountRequest) SetOwnerAccount

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

func (*DeleteAccountRequest) SetOwnerId

func (*DeleteAccountRequest) SetResourceOwnerAccount

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

func (*DeleteAccountRequest) SetResourceOwnerId

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

func (DeleteAccountRequest) String

func (s DeleteAccountRequest) String() string

type DeleteAccountResponse

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

func (DeleteAccountResponse) GoString

func (s DeleteAccountResponse) GoString() string

func (*DeleteAccountResponse) SetBody

func (*DeleteAccountResponse) SetHeaders

func (*DeleteAccountResponse) SetStatusCode

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

func (DeleteAccountResponse) String

func (s DeleteAccountResponse) String() string

type DeleteAccountResponseBody

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

func (DeleteAccountResponseBody) GoString

func (s DeleteAccountResponseBody) GoString() string

func (*DeleteAccountResponseBody) SetRequestId

func (DeleteAccountResponseBody) String

func (s DeleteAccountResponseBody) String() string

type DeleteBackupFileRequest

type DeleteBackupFileRequest struct {
	// The backup set ID. You can specify the IDs of up to 100 backup sets at a time. Separate the IDs with commas (,).
	//
	// >
	//
	// *   If the instance runs SQL Server, only the ID of the backup set for an individual database is supported.
	//
	// *   You can call the DescribeBackups operation to query the backup set ID.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// Specifies whether to delete the backup sets that are generated before the specified point in time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	BackupTime *string `json:"BackupTime,omitempty" xml:"BackupTime,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName  *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeDBInstanceAttribute operation to query the region ID.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteBackupFileRequest) GoString

func (s DeleteBackupFileRequest) GoString() string

func (*DeleteBackupFileRequest) SetBackupId

func (*DeleteBackupFileRequest) SetBackupTime

func (*DeleteBackupFileRequest) SetDBInstanceId

func (*DeleteBackupFileRequest) SetDBName

func (*DeleteBackupFileRequest) SetOwnerId

func (*DeleteBackupFileRequest) SetRegionId

func (*DeleteBackupFileRequest) SetResourceOwnerAccount

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

func (*DeleteBackupFileRequest) SetResourceOwnerId

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

func (DeleteBackupFileRequest) String

func (s DeleteBackupFileRequest) String() string

type DeleteBackupFileResponse

type DeleteBackupFileResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteBackupFileResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteBackupFileResponse) GoString

func (s DeleteBackupFileResponse) GoString() string

func (*DeleteBackupFileResponse) SetBody

func (*DeleteBackupFileResponse) SetHeaders

func (*DeleteBackupFileResponse) SetStatusCode

func (DeleteBackupFileResponse) String

func (s DeleteBackupFileResponse) String() string

type DeleteBackupFileResponseBody

type DeleteBackupFileResponseBody struct {
	// An array that consists of the IDs of deleted backup sets.
	DeletedBaksetIds *DeleteBackupFileResponseBodyDeletedBaksetIds `json:"DeletedBaksetIds,omitempty" xml:"DeletedBaksetIds,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteBackupFileResponseBody) GoString

func (s DeleteBackupFileResponseBody) GoString() string

func (*DeleteBackupFileResponseBody) SetRequestId

func (DeleteBackupFileResponseBody) String

type DeleteBackupFileResponseBodyDeletedBaksetIds

type DeleteBackupFileResponseBodyDeletedBaksetIds struct {
	DeletedBaksetIds []*int32 `json:"DeletedBaksetIds,omitempty" xml:"DeletedBaksetIds,omitempty" type:"Repeated"`
}

func (DeleteBackupFileResponseBodyDeletedBaksetIds) GoString

func (*DeleteBackupFileResponseBodyDeletedBaksetIds) SetDeletedBaksetIds

func (DeleteBackupFileResponseBodyDeletedBaksetIds) String

type DeleteBackupRequest

type DeleteBackupRequest struct {
	// The backup set ID. You can call the DescribeBackups operation to query the backup set ID. Separate multiple values with commas (,). You can specify a maximum of 100 values in a single request.
	//
	// >  You can delete only backup sets whose **StoreStatus** is **Enabled** in the response to the DescribeBackups operation call.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteBackupRequest) GoString

func (s DeleteBackupRequest) GoString() string

func (*DeleteBackupRequest) SetBackupId

func (s *DeleteBackupRequest) SetBackupId(v string) *DeleteBackupRequest

func (*DeleteBackupRequest) SetDBInstanceId

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

func (*DeleteBackupRequest) SetOwnerAccount

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

func (*DeleteBackupRequest) SetOwnerId

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

func (*DeleteBackupRequest) SetResourceOwnerAccount

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

func (*DeleteBackupRequest) SetResourceOwnerId

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

func (DeleteBackupRequest) String

func (s DeleteBackupRequest) String() string

type DeleteBackupResponse

type DeleteBackupResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteBackupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteBackupResponse) GoString

func (s DeleteBackupResponse) GoString() string

func (*DeleteBackupResponse) SetBody

func (*DeleteBackupResponse) SetHeaders

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

func (*DeleteBackupResponse) SetStatusCode

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

func (DeleteBackupResponse) String

func (s DeleteBackupResponse) String() string

type DeleteBackupResponseBody

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

func (DeleteBackupResponseBody) GoString

func (s DeleteBackupResponseBody) GoString() string

func (*DeleteBackupResponseBody) SetRequestId

func (DeleteBackupResponseBody) String

func (s DeleteBackupResponseBody) String() string

type DeleteDBInstanceEndpointAddressRequest added in v3.0.3

type DeleteDBInstanceEndpointAddressRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The public endpoint.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The endpoint ID of the instance. You can call the [DescribeDBInstanceEndpoints](~~610488~~) operation to query the endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteDBInstanceEndpointAddressRequest) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointAddressRequest) SetClientToken added in v3.0.3

func (*DeleteDBInstanceEndpointAddressRequest) SetConnectionString added in v3.0.3

func (*DeleteDBInstanceEndpointAddressRequest) SetDBInstanceEndpointId added in v3.0.3

func (*DeleteDBInstanceEndpointAddressRequest) SetDBInstanceId added in v3.0.3

func (*DeleteDBInstanceEndpointAddressRequest) SetResourceOwnerId added in v3.0.3

func (DeleteDBInstanceEndpointAddressRequest) String added in v3.0.3

type DeleteDBInstanceEndpointAddressResponse added in v3.0.3

type DeleteDBInstanceEndpointAddressResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDBInstanceEndpointAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDBInstanceEndpointAddressResponse) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponse) SetBody added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponse) SetHeaders added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponse) SetStatusCode added in v3.0.3

func (DeleteDBInstanceEndpointAddressResponse) String added in v3.0.3

type DeleteDBInstanceEndpointAddressResponseBody added in v3.0.3

type DeleteDBInstanceEndpointAddressResponseBody struct {
	// The returned data.
	Data *DeleteDBInstanceEndpointAddressResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDBInstanceEndpointAddressResponseBody) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponseBody) SetData added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponseBody) SetRequestId added in v3.0.3

func (DeleteDBInstanceEndpointAddressResponseBody) String added in v3.0.3

type DeleteDBInstanceEndpointAddressResponseBodyData added in v3.0.3

type DeleteDBInstanceEndpointAddressResponseBodyData struct {
	// The endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (DeleteDBInstanceEndpointAddressResponseBodyData) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponseBodyData) SetDBInstanceEndpointId added in v3.0.3

func (*DeleteDBInstanceEndpointAddressResponseBodyData) SetDBInstanceName added in v3.0.3

func (DeleteDBInstanceEndpointAddressResponseBodyData) String added in v3.0.3

type DeleteDBInstanceEndpointRequest added in v3.0.3

type DeleteDBInstanceEndpointRequest struct {
	// The client token that is used to ensure the idempotency of requests. 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The endpoint ID of the instance. You can call the [DescribeDBInstanceEndpoints](~~610488~~) operation to query the endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteDBInstanceEndpointRequest) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointRequest) SetClientToken added in v3.0.3

func (*DeleteDBInstanceEndpointRequest) SetDBInstanceEndpointId added in v3.0.3

func (*DeleteDBInstanceEndpointRequest) SetDBInstanceId added in v3.0.3

func (*DeleteDBInstanceEndpointRequest) SetResourceOwnerId added in v3.0.3

func (DeleteDBInstanceEndpointRequest) String added in v3.0.3

type DeleteDBInstanceEndpointResponse added in v3.0.3

type DeleteDBInstanceEndpointResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDBInstanceEndpointResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDBInstanceEndpointResponse) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointResponse) SetBody added in v3.0.3

func (*DeleteDBInstanceEndpointResponse) SetHeaders added in v3.0.3

func (*DeleteDBInstanceEndpointResponse) SetStatusCode added in v3.0.3

func (DeleteDBInstanceEndpointResponse) String added in v3.0.3

type DeleteDBInstanceEndpointResponseBody added in v3.0.3

type DeleteDBInstanceEndpointResponseBody struct {
	// The data returned.
	Data *DeleteDBInstanceEndpointResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDBInstanceEndpointResponseBody) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointResponseBody) SetData added in v3.0.3

func (*DeleteDBInstanceEndpointResponseBody) SetRequestId added in v3.0.3

func (DeleteDBInstanceEndpointResponseBody) String added in v3.0.3

type DeleteDBInstanceEndpointResponseBodyData added in v3.0.3

type DeleteDBInstanceEndpointResponseBodyData struct {
	// The endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (DeleteDBInstanceEndpointResponseBodyData) GoString added in v3.0.3

func (*DeleteDBInstanceEndpointResponseBodyData) SetDBInstanceEndpointId added in v3.0.3

func (*DeleteDBInstanceEndpointResponseBodyData) SetDBInstanceName added in v3.0.3

func (DeleteDBInstanceEndpointResponseBodyData) String added in v3.0.3

type DeleteDBInstanceRequest

type DeleteDBInstanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The policy that is used to retain archived backup files if the instance is released. Default value: None. Valid values:
	//
	// *   **None**: No archived backup files are retained.
	// *   **Lastest**: Only the last archived backup file is retained.
	// *   **All**: All archived backup files are retained.
	//
	// > This parameter is supported only for ApsaraDB RDS for MySQL instance with local disks.
	ReleasedKeepPolicy   *string `json:"ReleasedKeepPolicy,omitempty" xml:"ReleasedKeepPolicy,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) SetDBInstanceId

func (*DeleteDBInstanceRequest) SetOwnerAccount

func (*DeleteDBInstanceRequest) SetOwnerId

func (*DeleteDBInstanceRequest) SetReleasedKeepPolicy

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

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" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 region ID of the instance. You can call the [DescribeDBInstanceAttribute](~~26231~~) operation to query region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDBInstanceResponseBody) GoString

func (s DeleteDBInstanceResponseBody) GoString() string

func (*DeleteDBInstanceResponseBody) SetRegionId

func (*DeleteDBInstanceResponseBody) SetRequestId

func (DeleteDBInstanceResponseBody) String

type DeleteDBNodesRequest added in v3.0.4

type DeleteDBNodesRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests.
	//
	// The token can only contain ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node IDs.
	DBNodeId     []*string `json:"DBNodeId,omitempty" xml:"DBNodeId,omitempty" type:"Repeated"`
	OwnerAccount *string   `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64    `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteDBNodesRequest) GoString added in v3.0.4

func (s DeleteDBNodesRequest) GoString() string

func (*DeleteDBNodesRequest) SetClientToken added in v3.0.4

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

func (*DeleteDBNodesRequest) SetDBInstanceId added in v3.0.4

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

func (*DeleteDBNodesRequest) SetDBNodeId added in v3.0.4

func (s *DeleteDBNodesRequest) SetDBNodeId(v []*string) *DeleteDBNodesRequest

func (*DeleteDBNodesRequest) SetOwnerAccount added in v3.0.4

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

func (*DeleteDBNodesRequest) SetOwnerId added in v3.0.4

func (*DeleteDBNodesRequest) SetResourceGroupId added in v3.0.210

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

func (*DeleteDBNodesRequest) SetResourceOwnerAccount added in v3.0.4

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

func (*DeleteDBNodesRequest) SetResourceOwnerId added in v3.0.4

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

func (DeleteDBNodesRequest) String added in v3.0.4

func (s DeleteDBNodesRequest) String() string

type DeleteDBNodesResponse added in v3.0.4

type DeleteDBNodesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDBNodesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDBNodesResponse) GoString added in v3.0.4

func (s DeleteDBNodesResponse) GoString() string

func (*DeleteDBNodesResponse) SetBody added in v3.0.4

func (*DeleteDBNodesResponse) SetHeaders added in v3.0.4

func (*DeleteDBNodesResponse) SetStatusCode added in v3.0.4

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

func (DeleteDBNodesResponse) String added in v3.0.4

func (s DeleteDBNodesResponse) String() string

type DeleteDBNodesResponseBody added in v3.0.4

type DeleteDBNodesResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDBNodesResponseBody) GoString added in v3.0.4

func (s DeleteDBNodesResponseBody) GoString() string

func (*DeleteDBNodesResponseBody) SetDBInstanceId added in v3.0.4

func (*DeleteDBNodesResponseBody) SetOrderId added in v3.0.4

func (*DeleteDBNodesResponseBody) SetRequestId added in v3.0.4

func (DeleteDBNodesResponseBody) String added in v3.0.4

func (s DeleteDBNodesResponseBody) String() string

type DeleteDBNodesShrinkRequest added in v3.0.4

type DeleteDBNodesShrinkRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests.
	//
	// The token can only contain ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node IDs.
	DBNodeIdShrink *string `json:"DBNodeId,omitempty" xml:"DBNodeId,omitempty"`
	OwnerAccount   *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteDBNodesShrinkRequest) GoString added in v3.0.4

func (s DeleteDBNodesShrinkRequest) GoString() string

func (*DeleteDBNodesShrinkRequest) SetClientToken added in v3.0.4

func (*DeleteDBNodesShrinkRequest) SetDBInstanceId added in v3.0.4

func (*DeleteDBNodesShrinkRequest) SetDBNodeIdShrink added in v3.0.4

func (*DeleteDBNodesShrinkRequest) SetOwnerAccount added in v3.0.4

func (*DeleteDBNodesShrinkRequest) SetOwnerId added in v3.0.4

func (*DeleteDBNodesShrinkRequest) SetResourceGroupId added in v3.0.210

func (*DeleteDBNodesShrinkRequest) SetResourceOwnerAccount added in v3.0.4

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

func (*DeleteDBNodesShrinkRequest) SetResourceOwnerId added in v3.0.4

func (DeleteDBNodesShrinkRequest) String added in v3.0.4

type DeleteDBProxyEndpointAddressRequest

type DeleteDBProxyEndpointAddressRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the proxy endpoint. Valid values:
	//
	// *   **Public**: Internet
	// *   **VPC**: virtual private cloud (VPC)
	// *   **Classic**: classic network
	//
	// If the instance runs MySQL, the default value of this parameter is **Classic**.
	//
	// > If the instance runs PostgreSQL, you must set this parameter to **Public** or **VPC**.
	DBProxyConnectStringNetType *string `json:"DBProxyConnectStringNetType,omitempty" xml:"DBProxyConnectStringNetType,omitempty"`
	// The proxy endpoint ID. You can call the DescribeDBProxyEndpoint operation to query the proxy endpoint ID.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DeleteDBProxyEndpointAddressRequest) GoString

func (*DeleteDBProxyEndpointAddressRequest) SetDBInstanceId

func (*DeleteDBProxyEndpointAddressRequest) SetDBProxyConnectStringNetType

func (*DeleteDBProxyEndpointAddressRequest) SetDBProxyEndpointId

func (*DeleteDBProxyEndpointAddressRequest) SetDBProxyEngineType

func (*DeleteDBProxyEndpointAddressRequest) SetRegionId

func (DeleteDBProxyEndpointAddressRequest) String

type DeleteDBProxyEndpointAddressResponse

type DeleteDBProxyEndpointAddressResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDBProxyEndpointAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDBProxyEndpointAddressResponse) GoString

func (*DeleteDBProxyEndpointAddressResponse) SetHeaders

func (*DeleteDBProxyEndpointAddressResponse) SetStatusCode

func (DeleteDBProxyEndpointAddressResponse) String

type DeleteDBProxyEndpointAddressResponseBody

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

func (DeleteDBProxyEndpointAddressResponseBody) GoString

func (*DeleteDBProxyEndpointAddressResponseBody) SetRequestId

func (DeleteDBProxyEndpointAddressResponseBody) String

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName          *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteDatabaseRequest) GoString

func (s DeleteDatabaseRequest) GoString() string

func (*DeleteDatabaseRequest) SetDBInstanceId

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

func (*DeleteDatabaseRequest) SetDBName

func (*DeleteDatabaseRequest) SetResourceOwnerId

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

func (DeleteDatabaseRequest) String

func (s DeleteDatabaseRequest) String() string

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDatabaseResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDatabaseResponse) GoString

func (s DeleteDatabaseResponse) GoString() string

func (*DeleteDatabaseResponse) SetBody

func (*DeleteDatabaseResponse) SetHeaders

func (*DeleteDatabaseResponse) SetStatusCode

func (DeleteDatabaseResponse) String

func (s DeleteDatabaseResponse) String() string

type DeleteDatabaseResponseBody

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

func (DeleteDatabaseResponseBody) GoString

func (s DeleteDatabaseResponseBody) GoString() string

func (*DeleteDatabaseResponseBody) SetRequestId

func (DeleteDatabaseResponseBody) String

type DeleteGadInstanceRequest

type DeleteGadInstanceRequest struct {
	// The ID of the global active database cluster. You can call the GadInstanceName operation to query the cluster ID.
	GadInstanceName *string `json:"GadInstanceName,omitempty" xml:"GadInstanceName,omitempty"`
	// The region ID of the central node of the global active database cluster. The central node refers to the primary node. You can call the DescribeGadInstances operation to query the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DeleteGadInstanceRequest) GoString

func (s DeleteGadInstanceRequest) GoString() string

func (*DeleteGadInstanceRequest) SetGadInstanceName

func (s *DeleteGadInstanceRequest) SetGadInstanceName(v string) *DeleteGadInstanceRequest

func (*DeleteGadInstanceRequest) SetRegionId

func (*DeleteGadInstanceRequest) SetResourceGroupId added in v3.0.214

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

func (DeleteGadInstanceRequest) String

func (s DeleteGadInstanceRequest) String() string

type DeleteGadInstanceResponse

type DeleteGadInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteGadInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteGadInstanceResponse) GoString

func (s DeleteGadInstanceResponse) GoString() string

func (*DeleteGadInstanceResponse) SetBody

func (*DeleteGadInstanceResponse) SetHeaders

func (*DeleteGadInstanceResponse) SetStatusCode

func (DeleteGadInstanceResponse) String

func (s DeleteGadInstanceResponse) String() string

type DeleteGadInstanceResponseBody

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

func (DeleteGadInstanceResponseBody) GoString

func (*DeleteGadInstanceResponseBody) SetRequestId

func (DeleteGadInstanceResponseBody) String

type DeleteParameterGroupRequest

type DeleteParameterGroupRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the parameter template. You can call the [DescribeParameterGroups](~~144491~~) operation to query the ID of the parameter template.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The ID of the region. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteParameterGroupRequest) GoString

func (s DeleteParameterGroupRequest) GoString() string

func (*DeleteParameterGroupRequest) SetOwnerId

func (*DeleteParameterGroupRequest) SetParameterGroupId

func (*DeleteParameterGroupRequest) SetRegionId

func (*DeleteParameterGroupRequest) SetResourceGroupId added in v3.0.214

func (*DeleteParameterGroupRequest) SetResourceOwnerAccount

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

func (*DeleteParameterGroupRequest) SetResourceOwnerId

func (DeleteParameterGroupRequest) String

type DeleteParameterGroupResponse

type DeleteParameterGroupResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteParameterGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteParameterGroupResponse) GoString

func (s DeleteParameterGroupResponse) GoString() string

func (*DeleteParameterGroupResponse) SetBody

func (*DeleteParameterGroupResponse) SetHeaders

func (*DeleteParameterGroupResponse) SetStatusCode

func (DeleteParameterGroupResponse) String

type DeleteParameterGroupResponseBody

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

func (DeleteParameterGroupResponseBody) GoString

func (*DeleteParameterGroupResponseBody) SetParameterGroupId

func (*DeleteParameterGroupResponseBody) SetRequestId

func (DeleteParameterGroupResponseBody) String

type DeletePostgresExtensionsRequest added in v3.0.28

type DeletePostgresExtensionsRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database on which the extension is installed. If you want to specify multiple databases, separate the databases with commas (,).
	DBNames *string `json:"DBNames,omitempty" xml:"DBNames,omitempty"`
	// The name of the extension. If you want to specify multiple extensions, separate the extension names with commas (,).
	Extensions   *string `json:"Extensions,omitempty" xml:"Extensions,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeletePostgresExtensionsRequest) GoString added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetClientToken added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetDBInstanceId added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetDBNames added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetExtensions added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetOwnerAccount added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetOwnerId added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetResourceGroupId added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetResourceOwnerAccount added in v3.0.28

func (*DeletePostgresExtensionsRequest) SetResourceOwnerId added in v3.0.28

func (DeletePostgresExtensionsRequest) String added in v3.0.28

type DeletePostgresExtensionsResponse added in v3.0.28

type DeletePostgresExtensionsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeletePostgresExtensionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeletePostgresExtensionsResponse) GoString added in v3.0.28

func (*DeletePostgresExtensionsResponse) SetBody added in v3.0.28

func (*DeletePostgresExtensionsResponse) SetHeaders added in v3.0.28

func (*DeletePostgresExtensionsResponse) SetStatusCode added in v3.0.28

func (DeletePostgresExtensionsResponse) String added in v3.0.28

type DeletePostgresExtensionsResponseBody added in v3.0.28

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

func (DeletePostgresExtensionsResponseBody) GoString added in v3.0.28

func (*DeletePostgresExtensionsResponseBody) SetRequestId added in v3.0.28

func (DeletePostgresExtensionsResponseBody) String added in v3.0.28

type DeleteSecretRequest

type DeleteSecretRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	//
	// >  If you specify this parameter, you must also specify the **SecretName** parameter. parameter.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The engine of the database.
	//
	// > Only MySQL is supported.
	Engine  *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeSecrets operation to query the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the credential for the created Data API account. You can call the CreateSecret operation to obtain the value of this parameter.
	//
	// >  You must specify one of the SecretArn and **SecretName** parameters.
	SecretArn *string `json:"SecretArn,omitempty" xml:"SecretArn,omitempty"`
	// The name of the credential.
	//
	// > *   You must specify one of **SecretArn** and SecretName.
	// > *   If you specify this parameter, you must also specify **DbInstanceId**.
	SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"`
}

func (DeleteSecretRequest) GoString

func (s DeleteSecretRequest) GoString() string

func (*DeleteSecretRequest) SetClientToken

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

func (*DeleteSecretRequest) SetDbInstanceId

func (s *DeleteSecretRequest) SetDbInstanceId(v string) *DeleteSecretRequest

func (*DeleteSecretRequest) SetEngine

func (*DeleteSecretRequest) SetOwnerId

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

func (*DeleteSecretRequest) SetRegionId

func (s *DeleteSecretRequest) SetRegionId(v string) *DeleteSecretRequest

func (*DeleteSecretRequest) SetResourceGroupId added in v3.0.214

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

func (*DeleteSecretRequest) SetResourceOwnerAccount

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

func (*DeleteSecretRequest) SetResourceOwnerId

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

func (*DeleteSecretRequest) SetSecretArn

func (s *DeleteSecretRequest) SetSecretArn(v string) *DeleteSecretRequest

func (*DeleteSecretRequest) SetSecretName

func (s *DeleteSecretRequest) SetSecretName(v string) *DeleteSecretRequest

func (DeleteSecretRequest) String

func (s DeleteSecretRequest) String() string

type DeleteSecretResponse

type DeleteSecretResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteSecretResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteSecretResponse) GoString

func (s DeleteSecretResponse) GoString() string

func (*DeleteSecretResponse) SetBody

func (*DeleteSecretResponse) SetHeaders

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

func (*DeleteSecretResponse) SetStatusCode

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

func (DeleteSecretResponse) String

func (s DeleteSecretResponse) String() string

type DeleteSecretResponseBody

type DeleteSecretResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ARN of the credential for the Data API account.
	SecretArn *string `json:"SecretArn,omitempty" xml:"SecretArn,omitempty"`
	// The name of the credential.
	SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DeleteSecretResponseBody) GoString

func (s DeleteSecretResponseBody) GoString() string

func (*DeleteSecretResponseBody) SetRequestId

func (*DeleteSecretResponseBody) SetSecretArn

func (*DeleteSecretResponseBody) SetSecretName

func (*DeleteSecretResponseBody) SetSuccess

func (DeleteSecretResponseBody) String

func (s DeleteSecretResponseBody) String() string

type DeleteSlotRequest added in v3.0.5

type DeleteSlotRequest 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 token is unique among different requests. The token can contain only ASCII characters.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. You can leave this parameter empty.
	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 name of the replication slot. You can call the DescribeSlots operation to query the name of the replication slot.
	SlotName *string `json:"SlotName,omitempty" xml:"SlotName,omitempty"`
	// The status of the replication slot. You can call the DescribeSlots operation to query the status of the replication slot. Valid values:
	//
	// *   ACTIVE
	// *   INACTIVE
	SlotStatus *string `json:"SlotStatus,omitempty" xml:"SlotStatus,omitempty"`
}

func (DeleteSlotRequest) GoString added in v3.0.5

func (s DeleteSlotRequest) GoString() string

func (*DeleteSlotRequest) SetClientToken added in v3.0.5

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

func (*DeleteSlotRequest) SetDBInstanceId added in v3.0.5

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

func (*DeleteSlotRequest) SetOwnerAccount added in v3.0.5

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

func (*DeleteSlotRequest) SetOwnerId added in v3.0.5

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

func (*DeleteSlotRequest) SetResourceGroupId added in v3.0.5

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

func (*DeleteSlotRequest) SetResourceOwnerAccount added in v3.0.5

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

func (*DeleteSlotRequest) SetResourceOwnerId added in v3.0.5

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

func (*DeleteSlotRequest) SetSlotName added in v3.0.5

func (s *DeleteSlotRequest) SetSlotName(v string) *DeleteSlotRequest

func (*DeleteSlotRequest) SetSlotStatus added in v3.0.5

func (s *DeleteSlotRequest) SetSlotStatus(v string) *DeleteSlotRequest

func (DeleteSlotRequest) String added in v3.0.5

func (s DeleteSlotRequest) String() string

type DeleteSlotResponse added in v3.0.5

type DeleteSlotResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteSlotResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteSlotResponse) GoString added in v3.0.5

func (s DeleteSlotResponse) GoString() string

func (*DeleteSlotResponse) SetBody added in v3.0.5

func (*DeleteSlotResponse) SetHeaders added in v3.0.5

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

func (*DeleteSlotResponse) SetStatusCode added in v3.0.5

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

func (DeleteSlotResponse) String added in v3.0.5

func (s DeleteSlotResponse) String() string

type DeleteSlotResponseBody added in v3.0.5

type DeleteSlotResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The name of the replication slot.
	SlotName *string `json:"SlotName,omitempty" xml:"SlotName,omitempty"`
}

func (DeleteSlotResponseBody) GoString added in v3.0.5

func (s DeleteSlotResponseBody) GoString() string

func (*DeleteSlotResponseBody) SetRequestId added in v3.0.5

func (*DeleteSlotResponseBody) SetSlotName added in v3.0.5

func (DeleteSlotResponseBody) String added in v3.0.5

func (s DeleteSlotResponseBody) String() string

type DeleteUserBackupFileRequest

type DeleteUserBackupFileRequest struct {
	// The ID of the full backup file. You can call the [ListUserBackupFiles](~~257821~~) operation to query the ID of the file.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DeleteUserBackupFileRequest) GoString

func (s DeleteUserBackupFileRequest) GoString() string

func (*DeleteUserBackupFileRequest) SetBackupId

func (*DeleteUserBackupFileRequest) SetOwnerId

func (*DeleteUserBackupFileRequest) SetRegionId

func (*DeleteUserBackupFileRequest) SetResourceGroupId added in v3.0.214

func (*DeleteUserBackupFileRequest) SetResourceOwnerAccount

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

func (*DeleteUserBackupFileRequest) SetResourceOwnerId

func (DeleteUserBackupFileRequest) String

type DeleteUserBackupFileResponse

type DeleteUserBackupFileResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteUserBackupFileResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteUserBackupFileResponse) GoString

func (s DeleteUserBackupFileResponse) GoString() string

func (*DeleteUserBackupFileResponse) SetBody

func (*DeleteUserBackupFileResponse) SetHeaders

func (*DeleteUserBackupFileResponse) SetStatusCode

func (DeleteUserBackupFileResponse) String

type DeleteUserBackupFileResponseBody

type DeleteUserBackupFileResponseBody struct {
	// The ID of the deleted full backup file.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteUserBackupFileResponseBody) GoString

func (*DeleteUserBackupFileResponseBody) SetBackupId

func (*DeleteUserBackupFileResponseBody) SetRequestId

func (DeleteUserBackupFileResponseBody) String

type DescibeImportsFromDatabaseRequest

type DescibeImportsFromDatabaseRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	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.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The database engine of the instance. Set the value to **MySQL**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The ID of the migration task.
	ImportId     *int32  `json:"ImportId,omitempty" xml:"ImportId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescibeImportsFromDatabaseRequest) GoString

func (*DescibeImportsFromDatabaseRequest) SetClientToken

func (*DescibeImportsFromDatabaseRequest) SetDBInstanceId

func (*DescibeImportsFromDatabaseRequest) SetEndTime

func (*DescibeImportsFromDatabaseRequest) SetEngine

func (*DescibeImportsFromDatabaseRequest) SetImportId

func (*DescibeImportsFromDatabaseRequest) SetOwnerAccount

func (*DescibeImportsFromDatabaseRequest) SetOwnerId

func (*DescibeImportsFromDatabaseRequest) SetPageNumber

func (*DescibeImportsFromDatabaseRequest) SetPageSize

func (*DescibeImportsFromDatabaseRequest) SetResourceGroupId added in v3.0.214

func (*DescibeImportsFromDatabaseRequest) SetResourceOwnerAccount

func (*DescibeImportsFromDatabaseRequest) SetResourceOwnerId

func (*DescibeImportsFromDatabaseRequest) SetStartTime

func (DescibeImportsFromDatabaseRequest) String

type DescibeImportsFromDatabaseResponse

type DescibeImportsFromDatabaseResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescibeImportsFromDatabaseResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescibeImportsFromDatabaseResponse) GoString

func (*DescibeImportsFromDatabaseResponse) SetHeaders

func (*DescibeImportsFromDatabaseResponse) SetStatusCode

func (DescibeImportsFromDatabaseResponse) String

type DescibeImportsFromDatabaseResponseBody

type DescibeImportsFromDatabaseResponseBody struct {
	// The migration tasks.
	Items *DescibeImportsFromDatabaseResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescibeImportsFromDatabaseResponseBody) GoString

func (*DescibeImportsFromDatabaseResponseBody) SetPageNumber

func (*DescibeImportsFromDatabaseResponseBody) SetPageRecordCount

func (*DescibeImportsFromDatabaseResponseBody) SetRequestId

func (*DescibeImportsFromDatabaseResponseBody) SetTotalRecordCount

func (DescibeImportsFromDatabaseResponseBody) String

type DescibeImportsFromDatabaseResponseBodyItems

type DescibeImportsFromDatabaseResponseBodyItems struct {
	ImportResultFromDB []*DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB `json:"ImportResultFromDB,omitempty" xml:"ImportResultFromDB,omitempty" type:"Repeated"`
}

func (DescibeImportsFromDatabaseResponseBodyItems) GoString

func (DescibeImportsFromDatabaseResponseBodyItems) String

type DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB

type DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB struct {
	// The status of the migration task. Valid values:
	//
	// *   **NotStart**: The migration task has not started.
	// *   **FullExporting**: The migration task is exporting full data.
	// *   **FullImporting**: The migration task is importing full data.
	// *   **Success**: The migration task is successful.
	// *   **Failed**: The migration task failed.
	// *   **Canceled**: The migration task is canceled.
	// *   **Canceling**: The migration task is being canceled.
	// *   **IncrementalWaiting**: The migration task is waiting to synchronize incremental data.
	// *   **IncrementalImporting**: The migration task is synchronizing incremental data.
	// *   **StopSyncing**: The migration task stops synchronizing data.
	ImportDataStatus *string `json:"ImportDataStatus,omitempty" xml:"ImportDataStatus,omitempty"`
	// The description of the migration task.
	ImportDataStatusDescription *string `json:"ImportDataStatusDescription,omitempty" xml:"ImportDataStatusDescription,omitempty"`
	// The type of the migration task. Valid values:
	//
	// *   **Full**: full migration
	// *   **Incremental:**: incremental migration
	ImportDataType *string `json:"ImportDataType,omitempty" xml:"ImportDataType,omitempty"`
	// The ID of the migration task.
	ImportId *int32 `json:"ImportId,omitempty" xml:"ImportId,omitempty"`
	// The time when the migration task synchronized incremental data. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	IncrementalImportingTime *string `json:"IncrementalImportingTime,omitempty" xml:"IncrementalImportingTime,omitempty"`
}

func (DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) GoString

func (*DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) SetImportDataStatus

func (*DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) SetImportDataStatusDescription

func (*DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) SetImportDataType

func (*DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) SetImportId

func (*DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) SetIncrementalImportingTime

func (DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB) String

type DescribeADInfoRequest

type DescribeADInfoRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeADInfoRequest) GoString

func (s DescribeADInfoRequest) GoString() string

func (*DescribeADInfoRequest) SetClientToken

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

func (*DescribeADInfoRequest) SetDBInstanceId

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

func (*DescribeADInfoRequest) SetOwnerId

func (*DescribeADInfoRequest) SetRegionId

func (*DescribeADInfoRequest) SetResourceOwnerAccount

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

func (*DescribeADInfoRequest) SetResourceOwnerId

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

func (DescribeADInfoRequest) String

func (s DescribeADInfoRequest) String() string

type DescribeADInfoResponse

type DescribeADInfoResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeADInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeADInfoResponse) GoString

func (s DescribeADInfoResponse) GoString() string

func (*DescribeADInfoResponse) SetBody

func (*DescribeADInfoResponse) SetHeaders

func (*DescribeADInfoResponse) SetStatusCode

func (DescribeADInfoResponse) String

func (s DescribeADInfoResponse) String() string

type DescribeADInfoResponseBody

type DescribeADInfoResponseBody struct {
	// The DNS information about the AD domain.
	ADDNS *string `json:"ADDNS,omitempty" xml:"ADDNS,omitempty"`
	// The service IP address of the AD domain.
	ADServerIpAddress *string `json:"ADServerIpAddress,omitempty" xml:"ADServerIpAddress,omitempty"`
	// The status of the AD domain. Valid values:
	//
	// *   **-1**: The instance is being added to the AD domain.
	// *   **0**: The instance fails to be added to the AD domain.
	// *   **1**: The instance is added to the AD domain.
	ADStatus *string `json:"ADStatus,omitempty" xml:"ADStatus,omitempty"`
	// The cause of the error.
	AbnormalReason *string `json:"AbnormalReason,omitempty" xml:"AbnormalReason,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The username of the AD domain.
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
}

func (DescribeADInfoResponseBody) GoString

func (s DescribeADInfoResponseBody) GoString() string

func (*DescribeADInfoResponseBody) SetADDNS

func (*DescribeADInfoResponseBody) SetADServerIpAddress

func (s *DescribeADInfoResponseBody) SetADServerIpAddress(v string) *DescribeADInfoResponseBody

func (*DescribeADInfoResponseBody) SetADStatus

func (*DescribeADInfoResponseBody) SetAbnormalReason

func (*DescribeADInfoResponseBody) SetRequestId

func (*DescribeADInfoResponseBody) SetUserName

func (DescribeADInfoResponseBody) String

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	// The name of the database account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	//
	// >  This parameter is not supported for RDS instances that run SQL Server 2017 on RDS Cluster Edition.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The page number. Default value: **1**. Valid values: any non-zero positive integer.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid value: **30 to 200**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeAccountsRequest) GoString

func (s DescribeAccountsRequest) GoString() string

func (*DescribeAccountsRequest) SetAccountName

func (*DescribeAccountsRequest) SetDBInstanceId

func (*DescribeAccountsRequest) SetPageNumber

func (*DescribeAccountsRequest) SetPageSize

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" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAccountsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 about the account.
	Accounts *DescribeAccountsResponseBodyAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The first time when the system admin account was enabled. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// >  This parameter is returned only for instances that run SQL Server.
	SystemAdminAccountFirstActivationTime *string `json:"SystemAdminAccountFirstActivationTime,omitempty" xml:"SystemAdminAccountFirstActivationTime,omitempty"`
	// Indicates whether the system admin account was enabled. Valid values:
	//
	// *   **true**: The system admin account was enabled.
	// *   **false**: The system admin account was disabled.
	//
	// >  The [system admin account](~~170736~~) is supported only for the instances that run SQL Server. If the instance runs SQL Server, a value is returned for this parameter. If the instance runs a different database engine, no value is returned for this parameter.
	SystemAdminAccountStatus *string `json:"SystemAdminAccountStatus,omitempty" xml:"SystemAdminAccountStatus,omitempty"`
	// The total number of entries that are returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeAccountsResponseBody) GoString

func (s DescribeAccountsResponseBody) GoString() string

func (*DescribeAccountsResponseBody) SetAccounts

func (*DescribeAccountsResponseBody) SetPageNumber

func (*DescribeAccountsResponseBody) SetRequestId

func (*DescribeAccountsResponseBody) SetSystemAdminAccountFirstActivationTime

func (s *DescribeAccountsResponseBody) SetSystemAdminAccountFirstActivationTime(v string) *DescribeAccountsResponseBody

func (*DescribeAccountsResponseBody) SetSystemAdminAccountStatus

func (s *DescribeAccountsResponseBody) SetSystemAdminAccountStatus(v string) *DescribeAccountsResponseBody

func (*DescribeAccountsResponseBody) SetTotalRecordCount

func (DescribeAccountsResponseBody) String

type DescribeAccountsResponseBodyAccounts

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

func (DescribeAccountsResponseBodyAccounts) GoString

func (DescribeAccountsResponseBodyAccounts) String

type DescribeAccountsResponseBodyAccountsDBInstanceAccount

type DescribeAccountsResponseBodyAccountsDBInstanceAccount struct {
	// The description of the account.
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The name of the database account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The status of the account. Valid values:
	//
	// *   **Unavailable**
	// *   **Available**
	AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"`
	// The type of the account. Valid values:
	//
	// *   **Normal**: standard account
	// *   **Super**: privileged account
	// *   **Sysadmin**: system admin account, which is supported only for instances running SQL Server
	AccountType *string `json:"AccountType,omitempty" xml:"AccountType,omitempty"`
	// Indicates whether the account has the row-level security (RLS) permissions. Valid values:
	//
	// *   **t**: The account has the RLS permissions.
	// *   **f**: The account does not have the RLS permissions.
	//
	// >  This parameter is returned only for instances that run PostgreSQL.
	BypassRLS *string `json:"BypassRLS,omitempty" xml:"BypassRLS,omitempty"`
	// Indicates whether the account has the permissions to create databases. Valid values:
	//
	// *   **t**: The account has the permissions to create databases.
	// *   **f**: The account does not have the permissions to create databases.
	//
	// >  This parameter is returned only for instances that run PostgreSQL.
	CreateDB *string `json:"CreateDB,omitempty" xml:"CreateDB,omitempty"`
	// Indicates whether the account has the permissions to create roles. Valid values:
	//
	// *   **t**: The account has the permissions to create roles.
	// *   **f**: The account does not have the permissions to create roles.
	//
	// >  This parameter is returned only for instances that run PostgreSQL.
	CreateRole *string `json:"CreateRole,omitempty" xml:"CreateRole,omitempty"`
	// The ID of the instance to which the account belongs.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details about the permissions that are granted to the account.
	DatabasePrivileges *DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges `json:"DatabasePrivileges,omitempty" xml:"DatabasePrivileges,omitempty" type:"Struct"`
	// Indicates whether the number of databases that are managed by the account exceeds the upper limit. Valid values:
	//
	// *   **1**: The number of databases that are managed by the account exceeds the upper limit.
	// *   **0**: The number of databases that are managed by the account does not exceed the upper limit.
	PrivExceeded *string `json:"PrivExceeded,omitempty" xml:"PrivExceeded,omitempty"`
	// Indicates whether the account has the replication permissions. Valid values:
	//
	// *   **t**: The account has the replication permissions.
	// *   **f**: The account does not have the replication permissions.
	//
	// >  This parameter is returned only for instances that run PostgreSQL.
	Replication *string `json:"Replication,omitempty" xml:"Replication,omitempty"`
	// The expiration time of the password. Valid values:
	//
	// *   **infinity**: The password never expires.
	// *   **Empty**: The expiration time is not specified.
	// *   **Actual expiration time**: in the format of *yyyy-MM-dd*T*HH:mm:ss*Z in UTC. Example: 2022-10-01T00:00:00Z.
	//
	// >  This parameter is returned only for instances that run PostgreSQL.
	ValidUntil *string `json:"ValidUntil,omitempty" xml:"ValidUntil,omitempty"`
}

func (DescribeAccountsResponseBodyAccountsDBInstanceAccount) GoString

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetAccountDescription

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetAccountName

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetAccountStatus

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetAccountType

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetBypassRLS

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetCreateDB

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetCreateRole

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetDBInstanceId

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetPrivExceeded

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetReplication

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccount) SetValidUntil

func (DescribeAccountsResponseBodyAccountsDBInstanceAccount) String

type DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges

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

func (DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges) GoString

func (DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges) String

type DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivilegesDatabasePrivilege

type DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivilegesDatabasePrivilege struct {
	// The type of the permissions. Valid values:
	//
	// *   **ReadWrite**: read and write permissions.
	// *   **ReadOnly**: read-only permissions.
	// *   **DDLOnly**: DDL-only permissions.
	// *   **DMLOnly**: DML-only permissions.
	// *   **Custom**: custom permissions. You can modify the permissions of the account by using SQL commands.
	AccountPrivilege *string `json:"AccountPrivilege,omitempty" xml:"AccountPrivilege,omitempty"`
	// The permissions that are granted to the account. For more information, see [Account permissions](~~146395~~).
	AccountPrivilegeDetail *string `json:"AccountPrivilegeDetail,omitempty" xml:"AccountPrivilegeDetail,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
}

func (DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivilegesDatabasePrivilege) GoString

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivilegesDatabasePrivilege) SetAccountPrivilege

func (*DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivilegesDatabasePrivilege) SetAccountPrivilegeDetail

func (DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivilegesDatabasePrivilege) String

type DescribeActionEventPolicyRequest

type DescribeActionEventPolicyRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeActionEventPolicyRequest) GoString

func (*DescribeActionEventPolicyRequest) SetOwnerId

func (*DescribeActionEventPolicyRequest) SetRegionId

func (*DescribeActionEventPolicyRequest) SetResourceGroupId added in v3.0.214

func (*DescribeActionEventPolicyRequest) SetResourceOwnerAccount

func (*DescribeActionEventPolicyRequest) SetResourceOwnerId

func (DescribeActionEventPolicyRequest) String

type DescribeActionEventPolicyResponse

type DescribeActionEventPolicyResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeActionEventPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeActionEventPolicyResponse) GoString

func (*DescribeActionEventPolicyResponse) SetHeaders

func (*DescribeActionEventPolicyResponse) SetStatusCode

func (DescribeActionEventPolicyResponse) String

type DescribeActionEventPolicyResponseBody

type DescribeActionEventPolicyResponseBody struct {
	// Indicates whether the event history feature is enabled.
	EnableEventLog *string `json:"EnableEventLog,omitempty" xml:"EnableEventLog,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeActionEventPolicyResponseBody) GoString

func (*DescribeActionEventPolicyResponseBody) SetEnableEventLog

func (*DescribeActionEventPolicyResponseBody) SetRegionId

func (*DescribeActionEventPolicyResponseBody) SetRequestId

func (DescribeActionEventPolicyResponseBody) String

type DescribeActiveOperationTasksRequest added in v3.0.4

type DescribeActiveOperationTasksRequest struct {
	// The filter condition that is used to return tasks based on the settings of task cancellation. Default value: -1. Valid values:
	//
	// *   **-1**: returns all tasks.
	// *   **0**: returns only tasks that cannot be canceled.
	// *   **1**: returns only tasks that can be canceled.
	AllowCancel *int32 `json:"AllowCancel,omitempty" xml:"AllowCancel,omitempty"`
	// The filter condition that is used to return tasks based on the settings of the switching time. Default value: -1. Valid values:
	//
	// *   **-1**: returns all tasks.
	// *   **0**: returns only tasks for which the switching time cannot be changed.
	// *   **1**: returns only tasks for which the switching time can be changed.
	AllowChange *int32 `json:"AllowChange,omitempty" xml:"AllowChange,omitempty"`
	// The filter condition that is used to return tasks based on the task level. Default value: all. Valid values:
	//
	// *   **all**: all types
	// *   **S0**: returns the tasks of the exception fixing level.
	// *   **S1**: returns the tasks of the system O\&M level.
	ChangeLevel *string `json:"ChangeLevel,omitempty" xml:"ChangeLevel,omitempty"`
	// The type of the database. Default value: all. Valid values: mysql, pgsql, and mssql.
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The name of the instance. You can leave this parameter empty. If you configure this parameter, you can specify the name only of one instance.
	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. Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100. Default value: 25.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The name of the service. Valid values: RDS, POLARDB, MongoDB, and Redis. For RDS instances, set the value to RDS.
	ProductId *string `json:"ProductId,omitempty" xml:"ProductId,omitempty"`
	// The region ID of the pending event. You can call the DescribeRegions operation to query the most recent region list.
	//
	// >  The value **all** indicates all regions.
	Region               *string `json:"Region,omitempty" xml:"Region,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The status of the task, which is used as a filter condition to return tasks.
	//
	// *   **-1**: all tasks
	// *   **3**: pending
	// *   **4**: being processed
	// *   **5**: completed
	// *   **6**: failed
	// *   **7**: canceled
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the task. Valid values:
	//
	// *   **rds_apsaradb_ha**: primary/secondary switchover
	// *   **rds_apsaradb_transfer**: instance migration
	// *   **rds_apsaradb_upgrade**: update of the minor engine version
	// *   **rds_apsaradb_maxscale**: update of the minor version of the proxy
	// *   **all**: all types
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
}

func (DescribeActiveOperationTasksRequest) GoString added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetAllowCancel added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetAllowChange added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetChangeLevel added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetDbType added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetInsName added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetOwnerAccount added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetOwnerId added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetPageNumber added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetPageSize added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetProductId added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetRegion added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetResourceOwnerAccount added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetResourceOwnerId added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetSecurityToken added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetStatus added in v3.0.4

func (*DescribeActiveOperationTasksRequest) SetTaskType added in v3.0.4

func (DescribeActiveOperationTasksRequest) String added in v3.0.4

type DescribeActiveOperationTasksResponse added in v3.0.4

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

func (DescribeActiveOperationTasksResponse) GoString added in v3.0.4

func (*DescribeActiveOperationTasksResponse) SetBody added in v3.0.4

func (*DescribeActiveOperationTasksResponse) SetHeaders added in v3.0.4

func (*DescribeActiveOperationTasksResponse) SetStatusCode added in v3.0.4

func (DescribeActiveOperationTasksResponse) String added in v3.0.4

type DescribeActiveOperationTasksResponseBody added in v3.0.4

type DescribeActiveOperationTasksResponseBody struct {
	// The details about the O\&M task.
	Items []*DescribeActiveOperationTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number. Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100. Default value: 25.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeActiveOperationTasksResponseBody) GoString added in v3.0.4

func (*DescribeActiveOperationTasksResponseBody) SetItems added in v3.0.4

func (*DescribeActiveOperationTasksResponseBody) SetPageNumber added in v3.0.4

func (*DescribeActiveOperationTasksResponseBody) SetPageSize added in v3.0.4

func (*DescribeActiveOperationTasksResponseBody) SetRequestId added in v3.0.4

func (*DescribeActiveOperationTasksResponseBody) SetTotalRecordCount added in v3.0.4

func (DescribeActiveOperationTasksResponseBody) String added in v3.0.4

type DescribeActiveOperationTasksResponseBodyItems added in v3.0.4

type DescribeActiveOperationTasksResponseBodyItems struct {
	// Indicates whether the task can be canceled. The value 1 indicates that the task can be canceled. The value 0 indicates that the task cannot be canceled.
	AllowCancel *string `json:"AllowCancel,omitempty" xml:"AllowCancel,omitempty"`
	// Indicates whether the switching time can be changed. The value 1 indicates that the switching time can be changed. The value 0 indicates that the switching time cannot be changed.
	AllowChange *string `json:"AllowChange,omitempty" xml:"AllowChange,omitempty"`
	// The code of the task level. The value S1 indicates the system O\&M level. The value S0 indicates the exception fixing level.
	ChangeLevel *string `json:"ChangeLevel,omitempty" xml:"ChangeLevel,omitempty"`
	// The level of the task in English.
	ChangeLevelEn *string `json:"ChangeLevelEn,omitempty" xml:"ChangeLevelEn,omitempty"`
	// The level of the task in Chinese.
	ChangeLevelZh *string `json:"ChangeLevelZh,omitempty" xml:"ChangeLevelZh,omitempty"`
	// The time when the task was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The current zone.
	CurrentAVZ *string `json:"CurrentAVZ,omitempty" xml:"CurrentAVZ,omitempty"`
	// The type of the database. Valid values: mysql, pgsql, and mssql.
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The minor engine version.
	DbVersion *string `json:"DbVersion,omitempty" xml:"DbVersion,omitempty"`
	// The deadline of the switching time for the task. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.
	Deadline *string `json:"Deadline,omitempty" xml:"Deadline,omitempty"`
	// The ID of the task.
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The impact of the task.
	Impact *string `json:"Impact,omitempty" xml:"Impact,omitempty"`
	// The impact of the task in English.
	ImpactEn *string `json:"ImpactEn,omitempty" xml:"ImpactEn,omitempty"`
	// The impact of the task in Chinese.
	ImpactZh *string `json:"ImpactZh,omitempty" xml:"ImpactZh,omitempty"`
	// The alias and description of the instance.
	InsComment *string `json:"InsComment,omitempty" xml:"InsComment,omitempty"`
	// The instance ID.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The time after the modification. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.
	ModifiedTime *string `json:"ModifiedTime,omitempty" xml:"ModifiedTime,omitempty"`
	// The required preparation period between the task start time and the switching time. The time is displayed in the HH:mm:ss format.
	PrepareInterval *string `json:"PrepareInterval,omitempty" xml:"PrepareInterval,omitempty"`
	// The region ID of the pending task.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The information about the execution result.
	ResultInfo *string `json:"ResultInfo,omitempty" xml:"ResultInfo,omitempty"`
	// The time when the task was executed. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The task status.
	//
	// *   **3**: pending
	// *   **4**: being processed
	// *   **5**: completed
	// *   **6**: failed
	// *   **7**: canceled
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The subtasks of the instance.
	SubInsNames []*string `json:"SubInsNames,omitempty" xml:"SubInsNames,omitempty" type:"Repeated"`
	// The switching time of the task. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The task parameters.
	TaskParams *string `json:"TaskParams,omitempty" xml:"TaskParams,omitempty"`
	// The type of the O\&M task. Valid values:
	//
	// *   **rds_apsaradb_ha**: primary/secondary switchover
	// *   **rds_apsaradb_transfer**: instance migration
	// *   **rds_apsaradb_upgrade**: update of the minor engine version
	// *   **rds_apsaradb_maxscale**: minor version update of the database proxy
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The reason for the task in English.
	TaskTypeEn *string `json:"TaskTypeEn,omitempty" xml:"TaskTypeEn,omitempty"`
	// The reason for the task in Chinese.
	TaskTypeZh *string `json:"TaskTypeZh,omitempty" xml:"TaskTypeZh,omitempty"`
}

func (DescribeActiveOperationTasksResponseBodyItems) GoString added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetAllowCancel added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetAllowChange added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetChangeLevel added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetChangeLevelEn added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetChangeLevelZh added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetCreatedTime added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetCurrentAVZ added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetDbType added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetDbVersion added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetDeadline added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetId added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetImpact added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetImpactEn added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetImpactZh added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetInsComment added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetInsName added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetModifiedTime added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetPrepareInterval added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetRegion added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetResultInfo added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetStartTime added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetStatus added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetSubInsNames added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetSwitchTime added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskParams added in v3.0.24

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskType added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskTypeEn added in v3.0.4

func (*DescribeActiveOperationTasksResponseBodyItems) SetTaskTypeZh added in v3.0.4

func (DescribeActiveOperationTasksResponseBodyItems) String added in v3.0.4

type DescribeAllWhitelistTemplateRequest added in v3.0.29

type DescribeAllWhitelistTemplateRequest struct {
	// Specifies whether to enable fuzzy search. Valid values:
	//
	// *   **true**
	// *   **false**
	FuzzySearch *bool `json:"FuzzySearch,omitempty" xml:"FuzzySearch,omitempty"`
	// The number of entries to return on each page. Enumerated valid values: 10, 30, and 50.
	MaxRecordsPerPage *int32 `json:"MaxRecordsPerPage,omitempty" xml:"MaxRecordsPerPage,omitempty"`
	// The page number.
	PageNumbers *int32 `json:"PageNumbers,omitempty" xml:"PageNumbers,omitempty"`
	// The resource group ID. For more information about resource groups, see related documentation.
	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 name of the IP whitelist template. If you specify this parameter when you perform a fuzzy search, you can call the DescribeWhitelistTemplate operation to query the name of the whitelist template during the fuzzy search.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (DescribeAllWhitelistTemplateRequest) GoString added in v3.0.29

func (*DescribeAllWhitelistTemplateRequest) SetFuzzySearch added in v3.0.29

func (*DescribeAllWhitelistTemplateRequest) SetMaxRecordsPerPage added in v3.0.29

func (*DescribeAllWhitelistTemplateRequest) SetPageNumbers added in v3.0.29

func (*DescribeAllWhitelistTemplateRequest) SetResourceGroupId added in v3.1.0

func (*DescribeAllWhitelistTemplateRequest) SetResourceOwnerAccount added in v3.0.29

func (*DescribeAllWhitelistTemplateRequest) SetResourceOwnerId added in v3.0.29

func (*DescribeAllWhitelistTemplateRequest) SetTemplateName added in v3.0.29

func (DescribeAllWhitelistTemplateRequest) String added in v3.0.29

type DescribeAllWhitelistTemplateResponse added in v3.0.29

type DescribeAllWhitelistTemplateResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAllWhitelistTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAllWhitelistTemplateResponse) GoString added in v3.0.29

func (*DescribeAllWhitelistTemplateResponse) SetBody added in v3.0.29

func (*DescribeAllWhitelistTemplateResponse) SetHeaders added in v3.0.29

func (*DescribeAllWhitelistTemplateResponse) SetStatusCode added in v3.0.29

func (DescribeAllWhitelistTemplateResponse) String added in v3.0.29

type DescribeAllWhitelistTemplateResponseBody added in v3.0.29

type DescribeAllWhitelistTemplateResponseBody struct {
	// The response code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *DescribeAllWhitelistTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The response parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribeAllWhitelistTemplateResponseBody) GoString added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBody) SetCode added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBody) SetData added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBody) SetHttpStatusCode added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBody) SetMessage added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBody) SetRequestId added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBody) SetSuccess added in v3.0.29

func (DescribeAllWhitelistTemplateResponseBody) String added in v3.0.29

type DescribeAllWhitelistTemplateResponseBodyData added in v3.0.29

type DescribeAllWhitelistTemplateResponseBodyData struct {
	// The page number.
	CurrPageNumbers *int32 `json:"CurrPageNumbers,omitempty" xml:"CurrPageNumbers,omitempty"`
	// Indicates whether the data that meets the conditions is displayed on the next page. Valid values:
	//
	// *   **true**
	// *   **false**
	HasNext *bool `json:"HasNext,omitempty" xml:"HasNext,omitempty"`
	// Indicates whether the data that meets the conditions is displayed on the previous page. Valid values:
	//
	// *   **true**
	// *   **false**
	HasPrev *bool `json:"HasPrev,omitempty" xml:"HasPrev,omitempty"`
	// The number of entries to return on each page.
	MaxRecordsPerPage *int32 `json:"MaxRecordsPerPage,omitempty" xml:"MaxRecordsPerPage,omitempty"`
	// The information about whitelist templates that are returned by page.
	Templates []*DescribeAllWhitelistTemplateResponseBodyDataTemplates `json:"Templates,omitempty" xml:"Templates,omitempty" type:"Repeated"`
	// The total number of pages returned.
	TotalPageNumbers *int32 `json:"TotalPageNumbers,omitempty" xml:"TotalPageNumbers,omitempty"`
	// The total number of entries returned.
	TotalRecords *int32 `json:"TotalRecords,omitempty" xml:"TotalRecords,omitempty"`
}

func (DescribeAllWhitelistTemplateResponseBodyData) GoString added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetCurrPageNumbers added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetHasNext added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetHasPrev added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetMaxRecordsPerPage added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetTemplates added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetTotalPageNumbers added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyData) SetTotalRecords added in v3.0.29

func (DescribeAllWhitelistTemplateResponseBodyData) String added in v3.0.29

type DescribeAllWhitelistTemplateResponseBodyDataTemplates added in v3.0.29

type DescribeAllWhitelistTemplateResponseBodyDataTemplates struct {
	// The primary key of the data table.
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The IP addresses.
	Ips *string `json:"Ips,omitempty" xml:"Ips,omitempty"`
	// The ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the whitelist template.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The user ID.
	UserId *int32 `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (DescribeAllWhitelistTemplateResponseBodyDataTemplates) GoString added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyDataTemplates) SetId added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyDataTemplates) SetIps added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyDataTemplates) SetTemplateId added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyDataTemplates) SetTemplateName added in v3.0.29

func (*DescribeAllWhitelistTemplateResponseBodyDataTemplates) SetUserId added in v3.0.29

func (DescribeAllWhitelistTemplateResponseBodyDataTemplates) String added in v3.0.29

type DescribeAnalyticdbByPrimaryDBInstanceRequest

type DescribeAnalyticdbByPrimaryDBInstanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeAnalyticdbByPrimaryDBInstanceRequest) GoString

func (*DescribeAnalyticdbByPrimaryDBInstanceRequest) SetDBInstanceId

func (*DescribeAnalyticdbByPrimaryDBInstanceRequest) SetOwnerId

func (*DescribeAnalyticdbByPrimaryDBInstanceRequest) SetRegionId

func (*DescribeAnalyticdbByPrimaryDBInstanceRequest) SetResourceOwnerAccount

func (*DescribeAnalyticdbByPrimaryDBInstanceRequest) SetResourceOwnerId

func (DescribeAnalyticdbByPrimaryDBInstanceRequest) String

type DescribeAnalyticdbByPrimaryDBInstanceResponse

type DescribeAnalyticdbByPrimaryDBInstanceResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAnalyticdbByPrimaryDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAnalyticdbByPrimaryDBInstanceResponse) GoString

func (*DescribeAnalyticdbByPrimaryDBInstanceResponse) SetHeaders

func (*DescribeAnalyticdbByPrimaryDBInstanceResponse) SetStatusCode

func (DescribeAnalyticdbByPrimaryDBInstanceResponse) String

type DescribeAnalyticdbByPrimaryDBInstanceResponseBody

type DescribeAnalyticdbByPrimaryDBInstanceResponseBody struct {
	// The number of associated analytic instances.
	AnalyticDBCount *int32 `json:"AnalyticDBCount,omitempty" xml:"AnalyticDBCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAnalyticdbByPrimaryDBInstanceResponseBody) GoString

func (*DescribeAnalyticdbByPrimaryDBInstanceResponseBody) SetAnalyticDBCount

func (*DescribeAnalyticdbByPrimaryDBInstanceResponseBody) SetRequestId

func (DescribeAnalyticdbByPrimaryDBInstanceResponseBody) String

type DescribeAvailableClassesRequest

type DescribeAvailableClassesRequest struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   Regular instance
	//
	//     *   **Basic**: RDS Basic Edition
	//     *   **HighAvailability**: RDS High-availability Edition
	//     *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL
	//     *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server
	//     *   **Finance**: RDS Enterprise Edition
	//
	// *   Serverless instance
	//
	//     *   **serverless_basic**: RDS Basic Edition. This edition is available only for serverless instances that run MySQL and PostgreSQL.
	//     *   **serverless_standard**: RDS High-availability Edition for ApsaraDB RDS for MySQL.
	//     *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server.
	//
	//     **
	//
	//     **Note** If you create a serverless instance, you must specify this parameter.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The commodity code of the instance. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).
	// *   **rds**: The instance is a subscription primary instance. This value is available at the China site (aliyun.com).
	// *   **rords**: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_intl**: The instance is a subscription primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_serverless_public_cn**: The instance is a serverless instance. This value is available at the China site (aliyun.com).
	// *   **rds_serverless_public_intl**: The instance is a serverless instance. This value is available at the International site (alibabacloud.com).
	//
	// > If you want to query the price of a read-only instance, you must specify this parameter.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD. This is the recommended storage type.
	// *   **cloud_ssd**: standard SSD.
	// *   **cloud_essd**: enhanced SSDs (ESSDs) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSDs of PL2
	// *   **cloud_essd3**: ESSD of PL3
	//
	// > Serverless instances support only ESSDs of PL 1. For a serverless instance, you must set this parameter to **cloud_essd**.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The database engine that is run by the instance. Valid values:
	//
	// * **MySQL**
	// * **SQLServer**
	// * **PostgreSQL**
	// * **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// *   Regular instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.5, 5.6, 5.7, and 8.0**
	//     *   Valid values if you set Engine to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	//     *   Valid values if you set Engine to PostgreSQL: **10.0, 11.0, 12.0, 13.0, 14.0, and 15.0**
	//     *   Valid value when you set Engine to MariaDB: **10.3**
	//
	// *   Serverless instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.7** and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2016\_std_sl**, **2017\_std_sl**, and **2019\_std_sl**
	//     *   Valid value if you set Engine to PostgreSQL: **14.0**
	//
	//     **
	//
	//     **Note** ApsaraDB RDS for MariaDB does not support serverless instances.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Prepaid**: subscription
	// *   **Postpaid**: pay-as-you-go
	// *   **Serverless**: serverless
	//
	// > ApsaraDB RDS for MariaDB does not support serverless instances.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" xml:"InstanceChargeType,omitempty"`
	// The type of the order. Set the value to **BUY**
	OrderType *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	// The region ID of the instance. You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the region ID of the instance.
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID of the instance. You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the zone ID of the instance.
	//
	// >  If the DescribeDBInstanceAttribute operation returns multiple zones, you must specify only one of the returned zones. For example, if the DescribeDBInstanceAttribute operation returns `cn-hangzhou-MAZ9(g,h)`, you can set this parameter to `cn-hangzhou-g` or `cn-hangzhou-h`.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailableClassesRequest) GoString

func (*DescribeAvailableClassesRequest) SetCategory

func (*DescribeAvailableClassesRequest) SetCommodityCode

func (*DescribeAvailableClassesRequest) SetDBInstanceId

func (*DescribeAvailableClassesRequest) SetDBInstanceStorageType

func (*DescribeAvailableClassesRequest) SetEngine

func (*DescribeAvailableClassesRequest) SetEngineVersion

func (*DescribeAvailableClassesRequest) SetInstanceChargeType

func (*DescribeAvailableClassesRequest) SetOrderType

func (*DescribeAvailableClassesRequest) SetRegionId

func (*DescribeAvailableClassesRequest) SetResourceOwnerId

func (*DescribeAvailableClassesRequest) SetZoneId

func (DescribeAvailableClassesRequest) String

type DescribeAvailableClassesResponse

type DescribeAvailableClassesResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAvailableClassesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAvailableClassesResponse) GoString

func (*DescribeAvailableClassesResponse) SetHeaders

func (*DescribeAvailableClassesResponse) SetStatusCode

func (DescribeAvailableClassesResponse) String

type DescribeAvailableClassesResponseBody

type DescribeAvailableClassesResponseBody struct {
	// An array that consists of the instance types available for the instance.
	DBInstanceClasses []*DescribeAvailableClassesResponseBodyDBInstanceClasses `json:"DBInstanceClasses,omitempty" xml:"DBInstanceClasses,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailableClassesResponseBody) GoString

func (*DescribeAvailableClassesResponseBody) SetRequestId

func (DescribeAvailableClassesResponseBody) String

type DescribeAvailableClassesResponseBodyDBInstanceClasses

type DescribeAvailableClassesResponseBodyDBInstanceClasses struct {
	// The instance type of the instance.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The storage capacity range that is supported for the instance.
	DBInstanceStorageRange *DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange `json:"DBInstanceStorageRange,omitempty" xml:"DBInstanceStorageRange,omitempty" type:"Struct"`
}

func (DescribeAvailableClassesResponseBodyDBInstanceClasses) GoString

func (*DescribeAvailableClassesResponseBodyDBInstanceClasses) SetDBInstanceClass

func (DescribeAvailableClassesResponseBodyDBInstanceClasses) String

type DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange

type DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange struct {
	// The maximum storage capacity that is supported for the instance. Unit: GB.
	MaxValue *int32 `json:"MaxValue,omitempty" xml:"MaxValue,omitempty"`
	// The minimum storage capacity that is supported for the instance. Unit: GB.
	MinValue *int32 `json:"MinValue,omitempty" xml:"MinValue,omitempty"`
	// The minimum step size at which you can adjust the storage capacity of the instance. The minimum step size is 5 GB.
	Step *int32 `json:"Step,omitempty" xml:"Step,omitempty"`
}

func (DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange) GoString

func (*DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange) SetMaxValue

func (*DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange) SetMinValue

func (*DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange) SetStep

func (DescribeAvailableClassesResponseBodyDBInstanceClassesDBInstanceStorageRange) String

type DescribeAvailableCrossRegionRequest

type DescribeAvailableCrossRegionRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent zone list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeAvailableCrossRegionRequest) GoString

func (*DescribeAvailableCrossRegionRequest) SetOwnerId

func (*DescribeAvailableCrossRegionRequest) SetRegionId

func (*DescribeAvailableCrossRegionRequest) SetResourceOwnerAccount

func (*DescribeAvailableCrossRegionRequest) SetResourceOwnerId

func (DescribeAvailableCrossRegionRequest) String

type DescribeAvailableCrossRegionResponse

type DescribeAvailableCrossRegionResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAvailableCrossRegionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAvailableCrossRegionResponse) GoString

func (*DescribeAvailableCrossRegionResponse) SetHeaders

func (*DescribeAvailableCrossRegionResponse) SetStatusCode

func (DescribeAvailableCrossRegionResponse) String

type DescribeAvailableCrossRegionResponseBody

type DescribeAvailableCrossRegionResponseBody struct {
	// An array that consists of destination regions for cross-region backups.
	Regions *DescribeAvailableCrossRegionResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailableCrossRegionResponseBody) GoString

func (*DescribeAvailableCrossRegionResponseBody) SetRequestId

func (DescribeAvailableCrossRegionResponseBody) String

type DescribeAvailableCrossRegionResponseBodyRegions

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

func (DescribeAvailableCrossRegionResponseBodyRegions) GoString

func (*DescribeAvailableCrossRegionResponseBodyRegions) SetRegion

func (DescribeAvailableCrossRegionResponseBodyRegions) String

type DescribeAvailableMetricsRequest

type DescribeAvailableMetricsRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeAvailableMetricsRequest) GoString

func (*DescribeAvailableMetricsRequest) SetDBInstanceName

func (*DescribeAvailableMetricsRequest) SetResourceGroupId

func (*DescribeAvailableMetricsRequest) SetResourceOwnerId

func (DescribeAvailableMetricsRequest) String

type DescribeAvailableMetricsResponse

type DescribeAvailableMetricsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAvailableMetricsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAvailableMetricsResponse) GoString

func (*DescribeAvailableMetricsResponse) SetHeaders

func (*DescribeAvailableMetricsResponse) SetStatusCode

func (DescribeAvailableMetricsResponse) String

type DescribeAvailableMetricsResponseBody

type DescribeAvailableMetricsResponseBody struct {
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// Details of the Enhanced Monitoring metric.
	Items []*DescribeAvailableMetricsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of enhanced monitoring metrics that are available for the instance.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeAvailableMetricsResponseBody) GoString

func (*DescribeAvailableMetricsResponseBody) SetDBInstanceName

func (*DescribeAvailableMetricsResponseBody) SetRequestId

func (*DescribeAvailableMetricsResponseBody) SetTotalRecordCount

func (DescribeAvailableMetricsResponseBody) String

type DescribeAvailableMetricsResponseBodyItems

type DescribeAvailableMetricsResponseBodyItems struct {
	// The description of the Enhanced Monitoring metric.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The category of the Enhanced Monitoring metric. Valid values:
	//
	// *   **os**: OS metric
	// *   **db**: database metric
	Dimension *string `json:"Dimension,omitempty" xml:"Dimension,omitempty"`
	// The key of the group to which the Enhanced Monitoring metric belongs.
	GroupKey *string `json:"GroupKey,omitempty" xml:"GroupKey,omitempty"`
	// The name of the group to which the Enhanced Monitoring metric belongs.
	GroupKeyType *string `json:"GroupKeyType,omitempty" xml:"GroupKeyType,omitempty"`
	// The method that is used to aggregate the monitoring data of the Enhanced Monitoring metric. Valid values:
	//
	// *   **avg**: The system calculates the average value of the Enhanced Monitoring metric.
	// *   **min**: The system calculates the minimum value of the Enhanced Monitoring metric.
	// *   **max**: The system calculates the maximum value of the Enhanced Monitoring metric.
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The key of the Enhanced Monitoring metric.
	MetricsKey *string `json:"MetricsKey,omitempty" xml:"MetricsKey,omitempty"`
	// The alias of the Enhanced Monitoring metric.
	MetricsKeyAlias *string `json:"MetricsKeyAlias,omitempty" xml:"MetricsKeyAlias,omitempty"`
	// The serial number of the Enhanced Monitoring metric.
	SortRule *int32 `json:"SortRule,omitempty" xml:"SortRule,omitempty"`
	// The unit of the Enhanced Monitoring metric.
	Unit *string `json:"Unit,omitempty" xml:"Unit,omitempty"`
}

func (DescribeAvailableMetricsResponseBodyItems) GoString

func (*DescribeAvailableMetricsResponseBodyItems) SetDescription

func (*DescribeAvailableMetricsResponseBodyItems) SetDimension

func (*DescribeAvailableMetricsResponseBodyItems) SetGroupKey

func (*DescribeAvailableMetricsResponseBodyItems) SetGroupKeyType

func (*DescribeAvailableMetricsResponseBodyItems) SetMethod

func (*DescribeAvailableMetricsResponseBodyItems) SetMetricsKey

func (*DescribeAvailableMetricsResponseBodyItems) SetMetricsKeyAlias

func (*DescribeAvailableMetricsResponseBodyItems) SetSortRule

func (*DescribeAvailableMetricsResponseBodyItems) SetUnit

func (DescribeAvailableMetricsResponseBodyItems) String

type DescribeAvailableRecoveryTimeRequest

type DescribeAvailableRecoveryTimeRequest struct {
	// The ID of the cross-region backup file. You can call the DescribeCrossRegionBackups operation to query the backup file ID.
	CrossBackupId *int32 `json:"CrossBackupId,omitempty" xml:"CrossBackupId,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeAvailableRecoveryTimeRequest) GoString

func (*DescribeAvailableRecoveryTimeRequest) SetCrossBackupId

func (*DescribeAvailableRecoveryTimeRequest) SetDBInstanceId

func (*DescribeAvailableRecoveryTimeRequest) SetOwnerId

func (*DescribeAvailableRecoveryTimeRequest) SetRegionId

func (*DescribeAvailableRecoveryTimeRequest) SetResourceGroupId

func (*DescribeAvailableRecoveryTimeRequest) SetResourceOwnerAccount

func (*DescribeAvailableRecoveryTimeRequest) SetResourceOwnerId

func (DescribeAvailableRecoveryTimeRequest) String

type DescribeAvailableRecoveryTimeResponse

type DescribeAvailableRecoveryTimeResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAvailableRecoveryTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAvailableRecoveryTimeResponse) GoString

func (*DescribeAvailableRecoveryTimeResponse) SetHeaders

func (*DescribeAvailableRecoveryTimeResponse) SetStatusCode

func (DescribeAvailableRecoveryTimeResponse) String

type DescribeAvailableRecoveryTimeResponseBody

type DescribeAvailableRecoveryTimeResponseBody struct {
	// The ID of the cross-region data backup file.
	CrossBackupId *int32 `json:"CrossBackupId,omitempty" xml:"CrossBackupId,omitempty"`
	// The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	RecoveryBeginTime *string `json:"RecoveryBeginTime,omitempty" xml:"RecoveryBeginTime,omitempty"`
	// The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	RecoveryEndTime *string `json:"RecoveryEndTime,omitempty" xml:"RecoveryEndTime,omitempty"`
	// The region where the source instance resides.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailableRecoveryTimeResponseBody) GoString

func (*DescribeAvailableRecoveryTimeResponseBody) SetCrossBackupId

func (*DescribeAvailableRecoveryTimeResponseBody) SetRecoveryBeginTime

func (*DescribeAvailableRecoveryTimeResponseBody) SetRecoveryEndTime

func (*DescribeAvailableRecoveryTimeResponseBody) SetRegionId

func (*DescribeAvailableRecoveryTimeResponseBody) SetRequestId

func (DescribeAvailableRecoveryTimeResponseBody) String

type DescribeAvailableZonesRequest

type DescribeAvailableZonesRequest struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   Regular instance
	//
	//     *   **Basic**: RDS Basic Edition.
	//     *   **HighAvailability**: RDS High-availability Edition.
	//     *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	//     *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server.
	//     *   **Finance**: RDS Enterprise Edition.
	//
	// *   Serverless instance
	//
	//     *   **serverless_basic**: RDS Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL.
	//     *   **serverless_standard**: RDS High-availability Edition for ApsaraDB RDS for MySQL.
	//     *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The commodity code of the instance. This operation can return the resources that you can purchase based on the specified commodity code. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).
	// *   **rds**: The instance is a subscription primary instance. This value is available at the China site (aliyun.com).
	// *   **rords**: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_intl**: The instance is a subscription primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_serverless_public_cn**: The instance is a serverless instance. This value is available at the China site (aliyun.com).
	// *   **rds_serverless_public_intl**: The instance is a serverless instance. This value is available at the International site (alibabacloud.com).
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The ID of the primary instance. If you want to query the read-only instances that you can purchase for a primary instance, you can specify this parameter.
	//
	// If you set **CommodityCode** to one of the following values, you must specify this parameter:
	//
	// *   **rords_intl**
	// *   **rds_rordspre_public_intl**
	// *   **rords**
	// *   **rds_rordspre_public_cn**
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// Specifies whether to return the zones in which the single-zone deployment method is supported. Valid values:
	//
	// *   **1** (default): returns the zones.
	// *   **0**: does not return the zones.
	//
	// >  The single-zone deployment method allows you to deploy an instance that runs RDS Enterprise Edition in a single zone.
	DispenseMode *string `json:"DispenseMode,omitempty" xml:"DispenseMode,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version. Valid values:
	//
	// *   Regular instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2008r2**, **08r2\_ent_ha**, **2012**, **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2014\_std_ha**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_std_ha**, **2017\_ent**, **2019\_std_ha**, and **2019\_ent**
	//     *   Valid values if you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	//     *   Valid value when you set Engine to MariaDB: **10.3**
	//
	// *   Serverless instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.7** and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2016\_std_sl**, **2017\_std_sl**, and **2019\_std_sl**
	//     *   Valid value if you set Engine to PostgreSQL: **14.0**
	//
	//     **
	//
	//     **Note**ApsaraDB RDS for MariaDB does not support serverless instances.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~610399~~) operation to query the most recent region list.
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID of the instance. If the instance spans more than one zone, the value of this parameter contains an `MAZ` part, such as `cn-hangzhou-MAZ6(b,f)` and `cn-hangzhou-MAZ5(b,e,f)`. You can call the [DescribeRegions](~~26243~~) operation to query the most recent zone list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailableZonesRequest) GoString

func (*DescribeAvailableZonesRequest) SetCategory

func (*DescribeAvailableZonesRequest) SetCommodityCode

func (*DescribeAvailableZonesRequest) SetDBInstanceName

func (*DescribeAvailableZonesRequest) SetDispenseMode

func (*DescribeAvailableZonesRequest) SetEngine

func (*DescribeAvailableZonesRequest) SetEngineVersion

func (*DescribeAvailableZonesRequest) SetRegionId

func (*DescribeAvailableZonesRequest) SetResourceOwnerId

func (*DescribeAvailableZonesRequest) SetZoneId

func (DescribeAvailableZonesRequest) String

type DescribeAvailableZonesResponse

type DescribeAvailableZonesResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeAvailableZonesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeAvailableZonesResponse) GoString

func (*DescribeAvailableZonesResponse) SetHeaders

func (*DescribeAvailableZonesResponse) SetStatusCode

func (DescribeAvailableZonesResponse) String

type DescribeAvailableZonesResponseBody

type DescribeAvailableZonesResponseBody struct {
	// The available zones in the region.
	AvailableZones []*DescribeAvailableZonesResponseBodyAvailableZones `json:"AvailableZones,omitempty" xml:"AvailableZones,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAvailableZonesResponseBody) GoString

func (*DescribeAvailableZonesResponseBody) SetRequestId

func (DescribeAvailableZonesResponseBody) String

type DescribeAvailableZonesResponseBodyAvailableZones

type DescribeAvailableZonesResponseBodyAvailableZones struct {
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The database engines that are available for purchase.
	SupportedEngines []*DescribeAvailableZonesResponseBodyAvailableZonesSupportedEngines `json:"SupportedEngines,omitempty" xml:"SupportedEngines,omitempty" type:"Repeated"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeAvailableZonesResponseBodyAvailableZones) GoString

func (*DescribeAvailableZonesResponseBodyAvailableZones) SetRegionId

func (*DescribeAvailableZonesResponseBodyAvailableZones) SetZoneId

func (DescribeAvailableZonesResponseBodyAvailableZones) String

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEngines

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEngines struct {
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine versions that are available for purchase.
	SupportedEngineVersions []*DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersions `json:"SupportedEngineVersions,omitempty" xml:"SupportedEngineVersions,omitempty" type:"Repeated"`
}

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEngines) GoString

func (*DescribeAvailableZonesResponseBodyAvailableZonesSupportedEngines) SetEngine

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEngines) String

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersions

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersions struct {
	// The RDS editions that are available that are available for purchase.
	SupportedCategorys []*DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorys `json:"SupportedCategorys,omitempty" xml:"SupportedCategorys,omitempty" type:"Repeated"`
	// The database engine version.
	Version *string `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersions) GoString

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersions) String

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorys

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorys struct {
	// The RDS edition of the instance.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The storage types that are available for purchase.
	SupportedStorageTypes []*DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorysSupportedStorageTypes `json:"SupportedStorageTypes,omitempty" xml:"SupportedStorageTypes,omitempty" type:"Repeated"`
}

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorys) GoString

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorys) String

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorysSupportedStorageTypes

type DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorysSupportedStorageTypes struct {
	// The storage type of the instance.
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
}

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorysSupportedStorageTypes) GoString

func (DescribeAvailableZonesResponseBodyAvailableZonesSupportedEnginesSupportedEngineVersionsSupportedCategorysSupportedStorageTypes) String

type DescribeBackupDatabaseRequest

type DescribeBackupDatabaseRequest struct {
	// The ID of the backup set.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (DescribeBackupDatabaseRequest) GoString

func (*DescribeBackupDatabaseRequest) SetBackupId

func (*DescribeBackupDatabaseRequest) SetDBInstanceId

func (*DescribeBackupDatabaseRequest) SetOwnerId

func (*DescribeBackupDatabaseRequest) SetResourceOwnerAccount

func (*DescribeBackupDatabaseRequest) SetResourceOwnerId

func (DescribeBackupDatabaseRequest) String

type DescribeBackupDatabaseResponse

type DescribeBackupDatabaseResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeBackupDatabaseResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeBackupDatabaseResponse) GoString

func (*DescribeBackupDatabaseResponse) SetHeaders

func (*DescribeBackupDatabaseResponse) SetStatusCode

func (DescribeBackupDatabaseResponse) String

type DescribeBackupDatabaseResponseBody

type DescribeBackupDatabaseResponseBody struct {
	// The name of the database. Format: "db1,db2".
	DatabaseNames *string `json:"DatabaseNames,omitempty" xml:"DatabaseNames,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBackupDatabaseResponseBody) GoString

func (*DescribeBackupDatabaseResponseBody) SetDatabaseNames

func (*DescribeBackupDatabaseResponseBody) SetRequestId

func (DescribeBackupDatabaseResponseBody) String

type DescribeBackupPolicyRequest

type DescribeBackupPolicyRequest struct {
	// The backup type. Valid values:
	//
	// *   **DataBackupPolicy**: data backup
	// *   **LogBackupPolicy**: log backup
	BackupPolicyMode *string `json:"BackupPolicyMode,omitempty" xml:"BackupPolicyMode,omitempty"`
	// The method that is used to compress backup data. Valid values:
	//
	// *   **0**: Backup data is not compressed.
	// *   **1**: Backup data is compressed by using zlib.
	// *   **2**: Backup data is compressed by using zlib that invokes more than one thread in parallel for each backup.
	// *   **4**: Backup data is compressed by using QuickLZ and can be used to restore individual databases and tables.
	// *   **8**: Backup data is compressed by using QuickLZ but cannot be used to restore individual databases or tables. This value is available only when the instance runs MySQL 8.0.
	CompressType *string `json:"CompressType,omitempty" xml:"CompressType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The policy that is used to retain archived backup files if the instance is released. Valid values:
	//
	// *   **None**: No archived backup files are retained.
	// *   **Lastest**: Only the last archived backup file is retained.
	// *   **All**: All archived backup files are retained.
	ReleasedKeepPolicy   *string `json:"ReleasedKeepPolicy,omitempty" xml:"ReleasedKeepPolicy,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeBackupPolicyRequest) GoString

func (s DescribeBackupPolicyRequest) GoString() string

func (*DescribeBackupPolicyRequest) SetBackupPolicyMode

func (*DescribeBackupPolicyRequest) SetCompressType

func (*DescribeBackupPolicyRequest) SetDBInstanceId

func (*DescribeBackupPolicyRequest) SetOwnerAccount

func (*DescribeBackupPolicyRequest) SetOwnerId

func (*DescribeBackupPolicyRequest) SetReleasedKeepPolicy

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

func (*DescribeBackupPolicyRequest) SetResourceOwnerAccount

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

func (*DescribeBackupPolicyRequest) SetResourceOwnerId

func (DescribeBackupPolicyRequest) String

type DescribeBackupPolicyResponse

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

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 number of archived backup files that are retained.
	ArchiveBackupKeepCount *string `json:"ArchiveBackupKeepCount,omitempty" xml:"ArchiveBackupKeepCount,omitempty"`
	// The cycle based on which archived backup files are retained.
	ArchiveBackupKeepPolicy *string `json:"ArchiveBackupKeepPolicy,omitempty" xml:"ArchiveBackupKeepPolicy,omitempty"`
	// The number of days for which archived backup files are retained.
	ArchiveBackupRetentionPeriod *string `json:"ArchiveBackupRetentionPeriod,omitempty" xml:"ArchiveBackupRetentionPeriod,omitempty"`
	// The backup interval. Unit: minutes.
	//
	// *   If the instance runs MySQL, the interval is the same as the value of the Snapshot Backup Start Time parameter rather than the Snapshot Backup Period parameter in the ApsaraDB RDS console. For more information, see [Back up an ApsaraDB RDS for MySQL instance](~~98818~~).
	// *   If the instance runs SQL Server, the interval is the same as the log backup frequency.
	BackupInterval *string `json:"BackupInterval,omitempty" xml:"BackupInterval,omitempty"`
	// Indicates whether the log backup feature is enabled. Valid values:
	//
	// *   **Enable**
	// *   **Disabled**
	BackupLog *string `json:"BackupLog,omitempty" xml:"BackupLog,omitempty"`
	// The backup method of the instance. Valid values:
	//
	// *   **Physical**: physical backup
	// *   **Snapshot**: snapshot backup
	//
	// > This parameter is returned only when the instance runs SQL Server and uses cloud disks.
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The backup settings of the secondary instance. Valid values:
	//
	// *   **1**: Secondary instance preferred
	// *   **2**: Primary instance preferred
	//
	// >  This parameter is available only for instances that run SQL Server on RDS Cluster Edition. This parameter is returned only when SupportModifyBackupPriority is set to True.
	BackupPriority *int32 `json:"BackupPriority,omitempty" xml:"BackupPriority,omitempty"`
	// The number of days for which data backup files are retained.
	BackupRetentionPeriod *int32 `json:"BackupRetentionPeriod,omitempty" xml:"BackupRetentionPeriod,omitempty"`
	// Indicates whether to enable the single-digit second backup feature. This feature allows ApsaraDB RDS to complete a backup within single-digit seconds. Valid values:
	//
	// *   **Flash**: The single-digit second backup feature is enabled.
	// *   **Standard**: The single-digit second backup feature is disabled.
	//
	// > This parameter takes effect only when you set the **BackupPolicyMode** parameter to **DataBackupPolicy**.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The method that is used to compress backup data. Valid values:
	//
	// *   **0**: Backup data is not compressed.
	// *   **1**: Backup data is compressed by using zlib.
	// *   **2**: Backup data is compressed by using zlib that invokes more than one thread in parallel for each backup.
	// *   **4**: Backup data is compressed by using QuickLZ and can be used to restore individual databases and tables.
	// *   **8**: Backup data is compressed by using QuickLZ but cannot be used to restore individual databases or tables. This value is available only when the instance runs MySQL 8.0.
	CompressType *string `json:"CompressType,omitempty" xml:"CompressType,omitempty"`
	// Indicates whether the log backup feature is enabled. Valid values:
	//
	// *   **1**: The log backup feature is enabled.
	// *   **0**: The log backup feature is disabled.
	EnableBackupLog *string `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// Indicates whether incremental backup is enabled. Valid values:
	//
	// *   **True**: Incremental backup is enabled.
	// *   **False**: Incremental backup is disabled.
	EnableIncrementDataBackup *bool `json:"EnableIncrementDataBackup,omitempty" xml:"EnableIncrementDataBackup,omitempty"`
	// Indicates whether the log backup deletion feature is enabled. If the disk usage exceeds 80% or the remaining disk space is less than 5 GB on the instance, this feature deletes binary log files. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	HighSpaceUsageProtection *string `json:"HighSpaceUsageProtection,omitempty" xml:"HighSpaceUsageProtection,omitempty"`
	// The number of hours for which log backup files are retained on the instance.
	LocalLogRetentionHours *int32 `json:"LocalLogRetentionHours,omitempty" xml:"LocalLogRetentionHours,omitempty"`
	// The maximum storage usage that is allowed for log files on the instance.
	LocalLogRetentionSpace *string `json:"LocalLogRetentionSpace,omitempty" xml:"LocalLogRetentionSpace,omitempty"`
	// The backup frequency of logs. Valid values:
	//
	// *   **LogInterval**: Log backups are performed every 30 minutes.
	// *   Default value: same as the value of the **PreferredBackupPeriod** parameter.
	//
	// > The **LogBackupFrequency** parameter is supported only when the instance runs **SQL Server**.
	LogBackupFrequency *string `json:"LogBackupFrequency,omitempty" xml:"LogBackupFrequency,omitempty"`
	// The number of binary log files that you want to retain on the instance.
	LogBackupLocalRetentionNumber *int32 `json:"LogBackupLocalRetentionNumber,omitempty" xml:"LogBackupLocalRetentionNumber,omitempty"`
	// The number of days for which log backup files are retained.
	LogBackupRetentionPeriod *int32 `json:"LogBackupRetentionPeriod,omitempty" xml:"LogBackupRetentionPeriod,omitempty"`
	// The cycle based on which you want to perform a backup. Separate multiple values with commas (,). Valid values:
	//
	// *   **Monday**
	// *   **Tuesday**
	// *   **Wednesday**
	// *   **Thursday**
	// *   **Friday**
	// *   **Saturday**
	// *   **Sunday**
	PreferredBackupPeriod *string `json:"PreferredBackupPeriod,omitempty" xml:"PreferredBackupPeriod,omitempty"`
	// The time when a data backup is performed. The time follows the ISO 8601 standard in the *HH:mm*Z-*HH:mm*Z format. The time is displayed in UTC.
	PreferredBackupTime *string `json:"PreferredBackupTime,omitempty" xml:"PreferredBackupTime,omitempty"`
	// The time when the next backup is performed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	PreferredNextBackupTime *string `json:"PreferredNextBackupTime,omitempty" xml:"PreferredNextBackupTime,omitempty"`
	// The policy that is used to retain archived backup files if the instance is released. Valid values:
	//
	// *   **None**: No archived backup files are retained.
	// *   **Lastest**: Only the last archived backup file is retained.
	// *   **All**: All archived backup files are retained.
	ReleasedKeepPolicy *string `json:"ReleasedKeepPolicy,omitempty" xml:"ReleasedKeepPolicy,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the backup settings of a secondary instance can be modified. Valid values:
	//
	// *   **True**
	// *   **False**
	SupportModifyBackupPriority *bool `json:"SupportModifyBackupPriority,omitempty" xml:"SupportModifyBackupPriority,omitempty"`
	// A reserved parameter.
	SupportReleasedKeep *int32 `json:"SupportReleasedKeep,omitempty" xml:"SupportReleasedKeep,omitempty"`
	// Indicates whether the instance supports snapshot backups. Valid values:
	//
	// *   **1**: The instance supports snapshot backups.
	// *   **0**: The instance does not support snapshot backups.
	//
	// > This parameter is returned only when the instance runs SQL Server.
	SupportVolumeShadowCopy *int32 `json:"SupportVolumeShadowCopy,omitempty" xml:"SupportVolumeShadowCopy,omitempty"`
}

func (DescribeBackupPolicyResponseBody) GoString

func (*DescribeBackupPolicyResponseBody) SetArchiveBackupKeepCount

func (*DescribeBackupPolicyResponseBody) SetArchiveBackupKeepPolicy

func (*DescribeBackupPolicyResponseBody) SetArchiveBackupRetentionPeriod

func (s *DescribeBackupPolicyResponseBody) SetArchiveBackupRetentionPeriod(v string) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetBackupInterval

func (*DescribeBackupPolicyResponseBody) SetBackupLog

func (*DescribeBackupPolicyResponseBody) SetBackupMethod

func (*DescribeBackupPolicyResponseBody) SetBackupPriority added in v3.0.8

func (*DescribeBackupPolicyResponseBody) SetBackupRetentionPeriod

func (*DescribeBackupPolicyResponseBody) SetCategory

func (*DescribeBackupPolicyResponseBody) SetCompressType

func (*DescribeBackupPolicyResponseBody) SetEnableBackupLog

func (*DescribeBackupPolicyResponseBody) SetEnableIncrementDataBackup

func (s *DescribeBackupPolicyResponseBody) SetEnableIncrementDataBackup(v bool) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetHighSpaceUsageProtection

func (*DescribeBackupPolicyResponseBody) SetLocalLogRetentionHours

func (*DescribeBackupPolicyResponseBody) SetLocalLogRetentionSpace

func (*DescribeBackupPolicyResponseBody) SetLogBackupFrequency

func (*DescribeBackupPolicyResponseBody) SetLogBackupLocalRetentionNumber

func (s *DescribeBackupPolicyResponseBody) SetLogBackupLocalRetentionNumber(v int32) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetLogBackupRetentionPeriod

func (s *DescribeBackupPolicyResponseBody) SetLogBackupRetentionPeriod(v int32) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetPreferredBackupPeriod

func (*DescribeBackupPolicyResponseBody) SetPreferredBackupTime

func (*DescribeBackupPolicyResponseBody) SetPreferredNextBackupTime

func (*DescribeBackupPolicyResponseBody) SetReleasedKeepPolicy

func (*DescribeBackupPolicyResponseBody) SetRequestId

func (*DescribeBackupPolicyResponseBody) SetSupportModifyBackupPriority added in v3.0.8

func (s *DescribeBackupPolicyResponseBody) SetSupportModifyBackupPriority(v bool) *DescribeBackupPolicyResponseBody

func (*DescribeBackupPolicyResponseBody) SetSupportReleasedKeep

func (*DescribeBackupPolicyResponseBody) SetSupportVolumeShadowCopy

func (DescribeBackupPolicyResponseBody) String

type DescribeBackupTasksRequest

type DescribeBackupTasksRequest struct {
	// The ID of the backup task.
	BackupJobId *int32 `json:"BackupJobId,omitempty" xml:"BackupJobId,omitempty"`
	// The status of the backup task. Valid values:
	//
	// *   **NoStart**
	// *   **Progressing**
	//
	// By default, this operation returns backup tasks in both states.
	BackupJobStatus *string `json:"BackupJobStatus,omitempty" xml:"BackupJobStatus,omitempty"`
	// The backup mode. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// Specifies 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// A reserved parameter.
	Flag                 *string `json:"Flag,omitempty" xml:"Flag,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 (DescribeBackupTasksRequest) GoString

func (s DescribeBackupTasksRequest) GoString() string

func (*DescribeBackupTasksRequest) SetBackupJobId

func (*DescribeBackupTasksRequest) SetBackupJobStatus

func (*DescribeBackupTasksRequest) SetBackupMode

func (*DescribeBackupTasksRequest) SetClientToken

func (*DescribeBackupTasksRequest) SetDBInstanceId

func (*DescribeBackupTasksRequest) SetFlag

func (*DescribeBackupTasksRequest) SetOwnerAccount

func (*DescribeBackupTasksRequest) SetOwnerId

func (*DescribeBackupTasksRequest) SetResourceOwnerAccount

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

func (*DescribeBackupTasksRequest) SetResourceOwnerId

func (DescribeBackupTasksRequest) String

type DescribeBackupTasksResponse

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

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 backup tasks.
	Items *DescribeBackupTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBackupTasksResponseBody) GoString

func (*DescribeBackupTasksResponseBody) SetRequestId

func (DescribeBackupTasksResponseBody) String

type DescribeBackupTasksResponseBodyItems

type DescribeBackupTasksResponseBodyItems struct {
	BackupJob []*DescribeBackupTasksResponseBodyItemsBackupJob `json:"BackupJob,omitempty" xml:"BackupJob,omitempty" type:"Repeated"`
}

func (DescribeBackupTasksResponseBodyItems) GoString

func (DescribeBackupTasksResponseBodyItems) String

type DescribeBackupTasksResponseBodyItemsBackupJob

type DescribeBackupTasksResponseBodyItemsBackupJob struct {
	// The ID of the backup set that is generated by the backup task.
	//
	// >  If the value of the **BackupStatus** parameter is **Finished**, you can view the backup set ID only if you configure the **BackupJobId** parameter.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the backup task.
	BackupJobId *string `json:"BackupJobId,omitempty" xml:"BackupJobId,omitempty"`
	// The status of the backup program. Valid values:
	//
	// *   **NoStart**
	// *   **Preparing**
	// *   **Waiting**
	// *   **Uploading**
	// *   **Checking**
	// *   **Finished**
	BackupProgressStatus *string `json:"BackupProgressStatus,omitempty" xml:"BackupProgressStatus,omitempty"`
	// The status of the backup task. Valid values:
	//
	// *   **NoStart**
	// *   **Checking**
	// *   **Preparing**
	// *   **Waiting**
	// *   **Uploading**
	// *   **Finished**
	// *   **Failed**
	//
	// >  This parameter is returned only after a backup task is run.
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The backup mode. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	JobMode *string `json:"JobMode,omitempty" xml:"JobMode,omitempty"`
	// The progress of the task in percentage.
	Process *string `json:"Process,omitempty" xml:"Process,omitempty"`
	// The type of the task. Valid values:
	//
	// *   **TempBackupTask**: The backup task is an adhoc backup task.
	// *   **NormalBackupTask**: The backup task is a common backup task.
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
}

func (DescribeBackupTasksResponseBodyItemsBackupJob) GoString

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetBackupId

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetBackupJobId

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetBackupProgressStatus

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetBackupStatus

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetJobMode

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetProcess

func (*DescribeBackupTasksResponseBodyItemsBackupJob) SetTaskAction

func (DescribeBackupTasksResponseBodyItemsBackupJob) String

type DescribeBackupsRequest

type DescribeBackupsRequest struct {
	// The ID of the backup set.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The backup mode. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The status of the backup set. Valid values:
	//
	// *   **Success**
	// *   **Failed**
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The backup type. Valid values:
	//
	// *   **FullBackup**: full backup
	// *   **IncrementalBackup**: incremental backup
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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*Z format. The time must be in UTC.
	//
	// > We recommend that you specify a time range that is as short as possible to avoid timeout.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeBackupsRequest) GoString

func (s DescribeBackupsRequest) GoString() string

func (*DescribeBackupsRequest) SetBackupId

func (*DescribeBackupsRequest) SetBackupMode

func (*DescribeBackupsRequest) SetBackupStatus

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

func (*DescribeBackupsRequest) SetBackupType

func (*DescribeBackupsRequest) SetDBInstanceId

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

func (*DescribeBackupsRequest) SetEndTime

func (*DescribeBackupsRequest) SetPageNumber

func (*DescribeBackupsRequest) SetPageSize

func (*DescribeBackupsRequest) SetResourceGroupId

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

func (*DescribeBackupsRequest) SetResourceOwnerId

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

func (*DescribeBackupsRequest) SetStartTime

func (DescribeBackupsRequest) String

func (s DescribeBackupsRequest) String() string

type DescribeBackupsResponse

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

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 queried backup sets.
	Items *DescribeBackupsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of backup sets on the current page.
	PageRecordCount *string `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The size of the snapshot chain of the instance. Unit: bytes.
	TotalEcsSnapshotSize *int64 `json:"TotalEcsSnapshotSize,omitempty" xml:"TotalEcsSnapshotSize,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *string `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeBackupsResponseBody) GoString

func (s DescribeBackupsResponseBody) GoString() string

func (*DescribeBackupsResponseBody) SetItems

func (*DescribeBackupsResponseBody) SetPageNumber

func (*DescribeBackupsResponseBody) SetPageRecordCount

func (*DescribeBackupsResponseBody) SetRequestId

func (*DescribeBackupsResponseBody) SetTotalEcsSnapshotSize

func (s *DescribeBackupsResponseBody) SetTotalEcsSnapshotSize(v int64) *DescribeBackupsResponseBody

func (*DescribeBackupsResponseBody) SetTotalRecordCount

func (DescribeBackupsResponseBody) String

type DescribeBackupsResponseBodyItems

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

func (DescribeBackupsResponseBodyItems) GoString

func (DescribeBackupsResponseBodyItems) String

type DescribeBackupsResponseBodyItemsBackup

type DescribeBackupsResponseBodyItemsBackup struct {
	// An array consisting of URLs from which you can download backup sets of individual databases.
	BackupDownloadLinkByDB *DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDB `json:"BackupDownloadLinkByDB,omitempty" xml:"BackupDownloadLinkByDB,omitempty" type:"Struct"`
	// The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, null is returned.
	//
	// >  For example, if BackupMethod of an ApsaraDB RDS for SQL Server instance is set to **Snapshot**, a null string is returned.
	BackupDownloadURL *string `json:"BackupDownloadURL,omitempty" xml:"BackupDownloadURL,omitempty"`
	// The end time of the backup task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	BackupEndTime *string `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	// The ID of the backup set.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The initiator of the backup task. Valid values:
	//
	// *   **System**
	// *   **User**
	BackupInitiator *string `json:"BackupInitiator,omitempty" xml:"BackupInitiator,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.
	//
	// >  For example, if BackupMethod of an ApsaraDB RDS for SQL Server instance is set to **Snapshot**, a null string is returned.
	BackupIntranetDownloadURL *string `json:"BackupIntranetDownloadURL,omitempty" xml:"BackupIntranetDownloadURL,omitempty"`
	// The method that is used to generate the backup set. Valid values:
	//
	// *   **Logical**: logical backup
	// *   **Physical**: physical backup
	// *   **Snapshot**: snapshot backup
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The backup mode of the backup set. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The size of the data backup file. Unit: bytes.
	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*Z format. The time is displayed in UTC.
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The state of the backup set.
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The backup type of the backup set. Valid values:
	//
	// *   **FullBackup**
	// *   **IncrementalBackup**
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// The checksum. The value of this parameter is calculated by using the CRC64 algorithm.
	Checksum *string `json:"Checksum,omitempty" xml:"Checksum,omitempty"`
	// The point in time at which the data in the backup set is consistent. The return value of this parameter is a timestamp.
	//
	// >  If the instance runs MySQL 5.6, a timestamp is returned. Otherwise, the value 0 is returned.
	ConsistentTime *int64 `json:"ConsistentTime,omitempty" xml:"ConsistentTime,omitempty"`
	// The backup mode of the backup set. Valid values:
	//
	// *   0: the standard mode. This mode supports full backups and incremental backups.
	// *   1: the copy-only mode. This mode supports only full backups.
	//
	// >  This parameter is returned only when the instance runs SQL Server.
	CopyOnlyBackup *string `json:"CopyOnlyBackup,omitempty" xml:"CopyOnlyBackup,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The encryption information about the backup set.
	Encryption *string `json:"Encryption,omitempty" xml:"Encryption,omitempty"`
	// The ID of the instance that generates the backup set. This parameter is used to indicate whether the instance that generates the backup set is a primary instance or a secondary instance.
	HostInstanceID *string `json:"HostInstanceID,omitempty" xml:"HostInstanceID,omitempty"`
	// Indicates whether the backup set is available. Valid values:
	//
	// *   **0**: The backup set is unavailable.
	// *   **1**: The backup set is available.
	IsAvail *int32 `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
	// The status of the backup set that is used to restore individual databases or tables. Valid values:
	//
	// *   **OK**: The data backup file is normal.
	// *   **LARGE**: The data backup file contains an abnormally large number of tables. It cannot be used to restore individual databases or tables.
	// *   **EMPTY**: The data backup file is generated from a failed backup task.
	//
	// >  If an empty string is returned, the data backup file cannot be used to restore individual databases or tables.
	MetaStatus *string `json:"MetaStatus,omitempty" xml:"MetaStatus,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The storage class of the backup set. Valid values:
	//
	// *   **0**: regular storage
	// *   **1**: archive storage
	StorageClass *string `json:"StorageClass,omitempty" xml:"StorageClass,omitempty"`
	// Indicates whether the backup set can be deleted. Valid values:
	//
	// *   **Enabled**: The backup set can be deleted.
	// *   **Disabled**: The backup set cannot be deleted.
	StoreStatus *string `json:"StoreStatus,omitempty" xml:"StoreStatus,omitempty"`
}

func (DescribeBackupsResponseBodyItemsBackup) GoString

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupDownloadURL

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupEndTime

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupId

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupInitiator

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupIntranetDownloadURL

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupMethod

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupMode

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupSize

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupStartTime

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupStatus

func (*DescribeBackupsResponseBodyItemsBackup) SetBackupType

func (*DescribeBackupsResponseBodyItemsBackup) SetChecksum

func (*DescribeBackupsResponseBodyItemsBackup) SetConsistentTime

func (*DescribeBackupsResponseBodyItemsBackup) SetCopyOnlyBackup

func (*DescribeBackupsResponseBodyItemsBackup) SetDBInstanceId

func (*DescribeBackupsResponseBodyItemsBackup) SetEncryption

func (*DescribeBackupsResponseBodyItemsBackup) SetHostInstanceID

func (*DescribeBackupsResponseBodyItemsBackup) SetIsAvail

func (*DescribeBackupsResponseBodyItemsBackup) SetMetaStatus

func (*DescribeBackupsResponseBodyItemsBackup) SetResourceGroupId

func (*DescribeBackupsResponseBodyItemsBackup) SetStorageClass

func (*DescribeBackupsResponseBodyItemsBackup) SetStoreStatus

func (DescribeBackupsResponseBodyItemsBackup) String

type DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDB

type DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDB struct {
	BackupDownloadLinkByDB []*DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDBBackupDownloadLinkByDB `json:"BackupDownloadLinkByDB,omitempty" xml:"BackupDownloadLinkByDB,omitempty" type:"Repeated"`
}

func (DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDB) GoString

func (DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDB) String

type DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDBBackupDownloadLinkByDB

type DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDBBackupDownloadLinkByDB struct {
	// The name of the database.
	DataBase *string `json:"DataBase,omitempty" xml:"DataBase,omitempty"`
	// The public URL from which you can download the backup set.
	DownloadLink *string `json:"DownloadLink,omitempty" xml:"DownloadLink,omitempty"`
	// The internal URL from which you can download the backup set.
	IntranetDownloadLink *string `json:"IntranetDownloadLink,omitempty" xml:"IntranetDownloadLink,omitempty"`
}

func (DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDBBackupDownloadLinkByDB) GoString

func (*DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDBBackupDownloadLinkByDB) SetDataBase

func (DescribeBackupsResponseBodyItemsBackupBackupDownloadLinkByDBBackupDownloadLinkByDB) String

type DescribeBinlogFilesRequest

type DescribeBinlogFilesRequest struct {
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: **30** to **100**.
	//
	// Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeBinlogFilesRequest) GoString

func (s DescribeBinlogFilesRequest) GoString() string

func (*DescribeBinlogFilesRequest) SetDBInstanceId

func (*DescribeBinlogFilesRequest) SetEndTime

func (*DescribeBinlogFilesRequest) SetOwnerAccount

func (*DescribeBinlogFilesRequest) SetOwnerId

func (*DescribeBinlogFilesRequest) SetPageNumber

func (*DescribeBinlogFilesRequest) SetPageSize

func (*DescribeBinlogFilesRequest) SetResourceOwnerAccount

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

func (*DescribeBinlogFilesRequest) SetResourceOwnerId

func (*DescribeBinlogFilesRequest) SetStartTime

func (DescribeBinlogFilesRequest) String

type DescribeBinlogFilesResponse

type DescribeBinlogFilesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeBinlogFilesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeBinlogFilesResponse) GoString

func (s DescribeBinlogFilesResponse) GoString() string

func (*DescribeBinlogFilesResponse) SetBody

func (*DescribeBinlogFilesResponse) SetHeaders

func (*DescribeBinlogFilesResponse) SetStatusCode

func (DescribeBinlogFilesResponse) String

type DescribeBinlogFilesResponseBody

type DescribeBinlogFilesResponseBody struct {
	// The details of the log file.
	Items *DescribeBinlogFilesResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of log files on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total size of the log file.
	TotalFileSize *int64 `json:"TotalFileSize,omitempty" xml:"TotalFileSize,omitempty"`
	// The total number of log files.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeBinlogFilesResponseBody) GoString

func (*DescribeBinlogFilesResponseBody) SetPageNumber

func (*DescribeBinlogFilesResponseBody) SetPageRecordCount

func (*DescribeBinlogFilesResponseBody) SetRequestId

func (*DescribeBinlogFilesResponseBody) SetTotalFileSize

func (*DescribeBinlogFilesResponseBody) SetTotalRecordCount

func (DescribeBinlogFilesResponseBody) String

type DescribeBinlogFilesResponseBodyItems

type DescribeBinlogFilesResponseBodyItems struct {
	BinLogFile []*DescribeBinlogFilesResponseBodyItemsBinLogFile `json:"BinLogFile,omitempty" xml:"BinLogFile,omitempty" type:"Repeated"`
}

func (DescribeBinlogFilesResponseBodyItems) GoString

func (DescribeBinlogFilesResponseBodyItems) String

type DescribeBinlogFilesResponseBodyItemsBinLogFile

type DescribeBinlogFilesResponseBodyItemsBinLogFile struct {
	// The checksum. The value of this parameter is calculated by using the CRC64 algorithm.
	Checksum *string `json:"Checksum,omitempty" xml:"Checksum,omitempty"`
	// The HTTP-based download URL of the log file. If the return value of this parameter is NULL, ApsaraDB RDS does not provide a download URL for the log file.
	DownloadLink *string `json:"DownloadLink,omitempty" xml:"DownloadLink,omitempty"`
	// The size of the log file.
	//
	// Unit: bytes.
	FileSize *int64 `json:"FileSize,omitempty" xml:"FileSize,omitempty"`
	// The ID of the instance to which the log file belongs. This parameter helps determine whether the log file is generated on the primary instance or the secondary instance.
	//
	// >  You can log on to the ApsaraDB RDS console and go to the instance details page. In the left-side navigation pane, click **Service Availability** to view the values of **Primary Instance No.** and **Secondary Instance No.**.
	HostInstanceID *string `json:"HostInstanceID,omitempty" xml:"HostInstanceID,omitempty"`
	// The URL that is used to download files over an internal network.
	IntranetDownloadLink *string `json:"IntranetDownloadLink,omitempty" xml:"IntranetDownloadLink,omitempty"`
	// The expiration time of the URL.
	//
	// The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LinkExpiredTime *string `json:"LinkExpiredTime,omitempty" xml:"LinkExpiredTime,omitempty"`
	// The beginning of the time range to query.
	//
	// The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogBeginTime *string `json:"LogBeginTime,omitempty" xml:"LogBeginTime,omitempty"`
	// The end of the time range to query.
	//
	// The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogEndTime *string `json:"LogEndTime,omitempty" xml:"LogEndTime,omitempty"`
	// The log file name.
	LogFileName *string `json:"LogFileName,omitempty" xml:"LogFileName,omitempty"`
	// The status of the log file that is stored in the Object Storage Service (OSS) bucket.
	//
	// Valid values:
	//
	// *   **Uploading**
	// *   **Completed**
	RemoteStatus *string `json:"RemoteStatus,omitempty" xml:"RemoteStatus,omitempty"`
}

func (DescribeBinlogFilesResponseBodyItemsBinLogFile) GoString

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetChecksum

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetFileSize

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetHostInstanceID

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetLinkExpiredTime

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetLogBeginTime

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetLogEndTime

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetLogFileName

func (*DescribeBinlogFilesResponseBodyItemsBinLogFile) SetRemoteStatus

func (DescribeBinlogFilesResponseBodyItemsBinLogFile) String

type DescribeCharacterSetNameRequest

type DescribeCharacterSetNameRequest struct {
	// The type of the database engine. Valid values:
	//
	// *   **mysql**
	// *   **mssql**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine       *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeCharacterSetNameRequest) GoString

func (*DescribeCharacterSetNameRequest) SetEngine

func (*DescribeCharacterSetNameRequest) SetOwnerAccount

func (*DescribeCharacterSetNameRequest) SetOwnerId

func (*DescribeCharacterSetNameRequest) SetRegionId

func (*DescribeCharacterSetNameRequest) SetResourceGroupId added in v3.0.210

func (*DescribeCharacterSetNameRequest) SetResourceOwnerAccount

func (*DescribeCharacterSetNameRequest) SetResourceOwnerId

func (DescribeCharacterSetNameRequest) String

type DescribeCharacterSetNameResponse

type DescribeCharacterSetNameResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCharacterSetNameResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCharacterSetNameResponse) GoString

func (*DescribeCharacterSetNameResponse) SetHeaders

func (*DescribeCharacterSetNameResponse) SetStatusCode

func (DescribeCharacterSetNameResponse) String

type DescribeCharacterSetNameResponseBody

type DescribeCharacterSetNameResponseBody struct {
	// The character sets that are supported.
	CharacterSetNameItems *DescribeCharacterSetNameResponseBodyCharacterSetNameItems `json:"CharacterSetNameItems,omitempty" xml:"CharacterSetNameItems,omitempty" type:"Struct"`
	// The type of the database engine.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCharacterSetNameResponseBody) GoString

func (*DescribeCharacterSetNameResponseBody) SetEngine

func (*DescribeCharacterSetNameResponseBody) SetRequestId

func (DescribeCharacterSetNameResponseBody) String

type DescribeCharacterSetNameResponseBodyCharacterSetNameItems

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

func (DescribeCharacterSetNameResponseBodyCharacterSetNameItems) GoString

func (*DescribeCharacterSetNameResponseBodyCharacterSetNameItems) SetCharacterSetName

func (DescribeCharacterSetNameResponseBodyCharacterSetNameItems) String

type DescribeClassDetailsRequest added in v3.0.20

type DescribeClassDetailsRequest struct {
	// The code of the instance type.
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code of the instance. Valid values:
	//
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The type of the database engine.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeClassDetailsRequest) GoString added in v3.0.20

func (s DescribeClassDetailsRequest) GoString() string

func (*DescribeClassDetailsRequest) SetClassCode added in v3.0.20

func (*DescribeClassDetailsRequest) SetClientToken added in v3.0.20

func (*DescribeClassDetailsRequest) SetCommodityCode added in v3.0.20

func (*DescribeClassDetailsRequest) SetEngine added in v3.0.20

func (*DescribeClassDetailsRequest) SetEngineVersion added in v3.0.20

func (*DescribeClassDetailsRequest) SetOwnerId added in v3.0.20

func (*DescribeClassDetailsRequest) SetRegionId added in v3.0.20

func (*DescribeClassDetailsRequest) SetResourceGroupId added in v3.0.214

func (*DescribeClassDetailsRequest) SetResourceOwnerAccount added in v3.0.20

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

func (*DescribeClassDetailsRequest) SetResourceOwnerId added in v3.0.20

func (DescribeClassDetailsRequest) String added in v3.0.20

type DescribeClassDetailsResponse added in v3.0.20

type DescribeClassDetailsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeClassDetailsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeClassDetailsResponse) GoString added in v3.0.20

func (s DescribeClassDetailsResponse) GoString() string

func (*DescribeClassDetailsResponse) SetBody added in v3.0.20

func (*DescribeClassDetailsResponse) SetHeaders added in v3.0.20

func (*DescribeClassDetailsResponse) SetStatusCode added in v3.0.20

func (DescribeClassDetailsResponse) String added in v3.0.20

type DescribeClassDetailsResponseBody added in v3.0.20

type DescribeClassDetailsResponseBody struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **AlwaysOn**: RDS Cluster Edition
	// *   **Finance**: RDS Enterprise Edition
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The code of the instance type.
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,omitempty"`
	// The instance family of the instance.
	ClassGroup *string `json:"ClassGroup,omitempty" xml:"ClassGroup,omitempty"`
	// The number of CPU cores that are supported by the instance type. Unit: cores.
	Cpu *string `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSDs
	// *   **cloud_ssd**: standard SSDs
	// *   **cloud_essd**: enhanced SSDs (ESSDs) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSDs of PL2
	// *   **cloud_essd3**: ESSD of PL3
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The architecture of the instance.
	InstructionSetArch *string `json:"InstructionSetArch,omitempty" xml:"InstructionSetArch,omitempty"`
	// The maximum number of connections.
	MaxConnections *string `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum I/O bandwidth that is supported by the instance type. Unit: Mbit/s.
	MaxIOMBPS *string `json:"MaxIOMBPS,omitempty" xml:"MaxIOMBPS,omitempty"`
	// The maximum input/output operations per second (IOPS) that is supported by the instance type. Unit: operations per second.
	MaxIOPS *string `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The memory size. Unit: GB.
	MemoryClass *string `json:"MemoryClass,omitempty" xml:"MemoryClass,omitempty"`
	// The price.
	//
	// Unit: cents (US dollars).
	//
	// > *   If you set the CommodityCode parameter to a value that indicates the pay-as-you-go billing method, the ReferencePrice parameter specifies the hourly fee that you must pay.
	// > *   If you set the CommodityCode parameter to a value that indicates the subscription billing method, the ReferencePrice parameter specifies the monthly fee that you must pay.
	ReferencePrice *string `json:"ReferencePrice,omitempty" xml:"ReferencePrice,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeClassDetailsResponseBody) GoString added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetCategory added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetClassCode added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetClassGroup added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetCpu added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetDBInstanceStorageType added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetInstructionSetArch added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetMaxConnections added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetMaxIOMBPS added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetMaxIOPS added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetMemoryClass added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetReferencePrice added in v3.0.20

func (*DescribeClassDetailsResponseBody) SetRequestId added in v3.0.20

func (DescribeClassDetailsResponseBody) String added in v3.0.20

type DescribeCloudMigrationPrecheckResultRequest

type DescribeCloudMigrationPrecheckResultRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The page number. Pages start from page 1. Default value: **1**.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: **30** to **100**. Default value: 30.
	PageSize        *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerId *int64 `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The private or public IP address that is used to connect to the self-managed PostgreSQL instance.
	//
	// *   If the self-managed PostgreSQL instance resides on an Elastic Compute Service (ECS) instance, enter the private IP address of the ECS instance. For more information about how to obtain the private IP address of an ECS instance, see [View IP addresses](~~273914~~).
	// *   If the self-managed PostgreSQL instance resides in an on-premises data center, enter the private IP address of the on-premises data center.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The port number that is used to connect to the self-managed PostgreSQL instance. You can run the netstat -a | grep PGSQL command to obtain the port number.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// The task ID. You can obtain the task ID from the response that is returned after you call the CreateCloudMigrationPrecheckTask operation to create the task.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task name. You can obtain the task name from the response that is returned after you call the CreateCloudMigrationPrecheckTask operation to create the task.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (DescribeCloudMigrationPrecheckResultRequest) GoString

func (*DescribeCloudMigrationPrecheckResultRequest) SetDBInstanceName

func (*DescribeCloudMigrationPrecheckResultRequest) SetPageNumber

func (*DescribeCloudMigrationPrecheckResultRequest) SetPageSize

func (*DescribeCloudMigrationPrecheckResultRequest) SetResourceOwnerId

func (*DescribeCloudMigrationPrecheckResultRequest) SetSourceIpAddress

func (*DescribeCloudMigrationPrecheckResultRequest) SetSourcePort

func (*DescribeCloudMigrationPrecheckResultRequest) SetTaskId

func (*DescribeCloudMigrationPrecheckResultRequest) SetTaskName

func (DescribeCloudMigrationPrecheckResultRequest) String

type DescribeCloudMigrationPrecheckResultResponse

type DescribeCloudMigrationPrecheckResultResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCloudMigrationPrecheckResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCloudMigrationPrecheckResultResponse) GoString

func (*DescribeCloudMigrationPrecheckResultResponse) SetHeaders

func (*DescribeCloudMigrationPrecheckResultResponse) SetStatusCode

func (DescribeCloudMigrationPrecheckResultResponse) String

type DescribeCloudMigrationPrecheckResultResponseBody

type DescribeCloudMigrationPrecheckResultResponseBody struct {
	// The details about the assessment report.
	Items []*DescribeCloudMigrationPrecheckResultResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalSize *int32 `json:"TotalSize,omitempty" xml:"TotalSize,omitempty"`
}

func (DescribeCloudMigrationPrecheckResultResponseBody) GoString

func (*DescribeCloudMigrationPrecheckResultResponseBody) SetPageNumber

func (*DescribeCloudMigrationPrecheckResultResponseBody) SetPageSize

func (*DescribeCloudMigrationPrecheckResultResponseBody) SetRequestId

func (*DescribeCloudMigrationPrecheckResultResponseBody) SetTotalSize

func (DescribeCloudMigrationPrecheckResultResponseBody) String

type DescribeCloudMigrationPrecheckResultResponseBodyItems

type DescribeCloudMigrationPrecheckResultResponseBodyItems struct {
	// The content of the assessment report.
	Detail *string `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The time when the task was created.
	GmtCreated *string `json:"GmtCreated,omitempty" xml:"GmtCreated,omitempty"`
	// The time when the task was modified.
	GmtModified *string `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The username.
	SourceAccount *string `json:"SourceAccount,omitempty" xml:"SourceAccount,omitempty"`
	// The environment in which the self-managed PostgreSQL instance runs.
	//
	// *   **idcOnVpc**: The self-managed PostgreSQL instance resides in a data center. The data center can communicate with the VPC to which the ApsaraDB RDS for PostgreSQL instance belongs.
	// *   **ecsOnVpc**: The self-managed PostgreSQL instance resides on an ECS instance.
	SourceCategory *string `json:"SourceCategory,omitempty" xml:"SourceCategory,omitempty"`
	// The private IP address that is used to connect to the self-managed PostgreSQL instance.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The password.
	SourcePassword *string `json:"SourcePassword,omitempty" xml:"SourcePassword,omitempty"`
	// The port number that is used to connect to the self-managed PostgreSQL instance.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// A reserved parameter. The return value of this parameter is empty.
	TargetEip *string `json:"TargetEip,omitempty" xml:"TargetEip,omitempty"`
	// The instance ID.
	TargetInstanceName *string `json:"TargetInstanceName,omitempty" xml:"TargetInstanceName,omitempty"`
	// The task ID.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task name.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (DescribeCloudMigrationPrecheckResultResponseBodyItems) GoString

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetDetail

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetGmtCreated

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetGmtModified

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetSourceAccount

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetSourceCategory

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetSourceIpAddress

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetSourcePassword

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetSourcePort

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetTargetEip

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetTargetInstanceName

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetTaskId

func (*DescribeCloudMigrationPrecheckResultResponseBodyItems) SetTaskName

func (DescribeCloudMigrationPrecheckResultResponseBodyItems) String

type DescribeCloudMigrationResultRequest

type DescribeCloudMigrationResultRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The number of entries per page.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The page number.
	PageSize        *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerId *int64 `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The private IP address that is used to connect to the self-managed PostgreSQL instance.
	//
	// *   If the self-managed PostgreSQL instance resides on an Elastic Compute Service (ECS) instance, enter the private IP address of the ECS instance. For more information about how to obtain the private IP address of an ECS instance, see [View IP addresses](~~273914~~).
	// *   If the self-managed PostgreSQL instance resides in a data center, enter the private IP address of the data center.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The port number that is used to connect to the self-managed PostgreSQL instance. You can run the netstat -a | grep PGSQL command to obtain the port number.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// The task ID. You can obtain the task ID from the response that is returned when you call the CreateCloudMigrationTask operation to create the task.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task name. You can obtain the task name from the response that is returned when you call the CreateCloudMigrationTask operation to create the task.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (DescribeCloudMigrationResultRequest) GoString

func (*DescribeCloudMigrationResultRequest) SetDBInstanceName

func (*DescribeCloudMigrationResultRequest) SetPageNumber

func (*DescribeCloudMigrationResultRequest) SetPageSize

func (*DescribeCloudMigrationResultRequest) SetResourceOwnerId

func (*DescribeCloudMigrationResultRequest) SetSourceIpAddress

func (*DescribeCloudMigrationResultRequest) SetSourcePort

func (*DescribeCloudMigrationResultRequest) SetTaskId

func (*DescribeCloudMigrationResultRequest) SetTaskName

func (DescribeCloudMigrationResultRequest) String

type DescribeCloudMigrationResultResponse

type DescribeCloudMigrationResultResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCloudMigrationResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCloudMigrationResultResponse) GoString

func (*DescribeCloudMigrationResultResponse) SetHeaders

func (*DescribeCloudMigrationResultResponse) SetStatusCode

func (DescribeCloudMigrationResultResponse) String

type DescribeCloudMigrationResultResponseBody

type DescribeCloudMigrationResultResponseBody struct {
	// The details about the cloud migration task.
	Items []*DescribeCloudMigrationResultResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalSize *int32 `json:"TotalSize,omitempty" xml:"TotalSize,omitempty"`
}

func (DescribeCloudMigrationResultResponseBody) GoString

func (*DescribeCloudMigrationResultResponseBody) SetPageNumber

func (*DescribeCloudMigrationResultResponseBody) SetPageSize

func (*DescribeCloudMigrationResultResponseBody) SetRequestId

func (*DescribeCloudMigrationResultResponseBody) SetTotalSize

func (DescribeCloudMigrationResultResponseBody) String

type DescribeCloudMigrationResultResponseBodyItems

type DescribeCloudMigrationResultResponseBodyItems struct {
	// The details about the migration task.
	Detail *string `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The time when the task was created.
	GmtCreated *string `json:"GmtCreated,omitempty" xml:"GmtCreated,omitempty"`
	// The time when the task was modified.
	GmtModified *string `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The migration phase of the migration task.
	//
	// *   **precheck**: precheck
	// *   **basebackup**: full data backup
	// *   **startup**: link establishment
	// *   **increment**: incremental data synchronization
	// *   **switch**: cloud migration-triggered switchover
	// *   **success**: cloud migration completed
	MigrateStage *string `json:"MigrateStage,omitempty" xml:"MigrateStage,omitempty"`
	// The information about the replication link.
	ReplicationInfo *string `json:"ReplicationInfo,omitempty" xml:"ReplicationInfo,omitempty"`
	// The status of data replication.
	//
	// *   **unstarted**
	// *   **catchup**
	// *   **streaming**
	// *   **disconnect**
	// *   **finish**
	ReplicationState *string `json:"ReplicationState,omitempty" xml:"ReplicationState,omitempty"`
	// The username.
	SourceAccount *string `json:"SourceAccount,omitempty" xml:"SourceAccount,omitempty"`
	// The environment in which the self-managed PostgreSQL instance runs.
	//
	// *   **idcOnVpc**: The self-managed PostgreSQL instance resides in a data center. The data center can communicate with the VPC to which the ApsaraDB RDS for PostgreSQL instance belongs.
	// *   **ecsOnVpc**: The self-managed PostgreSQL instance resides on an ECS instance.
	SourceCategory *string `json:"SourceCategory,omitempty" xml:"SourceCategory,omitempty"`
	// The private IP address that is used to connect to the self-managed PostgreSQL instance.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
	// The password.
	SourcePassword *string `json:"SourcePassword,omitempty" xml:"SourcePassword,omitempty"`
	// The port number that is used to connect to the self-managed PostgreSQL instance.
	SourcePort *int64 `json:"SourcePort,omitempty" xml:"SourcePort,omitempty"`
	// The time when the switchover was performed.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// A reserved parameter. The return value of this parameter is empty.
	TargetEip *string `json:"TargetEip,omitempty" xml:"TargetEip,omitempty"`
	// The ID of the destination instance.
	TargetInstanceName *string `json:"TargetInstanceName,omitempty" xml:"TargetInstanceName,omitempty"`
	// The task ID.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task name.
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (DescribeCloudMigrationResultResponseBodyItems) GoString

func (*DescribeCloudMigrationResultResponseBodyItems) SetDetail

func (*DescribeCloudMigrationResultResponseBodyItems) SetGmtCreated

func (*DescribeCloudMigrationResultResponseBodyItems) SetGmtModified

func (*DescribeCloudMigrationResultResponseBodyItems) SetMigrateStage

func (*DescribeCloudMigrationResultResponseBodyItems) SetReplicationInfo

func (*DescribeCloudMigrationResultResponseBodyItems) SetReplicationState

func (*DescribeCloudMigrationResultResponseBodyItems) SetSourceAccount

func (*DescribeCloudMigrationResultResponseBodyItems) SetSourceCategory

func (*DescribeCloudMigrationResultResponseBodyItems) SetSourceIpAddress

func (*DescribeCloudMigrationResultResponseBodyItems) SetSourcePassword

func (*DescribeCloudMigrationResultResponseBodyItems) SetSourcePort

func (*DescribeCloudMigrationResultResponseBodyItems) SetSwitchTime

func (*DescribeCloudMigrationResultResponseBodyItems) SetTargetEip

func (*DescribeCloudMigrationResultResponseBodyItems) SetTargetInstanceName

func (*DescribeCloudMigrationResultResponseBodyItems) SetTaskId

func (*DescribeCloudMigrationResultResponseBodyItems) SetTaskName

func (DescribeCloudMigrationResultResponseBodyItems) String

type DescribeCollationTimeZonesRequest

type DescribeCollationTimeZonesRequest struct {
	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 (DescribeCollationTimeZonesRequest) GoString

func (*DescribeCollationTimeZonesRequest) SetOwnerId

func (*DescribeCollationTimeZonesRequest) SetResourceOwnerAccount

func (*DescribeCollationTimeZonesRequest) SetResourceOwnerId

func (DescribeCollationTimeZonesRequest) String

type DescribeCollationTimeZonesResponse

type DescribeCollationTimeZonesResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCollationTimeZonesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCollationTimeZonesResponse) GoString

func (*DescribeCollationTimeZonesResponse) SetHeaders

func (*DescribeCollationTimeZonesResponse) SetStatusCode

func (DescribeCollationTimeZonesResponse) String

type DescribeCollationTimeZonesResponseBody

type DescribeCollationTimeZonesResponseBody struct {
	// The list of the character set collations and time zones that are available.
	CollationTimeZones *DescribeCollationTimeZonesResponseBodyCollationTimeZones `json:"CollationTimeZones,omitempty" xml:"CollationTimeZones,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCollationTimeZonesResponseBody) GoString

func (*DescribeCollationTimeZonesResponseBody) SetRequestId

func (DescribeCollationTimeZonesResponseBody) String

type DescribeCollationTimeZonesResponseBodyCollationTimeZones

type DescribeCollationTimeZonesResponseBodyCollationTimeZones struct {
	CollationTimeZone []*DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone `json:"CollationTimeZone,omitempty" xml:"CollationTimeZone,omitempty" type:"Repeated"`
}

func (DescribeCollationTimeZonesResponseBodyCollationTimeZones) GoString

func (DescribeCollationTimeZonesResponseBodyCollationTimeZones) String

type DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone

type DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone struct {
	// The description.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The offset of the UTC time. The offset is in the following format: (UTC+*HH:mm*).
	StandardTimeOffset *string `json:"StandardTimeOffset,omitempty" xml:"StandardTimeOffset,omitempty"`
	// The time zone.
	TimeZone *string `json:"TimeZone,omitempty" xml:"TimeZone,omitempty"`
}

func (DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone) GoString

func (*DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone) SetDescription

func (*DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone) SetStandardTimeOffset

func (*DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone) SetTimeZone

func (DescribeCollationTimeZonesResponseBodyCollationTimeZonesCollationTimeZone) String

type DescribeCrossBackupMetaListRequest

type DescribeCrossBackupMetaListRequest struct {
	// The ID of the cross-region backup file that you want to use. You can call the [DescribeCrossRegionBackups](~~121733~~) operation to query the ID of the cross-region backup file.
	BackupSetId *string `json:"BackupSetId,omitempty" xml:"BackupSetId,omitempty"`
	// The name of the database that you want to query. The system implements exact match based on the value of this parameter and returns the name of the matched database and the names of the tables in the matched database.
	GetDbName *string `json:"GetDbName,omitempty" xml:"GetDbName,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// > This parameter only takes effect when you specify the **PageSize** parameter.
	PageIndex *string `json:"PageIndex,omitempty" xml:"PageIndex,omitempty"`
	// The number of entries to return per page. Default value: **1**.
	//
	// > This parameter only takes effect when you specify the **PageIndex** parameter.
	PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The name of the database that you want to query. The system implements fuzzy match based on the value of this parameter and returns only the name of the matched database.
	//
	// > You can implement fuzzy match and then exact match. For example, you can set the Pattern parameter to test to query the testdb1 and testdb2 databases. Then, you can specify the **GetDbName** parameter to query only the matched database and the tables in the matched database.
	Pattern *string `json:"Pattern,omitempty" xml:"Pattern,omitempty"`
	// The region ID of the instance.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeCrossBackupMetaListRequest) GoString

func (*DescribeCrossBackupMetaListRequest) SetBackupSetId

func (*DescribeCrossBackupMetaListRequest) SetGetDbName

func (*DescribeCrossBackupMetaListRequest) SetOwnerId

func (*DescribeCrossBackupMetaListRequest) SetPageIndex

func (*DescribeCrossBackupMetaListRequest) SetPageSize

func (*DescribeCrossBackupMetaListRequest) SetPattern

func (*DescribeCrossBackupMetaListRequest) SetRegion

func (*DescribeCrossBackupMetaListRequest) SetResourceGroupId

func (*DescribeCrossBackupMetaListRequest) SetResourceOwnerAccount

func (*DescribeCrossBackupMetaListRequest) SetResourceOwnerId

func (DescribeCrossBackupMetaListRequest) String

type DescribeCrossBackupMetaListResponse

type DescribeCrossBackupMetaListResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCrossBackupMetaListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCrossBackupMetaListResponse) GoString

func (*DescribeCrossBackupMetaListResponse) SetHeaders

func (*DescribeCrossBackupMetaListResponse) SetStatusCode

func (DescribeCrossBackupMetaListResponse) String

type DescribeCrossBackupMetaListResponseBody

type DescribeCrossBackupMetaListResponseBody struct {
	// The instance to which the cross-region backup file belongs.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// An array that consists of the information about the databases and tables whose data is included in the cross-region backup file.
	Items *DescribeCrossBackupMetaListResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of pages returned.
	TotalPageCount *int32 `json:"TotalPageCount,omitempty" xml:"TotalPageCount,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeCrossBackupMetaListResponseBody) GoString

func (*DescribeCrossBackupMetaListResponseBody) SetDBInstanceName

func (*DescribeCrossBackupMetaListResponseBody) SetPageNumber

func (*DescribeCrossBackupMetaListResponseBody) SetPageRecordCount

func (*DescribeCrossBackupMetaListResponseBody) SetRequestId

func (*DescribeCrossBackupMetaListResponseBody) SetTotalPageCount

func (*DescribeCrossBackupMetaListResponseBody) SetTotalRecordCount

func (DescribeCrossBackupMetaListResponseBody) String

type DescribeCrossBackupMetaListResponseBodyItems

type DescribeCrossBackupMetaListResponseBodyItems struct {
	Meta []*DescribeCrossBackupMetaListResponseBodyItemsMeta `json:"Meta,omitempty" xml:"Meta,omitempty" type:"Repeated"`
}

func (DescribeCrossBackupMetaListResponseBodyItems) GoString

func (DescribeCrossBackupMetaListResponseBodyItems) String

type DescribeCrossBackupMetaListResponseBodyItemsMeta

type DescribeCrossBackupMetaListResponseBodyItemsMeta struct {
	// The name of the database.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The size of the table. Unit: KB. If the database contains more than one table, the names of these tables are separated by commas (,).
	Size *string `json:"Size,omitempty" xml:"Size,omitempty"`
	// An array that consists of the names of the tables that the database contains. If the database contains more than one table, the names of these tables are separated by commas (,).
	Tables *string `json:"Tables,omitempty" xml:"Tables,omitempty"`
}

func (DescribeCrossBackupMetaListResponseBodyItemsMeta) GoString

func (*DescribeCrossBackupMetaListResponseBodyItemsMeta) SetDatabase

func (*DescribeCrossBackupMetaListResponseBodyItemsMeta) SetSize

func (*DescribeCrossBackupMetaListResponseBodyItemsMeta) SetTables

func (DescribeCrossBackupMetaListResponseBodyItemsMeta) String

type DescribeCrossRegionBackupDBInstanceRequest

type DescribeCrossRegionBackupDBInstanceRequest struct {
	// The ID of the instance. Up to 30 instance IDs are allowed in a single request. If you enter more than one instance ID, separate them with commas (,).
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return per page. Default value: 30.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the region.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeCrossRegionBackupDBInstanceRequest) GoString

func (*DescribeCrossRegionBackupDBInstanceRequest) SetDBInstanceId

func (*DescribeCrossRegionBackupDBInstanceRequest) SetOwnerId

func (*DescribeCrossRegionBackupDBInstanceRequest) SetPageNumber

func (*DescribeCrossRegionBackupDBInstanceRequest) SetPageSize

func (*DescribeCrossRegionBackupDBInstanceRequest) SetRegionId

func (*DescribeCrossRegionBackupDBInstanceRequest) SetResourceOwnerAccount

func (*DescribeCrossRegionBackupDBInstanceRequest) SetResourceOwnerId

func (DescribeCrossRegionBackupDBInstanceRequest) String

type DescribeCrossRegionBackupDBInstanceResponse

type DescribeCrossRegionBackupDBInstanceResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCrossRegionBackupDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCrossRegionBackupDBInstanceResponse) GoString

func (*DescribeCrossRegionBackupDBInstanceResponse) SetHeaders

func (*DescribeCrossRegionBackupDBInstanceResponse) SetStatusCode

func (DescribeCrossRegionBackupDBInstanceResponse) String

type DescribeCrossRegionBackupDBInstanceResponseBody

type DescribeCrossRegionBackupDBInstanceResponseBody struct {
	// An array that consists of instances and their cross-region backup settings.
	Items *DescribeCrossRegionBackupDBInstanceResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The total number of items returned for cross-region backup settings.
	ItemsNumbers *int32 `json:"ItemsNumbers,omitempty" xml:"ItemsNumbers,omitempty"`
	// The page number of the returned page. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page. Default value: 30.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalRecords *int32 `json:"TotalRecords,omitempty" xml:"TotalRecords,omitempty"`
}

func (DescribeCrossRegionBackupDBInstanceResponseBody) GoString

func (*DescribeCrossRegionBackupDBInstanceResponseBody) SetItemsNumbers

func (*DescribeCrossRegionBackupDBInstanceResponseBody) SetPageNumber

func (*DescribeCrossRegionBackupDBInstanceResponseBody) SetPageSize

func (*DescribeCrossRegionBackupDBInstanceResponseBody) SetRegionId

func (*DescribeCrossRegionBackupDBInstanceResponseBody) SetRequestId

func (*DescribeCrossRegionBackupDBInstanceResponseBody) SetTotalRecords

func (DescribeCrossRegionBackupDBInstanceResponseBody) String

type DescribeCrossRegionBackupDBInstanceResponseBodyItems

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

func (DescribeCrossRegionBackupDBInstanceResponseBodyItems) GoString

func (DescribeCrossRegionBackupDBInstanceResponseBodyItems) String

type DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem

type DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem struct {
	// The status of the cross-region backup feature on the instance. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	BackupEnabled *string `json:"BackupEnabled,omitempty" xml:"BackupEnabled,omitempty"`
	// The time when cross-region backup was enabled on the instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	BackupEnabledTime *string `json:"BackupEnabledTime,omitempty" xml:"BackupEnabledTime,omitempty"`
	// The ID of the region in which the cross-region data backup file is stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The policy that is used to save the cross-region backup files of the instance. Default value: **1**. The value 1 indicates that all cross-region backup files are saved.
	CrossBackupType *string `json:"CrossBackupType,omitempty" xml:"CrossBackupType,omitempty"`
	// The name of the instance. It must be 2 to 256 characters in length. The name can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
	//
	// > The value cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance states](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,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 after it expires.
	// *   **LockByRestoration**: The instance is automatically locked before it is rolled back.
	// *   **LockByDiskQuota**: The instance is automatically locked because its storage capacity is exhausted and the instance is inaccessible.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The status of the cross-region log backup feature on the instance. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	LogBackupEnabled *string `json:"LogBackupEnabled,omitempty" xml:"LogBackupEnabled,omitempty"`
	// The time when cross-region log backup was enabled on the instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogBackupEnabledTime *string `json:"LogBackupEnabledTime,omitempty" xml:"LogBackupEnabledTime,omitempty"`
	// The policy that is used to retain the cross-region backup files of the instance. Cross-region backups can be retained only based on the specified retention period. Default value: **1**.
	RetentType *int32 `json:"RetentType,omitempty" xml:"RetentType,omitempty"`
	// The number of days for which the cross-region backup files of the instance are retained. Valid values: **7 to 1825**.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
}

func (DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) GoString

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetBackupEnabled

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetBackupEnabledTime

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetCrossBackupRegion

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetCrossBackupType

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetDBInstanceDescription

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetDBInstanceId

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetDBInstanceStatus

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetEngine

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetEngineVersion

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetLockMode

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetLogBackupEnabled

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetLogBackupEnabledTime

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetRetentType

func (*DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) SetRetention

func (DescribeCrossRegionBackupDBInstanceResponseBodyItemsItem) String

type DescribeCrossRegionBackupsRequest

type DescribeCrossRegionBackupsRequest struct {
	// The ID of the backup file.
	BackupId *int32 `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the cross-region data backup file.
	//
	// >  You must specify the **CrossBackupId** parameter. Alternatively, you must specify the **StartTime** and **EndTime** parameters.
	CrossBackupId *int32 `json:"CrossBackupId,omitempty" xml:"CrossBackupId,omitempty"`
	// The ID of the region in which the cross-region data backup file is stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The instance ID.
	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:ss*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: 30.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeCrossRegionBackupsRequest) GoString

func (*DescribeCrossRegionBackupsRequest) SetBackupId

func (*DescribeCrossRegionBackupsRequest) SetCrossBackupId

func (*DescribeCrossRegionBackupsRequest) SetCrossBackupRegion

func (*DescribeCrossRegionBackupsRequest) SetDBInstanceId

func (*DescribeCrossRegionBackupsRequest) SetEndTime

func (*DescribeCrossRegionBackupsRequest) SetOwnerId

func (*DescribeCrossRegionBackupsRequest) SetPageNumber

func (*DescribeCrossRegionBackupsRequest) SetPageSize

func (*DescribeCrossRegionBackupsRequest) SetRegionId

func (*DescribeCrossRegionBackupsRequest) SetResourceGroupId

func (*DescribeCrossRegionBackupsRequest) SetResourceOwnerAccount

func (*DescribeCrossRegionBackupsRequest) SetResourceOwnerId

func (*DescribeCrossRegionBackupsRequest) SetStartTime

func (DescribeCrossRegionBackupsRequest) String

type DescribeCrossRegionBackupsResponse

type DescribeCrossRegionBackupsResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCrossRegionBackupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCrossRegionBackupsResponse) GoString

func (*DescribeCrossRegionBackupsResponse) SetHeaders

func (*DescribeCrossRegionBackupsResponse) SetStatusCode

func (DescribeCrossRegionBackupsResponse) String

type DescribeCrossRegionBackupsResponseBody

type DescribeCrossRegionBackupsResponseBody struct {
	// The end of the time range to query.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The cross-region data backup files.
	Items *DescribeCrossRegionBackupsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of cross-region data backup files on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The beginning of the time range to query.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The total number of entries that are returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeCrossRegionBackupsResponseBody) GoString

func (*DescribeCrossRegionBackupsResponseBody) SetEndTime

func (*DescribeCrossRegionBackupsResponseBody) SetPageNumber

func (*DescribeCrossRegionBackupsResponseBody) SetPageRecordCount

func (*DescribeCrossRegionBackupsResponseBody) SetRegionId

func (*DescribeCrossRegionBackupsResponseBody) SetRequestId

func (*DescribeCrossRegionBackupsResponseBody) SetStartTime

func (*DescribeCrossRegionBackupsResponseBody) SetTotalRecordCount

func (DescribeCrossRegionBackupsResponseBody) String

type DescribeCrossRegionBackupsResponseBodyItems

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

func (DescribeCrossRegionBackupsResponseBodyItems) GoString

func (DescribeCrossRegionBackupsResponseBodyItems) String

type DescribeCrossRegionBackupsResponseBodyItemsItem

type DescribeCrossRegionBackupsResponseBodyItemsItem struct {
	// The time when the cross-region data backup file was generated.
	BackupEndTime *string `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	// The method that is used to generate the cross-region data backup file. Valid values:
	//
	// *   **L**: logical backup
	// *   **P**: physical backup
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The level at which the cross-region data backup file is generated.
	//
	// *   **0**: instance-level backup
	// *   **1**: database-level backup
	BackupSetScale *int32 `json:"BackupSetScale,omitempty" xml:"BackupSetScale,omitempty"`
	// The status of the cross-region data backup. Valid values:
	//
	// *   **0**: The cross-region data backup is successful.
	// *   **1**: The cross-region data backup failed.
	BackupSetStatus *int32 `json:"BackupSetStatus,omitempty" xml:"BackupSetStatus,omitempty"`
	// The time when the cross-region data backup started.
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The type of the cross-region data backup. Valid values:
	//
	// *   **F**: full data backup
	// *   **I**: incremental data backup
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **Finance**: Enterprise Edition. This edition is supported only by the China site (aliyun.com).
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The point in time that is indicated by the data in the cross-region data backup file.
	ConsistentTime *string `json:"ConsistentTime,omitempty" xml:"ConsistentTime,omitempty"`
	// The external URL from which you can download the cross-region data backup file.
	CrossBackupDownloadLink *string `json:"CrossBackupDownloadLink,omitempty" xml:"CrossBackupDownloadLink,omitempty"`
	// The ID of the cross-region data backup file.
	CrossBackupId *int32 `json:"CrossBackupId,omitempty" xml:"CrossBackupId,omitempty"`
	// The ID of the region in which the cross-region backup files of the instance are stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The name of the compressed package that contains the cross-region data backup file.
	CrossBackupSetFile *string `json:"CrossBackupSetFile,omitempty" xml:"CrossBackupSetFile,omitempty"`
	// The location where the cross-region data backup file is stored.
	CrossBackupSetLocation *string `json:"CrossBackupSetLocation,omitempty" xml:"CrossBackupSetLocation,omitempty"`
	// The size of the cross-region data backup file. Unit: bytes.
	CrossBackupSetSize *int64 `json:"CrossBackupSetSize,omitempty" xml:"CrossBackupSetSize,omitempty"`
	// The storage type. Valid values:
	//
	// *   **local_ssd**: local SSD. This is the recommended storage type.
	// *   **cloud_ssd**: standard SSD.
	// *   **cloud_essd**: enhanced SSD (ESSD)
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
	InstanceId *int32 `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// An array that consists of the regions to which the cross-region data backup file can be restored.
	RestoreRegions *DescribeCrossRegionBackupsResponseBodyItemsItemRestoreRegions `json:"RestoreRegions,omitempty" xml:"RestoreRegions,omitempty" type:"Struct"`
}

func (DescribeCrossRegionBackupsResponseBodyItemsItem) GoString

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetBackupEndTime

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetBackupMethod

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetBackupSetScale

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetBackupSetStatus

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetBackupStartTime

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetBackupType

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetCategory

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetConsistentTime

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetCrossBackupId

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetCrossBackupRegion

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetCrossBackupSetFile

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetCrossBackupSetLocation

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetCrossBackupSetSize

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetDBInstanceStorageType

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetEngine

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetEngineVersion

func (*DescribeCrossRegionBackupsResponseBodyItemsItem) SetInstanceId

func (DescribeCrossRegionBackupsResponseBodyItemsItem) String

type DescribeCrossRegionBackupsResponseBodyItemsItemRestoreRegions

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

func (DescribeCrossRegionBackupsResponseBodyItemsItemRestoreRegions) GoString

func (*DescribeCrossRegionBackupsResponseBodyItemsItemRestoreRegions) SetRestoreRegion

func (DescribeCrossRegionBackupsResponseBodyItemsItemRestoreRegions) String

type DescribeCrossRegionLogBackupFilesRequest

type DescribeCrossRegionLogBackupFilesRequest struct {
	// The ID of the destination region within which the cross-region backup file is stored. You can call the DescribeCrossRegionBackupDBInstance operation to query the region ID.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The instance ID.
	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:ss*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: 30.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeCrossRegionLogBackupFilesRequest) GoString

func (*DescribeCrossRegionLogBackupFilesRequest) SetCrossBackupRegion

func (*DescribeCrossRegionLogBackupFilesRequest) SetDBInstanceId

func (*DescribeCrossRegionLogBackupFilesRequest) SetEndTime

func (*DescribeCrossRegionLogBackupFilesRequest) SetOwnerId

func (*DescribeCrossRegionLogBackupFilesRequest) SetPageNumber

func (*DescribeCrossRegionLogBackupFilesRequest) SetPageSize

func (*DescribeCrossRegionLogBackupFilesRequest) SetRegionId

func (*DescribeCrossRegionLogBackupFilesRequest) SetResourceOwnerAccount

func (*DescribeCrossRegionLogBackupFilesRequest) SetResourceOwnerId

func (*DescribeCrossRegionLogBackupFilesRequest) SetStartTime

func (DescribeCrossRegionLogBackupFilesRequest) String

type DescribeCrossRegionLogBackupFilesResponse

type DescribeCrossRegionLogBackupFilesResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCrossRegionLogBackupFilesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCrossRegionLogBackupFilesResponse) GoString

func (*DescribeCrossRegionLogBackupFilesResponse) SetHeaders

func (*DescribeCrossRegionLogBackupFilesResponse) SetStatusCode

func (DescribeCrossRegionLogBackupFilesResponse) String

type DescribeCrossRegionLogBackupFilesResponseBody

type DescribeCrossRegionLogBackupFilesResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end of the time range to query. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The cross-region log backup files.
	Items *DescribeCrossRegionLogBackupFilesResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of cross-region backup files on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The beginning of the time range to query. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The total number of entries that are returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeCrossRegionLogBackupFilesResponseBody) GoString

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetDBInstanceId

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetEndTime

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetPageNumber

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetPageRecordCount

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetRegionId

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetRequestId

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetStartTime

func (*DescribeCrossRegionLogBackupFilesResponseBody) SetTotalRecordCount

func (DescribeCrossRegionLogBackupFilesResponseBody) String

type DescribeCrossRegionLogBackupFilesResponseBodyItems

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

func (DescribeCrossRegionLogBackupFilesResponseBodyItems) GoString

func (DescribeCrossRegionLogBackupFilesResponseBodyItems) String

type DescribeCrossRegionLogBackupFilesResponseBodyItemsItem

type DescribeCrossRegionLogBackupFilesResponseBodyItemsItem struct {
	// The ID of the destination region within which the cross-region backup file is stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The external URL from which you can download the cross-region log backup file.
	CrossDownloadLink *string `json:"CrossDownloadLink,omitempty" xml:"CrossDownloadLink,omitempty"`
	// The internal URL from which you can download the cross-region log backup file.
	CrossIntranetDownloadLink *string `json:"CrossIntranetDownloadLink,omitempty" xml:"CrossIntranetDownloadLink,omitempty"`
	// The ID of the cross-region log backup file.
	CrossLogBackupId *int32 `json:"CrossLogBackupId,omitempty" xml:"CrossLogBackupId,omitempty"`
	// The size of the cross-region log backup file. Unit: bytes.
	CrossLogBackupSize *int64 `json:"CrossLogBackupSize,omitempty" xml:"CrossLogBackupSize,omitempty"`
	// The instance ID.
	InstanceId *int32 `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time when the URL expires. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LinkExpiredTime *string `json:"LinkExpiredTime,omitempty" xml:"LinkExpiredTime,omitempty"`
	// The start time of the cross-region log backup file. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogBeginTime *string `json:"LogBeginTime,omitempty" xml:"LogBeginTime,omitempty"`
	// The end time of the cross-region log backup file. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogEndTime *string `json:"LogEndTime,omitempty" xml:"LogEndTime,omitempty"`
	// The name of the cross-region log backup file.
	LogFileName *string `json:"LogFileName,omitempty" xml:"LogFileName,omitempty"`
}

func (DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) GoString

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetCrossBackupRegion

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetCrossLogBackupId

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetCrossLogBackupSize

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetInstanceId

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetLinkExpiredTime

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetLogBeginTime

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetLogEndTime

func (*DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) SetLogFileName

func (DescribeCrossRegionLogBackupFilesResponseBodyItemsItem) String

type DescribeCurrentModifyOrderRequest added in v3.3.0

type DescribeCurrentModifyOrderRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeCurrentModifyOrderRequest) GoString added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetClientToken added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetDbInstanceId added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetOwnerId added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetRegionId added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetResourceGroupId added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetResourceOwnerAccount added in v3.3.0

func (*DescribeCurrentModifyOrderRequest) SetResourceOwnerId added in v3.3.0

func (DescribeCurrentModifyOrderRequest) String added in v3.3.0

type DescribeCurrentModifyOrderResponse added in v3.3.0

type DescribeCurrentModifyOrderResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCurrentModifyOrderResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCurrentModifyOrderResponse) GoString added in v3.3.0

func (*DescribeCurrentModifyOrderResponse) SetBody added in v3.3.0

func (*DescribeCurrentModifyOrderResponse) SetHeaders added in v3.3.0

func (*DescribeCurrentModifyOrderResponse) SetStatusCode added in v3.3.0

func (DescribeCurrentModifyOrderResponse) String added in v3.3.0

type DescribeCurrentModifyOrderResponseBody added in v3.3.0

type DescribeCurrentModifyOrderResponseBody struct {
	// The specification change order.
	ModifyOrder []*DescribeCurrentModifyOrderResponseBodyModifyOrder `json:"ModifyOrder,omitempty" xml:"ModifyOrder,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCurrentModifyOrderResponseBody) GoString added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBody) SetModifyOrder added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBody) SetRequestId added in v3.3.0

func (DescribeCurrentModifyOrderResponseBody) String added in v3.3.0

type DescribeCurrentModifyOrderResponseBodyModifyOrder added in v3.3.0

type DescribeCurrentModifyOrderResponseBodyModifyOrder struct {
	// The instance family of the instance.
	ClassGroup *string `json:"ClassGroup,omitempty" xml:"ClassGroup,omitempty"`
	// The number of CPU cores that are supported by the instance type. Unit: cores.
	Cpu *string `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// The instance ID.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The effective time. Valid values:
	//
	// *   **Immediate**: This is the default value.
	// *   **MaintainTime**: The effective time is within the maintenance window. For more information, see [ModifyDBInstanceMaintainTime](~~610402~~).
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The description of the instance.
	Mark *string `json:"Mark,omitempty" xml:"Mark,omitempty"`
	// The memory capacity that is supported by the instance type. Unit: GB.
	MemoryClass *string `json:"MemoryClass,omitempty" xml:"MemoryClass,omitempty"`
	// The status of the task.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The storage capacity of the instance.
	Storage *string `json:"Storage,omitempty" xml:"Storage,omitempty"`
	// The new instance type of the instance. Valid values:
	TargetDBInstanceClass *string `json:"TargetDBInstanceClass,omitempty" xml:"TargetDBInstanceClass,omitempty"`
}

func (DescribeCurrentModifyOrderResponseBodyModifyOrder) GoString added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetClassGroup added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetCpu added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetDbInstanceId added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetEffectiveTime added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetMark added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetMemoryClass added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetStatus added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetStorage added in v3.3.0

func (*DescribeCurrentModifyOrderResponseBodyModifyOrder) SetTargetDBInstanceClass added in v3.3.0

func (DescribeCurrentModifyOrderResponseBodyModifyOrder) String added in v3.3.0

type DescribeCustinsResourceInfoRequest added in v3.3.0

type DescribeCustinsResourceInfoRequest struct {
	// The instance ID. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DBInstanceIds *string `json:"DBInstanceIds,omitempty" xml:"DBInstanceIds,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeCustinsResourceInfoRequest) GoString added in v3.3.0

func (*DescribeCustinsResourceInfoRequest) SetDBInstanceIds added in v3.3.0

func (*DescribeCustinsResourceInfoRequest) SetOwnerId added in v3.3.0

func (*DescribeCustinsResourceInfoRequest) SetResourceGroupId added in v3.3.0

func (*DescribeCustinsResourceInfoRequest) SetResourceOwnerAccount added in v3.3.0

func (*DescribeCustinsResourceInfoRequest) SetResourceOwnerId added in v3.3.0

func (DescribeCustinsResourceInfoRequest) String added in v3.3.0

type DescribeCustinsResourceInfoResponse added in v3.3.0

type DescribeCustinsResourceInfoResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeCustinsResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeCustinsResourceInfoResponse) GoString added in v3.3.0

func (*DescribeCustinsResourceInfoResponse) SetBody added in v3.3.0

func (*DescribeCustinsResourceInfoResponse) SetHeaders added in v3.3.0

func (*DescribeCustinsResourceInfoResponse) SetStatusCode added in v3.3.0

func (DescribeCustinsResourceInfoResponse) String added in v3.3.0

type DescribeCustinsResourceInfoResponseBody added in v3.3.0

type DescribeCustinsResourceInfoResponseBody struct {
	// The returned data.
	Data []*DescribeCustinsResourceInfoResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCustinsResourceInfoResponseBody) GoString added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBody) SetData added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBody) SetRequestId added in v3.3.0

func (DescribeCustinsResourceInfoResponseBody) String added in v3.3.0

type DescribeCustinsResourceInfoResponseBodyData added in v3.3.0

type DescribeCustinsResourceInfoResponseBodyData struct {
	// The deadline for the CPU adjustment.
	CpuAdjustDeadline *string `json:"CpuAdjustDeadline,omitempty" xml:"CpuAdjustDeadline,omitempty"`
	// The maximum percentage of the system CPU resources that the instance can use.
	CpuAdjustableMaxRatio *string `json:"CpuAdjustableMaxRatio,omitempty" xml:"CpuAdjustableMaxRatio,omitempty"`
	// The maximum CPU utilization.
	CpuAdjustableMaxValue *string `json:"CpuAdjustableMaxValue,omitempty" xml:"CpuAdjustableMaxValue,omitempty"`
	// The CPU utilization.
	CpuIncreaseRatio *string `json:"CpuIncreaseRatio,omitempty" xml:"CpuIncreaseRatio,omitempty"`
	// The CPU utilization. Unit: percentage.
	CpuIncreaseRatioValue *string `json:"CpuIncreaseRatioValue,omitempty" xml:"CpuIncreaseRatioValue,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The maximum IOPS.
	IopsAdjustableMaxValue *string `json:"IopsAdjustableMaxValue,omitempty" xml:"IopsAdjustableMaxValue,omitempty"`
	// The deadline for the adjustment of the maximum number of connections.
	MaxConnAdjustDeadline *string `json:"MaxConnAdjustDeadline,omitempty" xml:"MaxConnAdjustDeadline,omitempty"`
	// The maximum number of concurrent connections.
	MaxConnAdjustableMaxValue *string `json:"MaxConnAdjustableMaxValue,omitempty" xml:"MaxConnAdjustableMaxValue,omitempty"`
	// The maximum number of concurrent connections.
	MaxConnIncreaseRatio *string `json:"MaxConnIncreaseRatio,omitempty" xml:"MaxConnIncreaseRatio,omitempty"`
	// The maximum number of concurrent connections.
	MaxConnIncreaseRatioValue *string `json:"MaxConnIncreaseRatioValue,omitempty" xml:"MaxConnIncreaseRatioValue,omitempty"`
	// The deadline for the adjustment of the maximum IOPS.
	MaxIopsAdjustDeadline *string `json:"MaxIopsAdjustDeadline,omitempty" xml:"MaxIopsAdjustDeadline,omitempty"`
	// The maximum IOPS.
	MaxIopsIncreaseRatio *string `json:"MaxIopsIncreaseRatio,omitempty" xml:"MaxIopsIncreaseRatio,omitempty"`
	// The maximum IOPS that can be supported by the instance.
	MaxIopsIncreaseRatioValue *string `json:"MaxIopsIncreaseRatioValue,omitempty" xml:"MaxIopsIncreaseRatioValue,omitempty"`
	// The maximum percentage of the system memory that the instance can use.
	MemAdjustableMaxRatio *string `json:"MemAdjustableMaxRatio,omitempty" xml:"MemAdjustableMaxRatio,omitempty"`
	// The maximum value of the resources to be evaluated.
	MemAdjustableMaxValue *string `json:"MemAdjustableMaxValue,omitempty" xml:"MemAdjustableMaxValue,omitempty"`
	// The deadline for the memory adjustment.
	MemoryAdjustDeadline *string `json:"MemoryAdjustDeadline,omitempty" xml:"MemoryAdjustDeadline,omitempty"`
	// The memory increase percentage.
	MemoryIncreaseRatio *string `json:"MemoryIncreaseRatio,omitempty" xml:"MemoryIncreaseRatio,omitempty"`
	// The memory usage. Unit: MB.
	MemoryIncreaseRatioValue *string `json:"MemoryIncreaseRatioValue,omitempty" xml:"MemoryIncreaseRatioValue,omitempty"`
	// The number of CPUs of the instance.
	OriginCpu *string `json:"OriginCpu,omitempty" xml:"OriginCpu,omitempty"`
	// The maximum number of concurrent connections.
	OriginMaxConn *string `json:"OriginMaxConn,omitempty" xml:"OriginMaxConn,omitempty"`
	// The maximum IOPS.
	OriginMaxIops *string `json:"OriginMaxIops,omitempty" xml:"OriginMaxIops,omitempty"`
	// The actual memory used. Unit: MB.
	OriginMemory *string `json:"OriginMemory,omitempty" xml:"OriginMemory,omitempty"`
}

func (DescribeCustinsResourceInfoResponseBodyData) GoString added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetCpuAdjustDeadline added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetCpuAdjustableMaxRatio added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetCpuAdjustableMaxValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetCpuIncreaseRatio added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetCpuIncreaseRatioValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetDBInstanceId added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetIopsAdjustableMaxValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxConnAdjustDeadline added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxConnAdjustableMaxValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxConnIncreaseRatio added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxConnIncreaseRatioValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxIopsAdjustDeadline added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxIopsIncreaseRatio added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMaxIopsIncreaseRatioValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMemAdjustableMaxRatio added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMemAdjustableMaxValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMemoryAdjustDeadline added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMemoryIncreaseRatio added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetMemoryIncreaseRatioValue added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetOriginCpu added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetOriginMaxConn added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetOriginMaxIops added in v3.3.0

func (*DescribeCustinsResourceInfoResponseBodyData) SetOriginMemory added in v3.3.0

func (DescribeCustinsResourceInfoResponseBodyData) String added in v3.3.0

type DescribeDBInstanceAttributeRequest

type DescribeDBInstanceAttributeRequest struct {
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	//
	// **
	//
	// **Warning**: Do not query the details of multiple instances at a time by using multiple instance IDs. Otherwise, the query times out and fails.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies whether the instance expires. Valid values:
	//
	// *   **True**: The instance expires.
	// *   **False:** The instance does not expire.
	Expired         *string `json:"Expired,omitempty" xml:"Expired,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceAttributeRequest) GoString

func (*DescribeDBInstanceAttributeRequest) SetDBInstanceId

func (*DescribeDBInstanceAttributeRequest) SetExpired

func (*DescribeDBInstanceAttributeRequest) SetResourceOwnerId

func (DescribeDBInstanceAttributeRequest) String

type DescribeDBInstanceAttributeResponse

type DescribeDBInstanceAttributeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceAttributeResponse) GoString

func (*DescribeDBInstanceAttributeResponse) SetHeaders

func (*DescribeDBInstanceAttributeResponse) SetStatusCode

func (DescribeDBInstanceAttributeResponse) String

type DescribeDBInstanceAttributeResponseBody

type DescribeDBInstanceAttributeResponseBody struct {
	// An array that consists of the details about the instance.
	Items *DescribeDBInstanceAttributeResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBody) GoString

func (*DescribeDBInstanceAttributeResponseBody) SetRequestId

func (DescribeDBInstanceAttributeResponseBody) String

type DescribeDBInstanceAttributeResponseBodyItems

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

func (DescribeDBInstanceAttributeResponseBodyItems) GoString

func (DescribeDBInstanceAttributeResponseBodyItems) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute struct {
	// The maximum number of accounts that can be created on the instance.
	AccountMaxQuantity *int32 `json:"AccountMaxQuantity,omitempty" xml:"AccountMaxQuantity,omitempty"`
	// The advanced features that are enabled for the instance. If multiple advanced features are enabled, the advanced features are separated by commas (,). This parameter is available only to instances that run **SQL Server**. Valid values:
	//
	// *   **LinkedServer**
	// *   **DistributeTransaction**
	AdvancedFeatures *string `json:"AdvancedFeatures,omitempty" xml:"AdvancedFeatures,omitempty"`
	// The method that is used to update the minor engine version of the instance. Valid values:
	//
	// *   **Auto:** automatic update.
	// *   **Manual**: manual update. The minor engine version of the instance is forcefully updated only when the in-use minor engine version is phased out.
	AutoUpgradeMinorVersion *string `json:"AutoUpgradeMinorVersion,omitempty" xml:"AutoUpgradeMinorVersion,omitempty"`
	// The availability status of the instance in percentage.
	AvailabilityValue *string `json:"AvailabilityValue,omitempty" xml:"AvailabilityValue,omitempty"`
	// The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.
	//
	// >  This parameter is suitable only for ApsaraDB RDS for PostgreSQL instances for which Babelfish is enabled. For more information, see Introduction to Babelfish.[](~~428613~~)
	BabelfishConfig *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig `json:"BabelfishConfig,omitempty" xml:"BabelfishConfig,omitempty" type:"Struct"`
	// This parameter is invalid. You do not need to specify this parameter.
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// This parameter is invalid. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL
	// *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server
	// *   **Finance**: RDS Enterprise Edition
	// *   **Serverless_basic**: RDS Basic Edition for serverless instances
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The character set collation of the instance.
	Collation *string `json:"Collation,omitempty" xml:"Collation,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The internal endpoint of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The type of the proxy that is used by the instance. Valid values:
	//
	// *   **1**: shared proxy
	// *   **2**: dedicated proxy
	//
	// >  We recommend that you use the ProxyType parameter instead of this parameter.
	ConsoleVersion *string `json:"ConsoleVersion,omitempty" xml:"ConsoleVersion,omitempty"`
	// The creation time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The minor engine version of the instance.
	CurrentKernelVersion *string `json:"CurrentKernelVersion,omitempty" xml:"CurrentKernelVersion,omitempty"`
	// The information about the node in the cluster.
	DBClusterNodes *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodes `json:"DBClusterNodes,omitempty" xml:"DBClusterNodes,omitempty" type:"Struct"`
	// The number of CPU cores.
	DBInstanceCPU *string `json:"DBInstanceCPU,omitempty" xml:"DBInstanceCPU,omitempty"`
	// The instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance family to which the instance belongs. Valid values:
	//
	// *   **s**: shared instance family
	// *   **x**: general-purpose instance family
	// *   **d**: dedicated instance family
	// *   **h**: dedicated host instance family
	DBInstanceClassType *string `json:"DBInstanceClassType,omitempty" xml:"DBInstanceClassType,omitempty"`
	// The description of the instance.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The disk usage of the instance.
	DBInstanceDiskUsed *string `json:"DBInstanceDiskUsed,omitempty" xml:"DBInstanceDiskUsed,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The memory capacity of the instance. Unit: MB.
	DBInstanceMemory *int64 `json:"DBInstanceMemory,omitempty" xml:"DBInstanceMemory,omitempty"`
	// The type of the network over which the instance is connected. Valid values:
	//
	// *   **Internet**: Internet
	// *   **Intranet**: internal network
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The status of the instance. For more information, see [Instance states](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage capacity of the instance. Unit: GB.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd** and **ephemeral_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD
	// *   **cloud_essd**: enhanced SSD (ESSD)
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The type of the instance. Valid values:
	//
	// *   **Primary**: primary instance
	// *   **Readonly**: read-only instance
	// *   **Guard**: disaster recovery instance
	// *   **Temp**: temporary instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The maximum number of databases that can be created on the instance.
	DBMaxQuantity *int32 `json:"DBMaxQuantity,omitempty" xml:"DBMaxQuantity,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// Indicates whether the release protection feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **PostgreSQL**
	// *   **SQLServer**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The expiration time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// >  Pay-as-you-go instances never expire.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The extended information of the instance.
	Extra *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra `json:"Extra,omitempty" xml:"Extra,omitempty" type:"Struct"`
	// The name of the dedicated cluster to which the instance belongs. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
	GeneralGroupName *string `json:"GeneralGroupName,omitempty" xml:"GeneralGroupName,omitempty"`
	// The ID of the disaster recovery instance that is attached to the instance.
	GuardDBInstanceId *string `json:"GuardDBInstanceId,omitempty" xml:"GuardDBInstanceId,omitempty"`
	// The type of the IP address. Only **IPv4** addresses are supported.
	IPType *string `json:"IPType,omitempty" xml:"IPType,omitempty"`
	// The ID of the instance from which incremental data comes. The incremental data of a disaster recovery instance or read-only instance comes from its primary instance. If this parameter is not returned, the instance is a primary instance.
	IncrementSourceDBInstanceId *string `json:"IncrementSourceDBInstanceId,omitempty" xml:"IncrementSourceDBInstanceId,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The architecture type of the instance. Valid values:
	//
	// *   **x86**
	// *   **arm**
	InstructionSetArch *string `json:"InstructionSetArch,omitempty" xml:"InstructionSetArch,omitempty"`
	// The latest minor engine version that is supported by the instance.
	LatestKernelVersion *string `json:"LatestKernelVersion,omitempty" xml:"LatestKernelVersion,omitempty"`
	// The lock mode 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 due to instance restoration.
	// *   **LockByDiskQuota**: The instance is automatically locked due to exhausted storage space.
	// *   **LockReadInstanceByDiskQuota**: The instance is a read-only instance and is automatically locked due to exhausted storage.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The reason why the instance was locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The maintenance window of the instance. The time is displayed in UTC. Take note that the maintenance window displayed in the ApsaraDB RDS console is equal to the value of this parameter plus 8 hours.
	MaintainTime *string `json:"MaintainTime,omitempty" xml:"MaintainTime,omitempty"`
	// The ID of the primary instance.
	//
	// >  If this parameter is not returned, the instance is the primary instance.
	MasterInstanceId *string `json:"MasterInstanceId,omitempty" xml:"MasterInstanceId,omitempty"`
	// The zone ID of the primary instance.
	MasterZone *string `json:"MasterZone,omitempty" xml:"MasterZone,omitempty"`
	// The maximum number of concurrent connections.
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum I/O throughput. Unit: MB/s.
	MaxIOMBPS *int32 `json:"MaxIOMBPS,omitempty" xml:"MaxIOMBPS,omitempty"`
	// The maximum number of I/O requests per second.
	MaxIOPS *int32 `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// Indicates whether PgBouncer is enabled.
	//
	// >  This parameter is returned only for RDS instances that run PostgreSQL. If PgBouncer is enabled, the return value is **true**.
	PGBouncerEnabled *string `json:"PGBouncerEnabled,omitempty" xml:"PGBouncerEnabled,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The port that is used to connect to the instance over an internal network.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The type of the proxy that is supported by the instance. Valid values:
	//
	// *   **0**: The instance does not support database proxies.
	// *   **1**: The instance supports shared proxies, with which the instance runs in multi-tenant mode.
	// *   **2**: The instance supports dedicated proxies, with which the instance runs in single-tenant mode.
	ProxyType *int32 `json:"ProxyType,omitempty" xml:"ProxyType,omitempty"`
	// The IDs of the read-only instances that are attached to the primary instance.
	ReadOnlyDBInstanceIds *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIds `json:"ReadOnlyDBInstanceIds,omitempty" xml:"ReadOnlyDBInstanceIds,omitempty" type:"Struct"`
	// The latency at which the system replicates data to read-only instances. The system replicates data from the primary instance to the read-only instances at the latency that is specified by the **ReadonlyInstanceSQLDelayedTime** parameter. Unit: seconds.
	ReadonlyInstanceSQLDelayedTime *string `json:"ReadonlyInstanceSQLDelayedTime,omitempty" xml:"ReadonlyInstanceSQLDelayedTime,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The IP addresses in the IP address whitelist.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The whitelist mode of the instance. Valid values:
	//
	// *   **normal**: standard whitelist mode
	// *   **safety**: enhanced whitelist mode
	SecurityIPMode *string `json:"SecurityIPMode,omitempty" xml:"SecurityIPMode,omitempty"`
	// The settings of the serverless instance.
	ServerlessConfig *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty" type:"Struct"`
	// The information about the zone of the secondary instance.
	SlaveZones *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZones `json:"SlaveZones,omitempty" xml:"SlaveZones,omitempty" type:"Struct"`
	// Indicates whether the instance supports superuser accounts, such as the system administrator (SA) account, the Active Directory (AD) account, and the host account.
	//
	// *   **Enable**
	// *   **Disabled**
	SuperPermissionMode *string `json:"SuperPermissionMode,omitempty" xml:"SuperPermissionMode,omitempty"`
	// The ID of the temporary instance that is attached to the instance.
	TempDBInstanceId *string `json:"TempDBInstanceId,omitempty" xml:"TempDBInstanceId,omitempty"`
	// The time zone of the instance.
	TimeZone *string `json:"TimeZone,omitempty" xml:"TimeZone,omitempty"`
	// The information about the exception that is detected on the instance. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
	Tips *string `json:"Tips,omitempty" xml:"Tips,omitempty"`
	// The severity level of the exception that is detected on the instance. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values:
	//
	// *   **1**: The instance is normal.
	// *   **2**: The specifications of the read-only instances do not match the specifications of the primary instance. You must adjust the specifications of these instances based on your business requirements.
	TipsLevel *int32 `json:"TipsLevel,omitempty" xml:"TipsLevel,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The VPC ID.
	VpcCloudInstanceId *string `json:"VpcCloudInstanceId,omitempty" xml:"VpcCloudInstanceId,omitempty"`
	// The virtual private cloud (VPC) ID of the instance.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// An internal parameter. You do not need to specify this parameter.
	KindCode *string `json:"kindCode,omitempty" xml:"kindCode,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) GoString

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetAccountMaxQuantity

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetAdvancedFeatures

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetAutoUpgradeMinorVersion

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetAvailabilityValue

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetBpeEnabled added in v3.0.5

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetBurstingEnabled added in v3.0.5

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetCategory

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetCollation

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetConnectionMode

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetConnectionString

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetConsoleVersion

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetCreationTime

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetCurrentKernelVersion

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceCPU

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceClass

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceClassType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceDescription

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceDiskUsed added in v3.3.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceMemory

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceNetType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceStatus

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceStorage

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceStorageType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBInstanceType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDBMaxQuantity

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDedicatedHostGroupId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetDeletionProtection

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetEngine

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetEngineVersion

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetExpireTime

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetGeneralGroupName

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetGuardDBInstanceId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetIPType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetIncrementSourceDBInstanceId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetInstanceNetworkType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetInstructionSetArch

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetKindCode

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetLatestKernelVersion

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetLockMode

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetLockReason

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetMaintainTime

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetMasterInstanceId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetMasterZone

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetMaxConnections

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetMaxIOMBPS

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetMaxIOPS

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetPGBouncerEnabled added in v3.0.7

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetPayType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetPort

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetProxyType

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetReadonlyInstanceSQLDelayedTime

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetRegionId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetResourceGroupId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetSecurityIPList

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetSecurityIPMode

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetSuperPermissionMode

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetTempDBInstanceId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetTimeZone

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetTips

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetTipsLevel

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetVSwitchId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetVpcCloudInstanceId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetVpcId

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) SetZoneId

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttribute) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig struct {
	// Indicates whether Babelfish is enabled.
	//
	// >  If Babelfish is enabled when you purchase an ApsaraDB RDS for PostgreSQL instance, this parameter is fixed as **true**.
	BabelfishEnabled *string `json:"BabelfishEnabled,omitempty" xml:"BabelfishEnabled,omitempty"`
	// The migration mode for Babelfish. Valid values:
	//
	// *   **single-db**
	// *   **multi-db**
	//
	// >  For more information about migration modes for Babelfish, see [Migration modes](~~428613~~).
	MigrationMode *string `json:"MigrationMode,omitempty" xml:"MigrationMode,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig) GoString

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig) SetBabelfishEnabled

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig) SetMigrationMode

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeBabelfishConfig) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodes added in v3.0.3

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodes struct {
	DBClusterNode []*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode `json:"DBClusterNode,omitempty" xml:"DBClusterNode,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodes) GoString added in v3.0.3

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodes) String added in v3.0.3

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode added in v3.0.3

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode struct {
	// The specification of the node.
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,omitempty"`
	// Node specification type. Value range:
	//
	// - d: Exclusive specifications
	// - x: General specifications
	ClassType *string `json:"ClassType,omitempty" xml:"ClassType,omitempty"`
	// The number of vCPUs that you want to allocate to the elastic container instance. Unit: cores.
	Cpu *string `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// The memory size that you applied for each instance. Unit: MB.
	Memory *string `json:"Memory,omitempty" xml:"Memory,omitempty"`
	// The node ID.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The region ID.
	NodeRegionId *string `json:"NodeRegionId,omitempty" xml:"NodeRegionId,omitempty"`
	// The role of the node. Valid values:
	//
	// *   **primary**: primary node
	// *   **secondary**: secondary node
	NodeRole *string `json:"NodeRole,omitempty" xml:"NodeRole,omitempty"`
	// The zone ID.
	NodeZoneId *string `json:"NodeZoneId,omitempty" xml:"NodeZoneId,omitempty"`
	// The status of the migration task. Valid values:
	// - active
	// - creating
	// - deleting
	// - classchanging
	// - restarting
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) GoString added in v3.0.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetClassCode added in v3.0.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetClassType added in v3.2.0

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetCpu added in v3.2.0

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetMemory added in v3.2.0

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetNodeId added in v3.0.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetNodeRegionId added in v3.0.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetNodeRole added in v3.0.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetNodeZoneId added in v3.0.3

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) SetStatus added in v3.2.0

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeDBClusterNodesDBClusterNode) String added in v3.0.3

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra struct {
	// The IDs of the instances.
	DBInstanceIds *DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtraDBInstanceIds `json:"DBInstanceIds,omitempty" xml:"DBInstanceIds,omitempty" type:"Struct"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra) GoString

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtra) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtraDBInstanceIds

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

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtraDBInstanceIds) GoString

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtraDBInstanceIds) SetDBInstanceId

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeExtraDBInstanceIds) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIds

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIds struct {
	ReadOnlyDBInstanceId []*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIdsReadOnlyDBInstanceId `json:"ReadOnlyDBInstanceId,omitempty" xml:"ReadOnlyDBInstanceId,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIds) GoString

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIds) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIdsReadOnlyDBInstanceId

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIdsReadOnlyDBInstanceId struct {
	// The ID of the read-only instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIdsReadOnlyDBInstanceId) GoString

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeReadOnlyDBInstanceIdsReadOnlyDBInstanceId) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig struct {
	// Indicates whether the automatic start and stop feature is enabled for the serverless instance. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// >  After the automatic start and stop feature is enabled, if no connections to the instance are established within 10 minutes, the instance is suspended. After a connection to the instance is established, the instance is automatically resumed.
	AutoPause *bool `json:"AutoPause,omitempty" xml:"AutoPause,omitempty"`
	// The maximum number of RCUs.
	ScaleMax *float64 `json:"ScaleMax,omitempty" xml:"ScaleMax,omitempty"`
	// The minimum number of RDS Capacity Units (RCUs).
	ScaleMin *float64 `json:"ScaleMin,omitempty" xml:"ScaleMin,omitempty"`
	// Indicates whether the forced scaling feature is enabled for the serverless instance.
	//
	// *   **true**
	// *   **false** (default)
	//
	// >  In most cases, ApsaraDB RDS automatically scales in or out the RCUs of a serverless instance based on business requirements in real time. In rare cases, the scaling does not take effect in real time. You can enable the forced scaling feature to forcefully scales in or out the RCUs of the instance.
	SwitchForce *bool `json:"SwitchForce,omitempty" xml:"SwitchForce,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig) GoString

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig) SetAutoPause

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig) SetScaleMax

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig) SetScaleMin

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig) SetSwitchForce

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeServerlessConfig) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZones

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZones struct {
	SlaveZone []*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZonesSlaveZone `json:"SlaveZone,omitempty" xml:"SlaveZone,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZones) GoString

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZones) String

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZonesSlaveZone

type DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZonesSlaveZone struct {
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZonesSlaveZone) GoString

func (*DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZonesSlaveZone) SetZoneId

func (DescribeDBInstanceAttributeResponseBodyItemsDBInstanceAttributeSlaveZonesSlaveZone) String

type DescribeDBInstanceByTagsRequest

type DescribeDBInstanceByTagsRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: **30 to 100**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// A deprecated parameter.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeDBInstanceByTagsRequest) GoString

func (*DescribeDBInstanceByTagsRequest) SetClientToken

func (*DescribeDBInstanceByTagsRequest) SetDBInstanceId

func (*DescribeDBInstanceByTagsRequest) SetOwnerAccount

func (*DescribeDBInstanceByTagsRequest) SetOwnerId

func (*DescribeDBInstanceByTagsRequest) SetPageNumber

func (*DescribeDBInstanceByTagsRequest) SetPageSize

func (*DescribeDBInstanceByTagsRequest) SetProxyId

func (*DescribeDBInstanceByTagsRequest) SetRegionId

func (*DescribeDBInstanceByTagsRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceByTagsRequest) SetResourceOwnerId

func (DescribeDBInstanceByTagsRequest) String

type DescribeDBInstanceByTagsResponse

type DescribeDBInstanceByTagsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceByTagsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceByTagsResponse) GoString

func (*DescribeDBInstanceByTagsResponse) SetHeaders

func (*DescribeDBInstanceByTagsResponse) SetStatusCode

func (DescribeDBInstanceByTagsResponse) String

type DescribeDBInstanceByTagsResponseBody

type DescribeDBInstanceByTagsResponseBody struct {
	// The details about the instance.
	Items *DescribeDBInstanceByTagsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDBInstanceByTagsResponseBody) GoString

func (*DescribeDBInstanceByTagsResponseBody) SetPageNumber

func (*DescribeDBInstanceByTagsResponseBody) SetPageRecordCount

func (*DescribeDBInstanceByTagsResponseBody) SetRequestId

func (*DescribeDBInstanceByTagsResponseBody) SetTotalRecordCount

func (DescribeDBInstanceByTagsResponseBody) String

type DescribeDBInstanceByTagsResponseBodyItems

type DescribeDBInstanceByTagsResponseBodyItems struct {
	DBInstanceTag []*DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTag `json:"DBInstanceTag,omitempty" xml:"DBInstanceTag,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceByTagsResponseBodyItems) GoString

func (DescribeDBInstanceByTagsResponseBodyItems) String

type DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTag

type DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTag struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details about the tag.
	Tags *DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
}

func (DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTag) GoString

func (*DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTag) SetDBInstanceId

func (DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTag) String

type DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTags

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

func (DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTags) GoString

func (DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTags) String

type DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTagsTag

type DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTagsTag struct {
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTagsTag) GoString

func (*DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTagsTag) SetTagKey

func (*DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTagsTag) SetTagValue

func (DescribeDBInstanceByTagsResponseBodyItemsDBInstanceTagTagsTag) String

type DescribeDBInstanceConnectivityRequest added in v3.3.0

type DescribeDBInstanceConnectivityRequest struct {
	// The instance ID.
	DbInstanceName *string `json:"DbInstanceName,omitempty" xml:"DbInstanceName,omitempty"`
	OwnerAccount   *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The source IP address.
	SourceIpAddress *string `json:"SourceIpAddress,omitempty" xml:"SourceIpAddress,omitempty"`
}

func (DescribeDBInstanceConnectivityRequest) GoString added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetDbInstanceName added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetOwnerAccount added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetOwnerId added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetResourceGroupId added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetResourceOwnerAccount added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetResourceOwnerId added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetSecurityToken added in v3.3.0

func (*DescribeDBInstanceConnectivityRequest) SetSourceIpAddress added in v3.3.0

func (DescribeDBInstanceConnectivityRequest) String added in v3.3.0

type DescribeDBInstanceConnectivityResponse added in v3.3.0

type DescribeDBInstanceConnectivityResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceConnectivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceConnectivityResponse) GoString added in v3.3.0

func (*DescribeDBInstanceConnectivityResponse) SetBody added in v3.3.0

func (*DescribeDBInstanceConnectivityResponse) SetHeaders added in v3.3.0

func (*DescribeDBInstanceConnectivityResponse) SetStatusCode added in v3.3.0

func (DescribeDBInstanceConnectivityResponse) String added in v3.3.0

type DescribeDBInstanceConnectivityResponseBody added in v3.3.0

type DescribeDBInstanceConnectivityResponseBody struct {
	// The error code for connection diagnosis. Valid values:
	//
	// *   **SRC_IP_NOT_IN_USER_WHITELIST**: The source IP address is not added to the whitelist.
	// *   **CONNECTION_ABNORMAL**: The connection to the cluster is normal.
	ConnCheckErrorCode *string `json:"ConnCheckErrorCode,omitempty" xml:"ConnCheckErrorCode,omitempty"`
	// The error message for connection diagnosis.
	ConnCheckErrorMessage *string `json:"ConnCheckErrorMessage,omitempty" xml:"ConnCheckErrorMessage,omitempty"`
	// The connection diagnosis result. Valid values:
	//
	// *   **Success**
	// *   **Failed**
	ConnCheckResult *string `json:"ConnCheckResult,omitempty" xml:"ConnCheckResult,omitempty"`
	// The instance ID.
	DbInstanceName *string `json:"DbInstanceName,omitempty" xml:"DbInstanceName,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceConnectivityResponseBody) GoString added in v3.3.0

func (*DescribeDBInstanceConnectivityResponseBody) SetConnCheckErrorCode added in v3.3.0

func (*DescribeDBInstanceConnectivityResponseBody) SetConnCheckErrorMessage added in v3.3.0

func (*DescribeDBInstanceConnectivityResponseBody) SetConnCheckResult added in v3.3.0

func (*DescribeDBInstanceConnectivityResponseBody) SetDbInstanceName added in v3.3.0

func (*DescribeDBInstanceConnectivityResponseBody) SetRequestId added in v3.3.0

func (DescribeDBInstanceConnectivityResponseBody) String added in v3.3.0

type DescribeDBInstanceDetailRequest

type DescribeDBInstanceDetailRequest struct {
	// The client token that is used to ensure the idempotence of the request.
	//
	// > You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceDetailRequest) GoString

func (*DescribeDBInstanceDetailRequest) SetClientToken

func (*DescribeDBInstanceDetailRequest) SetDBInstanceId

func (*DescribeDBInstanceDetailRequest) SetOwnerId

func (*DescribeDBInstanceDetailRequest) SetResourceGroupId

func (*DescribeDBInstanceDetailRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceDetailRequest) SetResourceOwnerId

func (DescribeDBInstanceDetailRequest) String

type DescribeDBInstanceDetailResponse

type DescribeDBInstanceDetailResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceDetailResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceDetailResponse) GoString

func (*DescribeDBInstanceDetailResponse) SetHeaders

func (*DescribeDBInstanceDetailResponse) SetStatusCode

func (DescribeDBInstanceDetailResponse) String

type DescribeDBInstanceDetailResponseBody

type DescribeDBInstanceDetailResponseBody struct {
	// Indicates whether the instance is in the active state.
	ActivationState *string `json:"ActivationState,omitempty" xml:"ActivationState,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the license.
	LicenseType *string `json:"LicenseType,omitempty" xml:"LicenseType,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceDetailResponseBody) GoString

func (*DescribeDBInstanceDetailResponseBody) SetActivationState

func (*DescribeDBInstanceDetailResponseBody) SetDBInstanceId

func (*DescribeDBInstanceDetailResponseBody) SetLicenseType

func (*DescribeDBInstanceDetailResponseBody) SetRegionId

func (*DescribeDBInstanceDetailResponseBody) SetRequestId

func (DescribeDBInstanceDetailResponseBody) String

type DescribeDBInstanceEncryptionKeyRequest

type DescribeDBInstanceEncryptionKeyRequest struct {
	// The ID of the instance You can call the [DescribeDBInstances](~~26232~~) operation to query the IDs of instances.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the custom key.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,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](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The ID of the destination region. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	TargetRegionId *string `json:"TargetRegionId,omitempty" xml:"TargetRegionId,omitempty"`
}

func (DescribeDBInstanceEncryptionKeyRequest) GoString

func (*DescribeDBInstanceEncryptionKeyRequest) SetDBInstanceId

func (*DescribeDBInstanceEncryptionKeyRequest) SetEncryptionKey

func (*DescribeDBInstanceEncryptionKeyRequest) SetOwnerAccount

func (*DescribeDBInstanceEncryptionKeyRequest) SetOwnerId

func (*DescribeDBInstanceEncryptionKeyRequest) SetRegionId

func (*DescribeDBInstanceEncryptionKeyRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceEncryptionKeyRequest) SetResourceOwnerId

func (*DescribeDBInstanceEncryptionKeyRequest) SetSecurityToken

func (*DescribeDBInstanceEncryptionKeyRequest) SetTargetRegionId

func (DescribeDBInstanceEncryptionKeyRequest) String

type DescribeDBInstanceEncryptionKeyResponse

type DescribeDBInstanceEncryptionKeyResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceEncryptionKeyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceEncryptionKeyResponse) GoString

func (*DescribeDBInstanceEncryptionKeyResponse) SetHeaders

func (*DescribeDBInstanceEncryptionKeyResponse) SetStatusCode

func (DescribeDBInstanceEncryptionKeyResponse) String

type DescribeDBInstanceEncryptionKeyResponseBody

type DescribeDBInstanceEncryptionKeyResponseBody struct {
	// The user who created the key.
	Creator *string `json:"Creator,omitempty" xml:"Creator,omitempty"`
	// The scheduled time at which the key is deleted. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	DeleteDate *string `json:"DeleteDate,omitempty" xml:"DeleteDate,omitempty"`
	// The description of the key.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the key.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The details about the key.
	EncryptionKeyList []*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList `json:"EncryptionKeyList,omitempty" xml:"EncryptionKeyList,omitempty" type:"Repeated"`
	// The status of the key. Valid values:
	//
	// *   **Enabled**
	// *   **Disabled**
	EncryptionKeyStatus *string `json:"EncryptionKeyStatus,omitempty" xml:"EncryptionKeyStatus,omitempty"`
	// The purpose of the key.
	KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"`
	// The time at which the key expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	MaterialExpireTime *string `json:"MaterialExpireTime,omitempty" xml:"MaterialExpireTime,omitempty"`
	// The source of the key.
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The ID of the request.
	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) SetEncryptionKeyList added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetEncryptionKeyStatus

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetKeyUsage

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetMaterialExpireTime

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetOrigin

func (*DescribeDBInstanceEncryptionKeyResponseBody) SetRequestId

func (DescribeDBInstanceEncryptionKeyResponseBody) String

type DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList added in v3.0.4

type DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList struct {
	// The alias of the key.
	AliasName *string `json:"AliasName,omitempty" xml:"AliasName,omitempty"`
	// The user who created the key.
	Creator *string `json:"Creator,omitempty" xml:"Creator,omitempty"`
	// The scheduled time at which the key is deleted. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	DeleteDate *string `json:"DeleteDate,omitempty" xml:"DeleteDate,omitempty"`
	// The description of the key.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the key.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// The status of the key. Valid values:
	//
	// *   **Enabled**
	// *   **Disabled**
	EncryptionKeyStatus *string `json:"EncryptionKeyStatus,omitempty" xml:"EncryptionKeyStatus,omitempty"`
	// The type of the key. Valid values:
	//
	// *   **CMK**
	// *   **ServiceKey**
	KeyType *string `json:"KeyType,omitempty" xml:"KeyType,omitempty"`
	// The purpose of the key.
	KeyUsage *string `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty"`
	// The time at which the key expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	MaterialExpireTime *string `json:"MaterialExpireTime,omitempty" xml:"MaterialExpireTime,omitempty"`
	// The source of the key.
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **Master**: primary instance
	// *   **slave**: read-only instance
	UsedBy *string `json:"UsedBy,omitempty" xml:"UsedBy,omitempty"`
}

func (DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) GoString added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetAliasName added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetCreator added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetDeleteDate added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetDescription added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetEncryptionKey added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetEncryptionKeyStatus added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetKeyType added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetKeyUsage added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetMaterialExpireTime added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetOrigin added in v3.0.4

func (*DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) SetUsedBy added in v3.0.4

func (DescribeDBInstanceEncryptionKeyResponseBodyEncryptionKeyList) String added in v3.0.4

type DescribeDBInstanceEndpointsRequest added in v3.0.3

type DescribeDBInstanceEndpointsRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The endpoint ID of the instance.
	//
	// >  If this parameter is not specified, the information about all endpoints is returned.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceEndpointsRequest) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsRequest) SetClientToken added in v3.0.3

func (*DescribeDBInstanceEndpointsRequest) SetDBInstanceEndpointId added in v3.0.3

func (*DescribeDBInstanceEndpointsRequest) SetDBInstanceId added in v3.0.3

func (*DescribeDBInstanceEndpointsRequest) SetResourceOwnerId added in v3.0.3

func (DescribeDBInstanceEndpointsRequest) String added in v3.0.3

type DescribeDBInstanceEndpointsResponse added in v3.0.3

type DescribeDBInstanceEndpointsResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceEndpointsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceEndpointsResponse) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponse) SetBody added in v3.0.3

func (*DescribeDBInstanceEndpointsResponse) SetHeaders added in v3.0.3

func (*DescribeDBInstanceEndpointsResponse) SetStatusCode added in v3.0.3

func (DescribeDBInstanceEndpointsResponse) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBody added in v3.0.3

type DescribeDBInstanceEndpointsResponseBody struct {
	// The data returned.
	Data *DescribeDBInstanceEndpointsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceEndpointsResponseBody) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBody) SetData added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBody) SetRequestId added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBody) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyData added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyData struct {
	// The information of the endpoints of the instance.
	DBInstanceEndpoints *DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpoints `json:"DBInstanceEndpoints,omitempty" xml:"DBInstanceEndpoints,omitempty" type:"Struct"`
	// The name of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The version of the IP protocol. Valid values:
	//
	// *   **ipv4**
	// *   **ipv6**
	IpVersion *string `json:"IpVersion,omitempty" xml:"IpVersion,omitempty"`
}

func (DescribeDBInstanceEndpointsResponseBodyData) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyData) SetDBInstanceName added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyData) SetIpVersion added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyData) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpoints added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpoints struct {
	DBInstanceEndpoint []*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint `json:"DBInstanceEndpoint,omitempty" xml:"DBInstanceEndpoint,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpoints) GoString added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpoints) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint struct {
	// The information about the endpoint.
	AddressItems *DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItems `json:"AddressItems,omitempty" xml:"AddressItems,omitempty" type:"Struct"`
	// The user-defined description of the endpoint.
	EndpointDescription *string `json:"EndpointDescription,omitempty" xml:"EndpointDescription,omitempty"`
	// The endpoint ID of the instance.
	EndpointId *string `json:"EndpointId,omitempty" xml:"EndpointId,omitempty"`
	// The type of the endpoint. Valid values:
	//
	// *   **Primary**: the read/write endpoint of the instance
	// *   **Readonly**: the read-only endpoint of the instance
	EndpointType *string `json:"EndpointType,omitempty" xml:"EndpointType,omitempty"`
	// The information about the node that is configured for the endpoint.
	NodeItems *DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItems `json:"NodeItems,omitempty" xml:"NodeItems,omitempty" type:"Struct"`
}

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint) SetEndpointDescription added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint) SetEndpointId added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint) SetEndpointType added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpoint) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItems added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItems struct {
	AddressItem []*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem `json:"AddressItem,omitempty" xml:"AddressItem,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItems) GoString added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItems) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem struct {
	// The endpoints of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The IP address.
	IpAddress *string `json:"IpAddress,omitempty" xml:"IpAddress,omitempty"`
	// The type of the IP address. Valid values:
	//
	// *   **Public**: Internet
	// *   **Private**: internal network
	IpType *string `json:"IpType,omitempty" xml:"IpType,omitempty"`
	// The port number of the endpoint.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The VPC ID.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) SetConnectionString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) SetIpAddress added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) SetIpType added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) SetPort added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) SetVSwitchId added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) SetVpcId added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointAddressItemsAddressItem) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItems added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItems struct {
	NodeItem []*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem `json:"NodeItem,omitempty" xml:"NodeItem,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItems) GoString added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItems) String added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem added in v3.0.3

type DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node ID.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The weight of the node. Read requests are distributed based on the weight.
	//
	// Valid values: 0 to 100.
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem) GoString added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem) SetDBInstanceId added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem) SetNodeId added in v3.0.3

func (*DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem) SetWeight added in v3.0.3

func (DescribeDBInstanceEndpointsResponseBodyDataDBInstanceEndpointsDBInstanceEndpointNodeItemsNodeItem) String added in v3.0.3

type DescribeDBInstanceHAConfigRequest

type DescribeDBInstanceHAConfigRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceHAConfigRequest) GoString

func (*DescribeDBInstanceHAConfigRequest) SetDBInstanceId

func (*DescribeDBInstanceHAConfigRequest) SetOwnerAccount

func (*DescribeDBInstanceHAConfigRequest) SetOwnerId

func (*DescribeDBInstanceHAConfigRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceHAConfigRequest) SetResourceOwnerId

func (DescribeDBInstanceHAConfigRequest) String

type DescribeDBInstanceHAConfigResponse

type DescribeDBInstanceHAConfigResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceHAConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceHAConfigResponse) GoString

func (*DescribeDBInstanceHAConfigResponse) SetHeaders

func (*DescribeDBInstanceHAConfigResponse) SetStatusCode

func (DescribeDBInstanceHAConfigResponse) String

type DescribeDBInstanceHAConfigResponseBody

type DescribeDBInstanceHAConfigResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The high availability mode of the instance. Valid values:
	//
	// *   **RPO**: Data consistency is preferred. The instance ensures data reliability to minimize data losses. If you have high requirements on data consistency, select this mode.
	// *   **RTO**: Service availability is preferred. The instance restores the database service at the earliest opportunity to ensure service availability. If you have high requirements on instance availability, select this mode.
	//
	// > This parameter is returned only for instances that run MySQL.
	HAMode *string `json:"HAMode,omitempty" xml:"HAMode,omitempty"`
	// An array that consists of the information of the primary and secondary instances.
	HostInstanceInfos *DescribeDBInstanceHAConfigResponseBodyHostInstanceInfos `json:"HostInstanceInfos,omitempty" xml:"HostInstanceInfos,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The data replication mode of the instance. Valid values:
	//
	// *   **Sync**: the synchronous mode
	// *   **Semi-sync**: the semi-synchronous replication mode
	// *   **Async**: the asynchronous mode
	//
	// > This parameter is returned only for instances that run MySQL.
	SyncMode *string `json:"SyncMode,omitempty" xml:"SyncMode,omitempty"`
}

func (DescribeDBInstanceHAConfigResponseBody) GoString

func (*DescribeDBInstanceHAConfigResponseBody) SetDBInstanceId

func (*DescribeDBInstanceHAConfigResponseBody) SetHAMode

func (*DescribeDBInstanceHAConfigResponseBody) SetRequestId

func (*DescribeDBInstanceHAConfigResponseBody) SetSyncMode

func (DescribeDBInstanceHAConfigResponseBody) String

type DescribeDBInstanceHAConfigResponseBodyHostInstanceInfos

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

func (DescribeDBInstanceHAConfigResponseBodyHostInstanceInfos) GoString

func (DescribeDBInstanceHAConfigResponseBodyHostInstanceInfos) String

type DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo

type DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo struct {
	// The time when the secondary instance completed the synchronization of data from the primary instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	DataSyncTime *string `json:"DataSyncTime,omitempty" xml:"DataSyncTime,omitempty"`
	// The time when the secondary instance received logs from the primary instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogSyncTime *string `json:"LogSyncTime,omitempty" xml:"LogSyncTime,omitempty"`
	// The ID of the instance.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The type of the node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The synchronization status. Valid values:
	//
	// *   **NotAvailable**: The synchronization fails. This means that faults occur.
	// *   **Syncing**: The synchronization is in process. In this case, a primary/secondary switchover may cause data losses.
	// *   **Synchronized**: The synchronization is completed.
	// *   **NotSupport**: The database engine or database engine version does not involve the synchronization between the primary and secondary instances.
	SyncStatus *string `json:"SyncStatus,omitempty" xml:"SyncStatus,omitempty"`
	// The ID of the zone.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) GoString

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetDataSyncTime

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetLogSyncTime

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetNodeId

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetNodeType

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetRegionId

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetSyncStatus

func (*DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) SetZoneId

func (DescribeDBInstanceHAConfigResponseBodyHostInstanceInfosNodeInfo) String

type DescribeDBInstanceIPArrayListRequest

type DescribeDBInstanceIPArrayListRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount    *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The network type of the IP address whitelist. Valid values:
	//
	// *   **Classic**: classic network in enhanced whitelist mode
	// *   **VPC**: virtual private cloud (VPC) in enhanced whitelist mode
	// *   **MIX**: standard whitelist mode
	//
	// By default, this operation returns IP address whitelists of all network types.
	WhitelistNetworkType *string `json:"WhitelistNetworkType,omitempty" xml:"WhitelistNetworkType,omitempty"`
}

func (DescribeDBInstanceIPArrayListRequest) GoString

func (*DescribeDBInstanceIPArrayListRequest) SetDBInstanceId

func (*DescribeDBInstanceIPArrayListRequest) SetOwnerAccount

func (*DescribeDBInstanceIPArrayListRequest) SetResourceOwnerId

func (*DescribeDBInstanceIPArrayListRequest) SetWhitelistNetworkType

func (DescribeDBInstanceIPArrayListRequest) String

type DescribeDBInstanceIPArrayListResponse

type DescribeDBInstanceIPArrayListResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceIPArrayListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceIPArrayListResponse) GoString

func (*DescribeDBInstanceIPArrayListResponse) SetHeaders

func (*DescribeDBInstanceIPArrayListResponse) SetStatusCode

func (DescribeDBInstanceIPArrayListResponse) String

type DescribeDBInstanceIPArrayListResponseBody

type DescribeDBInstanceIPArrayListResponseBody struct {
	// An array that consists of the details about the IP address whitelists.
	Items *DescribeDBInstanceIPArrayListResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceIPArrayListResponseBody) GoString

func (*DescribeDBInstanceIPArrayListResponseBody) SetRequestId

func (DescribeDBInstanceIPArrayListResponseBody) String

type DescribeDBInstanceIPArrayListResponseBodyItems

type DescribeDBInstanceIPArrayListResponseBodyItems struct {
	DBInstanceIPArray []*DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray `json:"DBInstanceIPArray,omitempty" xml:"DBInstanceIPArray,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceIPArrayListResponseBodyItems) GoString

func (DescribeDBInstanceIPArrayListResponseBodyItems) String

type DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray

type DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray struct {
	// The attribute of the IP address whitelist. By default, this parameter is empty.
	//
	// >  A whitelist with the hidden attribute does not appear in the console. Such IP address whitelists are used to access Alibaba Cloud services, such as Data Transmission Service (DTS).
	DBInstanceIPArrayAttribute *string `json:"DBInstanceIPArrayAttribute,omitempty" xml:"DBInstanceIPArrayAttribute,omitempty"`
	// The name of the IP address whitelist.
	DBInstanceIPArrayName *string `json:"DBInstanceIPArrayName,omitempty" xml:"DBInstanceIPArrayName,omitempty"`
	// The IP addresses in the IP address whitelist.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The type of the IP address.
	SecurityIPType *string `json:"SecurityIPType,omitempty" xml:"SecurityIPType,omitempty"`
}

func (DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray) GoString

func (*DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray) SetDBInstanceIPArrayAttribute

func (*DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray) SetDBInstanceIPArrayName

func (*DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray) SetSecurityIPList

func (*DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray) SetSecurityIPType

func (DescribeDBInstanceIPArrayListResponseBodyItemsDBInstanceIPArray) String

type DescribeDBInstanceIpHostnameRequest

type DescribeDBInstanceIpHostnameRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// You can call the DescribeDBInstanceAttribute operation to query the region ID.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeDBInstanceIpHostnameRequest) GoString

func (*DescribeDBInstanceIpHostnameRequest) SetDBInstanceId

func (*DescribeDBInstanceIpHostnameRequest) SetOwnerAccount

func (*DescribeDBInstanceIpHostnameRequest) SetOwnerId

func (*DescribeDBInstanceIpHostnameRequest) SetRegionId

func (*DescribeDBInstanceIpHostnameRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceIpHostnameRequest) SetResourceOwnerId

func (*DescribeDBInstanceIpHostnameRequest) SetSecurityToken

func (DescribeDBInstanceIpHostnameRequest) String

type DescribeDBInstanceIpHostnameResponse

type DescribeDBInstanceIpHostnameResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceIpHostnameResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceIpHostnameResponse) GoString

func (*DescribeDBInstanceIpHostnameResponse) SetHeaders

func (*DescribeDBInstanceIpHostnameResponse) SetStatusCode

func (DescribeDBInstanceIpHostnameResponse) String

type DescribeDBInstanceIpHostnameResponseBody

type DescribeDBInstanceIpHostnameResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The internal IP addresses and hostnames of the ECS instances on which the primary and secondary instances reside. Format: `IP address 1,Hostname 1;IP address 2,Hostname 2`.
	IpHostnameInfos *string `json:"IpHostnameInfos,omitempty" xml:"IpHostnameInfos,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceIpHostnameResponseBody) GoString

func (*DescribeDBInstanceIpHostnameResponseBody) SetDBInstanceId

func (*DescribeDBInstanceIpHostnameResponseBody) SetIpHostnameInfos

func (*DescribeDBInstanceIpHostnameResponseBody) SetRequestId

func (DescribeDBInstanceIpHostnameResponseBody) String

type DescribeDBInstanceMetricsRequest

type DescribeDBInstanceMetricsRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceMetricsRequest) GoString

func (*DescribeDBInstanceMetricsRequest) SetDBInstanceName

func (*DescribeDBInstanceMetricsRequest) SetResourceGroupId

func (*DescribeDBInstanceMetricsRequest) SetResourceOwnerId

func (DescribeDBInstanceMetricsRequest) String

type DescribeDBInstanceMetricsResponse

type DescribeDBInstanceMetricsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceMetricsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceMetricsResponse) GoString

func (*DescribeDBInstanceMetricsResponse) SetHeaders

func (*DescribeDBInstanceMetricsResponse) SetStatusCode

func (DescribeDBInstanceMetricsResponse) String

type DescribeDBInstanceMetricsResponseBody

type DescribeDBInstanceMetricsResponseBody struct {
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// An array consisting of the Enhanced Monitoring metrics that are enabled for the instance.
	Items []*DescribeDBInstanceMetricsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of enhanced monitoring metrics that are enabled for the instance.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDBInstanceMetricsResponseBody) GoString

func (*DescribeDBInstanceMetricsResponseBody) SetDBInstanceName

func (*DescribeDBInstanceMetricsResponseBody) SetRequestId

func (*DescribeDBInstanceMetricsResponseBody) SetTotalRecordCount

func (DescribeDBInstanceMetricsResponseBody) String

type DescribeDBInstanceMetricsResponseBodyItems

type DescribeDBInstanceMetricsResponseBodyItems struct {
	// The description of the enhanced monitoring metric.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The category of the enhanced monitoring metric. Valid values:
	//
	// *   **os**: OS metric
	// *   **db**: database metric
	Dimension *string `json:"Dimension,omitempty" xml:"Dimension,omitempty"`
	// The key of the group to which the enhanced monitoring metric belongs.
	GroupKey *string `json:"GroupKey,omitempty" xml:"GroupKey,omitempty"`
	// The name of the group to which the enhanced monitoring metric belongs.
	GroupKeyType *string `json:"GroupKeyType,omitempty" xml:"GroupKeyType,omitempty"`
	// The method that is used to aggregate the monitoring data of the enhanced monitoring metric. Valid values:
	//
	// *   **avg**: The system calculates the average value of the enhanced monitoring metric.
	// *   **min**: The system calculates the minimum value of the enhanced monitoring metric.
	// *   **max**: The system calculates the maximum value of the enhanced monitoring metric.
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The key of the enhanced monitoring metric.
	MetricsKey *string `json:"MetricsKey,omitempty" xml:"MetricsKey,omitempty"`
	// The alias of the enhanced monitoring metric.
	MetricsKeyAlias *string `json:"MetricsKeyAlias,omitempty" xml:"MetricsKeyAlias,omitempty"`
	// The serial number of the enhanced monitoring metric.
	SortRule *int32 `json:"SortRule,omitempty" xml:"SortRule,omitempty"`
	// The unit of the enhanced monitoring metric.
	Unit *string `json:"Unit,omitempty" xml:"Unit,omitempty"`
}

func (DescribeDBInstanceMetricsResponseBodyItems) GoString

func (*DescribeDBInstanceMetricsResponseBodyItems) SetDescription

func (*DescribeDBInstanceMetricsResponseBodyItems) SetDimension

func (*DescribeDBInstanceMetricsResponseBodyItems) SetGroupKey

func (*DescribeDBInstanceMetricsResponseBodyItems) SetGroupKeyType

func (*DescribeDBInstanceMetricsResponseBodyItems) SetMethod

func (*DescribeDBInstanceMetricsResponseBodyItems) SetMetricsKey

func (*DescribeDBInstanceMetricsResponseBodyItems) SetMetricsKeyAlias

func (*DescribeDBInstanceMetricsResponseBodyItems) SetSortRule

func (*DescribeDBInstanceMetricsResponseBodyItems) SetUnit

func (DescribeDBInstanceMetricsResponseBodyItems) String

type DescribeDBInstanceMonitorRequest

type DescribeDBInstanceMonitorRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceMonitorRequest) GoString

func (*DescribeDBInstanceMonitorRequest) SetClientToken

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" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceMonitorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceMonitorResponse) GoString

func (*DescribeDBInstanceMonitorResponse) SetHeaders

func (*DescribeDBInstanceMonitorResponse) SetStatusCode

func (DescribeDBInstanceMonitorResponse) String

type DescribeDBInstanceMonitorResponseBody

type DescribeDBInstanceMonitorResponseBody struct {
	// The monitoring frequency. Unit: seconds.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceMonitorResponseBody) GoString

func (*DescribeDBInstanceMonitorResponseBody) SetPeriod

func (*DescribeDBInstanceMonitorResponseBody) SetRequestId

func (DescribeDBInstanceMonitorResponseBody) String

type DescribeDBInstanceNetInfoForChannelRequest

type DescribeDBInstanceNetInfoForChannelRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the endpoint to query. Valid values:
	//
	// *   **0**: a regular endpoint. This is the default value.
	// *   **1**: a read/write splitting endpoint that is assigned after the shared proxy feature is enabled.
	DBInstanceNetRWSplitType *string `json:"DBInstanceNetRWSplitType,omitempty" xml:"DBInstanceNetRWSplitType,omitempty"`
	// An internal parameter. You do not need to specify this parameter.
	Flag                 *string `json:"Flag,omitempty" xml:"Flag,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 (DescribeDBInstanceNetInfoForChannelRequest) GoString

func (*DescribeDBInstanceNetInfoForChannelRequest) SetClientToken

func (*DescribeDBInstanceNetInfoForChannelRequest) SetDBInstanceId

func (*DescribeDBInstanceNetInfoForChannelRequest) SetDBInstanceNetRWSplitType

func (*DescribeDBInstanceNetInfoForChannelRequest) SetFlag

func (*DescribeDBInstanceNetInfoForChannelRequest) SetOwnerAccount

func (*DescribeDBInstanceNetInfoForChannelRequest) SetOwnerId

func (*DescribeDBInstanceNetInfoForChannelRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceNetInfoForChannelRequest) SetResourceOwnerId

func (DescribeDBInstanceNetInfoForChannelRequest) String

type DescribeDBInstanceNetInfoForChannelResponse

type DescribeDBInstanceNetInfoForChannelResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceNetInfoForChannelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceNetInfoForChannelResponse) GoString

func (*DescribeDBInstanceNetInfoForChannelResponse) SetHeaders

func (*DescribeDBInstanceNetInfoForChannelResponse) SetStatusCode

func (DescribeDBInstanceNetInfoForChannelResponse) String

type DescribeDBInstanceNetInfoForChannelResponseBody

type DescribeDBInstanceNetInfoForChannelResponseBody struct {
	// The information about the instance connection.
	DBInstanceNetInfos *DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos `json:"DBInstanceNetInfos,omitempty" xml:"DBInstanceNetInfos,omitempty" type:"Struct"`
	// The network type of the instance. Valid values:
	//
	// *   **VPC**: a virtual private cloud (VPC)
	// *   **Classic**: classic network
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBody) GoString

func (*DescribeDBInstanceNetInfoForChannelResponseBody) SetInstanceNetworkType

func (*DescribeDBInstanceNetInfoForChannelResponseBody) SetRequestId

func (DescribeDBInstanceNetInfoForChannelResponseBody) String

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos struct {
	DBInstanceNetInfo []*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" xml:"DBInstanceNetInfo,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos) GoString

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos) String

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo struct {
	// The availability of the instance. Valid values:
	//
	// *   **Unavailable**
	// *   **Available**
	Availability *string `json:"Availability,omitempty" xml:"Availability,omitempty"`
	// The endpoint of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The type of the endpoint. Valid values:
	//
	// *   **Normal**: a regular endpoint
	// *   **ReadWriteSplitting**: a read/write splitting endpoint that is assigned after the shared proxy feature is enabled.
	ConnectionStringType *string `json:"ConnectionStringType,omitempty" xml:"ConnectionStringType,omitempty"`
	// The information about read weights to implement read/write splitting after the shared proxy feature is enabled.
	DBInstanceWeights *DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights `json:"DBInstanceWeights,omitempty" xml:"DBInstanceWeights,omitempty" type:"Struct"`
	// The policy that is used to assign read weights. This parameter is returned only for a read/write splitting endpoint that is assigned after the shared proxy feature is enabled. Valid values:
	//
	// *   **Standard**: The system automatically allocates read weights to the instance and its read-only instances based on the specifications of the instances.
	// *   **Custom**: You must manually allocate read weights to the instance and its read-only instances.
	DistributionType *string `json:"DistributionType,omitempty" xml:"DistributionType,omitempty"`
	// The IP address of the instance.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The network type of the IP address. Valid values:
	//
	// *   **Public**: the Internet
	// *   **Inner**: the classic network
	// *   **Private**: a virtual private cloud (VPC)
	IPType *string `json:"IPType,omitempty" xml:"IPType,omitempty"`
	// The latency threshold that is allowed for read/write splitting of the shared proxy feature. Unit: seconds.
	//
	// >  This parameter is returned only when **ConnectionStringType** is set to **ReadWriteSplitting**.
	MaxDelayTime *string `json:"MaxDelayTime,omitempty" xml:"MaxDelayTime,omitempty"`
	// The port number of the instance.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The details of the IP address whitelist.
	SecurityIPGroups *DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups `json:"SecurityIPGroups,omitempty" xml:"SecurityIPGroups,omitempty" type:"Struct"`
	// An internal parameter. You do not need to specify this parameter.
	Upgradeable *string `json:"Upgradeable,omitempty" xml:"Upgradeable,omitempty"`
	// The VPC ID of the instance.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the instance.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The expiration time of the endpoint of the classic network type. Unit: seconds.
	ExpiredTime *string `json:"expiredTime,omitempty" xml:"expiredTime,omitempty"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) GoString

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetAvailability

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetConnectionString

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetConnectionStringType

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetDistributionType

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetExpiredTime

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetIPAddress

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetIPType

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetMaxDelayTime

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetUpgradeable

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetVPCId

func (*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetVSwitchId

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo) String

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights struct {
	DBInstanceWeight []*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight `json:"DBInstanceWeight,omitempty" xml:"DBInstanceWeight,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights) GoString

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights) String

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight struct {
	// The availability of the instance. Valid values:
	//
	// *   **Unavailable**
	// *   **Available**
	Availability *string `json:"Availability,omitempty" xml:"Availability,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The instance type. Valid values:
	//
	// *   **Master**: primary instance
	// *   **Readonly**: read-only instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The weight of the instance.
	Weight *string `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight) GoString

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight) String

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups struct {
	SecurityIPGroup []*DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup `json:"securityIPGroup,omitempty" xml:"securityIPGroup,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups) GoString

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups) String

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup

type DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup struct {
	// The name of the IP address whitelist.
	SecurityIPGroupName *string `json:"SecurityIPGroupName,omitempty" xml:"SecurityIPGroupName,omitempty"`
	// The IP addresses that is contained in the IP address whitelist.
	SecurityIPs *string `json:"SecurityIPs,omitempty" xml:"SecurityIPs,omitempty"`
}

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup) GoString

func (DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup) String

type DescribeDBInstanceNetInfoRequest

type DescribeDBInstanceNetInfoRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the endpoint. Valid values:
	//
	// *   **Normal**: regular endpoint
	// *   **ReadWriteSplitting**: read/write splitting endpoint
	//
	// > By default, the system returns both types of endpoints.
	DBInstanceNetRWSplitType *string `json:"DBInstanceNetRWSplitType,omitempty" xml:"DBInstanceNetRWSplitType,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	Flag *int32 `json:"Flag,omitempty" xml:"Flag,omitempty"`
	// The name of the dedicated cluster to which the instance belongs. This parameter takes effect only when the instance runs MySQL on RDS Standard Edition and is created in a dedicated cluster.
	GeneralGroupName     *string `json:"GeneralGroupName,omitempty" xml:"GeneralGroupName,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 (DescribeDBInstanceNetInfoRequest) GoString

func (*DescribeDBInstanceNetInfoRequest) SetClientToken

func (*DescribeDBInstanceNetInfoRequest) SetDBInstanceId

func (*DescribeDBInstanceNetInfoRequest) SetDBInstanceNetRWSplitType

func (*DescribeDBInstanceNetInfoRequest) SetFlag

func (*DescribeDBInstanceNetInfoRequest) SetGeneralGroupName

func (*DescribeDBInstanceNetInfoRequest) SetOwnerAccount

func (*DescribeDBInstanceNetInfoRequest) SetOwnerId

func (*DescribeDBInstanceNetInfoRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceNetInfoRequest) SetResourceOwnerId

func (DescribeDBInstanceNetInfoRequest) String

type DescribeDBInstanceNetInfoResponse

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

func (DescribeDBInstanceNetInfoResponse) GoString

func (*DescribeDBInstanceNetInfoResponse) SetHeaders

func (*DescribeDBInstanceNetInfoResponse) SetStatusCode

func (DescribeDBInstanceNetInfoResponse) String

type DescribeDBInstanceNetInfoResponseBody

type DescribeDBInstanceNetInfoResponseBody struct {
	// The information about the endpoints of the instance.
	DBInstanceNetInfos *DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos `json:"DBInstanceNetInfos,omitempty" xml:"DBInstanceNetInfos,omitempty" type:"Struct"`
	// The network type of the instance. Valid values:
	//
	// *   **Classic**: classic network
	// *   **VPC**: virtual private cloud (VPC)
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The whitelist mode of the instance. Valid values:
	//
	// *   **normal**: standard whitelist mode
	// *   **safety**: enhanced whitelist mode
	SecurityIPMode *string `json:"SecurityIPMode,omitempty" xml:"SecurityIPMode,omitempty"`
}

func (DescribeDBInstanceNetInfoResponseBody) GoString

func (*DescribeDBInstanceNetInfoResponseBody) SetInstanceNetworkType

func (*DescribeDBInstanceNetInfoResponseBody) SetRequestId

func (*DescribeDBInstanceNetInfoResponseBody) SetSecurityIPMode

func (DescribeDBInstanceNetInfoResponseBody) String

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos struct {
	DBInstanceNetInfo []*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo `json:"DBInstanceNetInfo,omitempty" xml:"DBInstanceNetInfo,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos) GoString

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos) String

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo struct {
	// The Tabular Data Stream (TDS) port of the instance for which Babelfish is enabled.
	//
	// > This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](~~428613~~).
	BabelfishPort *string `json:"BabelfishPort,omitempty" xml:"BabelfishPort,omitempty"`
	// The endpoints of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The types of the endpoints. Valid values:
	//
	// *   **Normal**: regular endpoints
	// *   **ReadWriteSplitting**: read/write splitting endpoints
	ConnectionStringType *string `json:"ConnectionStringType,omitempty" xml:"ConnectionStringType,omitempty"`
	// The information about the instance weight.
	//
	// > This parameter is returned only for instances that have read/write splitting endpoints.
	DBInstanceWeights *DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights `json:"DBInstanceWeights,omitempty" xml:"DBInstanceWeights,omitempty" type:"Struct"`
	// The policy that is used to assign read weights. This parameter is returned only for a read/write splitting endpoint. Valid values:
	//
	// *   **Standard**: The system automatically assigns read weights to the instance and its read-only instances based on the specifications of these instances.
	// *   **Custom**: You must manually assign read weights to the instance and its read-only instances.
	DistributionType *string `json:"DistributionType,omitempty" xml:"DistributionType,omitempty"`
	// The remaining validity period of the instance in the classic network in hybrid access mode. Unit: seconds.
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The IP address.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The network type.
	//
	// *   Valid values when the instance resides in the classic network:
	//
	//     *   **Inner:**: internal network
	//     *   **Public**: Internet
	//
	// *   Valid values when the instance resides in a virtual private cloud (VPC):
	//
	//     *   **Private**: internal network
	//     *   **Public**: Internet
	IPType *string `json:"IPType,omitempty" xml:"IPType,omitempty"`
	// The latency threshold. This parameter is returned only for a read/write splitting endpoint. Unit: seconds.
	//
	// > If the latency on a read-only instance exceeds the specified threshold, the system no longer forwards read requests to the read-only instance.
	MaxDelayTime *string `json:"MaxDelayTime,omitempty" xml:"MaxDelayTime,omitempty"`
	// The PgBouncer port.
	//
	// > This parameter is returned only when PgBouncer is enabled for the instance that runs PostgreSQL.
	PGBouncerPort *string `json:"PGBouncerPort,omitempty" xml:"PGBouncerPort,omitempty"`
	// The port that is used to connect to the instance.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The details of the IP address whitelist.
	SecurityIPGroups *DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups `json:"SecurityIPGroups,omitempty" xml:"SecurityIPGroups,omitempty" type:"Struct"`
	// Indicates whether the IP version can be updated. Valid values:
	//
	// *   **Enable**: The IP version can be updated.
	// *   **Disabled**: The IP version cannot be updated.
	//
	// > The IP version can be updated from IPv4 to IPv6.
	Upgradeable *string `json:"Upgradeable,omitempty" xml:"Upgradeable,omitempty"`
	// The VPC ID.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) GoString

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetBabelfishPort

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetConnectionString

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetConnectionStringType

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetDistributionType

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetExpiredTime

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetIPAddress

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetIPType

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetMaxDelayTime

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetPGBouncerPort added in v3.0.7

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetPort

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetUpgradeable

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetVPCId

func (*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) SetVSwitchId

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo) String

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights struct {
	DBInstanceWeight []*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight `json:"DBInstanceWeight,omitempty" xml:"DBInstanceWeight,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights) GoString

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights) String

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight struct {
	// The availability of the instance. Valid values:
	//
	// *   **Unavailable**
	// *   **Available**
	Availability *string `json:"Availability,omitempty" xml:"Availability,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **Master**: primary instance
	// *   **Readonly**: read-only instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// A deprecated parameter.
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// The weight of the instance.
	Weight *string `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight) GoString

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight) String

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups struct {
	SecurityIPGroup []*DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup `json:"securityIPGroup,omitempty" xml:"securityIPGroup,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups) GoString

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups) String

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup

type DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup struct {
	// The name of the IP address whitelist.
	SecurityIPGroupName *string `json:"SecurityIPGroupName,omitempty" xml:"SecurityIPGroupName,omitempty"`
	// The IP addresses that is contained in the IP address whitelist.
	SecurityIPs *string `json:"SecurityIPs,omitempty" xml:"SecurityIPs,omitempty"`
}

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup) GoString

func (DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup) String

type DescribeDBInstancePerformanceRequest

type DescribeDBInstancePerformanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	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 time span between the beginning time and the end time must be longer than the monitoring frequency. Otherwise, this operation may return an empty array.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The performance metrics that you want to query. Separate multiple values with commas (,). You can specify up to 30 values. For more information, see [Performance parameters](~~26316~~).
	//
	// >  If you set **Key** to **MySQL_SpaceUsage** or **SQLServer_SpaceUsage**, you can only query the monitoring data within one day.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The ID of the instance.
	NodeId          *string `json:"NodeId,omitempty" xml:"NodeId,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.
	//
	// >  The time span between the beginning time and the end time must be longer than the monitoring frequency. Otherwise, this operation may return an empty array.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBInstancePerformanceRequest) GoString

func (*DescribeDBInstancePerformanceRequest) SetDBInstanceId

func (*DescribeDBInstancePerformanceRequest) SetEndTime

func (*DescribeDBInstancePerformanceRequest) SetKey

func (*DescribeDBInstancePerformanceRequest) SetNodeId added in v3.0.2

func (*DescribeDBInstancePerformanceRequest) SetResourceOwnerId

func (*DescribeDBInstancePerformanceRequest) SetStartTime

func (DescribeDBInstancePerformanceRequest) String

type DescribeDBInstancePerformanceResponse

type DescribeDBInstancePerformanceResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancePerformanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstancePerformanceResponse) GoString

func (*DescribeDBInstancePerformanceResponse) SetHeaders

func (*DescribeDBInstancePerformanceResponse) SetStatusCode

func (DescribeDBInstancePerformanceResponse) String

type DescribeDBInstancePerformanceResponseBody

type DescribeDBInstancePerformanceResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end time of the 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.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// An array that consists of performance metrics.
	PerformanceKeys *DescribeDBInstancePerformanceResponseBodyPerformanceKeys `json:"PerformanceKeys,omitempty" xml:"PerformanceKeys,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The start time of the query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBInstancePerformanceResponseBody) GoString

func (*DescribeDBInstancePerformanceResponseBody) SetDBInstanceId

func (*DescribeDBInstancePerformanceResponseBody) SetEndTime

func (*DescribeDBInstancePerformanceResponseBody) SetEngine

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 name of the performance metric.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The unit of the performance metrics.
	Unit *string `json:"Unit,omitempty" xml:"Unit,omitempty"`
	// The format in which the value of the performance metric is returned.
	//
	// >  If a performance metric value consists of multiple fields, the values are separated with ampersands (&). Example: com_delete\&com_insert\&com_insert_select\&com_replace.
	ValueFormat *string `json:"ValueFormat,omitempty" xml:"ValueFormat,omitempty"`
	// The performance metric values.
	Values *DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Struct"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) GoString

func (*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) SetKey

func (*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) SetUnit

func (*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) SetValueFormat

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKey) String

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues struct {
	PerformanceValue []*DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue `json:"PerformanceValue,omitempty" xml:"PerformanceValue,omitempty" type:"Repeated"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues) GoString

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValues) String

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue

type DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue struct {
	// The date and time when the value of the performance metric was recorded. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
	// The value of the performance metric.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue) GoString

func (DescribeDBInstancePerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue) String

type DescribeDBInstancePromoteActivityRequest

type DescribeDBInstancePromoteActivityRequest struct {
	// The ID of the Alibaba Cloud account.
	AliUid *string `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// The instance ID.
	DbInstanceName *string `json:"DbInstanceName,omitempty" xml:"DbInstanceName,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstancePromoteActivityRequest) GoString

func (*DescribeDBInstancePromoteActivityRequest) SetAliUid

func (*DescribeDBInstancePromoteActivityRequest) SetDbInstanceName

func (*DescribeDBInstancePromoteActivityRequest) SetOwnerId

func (*DescribeDBInstancePromoteActivityRequest) SetResourceGroupId

func (*DescribeDBInstancePromoteActivityRequest) SetResourceOwnerAccount

func (*DescribeDBInstancePromoteActivityRequest) SetResourceOwnerId

func (DescribeDBInstancePromoteActivityRequest) String

type DescribeDBInstancePromoteActivityResponse

type DescribeDBInstancePromoteActivityResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancePromoteActivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstancePromoteActivityResponse) GoString

func (*DescribeDBInstancePromoteActivityResponse) SetHeaders

func (*DescribeDBInstancePromoteActivityResponse) SetStatusCode

func (DescribeDBInstancePromoteActivityResponse) String

type DescribeDBInstancePromoteActivityResponseBody

type DescribeDBInstancePromoteActivityResponseBody struct {
	// The ID of the Alibaba Cloud account.
	AliUid *string `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// *   China site: 26842
	// *   International site: 26888
	Bid *string `json:"Bid,omitempty" xml:"Bid,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The instance name.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The type of the database engine. Valid values:
	//
	// *   **MySQL**
	// *   **PostgreSQL**
	// *   **Oracle**
	DBType *string `json:"DBType,omitempty" xml:"DBType,omitempty"`
	// The activity information about the instance. For more information, see [Instance activities](~~2391834~~).
	IsActivity *string `json:"IsActivity,omitempty" xml:"IsActivity,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstancePromoteActivityResponseBody) GoString

func (*DescribeDBInstancePromoteActivityResponseBody) SetAliUid

func (*DescribeDBInstancePromoteActivityResponseBody) SetBid

func (*DescribeDBInstancePromoteActivityResponseBody) SetDBInstanceId

func (*DescribeDBInstancePromoteActivityResponseBody) SetDBInstanceName

func (*DescribeDBInstancePromoteActivityResponseBody) SetDBType

func (*DescribeDBInstancePromoteActivityResponseBody) SetIsActivity

func (*DescribeDBInstancePromoteActivityResponseBody) SetRequestId

func (DescribeDBInstancePromoteActivityResponseBody) String

type DescribeDBInstanceProxyConfigurationRequest

type DescribeDBInstanceProxyConfigurationRequest struct {
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (DescribeDBInstanceProxyConfigurationRequest) GoString

func (*DescribeDBInstanceProxyConfigurationRequest) SetDBInstanceId

func (*DescribeDBInstanceProxyConfigurationRequest) SetOwnerId

func (*DescribeDBInstanceProxyConfigurationRequest) SetResourceOwnerAccount

func (*DescribeDBInstanceProxyConfigurationRequest) SetResourceOwnerId

func (DescribeDBInstanceProxyConfigurationRequest) String

type DescribeDBInstanceProxyConfigurationResponse

type DescribeDBInstanceProxyConfigurationResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceProxyConfigurationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceProxyConfigurationResponse) GoString

func (*DescribeDBInstanceProxyConfigurationResponse) SetHeaders

func (*DescribeDBInstanceProxyConfigurationResponse) SetStatusCode

func (DescribeDBInstanceProxyConfigurationResponse) String

type DescribeDBInstanceProxyConfigurationResponseBody

type DescribeDBInstanceProxyConfigurationResponseBody struct {
	// Indicates whether the mechanism that is used to mitigate brute-force attacks is enabled:
	//
	// *   **Enable**
	// *   **Disable**
	//
	// The return value is a JSON string. Examples:
	//
	// {"status":"Disable", "check_interval_seconds": 60,
	//
	// "max_failed_login_attempts": 60, "blocking_seconds": 600}
	//
	// Description:
	//
	// *   Each client allows {max_failed_login_attempts} logon attempts that fail due to incorrect passwords within {check_interval_seconds} seconds. If one more such attempt is conducted, the client must wait for {blocking_seconds} seconds before you can try again.
	//
	// *   Valid values:
	//
	//     *   check_interval_seconds: **30 to 600**. Unit: seconds.
	//     *   max_failed_login_attempts: **10 to 5000**. Unit: times.
	//     *   blocking_seconds: **30 to 3600**. Unit: seconds.
	AttacksProtectionConfiguration *string `json:"AttacksProtectionConfiguration,omitempty" xml:"AttacksProtectionConfiguration,omitempty"`
	// Indicates whether the short-lived connection optimization feature is enabled.
	//
	// *   **Enable**
	// *   **Disable**
	//
	// The return value is a JSON string. Example:
	//
	// {"status":"Disable"}.
	PersistentConnectionsConfiguration *string `json:"PersistentConnectionsConfiguration,omitempty" xml:"PersistentConnectionsConfiguration,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the transparent switchover feature is enabled.
	//
	// *   **Enable**
	// *   **Disable**
	//
	// The return value is a JSON string. Example:
	//
	// {"status":"Enable"}.
	TransparentSwitchConfiguration *string `json:"TransparentSwitchConfiguration,omitempty" xml:"TransparentSwitchConfiguration,omitempty"`
}

func (DescribeDBInstanceProxyConfigurationResponseBody) GoString

func (*DescribeDBInstanceProxyConfigurationResponseBody) SetAttacksProtectionConfiguration

func (*DescribeDBInstanceProxyConfigurationResponseBody) SetPersistentConnectionsConfiguration

func (*DescribeDBInstanceProxyConfigurationResponseBody) SetRequestId

func (*DescribeDBInstanceProxyConfigurationResponseBody) SetTransparentSwitchConfiguration

func (DescribeDBInstanceProxyConfigurationResponseBody) String

type DescribeDBInstanceSSLRequest

type DescribeDBInstanceSSLRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

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" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceSSLResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceSSLResponse) GoString

func (*DescribeDBInstanceSSLResponse) SetBody

func (*DescribeDBInstanceSSLResponse) SetHeaders

func (*DescribeDBInstanceSSLResponse) SetStatusCode

func (DescribeDBInstanceSSLResponse) String

type DescribeDBInstanceSSLResponseBody

type DescribeDBInstanceSSLResponseBody struct {
	// The method that is used to verify the identities of clients. This parameter is supported only when the instance runs PostgreSQL with cloud disks. Valid values:
	//
	// *   **cert**
	// *   **perfer**
	// *   **verify-ca**
	// *   **verify-full** (supported only when the instance runs PostgreSQL 12 or later)
	ACL *string `json:"ACL,omitempty" xml:"ACL,omitempty"`
	// The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disks. Valid values:
	//
	// *   **aliyun**: a cloud certificate
	// *   **custom**: a custom certificate
	CAType *string `json:"CAType,omitempty" xml:"CAType,omitempty"`
	// The public key of the CA that issues client certificates. This parameter is supported only when the instance runs PostgreSQL with cloud disks.
	ClientCACert *string `json:"ClientCACert,omitempty" xml:"ClientCACert,omitempty"`
	// The time when the public key of the CA that issues client certificates expires. This parameter is supported only when the instance runs PostgreSQL with cloud disks. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. This parameter is not supported now.
	ClientCACertExpireTime *string `json:"ClientCACertExpireTime,omitempty" xml:"ClientCACertExpireTime,omitempty"`
	// The certificate revocation list (CRL) that contains revoked client certificates. This parameter is supported only when the instance runs PostgreSQL with cloud disks.
	ClientCertRevocationList *string `json:"ClientCertRevocationList,omitempty" xml:"ClientCertRevocationList,omitempty"`
	// The endpoint that is protected by SSL encryption.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The status of the SSL link. This parameter is supported only when the instance runs PostgreSQL with cloud disks. Valid values:
	//
	// *   **success**
	// *   **setting**
	// *   **failed**
	LastModifyStatus *string `json:"LastModifyStatus,omitempty" xml:"LastModifyStatus,omitempty"`
	// The reason why the SSL link stays in the current state. This parameter is supported only when the instance runs PostgreSQL with cloud disks.
	ModifyStatusReason *string `json:"ModifyStatusReason,omitempty" xml:"ModifyStatusReason,omitempty"`
	// The method that is used to verify the replication permission. This parameter is supported only when the instance runs PostgreSQL with cloud disks. Valid values:
	//
	// *   **cert**
	// *   **perfer**
	// *   **verify-ca**
	// *   **verify-full** (supported only when the instance runs PostgreSQL 12 or later)
	ReplicationACL *string `json:"ReplicationACL,omitempty" xml:"ReplicationACL,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the server certificate needs to be updated.
	//
	// *   Valid values for ApsaraDB RDS for MySQL instances and ApsaraDB RDS for SQL Server instances:
	//
	//     *   **No**
	//     *   **Yes**
	//
	// *   Valid values for ApsaraDB RDS for PostgreSQL instances:
	//
	//     *   **0**: no
	//     *   **1**: yes
	RequireUpdate *string `json:"RequireUpdate,omitempty" xml:"RequireUpdate,omitempty"`
	// The server certificate that needs to be updated. This parameter is supported only when the instance runs PostgreSQL with cloud disk.
	RequireUpdateItem *string `json:"RequireUpdateItem,omitempty" xml:"RequireUpdateItem,omitempty"`
	// The reason why the server certificate needs to be updated. This parameter is supported only when the instance runs PostgreSQL with cloud disks.
	RequireUpdateReason *string `json:"RequireUpdateReason,omitempty" xml:"RequireUpdateReason,omitempty"`
	// The time when the server certificate was created. This parameter is supported only when the instance runs PostgreSQL with cloud disks. In addition, this parameter is valid only when the CAType parameter value is aliyun.
	SSLCreateTime *string `json:"SSLCreateTime,omitempty" xml:"SSLCreateTime,omitempty"`
	// Indicates whether SSL encryption is enabled.
	//
	// *   Valid values for ApsaraDB RDS for MySQL instances and ApsaraDB RDS for SQL Server instances:
	//
	//     *   **Yes**
	//     *   **No**
	//
	// *   Valid values for ApsaraDB RDS for PostgreSQL instances:
	//
	//     *   **on**: enabled
	//     *   **off**: disabled
	SSLEnabled *string `json:"SSLEnabled,omitempty" xml:"SSLEnabled,omitempty"`
	// The time when the server certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	SSLExpireTime *string `json:"SSLExpireTime,omitempty" xml:"SSLExpireTime,omitempty"`
	// The URL of the certificate that is used to issue the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disk.
	ServerCAUrl *string `json:"ServerCAUrl,omitempty" xml:"ServerCAUrl,omitempty"`
	// The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disks.
	ServerCert *string `json:"ServerCert,omitempty" xml:"ServerCert,omitempty"`
	// The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disks.
	ServerKey *string `json:"ServerKey,omitempty" xml:"ServerKey,omitempty"`
}

func (DescribeDBInstanceSSLResponseBody) GoString

func (*DescribeDBInstanceSSLResponseBody) SetACL

func (*DescribeDBInstanceSSLResponseBody) SetCAType

func (*DescribeDBInstanceSSLResponseBody) SetClientCACert

func (*DescribeDBInstanceSSLResponseBody) SetClientCACertExpireTime

func (*DescribeDBInstanceSSLResponseBody) SetClientCertRevocationList

func (*DescribeDBInstanceSSLResponseBody) SetConnectionString

func (*DescribeDBInstanceSSLResponseBody) SetLastModifyStatus

func (*DescribeDBInstanceSSLResponseBody) SetModifyStatusReason

func (*DescribeDBInstanceSSLResponseBody) SetReplicationACL

func (*DescribeDBInstanceSSLResponseBody) SetRequestId

func (*DescribeDBInstanceSSLResponseBody) SetRequireUpdate

func (*DescribeDBInstanceSSLResponseBody) SetRequireUpdateItem

func (*DescribeDBInstanceSSLResponseBody) SetRequireUpdateReason

func (*DescribeDBInstanceSSLResponseBody) SetSSLCreateTime

func (*DescribeDBInstanceSSLResponseBody) SetSSLEnabled

func (*DescribeDBInstanceSSLResponseBody) SetSSLExpireTime

func (*DescribeDBInstanceSSLResponseBody) SetServerCAUrl

func (*DescribeDBInstanceSSLResponseBody) SetServerCert

func (*DescribeDBInstanceSSLResponseBody) SetServerKey

func (DescribeDBInstanceSSLResponseBody) String

type DescribeDBInstanceTDERequest

type DescribeDBInstanceTDERequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstanceTDERequest) GoString

func (s DescribeDBInstanceTDERequest) GoString() string

func (*DescribeDBInstanceTDERequest) SetDBInstanceId

func (*DescribeDBInstanceTDERequest) SetOwnerAccount

func (*DescribeDBInstanceTDERequest) SetOwnerId

func (*DescribeDBInstanceTDERequest) SetResourceOwnerAccount

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

func (*DescribeDBInstanceTDERequest) SetResourceOwnerId

func (DescribeDBInstanceTDERequest) String

type DescribeDBInstanceTDEResponse

type DescribeDBInstanceTDEResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstanceTDEResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstanceTDEResponse) GoString

func (*DescribeDBInstanceTDEResponse) SetBody

func (*DescribeDBInstanceTDEResponse) SetHeaders

func (*DescribeDBInstanceTDEResponse) SetStatusCode

func (DescribeDBInstanceTDEResponse) String

type DescribeDBInstanceTDEResponseBody

type DescribeDBInstanceTDEResponseBody struct {
	// The TDE status at the database level.
	//
	// >  If your instance runs SQL Server 2019 SE or SQL Server EE, you can specify whether to enable TDE at the database level when you enable TDE at the instance level.
	Databases *DescribeDBInstanceTDEResponseBodyDatabases `json:"Databases,omitempty" xml:"Databases,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The method that is used to generate the key for TDE at the instance level. Valid values:
	//
	// *   **Aliyun_Generate_Key**
	// *   **Customer_Provided_Key**
	// *   **Unknown**
	TDEMode *string `json:"TDEMode,omitempty" xml:"TDEMode,omitempty"`
	// The TDE status of the instance. Valid values:
	//
	// *   **Enabled**
	// *   **Disabled**
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (DescribeDBInstanceTDEResponseBody) GoString

func (*DescribeDBInstanceTDEResponseBody) SetRequestId

func (*DescribeDBInstanceTDEResponseBody) SetTDEMode added in v3.1.0

func (*DescribeDBInstanceTDEResponseBody) SetTDEStatus

func (DescribeDBInstanceTDEResponseBody) String

type DescribeDBInstanceTDEResponseBodyDatabases

type DescribeDBInstanceTDEResponseBodyDatabases struct {
	Database []*DescribeDBInstanceTDEResponseBodyDatabasesDatabase `json:"Database,omitempty" xml:"Database,omitempty" type:"Repeated"`
}

func (DescribeDBInstanceTDEResponseBodyDatabases) GoString

func (DescribeDBInstanceTDEResponseBodyDatabases) String

type DescribeDBInstanceTDEResponseBodyDatabasesDatabase

type DescribeDBInstanceTDEResponseBodyDatabasesDatabase struct {
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The TDE status at the database level. Valid values:
	//
	// *   **Enabled**
	// *   **Disabled**
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (DescribeDBInstanceTDEResponseBodyDatabasesDatabase) GoString

func (*DescribeDBInstanceTDEResponseBodyDatabasesDatabase) SetDBName

func (*DescribeDBInstanceTDEResponseBodyDatabasesDatabase) SetTDEStatus

func (DescribeDBInstanceTDEResponseBodyDatabasesDatabase) String

type DescribeDBInstancesAsCsvRequest

type DescribeDBInstancesAsCsvRequest struct {
	// A deprecated parameter. You do not need to configure this parameter.
	CachedAsync *bool `json:"CachedAsync,omitempty" xml:"CachedAsync,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// A deprecated parameter. You do not need to configure this parameter.
	ExportKey *string `json:"ExportKey,omitempty" xml:"ExportKey,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~610399~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBInstancesAsCsvRequest) GoString

func (*DescribeDBInstancesAsCsvRequest) SetCachedAsync added in v3.0.6

func (*DescribeDBInstancesAsCsvRequest) SetDBInstanceId

func (*DescribeDBInstancesAsCsvRequest) SetExportKey added in v3.0.6

func (*DescribeDBInstancesAsCsvRequest) SetOwnerId

func (*DescribeDBInstancesAsCsvRequest) SetRegionId

func (*DescribeDBInstancesAsCsvRequest) SetResourceGroupId

func (*DescribeDBInstancesAsCsvRequest) SetResourceOwnerAccount

func (*DescribeDBInstancesAsCsvRequest) SetResourceOwnerId

func (DescribeDBInstancesAsCsvRequest) String

type DescribeDBInstancesAsCsvResponse

type DescribeDBInstancesAsCsvResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancesAsCsvResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstancesAsCsvResponse) GoString

func (*DescribeDBInstancesAsCsvResponse) SetHeaders

func (*DescribeDBInstancesAsCsvResponse) SetStatusCode

func (DescribeDBInstancesAsCsvResponse) String

type DescribeDBInstancesAsCsvResponseBody

type DescribeDBInstancesAsCsvResponseBody struct {
	// An array that consists of the fields in **DBInstanceAttribute**.
	Items *DescribeDBInstancesAsCsvResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBInstancesAsCsvResponseBody) GoString

func (*DescribeDBInstancesAsCsvResponseBody) SetRequestId

func (DescribeDBInstancesAsCsvResponseBody) String

type DescribeDBInstancesAsCsvResponseBodyItems

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

func (DescribeDBInstancesAsCsvResponseBodyItems) GoString

func (DescribeDBInstancesAsCsvResponseBodyItems) String

type DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute

type DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute struct {
	// The maximum number of accounts.
	AccountMaxQuantity *int32 `json:"AccountMaxQuantity,omitempty" xml:"AccountMaxQuantity,omitempty"`
	// The type of the account.
	AccountType *string `json:"AccountType,omitempty" xml:"AccountType,omitempty"`
	// The service availability of the instance in percentage.
	AvailabilityValue *string `json:"AvailabilityValue,omitempty" xml:"AvailabilityValue,omitempty"`
	// The category of the instance.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Performance**: standard mode.
	// *   **Safety**: safe mode.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The internal endpoint of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The creation time.
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The number of CPU cores.
	DBInstanceCPU *string `json:"DBInstanceCPU,omitempty" xml:"DBInstanceCPU,omitempty"`
	// The instance type of the instance.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance family.
	DBInstanceClassType *string `json:"DBInstanceClassType,omitempty" xml:"DBInstanceClassType,omitempty"`
	// The description of the instance.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The memory capacity of the instance. Unit: MB.
	DBInstanceMemory *int64 `json:"DBInstanceMemory,omitempty" xml:"DBInstanceMemory,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **Internet**: Internet
	// *   **Intranet**: internal network
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The status of the instance.
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage capacity of the instance. Unit: GB.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The type of the instance. Valid values:
	//
	// *   **Primary**: primary instance
	// *   **Readonly**: read-only instance
	// *   **Guard**: disaster recovery instance
	// *   **Temp**: temporary instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The maximum number of databases that can be created on the instance.
	DBMaxQuantity *int32 `json:"DBMaxQuantity,omitempty" xml:"DBMaxQuantity,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The expiration time.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// A deprecated parameter. You do not need to configure this parameter.
	ExportKey *string `json:"ExportKey,omitempty" xml:"ExportKey,omitempty"`
	// The ID of the disaster recovery instance that is attached to the instance.
	GuardDBInstanceId *string `json:"GuardDBInstanceId,omitempty" xml:"GuardDBInstanceId,omitempty"`
	// The ID of the instance from which incremental data comes. The incremental data of a disaster recovery instance or read-only instance comes from its primary instance. If this parameter is not returned, the instance is a primary instance.
	IncrementSourceDBInstanceId *string `json:"IncrementSourceDBInstanceId,omitempty" xml:"IncrementSourceDBInstanceId,omitempty"`
	// The network type.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The lock mode of the instance.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The reason why the instance was locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The maintenance window of the instance. The time is displayed in UTC. Take note that the maintenance window that is displayed in the ApsaraDB RDS console is equal to the value of this parameter plus 8 hours.
	MaintainTime *string `json:"MaintainTime,omitempty" xml:"MaintainTime,omitempty"`
	// The ID of the primary instance.
	MasterInstanceId *string `json:"MasterInstanceId,omitempty" xml:"MasterInstanceId,omitempty"`
	// The maximum number of concurrent connections.
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum number of I/O requests per second.
	MaxIOPS *int32 `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The billing method of the instance.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The port that is used to connect to the instance over an internal network.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The latency of data replication from the primary instance to the read-only instance. This parameter is valid for read-only instances.
	ReadDelayTime *string `json:"ReadDelayTime,omitempty" xml:"ReadDelayTime,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The IP address whitelist.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// A deprecated parameter. You do not need to configure this parameter.
	SlaveZones *DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttributeSlaveZones `json:"SlaveZones,omitempty" xml:"SlaveZones,omitempty" type:"Struct"`
	// N/A.
	SupportUpgradeAccountType *string `json:"SupportUpgradeAccountType,omitempty" xml:"SupportUpgradeAccountType,omitempty"`
	// The tags.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// The ID of the temporary instance that is attached to the instance.
	TempDBInstanceId *string `json:"TempDBInstanceId,omitempty" xml:"TempDBInstanceId,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) GoString

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetAccountMaxQuantity

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetAccountType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetAvailabilityValue

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetCategory

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetConnectionMode

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetConnectionString

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetCreationTime

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceCPU

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceClass

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceClassType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceDescription

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceMemory

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceNetType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceStatus

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceStorage

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBInstanceType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetDBMaxQuantity

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetEngine

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetEngineVersion

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetExpireTime

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetExportKey added in v3.0.6

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetGuardDBInstanceId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetIncrementSourceDBInstanceId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetInstanceNetworkType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetLockMode

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetLockReason

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetMaintainTime

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetMasterInstanceId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetMaxConnections

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetMaxIOPS

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetPayType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetPort

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetReadDelayTime

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetRegionId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetSecurityIPList

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetSupportUpgradeAccountType

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetTags

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetTempDBInstanceId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetVSwitchId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetVpcId

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) SetZoneId

func (DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttribute) String

type DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttributeSlaveZones added in v3.0.6

type DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttributeSlaveZones struct {
	SlaveRegion []*string `json:"slaveRegion,omitempty" xml:"slaveRegion,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttributeSlaveZones) GoString added in v3.0.6

func (*DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttributeSlaveZones) SetSlaveRegion added in v3.0.6

func (DescribeDBInstancesAsCsvResponseBodyItemsDBInstanceAttributeSlaveZones) String added in v3.0.6

type DescribeDBInstancesByExpireTimeRequest

type DescribeDBInstancesByExpireTimeRequest struct {
	// The number of remaining days for which the instances are available. Valid values: **0 to 180**.
	ExpirePeriod *int32 `json:"ExpirePeriod,omitempty" xml:"ExpirePeriod,omitempty"`
	// Specifies whether to query instances that have expired. Valid values:
	//
	// *   **True**: queries instances that have expired.
	// *   **False**: does not query instances that have expired.
	Expired      *bool   `json:"Expired,omitempty" xml:"Expired,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any **non-zero** positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **1 to 100**.
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to obtain the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The tag that is added to the instance. Each tag is a key-value pair that consists of two parts: TagKey and TagValue. You can specify a maximum of five tags in the following format for each request: `{"key1":"value1","key2":"value2"...}`.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// A deprecated parameter. You do not need to configure this parameter.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeDBInstancesByExpireTimeRequest) GoString

func (*DescribeDBInstancesByExpireTimeRequest) SetExpirePeriod

func (*DescribeDBInstancesByExpireTimeRequest) SetExpired

func (*DescribeDBInstancesByExpireTimeRequest) SetOwnerAccount

func (*DescribeDBInstancesByExpireTimeRequest) SetOwnerId

func (*DescribeDBInstancesByExpireTimeRequest) SetPageNumber

func (*DescribeDBInstancesByExpireTimeRequest) SetPageSize

func (*DescribeDBInstancesByExpireTimeRequest) SetProxyId

func (*DescribeDBInstancesByExpireTimeRequest) SetRegionId

func (*DescribeDBInstancesByExpireTimeRequest) SetResourceGroupId added in v3.0.214

func (*DescribeDBInstancesByExpireTimeRequest) SetResourceOwnerAccount

func (*DescribeDBInstancesByExpireTimeRequest) SetResourceOwnerId

func (*DescribeDBInstancesByExpireTimeRequest) SetTags

func (DescribeDBInstancesByExpireTimeRequest) String

type DescribeDBInstancesByExpireTimeResponse

type DescribeDBInstancesByExpireTimeResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancesByExpireTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstancesByExpireTimeResponse) GoString

func (*DescribeDBInstancesByExpireTimeResponse) SetHeaders

func (*DescribeDBInstancesByExpireTimeResponse) SetStatusCode

func (DescribeDBInstancesByExpireTimeResponse) String

type DescribeDBInstancesByExpireTimeResponseBody

type DescribeDBInstancesByExpireTimeResponseBody struct {
	// The details of the instances.
	Items *DescribeDBInstancesByExpireTimeResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page. Valid values: any **non-zero** positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of instances returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDBInstancesByExpireTimeResponseBody) GoString

func (*DescribeDBInstancesByExpireTimeResponseBody) SetPageNumber

func (*DescribeDBInstancesByExpireTimeResponseBody) SetPageRecordCount

func (*DescribeDBInstancesByExpireTimeResponseBody) SetRequestId

func (*DescribeDBInstancesByExpireTimeResponseBody) SetTotalRecordCount

func (DescribeDBInstancesByExpireTimeResponseBody) String

type DescribeDBInstancesByExpireTimeResponseBodyItems

type DescribeDBInstancesByExpireTimeResponseBodyItems struct {
	DBInstanceExpireTime []*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime `json:"DBInstanceExpireTime,omitempty" xml:"DBInstanceExpireTime,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesByExpireTimeResponseBodyItems) GoString

func (DescribeDBInstancesByExpireTimeResponseBodyItems) String

type DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime

type DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime struct {
	// The description of the instance.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance state table](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The expiration time of the instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// > : Pay-as-you-go instances never expire.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The lock mode of the instance. Valid values:
	//
	// *   **Unlock**: The instance is not locked.
	// *   **ManualLock**: The instance is manually locked.
	// *   **LockByExpiration**: The instance is automatically locked after it expires.
	// *   **LockByRestoration**: The instance is automatically locked before it is rolled back.
	// *   **LockByDiskQuota**: The instance is automatically locked after its storage capacity is exhausted.
	// *   **LockReadInstanceByDiskQuota**: The instance is a read-only instance and is automatically locked after its storage capacity is exhausted.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
}

func (DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) GoString

func (*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) SetDBInstanceDescription

func (*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) SetDBInstanceId

func (*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) SetDBInstanceStatus

func (*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) SetExpireTime

func (*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) SetLockMode

func (*DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) SetPayType

func (DescribeDBInstancesByExpireTimeResponseBodyItemsDBInstanceExpireTime) String

type DescribeDBInstancesByPerformanceRequest

type DescribeDBInstancesByPerformanceRequest struct {
	Tag []*DescribeDBInstancesByPerformanceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **5** to **100**.
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The sorting basis.
	SortKey *string `json:"SortKey,omitempty" xml:"SortKey,omitempty"`
	// The sorting method.
	SortMethod *string `json:"SortMethod,omitempty" xml:"SortMethod,omitempty"`
	// The tags that are added to the instances. Each tag is a key-value pair that consists of two parts: TagKey and TagValue. Format: `{"key1":"value1"}`.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// The ID of the proxy mode.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeDBInstancesByPerformanceRequest) GoString

func (*DescribeDBInstancesByPerformanceRequest) SetClientToken

func (*DescribeDBInstancesByPerformanceRequest) SetDBInstanceId

func (*DescribeDBInstancesByPerformanceRequest) SetOwnerAccount

func (*DescribeDBInstancesByPerformanceRequest) SetOwnerId

func (*DescribeDBInstancesByPerformanceRequest) SetPageNumber

func (*DescribeDBInstancesByPerformanceRequest) SetPageSize

func (*DescribeDBInstancesByPerformanceRequest) SetProxyId

func (*DescribeDBInstancesByPerformanceRequest) SetRegionId

func (*DescribeDBInstancesByPerformanceRequest) SetResourceGroupId

func (*DescribeDBInstancesByPerformanceRequest) SetResourceOwnerAccount

func (*DescribeDBInstancesByPerformanceRequest) SetResourceOwnerId

func (*DescribeDBInstancesByPerformanceRequest) SetSortKey

func (*DescribeDBInstancesByPerformanceRequest) SetSortMethod

func (*DescribeDBInstancesByPerformanceRequest) SetTags

func (DescribeDBInstancesByPerformanceRequest) String

type DescribeDBInstancesByPerformanceRequestTag

type DescribeDBInstancesByPerformanceRequestTag struct {
	// The key of tag 1 that is added to the instances.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The value of tag 1 that is added to the instances.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (DescribeDBInstancesByPerformanceRequestTag) GoString

func (*DescribeDBInstancesByPerformanceRequestTag) SetKey

func (*DescribeDBInstancesByPerformanceRequestTag) SetValue

func (DescribeDBInstancesByPerformanceRequestTag) String

type DescribeDBInstancesByPerformanceResponse

type DescribeDBInstancesByPerformanceResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancesByPerformanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstancesByPerformanceResponse) GoString

func (*DescribeDBInstancesByPerformanceResponse) SetHeaders

func (*DescribeDBInstancesByPerformanceResponse) SetStatusCode

func (DescribeDBInstancesByPerformanceResponse) String

type DescribeDBInstancesByPerformanceResponseBody

type DescribeDBInstancesByPerformanceResponseBody struct {
	// The details about the instance.
	Items *DescribeDBInstancesByPerformanceResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDBInstancesByPerformanceResponseBody) GoString

func (*DescribeDBInstancesByPerformanceResponseBody) SetPageNumber

func (*DescribeDBInstancesByPerformanceResponseBody) SetPageRecordCount

func (*DescribeDBInstancesByPerformanceResponseBody) SetRequestId

func (*DescribeDBInstancesByPerformanceResponseBody) SetTotalRecordCount

func (DescribeDBInstancesByPerformanceResponseBody) String

type DescribeDBInstancesByPerformanceResponseBodyItems

type DescribeDBInstancesByPerformanceResponseBodyItems struct {
	DBInstancePerformance []*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance `json:"DBInstancePerformance,omitempty" xml:"DBInstancePerformance,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesByPerformanceResponseBodyItems) GoString

func (DescribeDBInstancesByPerformanceResponseBodyItems) String

type DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance

type DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance struct {
	// The CPU utilization of the instance in percentage.
	CPUUsage *string `json:"CPUUsage,omitempty" xml:"CPUUsage,omitempty"`
	// The name of the instance.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The disk usage of the instance in percentage.
	DiskUsage *string `json:"DiskUsage,omitempty" xml:"DiskUsage,omitempty"`
	// The IOPS usage of the instance in percentage.
	IOPSUsage *string `json:"IOPSUsage,omitempty" xml:"IOPSUsage,omitempty"`
	// The number of sessions.
	SessionUsage *string `json:"SessionUsage,omitempty" xml:"SessionUsage,omitempty"`
}

func (DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) GoString

func (*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) SetCPUUsage

func (*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) SetDBInstanceDescription

func (*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) SetDBInstanceId

func (*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) SetDiskUsage

func (*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) SetIOPSUsage

func (*DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) SetSessionUsage

func (DescribeDBInstancesByPerformanceResponseBodyItemsDBInstancePerformance) String

type DescribeDBInstancesForCloneRequest

type DescribeDBInstancesForCloneRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	//
	// By default, this operation queries the instances that use any of the supported connection modes.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The ID of the current instance.
	CurrentInstanceId *string `json:"CurrentInstanceId,omitempty" xml:"CurrentInstanceId,omitempty"`
	// The instance type of the instance. For more information, see [Instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance state table](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The role of the instance that you want to query. Valid values:
	//
	// *   **Primary**: primary instance
	// *   **Readonly**: read-only instance
	// *   **Guard**: disaster recovery instance
	// *   **Temp**: temporary instance
	//
	// By default, this operation queries the instances of all roles.
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   MySQL
	// *   SQLServer
	// *   PostgreSQL
	// *   PPAS
	// *   MariaDB
	//
	// By default, this operation queries the instances that run any of the supported database engine types.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Specifies whether the instance expires. Valid values:
	//
	// *   **True**: queries the instances that have expired.
	// *   **False**: does not query instances that have expired.
	Expired *string `json:"Expired,omitempty" xml:"Expired,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	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 the page to return.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **1 to 100**.
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	//
	// By default, this operation queries the instances that use any of the supported billing methods.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The keyword that is used for the search. The keyword can be part of an instance ID or an instance description.
	SearchKey *string `json:"SearchKey,omitempty" xml:"SearchKey,omitempty"`
	// The ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The ID of the proxy mode.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeDBInstancesForCloneRequest) GoString

func (*DescribeDBInstancesForCloneRequest) SetClientToken

func (*DescribeDBInstancesForCloneRequest) SetConnectionMode

func (*DescribeDBInstancesForCloneRequest) SetCurrentInstanceId

func (*DescribeDBInstancesForCloneRequest) SetDBInstanceClass

func (*DescribeDBInstancesForCloneRequest) SetDBInstanceId

func (*DescribeDBInstancesForCloneRequest) SetDBInstanceStatus

func (*DescribeDBInstancesForCloneRequest) SetDBInstanceType

func (*DescribeDBInstancesForCloneRequest) SetEngine

func (*DescribeDBInstancesForCloneRequest) SetEngineVersion

func (*DescribeDBInstancesForCloneRequest) SetExpired

func (*DescribeDBInstancesForCloneRequest) SetInstanceNetworkType

func (*DescribeDBInstancesForCloneRequest) SetNodeType

func (*DescribeDBInstancesForCloneRequest) SetOwnerAccount

func (*DescribeDBInstancesForCloneRequest) SetOwnerId

func (*DescribeDBInstancesForCloneRequest) SetPageNumber

func (*DescribeDBInstancesForCloneRequest) SetPageSize

func (*DescribeDBInstancesForCloneRequest) SetPayType

func (*DescribeDBInstancesForCloneRequest) SetProxyId

func (*DescribeDBInstancesForCloneRequest) SetRegionId

func (*DescribeDBInstancesForCloneRequest) SetResourceGroupId

func (*DescribeDBInstancesForCloneRequest) SetResourceOwnerAccount

func (*DescribeDBInstancesForCloneRequest) SetResourceOwnerId

func (*DescribeDBInstancesForCloneRequest) SetSearchKey

func (*DescribeDBInstancesForCloneRequest) SetVSwitchId

func (*DescribeDBInstancesForCloneRequest) SetVpcId

func (*DescribeDBInstancesForCloneRequest) SetZoneId

func (DescribeDBInstancesForCloneRequest) String

type DescribeDBInstancesForCloneResponse

type DescribeDBInstancesForCloneResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancesForCloneResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBInstancesForCloneResponse) GoString

func (*DescribeDBInstancesForCloneResponse) SetHeaders

func (*DescribeDBInstancesForCloneResponse) SetStatusCode

func (DescribeDBInstancesForCloneResponse) String

type DescribeDBInstancesForCloneResponseBody

type DescribeDBInstancesForCloneResponseBody struct {
	// An array that consists of the details about the instances.
	Items *DescribeDBInstancesForCloneResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDBInstancesForCloneResponseBody) GoString

func (*DescribeDBInstancesForCloneResponseBody) SetPageNumber

func (*DescribeDBInstancesForCloneResponseBody) SetPageRecordCount

func (*DescribeDBInstancesForCloneResponseBody) SetRequestId

func (*DescribeDBInstancesForCloneResponseBody) SetTotalRecordCount

func (DescribeDBInstancesForCloneResponseBody) String

type DescribeDBInstancesForCloneResponseBodyItems

type DescribeDBInstancesForCloneResponseBodyItems struct {
	DBInstance []*DescribeDBInstancesForCloneResponseBodyItemsDBInstance `json:"DBInstance,omitempty" xml:"DBInstance,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesForCloneResponseBodyItems) GoString

func (DescribeDBInstancesForCloneResponseBodyItems) String

type DescribeDBInstancesForCloneResponseBodyItemsDBInstance

type DescribeDBInstancesForCloneResponseBodyItemsDBInstance struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **Finance**: RDS Enterprise Edition
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The time when the instance was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The instance type of the instance. For more information, see [Instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The name of the instance. It must be 2 to 256 characters in length. The value can contain letters, digits, underscores (\_), and hyphens (-). The value must start with a letter.
	//
	// > The value cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network connection type of the instance. Valid values:
	//
	// *   **Internet**
	// *   **Intranet**
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The status of the instance. For more information, see [Instance state table](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd/ephemeral_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD.
	// *   **cloud_essd**: enhanced SSD (ESSD)
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **Primary**: primary instance
	// *   **Readonly**: read-only instance
	// *   **Guard**: disaster recovery instance
	// *   **Temp**: temporary instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The time when the instance was 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.
	DestroyTime *string `json:"DestroyTime,omitempty" xml:"DestroyTime,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   MySQL
	// *   SQLServer
	// *   PostgreSQL
	// *   PPAS
	// *   MariaDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The time when the instance expired. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the disaster recovery instance. This parameter is returned only when the instance is a primary instance and has a disaster recovery instance.
	GuardDBInstanceId *string `json:"GuardDBInstanceId,omitempty" xml:"GuardDBInstanceId,omitempty"`
	// The ID of the instance role.
	InsId *int32 `json:"InsId,omitempty" xml:"InsId,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The lock method of the instance. Valid values:
	//
	// *   **Unlock**: The instance is not locked.
	// *   **ManualLock**: The instance is manually locked.
	// *   **LockByExpiration**: The instance is automatically locked after it expires.
	// *   **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.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The reason why the instance was locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The ID of the primary instance. If the value of this parameter is null, the instance is a primary instance.
	MasterInstanceId *string `json:"MasterInstanceId,omitempty" xml:"MasterInstanceId,omitempty"`
	// Indicates whether multi-region deployment is used. Valid values:
	//
	// *   **true**: Multi-region deployment is used.
	// *   **false**: Multi-region deployment is not used.
	MutriORsignle *bool `json:"MutriORsignle,omitempty" xml:"MutriORsignle,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// An array consisting of the IDs of the read-only instances that are attached to the primary instance.
	ReadOnlyDBInstanceIds *DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIds `json:"ReadOnlyDBInstanceIds,omitempty" xml:"ReadOnlyDBInstanceIds,omitempty" type:"Struct"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// None.
	ReplicateId *string `json:"ReplicateId,omitempty" xml:"ReplicateId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the temporary instance.
	TempDBInstanceId *string `json:"TempDBInstanceId,omitempty" xml:"TempDBInstanceId,omitempty"`
	// The ID of the vSwitch.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the instance in the VPC.
	VpcCloudInstanceId *string `json:"VpcCloudInstanceId,omitempty" xml:"VpcCloudInstanceId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesForCloneResponseBodyItemsDBInstance) GoString

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetCategory

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetConnectionMode

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetCreateTime

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceClass

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceDescription

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceNetType

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceStatus

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceStorageType

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDBInstanceType

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetDestroyTime

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetEngine

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetEngineVersion

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetExpireTime

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetGuardDBInstanceId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetInsId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetInstanceNetworkType

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetLockMode

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetLockReason

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetMasterInstanceId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetMutriORsignle

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetPayType

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetRegionId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetReplicateId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetResourceGroupId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetTempDBInstanceId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetVSwitchId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetVpcCloudInstanceId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetVpcId

func (*DescribeDBInstancesForCloneResponseBodyItemsDBInstance) SetZoneId

func (DescribeDBInstancesForCloneResponseBodyItemsDBInstance) String

type DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIds

type DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIds struct {
	ReadOnlyDBInstanceId []*DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId `json:"ReadOnlyDBInstanceId,omitempty" xml:"ReadOnlyDBInstanceId,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIds) GoString

func (DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIds) String

type DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId

type DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId struct {
	// The ID of the read-only instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
}

func (DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId) GoString

func (DescribeDBInstancesForCloneResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId) String

type DescribeDBInstancesRequest

type DescribeDBInstancesRequest struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **cluster**: RDS Cluster Edition
	// *   **serverless_basic**: RDS Serverless Basic Edition
	Category *string `json:"Category,omitempty" xml:"Category,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	//
	// By default, this operation queries the instances that use any of the supported connection modes.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The endpoint of the instance. You must specify this parameter only when you want to query a single instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance type of the instance. For information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance states](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **Primary**: primary instance
	// *   **Readonly**: read-only instance
	// *   **Guard**: disaster recovery instance
	// *   **Temp**: temporary instance
	//
	// By default, this operation returns the instances that assume any of the supported roles.
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The dedicated cluster ID.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The host ID of the instance in the dedicated cluster.
	DedicatedHostId *string `json:"DedicatedHostId,omitempty" xml:"DedicatedHostId,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	//
	// By default, this operation returns the instances that run any of the supported database engines.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Specifies whether to query instances that have expired. Valid values:
	//
	// *   **True**: queries instances that have expired.
	// *   **False**: does not query instances that have expired.
	Expired *string `json:"Expired,omitempty" xml:"Expired,omitempty"`
	// The JSON string that consists of filter condition parameters and their values.
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// Specifies whether to return the RDS edition of the instance by using the Category parameter. Valid values:
	//
	// *   **0**: returns the RDS edition of the instance.
	// *   **1**: does not return the RDS edition of the instance.
	InstanceLevel *int32 `json:"InstanceLevel,omitempty" xml:"InstanceLevel,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **VPC**
	// *   **Classic**
	//
	// By default, this operation returns the instances that reside in any of the supported network types.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The number of entries to return per page. Valid values: **1 to 100**.
	//
	// Default value: **30**.
	//
	// > If you specify this parameter, **PageSize** and **PageNumber** are unavailable.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used to display the next page. You must set this parameter to the value that is returned from the most recent call of the **DescribeDBInstances** operation for **NextToken**. If the returned entries are displayed on multiple pages, the next page can be displayed when you call this operation again with this parameter specified.
	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 page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **1** to **100**.
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The keyword that is used for fuzzy search. The keyword can be part of an instance ID or an instance description.
	SearchKey *string `json:"SearchKey,omitempty" xml:"SearchKey,omitempty"`
	// The tag that is added to the instance. Each tag is a key-value pair that consists of two fields: TagKey and TagValue. You can specify a maximum of five tags in the following format for each request: {"key1":"value1","key2":"value2"...}.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The VPC ID.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// A deprecated parameter. You do not need to configure this parameter.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeDBInstancesRequest) GoString

func (s DescribeDBInstancesRequest) GoString() string

func (*DescribeDBInstancesRequest) SetCategory added in v3.0.5

func (*DescribeDBInstancesRequest) SetClientToken

func (*DescribeDBInstancesRequest) SetConnectionMode

func (*DescribeDBInstancesRequest) SetConnectionString

func (*DescribeDBInstancesRequest) SetDBInstanceClass

func (*DescribeDBInstancesRequest) SetDBInstanceId

func (*DescribeDBInstancesRequest) SetDBInstanceStatus

func (*DescribeDBInstancesRequest) SetDBInstanceType

func (*DescribeDBInstancesRequest) SetDedicatedHostGroupId

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

func (*DescribeDBInstancesRequest) SetDedicatedHostId

func (*DescribeDBInstancesRequest) SetEngine

func (*DescribeDBInstancesRequest) SetEngineVersion

func (*DescribeDBInstancesRequest) SetExpired

func (*DescribeDBInstancesRequest) SetFilter added in v3.0.5

func (*DescribeDBInstancesRequest) SetInstanceLevel

func (*DescribeDBInstancesRequest) SetInstanceNetworkType

func (s *DescribeDBInstancesRequest) SetInstanceNetworkType(v string) *DescribeDBInstancesRequest

func (*DescribeDBInstancesRequest) SetMaxResults

func (*DescribeDBInstancesRequest) SetNextToken

func (*DescribeDBInstancesRequest) SetOwnerAccount

func (*DescribeDBInstancesRequest) SetOwnerId

func (*DescribeDBInstancesRequest) SetPageNumber

func (*DescribeDBInstancesRequest) SetPageSize

func (*DescribeDBInstancesRequest) SetPayType

func (*DescribeDBInstancesRequest) SetProxyId

func (*DescribeDBInstancesRequest) SetRegionId

func (*DescribeDBInstancesRequest) SetResourceGroupId

func (*DescribeDBInstancesRequest) SetResourceOwnerAccount

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

func (*DescribeDBInstancesRequest) SetResourceOwnerId

func (*DescribeDBInstancesRequest) SetSearchKey

func (*DescribeDBInstancesRequest) SetTags

func (*DescribeDBInstancesRequest) SetVSwitchId

func (*DescribeDBInstancesRequest) SetVpcId

func (*DescribeDBInstancesRequest) SetZoneId

func (DescribeDBInstancesRequest) String

type DescribeDBInstancesResponse

type DescribeDBInstancesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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.
	Items *DescribeDBInstancesResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The token that is used to display the next page. If the returned entries are displayed on multiple pages, the next page can be displayed when you call this operation again with **NextToken** specified.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number of the returned page.
	//
	// > If you specify **MaxResults** or **NextToken**, only the value **1** is returned. You can ignore the value 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// > If you specify **MaxResults** or **NextToken**, only the number of entries on the current page is returned. You can ignore the number.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDBInstancesResponseBody) GoString

func (*DescribeDBInstancesResponseBody) SetNextToken

func (*DescribeDBInstancesResponseBody) SetPageNumber

func (*DescribeDBInstancesResponseBody) SetPageRecordCount

func (*DescribeDBInstancesResponseBody) SetRequestId

func (*DescribeDBInstancesResponseBody) SetTotalRecordCount

func (DescribeDBInstancesResponseBody) String

type DescribeDBInstancesResponseBodyItems

type DescribeDBInstancesResponseBodyItems struct {
	DBInstance []*DescribeDBInstancesResponseBodyItemsDBInstance `json:"DBInstance,omitempty" xml:"DBInstance,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesResponseBodyItems) GoString

func (DescribeDBInstancesResponseBodyItems) String

type DescribeDBInstancesResponseBodyItemsDBInstance

type DescribeDBInstancesResponseBodyItemsDBInstance struct {
	// Indicates whether the buffer pool extension (BPE) feature is enabled. Valid values:
	//
	// *   **1**
	// *   **0**
	BpeEnabled *string `json:"BpeEnabled,omitempty" xml:"BpeEnabled,omitempty"`
	// Indicates whether the I/O burst feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **Finance**: RDS Enterprise Edition
	//
	// >  This parameter is returned only when the **InstanceLevel** parameter is set to **1**.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The endpoint of the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The creation time of the instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The instance type of the instance. For information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance description.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the network connection to the instance. Valid values:
	//
	// *   **Internet**
	// *   **Intranet**
	DBInstanceNetType *string `json:"DBInstanceNetType,omitempty" xml:"DBInstanceNetType,omitempty"`
	// The status of the instance. For more information, see [Instance states](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The storage type of the instance.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **Primary**: primary instance
	// *   **Readonly**: read-only instance
	// *   **Guard**: disaster recovery instance
	// *   **Temp**: temporary instance
	DBInstanceType *string `json:"DBInstanceType,omitempty" xml:"DBInstanceType,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The name of the dedicated cluster to which the instance belongs.
	DedicatedHostGroupName *string `json:"DedicatedHostGroupName,omitempty" xml:"DedicatedHostGroupName,omitempty"`
	// The ID of the host on which the logger instance resides.
	DedicatedHostIdForLog *string `json:"DedicatedHostIdForLog,omitempty" xml:"DedicatedHostIdForLog,omitempty"`
	// The ID of the host on which the primary instance resides.
	DedicatedHostIdForMaster *string `json:"DedicatedHostIdForMaster,omitempty" xml:"DedicatedHostIdForMaster,omitempty"`
	// The ID of the host on which the secondary instance resides.
	DedicatedHostIdForSlave *string `json:"DedicatedHostIdForSlave,omitempty" xml:"DedicatedHostIdForSlave,omitempty"`
	// The name of the host on which the logger instance resides.
	DedicatedHostNameForLog *string `json:"DedicatedHostNameForLog,omitempty" xml:"DedicatedHostNameForLog,omitempty"`
	// The name of the host on which the primary instance resides.
	DedicatedHostNameForMaster *string `json:"DedicatedHostNameForMaster,omitempty" xml:"DedicatedHostNameForMaster,omitempty"`
	// The name of the host on which the secondary instance resides.
	DedicatedHostNameForSlave *string `json:"DedicatedHostNameForSlave,omitempty" xml:"DedicatedHostNameForSlave,omitempty"`
	// The zone ID of the host on which the logger instance resides.
	DedicatedHostZoneIdForLog *string `json:"DedicatedHostZoneIdForLog,omitempty" xml:"DedicatedHostZoneIdForLog,omitempty"`
	// The zone ID of the host on which the primary instance resides.
	DedicatedHostZoneIdForMaster *string `json:"DedicatedHostZoneIdForMaster,omitempty" xml:"DedicatedHostZoneIdForMaster,omitempty"`
	// The zone ID of the host on which the secondary instance resides.
	DedicatedHostZoneIdForSlave *string `json:"DedicatedHostZoneIdForSlave,omitempty" xml:"DedicatedHostZoneIdForSlave,omitempty"`
	// Indicates whether the release protection feature is enabled for the instance. Valid values:
	//
	// *   **true**
	// *   **false**
	DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"`
	// The time when the instance was 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.
	DestroyTime *string `json:"DestroyTime,omitempty" xml:"DestroyTime,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The expiration time of the instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	//
	// >  Pay-as-you-go instances never expire.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The name of the dedicated cluster to which the instance belongs. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
	GeneralGroupName *string `json:"GeneralGroupName,omitempty" xml:"GeneralGroupName,omitempty"`
	// The ID of the disaster recovery instance. This parameter is returned only when the instance is a primary instance and has a disaster recovery instance.
	GuardDBInstanceId *string `json:"GuardDBInstanceId,omitempty" xml:"GuardDBInstanceId,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The lock mode 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 due to exhausted storage capacity.
	// *   **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.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The reason why the instance was locked.
	LockReason *string `json:"LockReason,omitempty" xml:"LockReason,omitempty"`
	// The ID of the primary instance. If the value of this parameter is null, the instance is a primary instance.
	MasterInstanceId *string `json:"MasterInstanceId,omitempty" xml:"MasterInstanceId,omitempty"`
	// Indicates whether the multi-zone deployment method is used for the instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  If the multi-zone deployment method is used for the instance, the zone ID of the instance contains MAZ. Example: `cn-hangzhou-MAZ10(h,i)`.
	MutriORsignle *bool `json:"MutriORsignle,omitempty" xml:"MutriORsignle,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// An array that consists of the IDs of the read-only instances that are attached to the instance. This parameter is returned only when the instance is a primary instance and has read-only instances.
	ReadOnlyDBInstanceIds *DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIds `json:"ReadOnlyDBInstanceIds,omitempty" xml:"ReadOnlyDBInstanceIds,omitempty" type:"Struct"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// Indicates whether the instance supports weight-based switchovers for high availability. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values:
	//
	// *   **100**: The instance supports weight-based switchovers for high availability.
	// *   **0**: The instance does not support weight-based switchovers for high availability.
	SwitchWeight *int32 `json:"SwitchWeight,omitempty" xml:"SwitchWeight,omitempty"`
	// The ID of the temporary instance. This parameter is returned only when the instance is a primary instance and has a temporary instance.
	TempDBInstanceId *string `json:"TempDBInstanceId,omitempty" xml:"TempDBInstanceId,omitempty"`
	// The information about the exception that is detected on the instance. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
	Tips *string `json:"Tips,omitempty" xml:"Tips,omitempty"`
	// The severity level of the exception that is detected on the instance. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values:
	//
	// *   **1**: The instance is normal.
	// *   **2**: The specifications of the read-only instances do not match the specifications of the primary instance, and instance performance may be affected. You must adjust the specifications of these instances based on your business requirements.
	TipsLevel *int32 `json:"TipsLevel,omitempty" xml:"TipsLevel,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The VPC ID.
	VpcCloudInstanceId *string `json:"VpcCloudInstanceId,omitempty" xml:"VpcCloudInstanceId,omitempty"`
	// The virtual private cloud (VPC) ID of the instance.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The VPC name.
	VpcName *string `json:"VpcName,omitempty" xml:"VpcName,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDBInstancesResponseBodyItemsDBInstance) GoString

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetBpeEnabled added in v3.0.5

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetBurstingEnabled added in v3.0.5

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetCategory

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetConnectionMode

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetConnectionString

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetCreateTime

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceClass

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceDescription

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceNetType

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceStatus

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceStorageType

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDBInstanceType

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostGroupId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostGroupName

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostIdForLog

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostIdForMaster

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostIdForSlave

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostNameForLog

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostNameForMaster

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostNameForSlave

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostZoneIdForLog

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostZoneIdForMaster

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDedicatedHostZoneIdForSlave

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDeletionProtection

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetDestroyTime

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetEngine

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetEngineVersion

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetExpireTime

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetGeneralGroupName

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetGuardDBInstanceId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetInstanceNetworkType

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetLockMode

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetLockReason

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetMasterInstanceId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetMutriORsignle

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetPayType

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetRegionId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetResourceGroupId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetSwitchWeight

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetTempDBInstanceId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetTips

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetTipsLevel

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetVSwitchId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetVpcCloudInstanceId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetVpcId

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetVpcName

func (*DescribeDBInstancesResponseBodyItemsDBInstance) SetZoneId

func (DescribeDBInstancesResponseBodyItemsDBInstance) String

type DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIds

type DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIds struct {
	ReadOnlyDBInstanceId []*DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId `json:"ReadOnlyDBInstanceId,omitempty" xml:"ReadOnlyDBInstanceId,omitempty" type:"Repeated"`
}

func (DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIds) GoString

func (DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIds) String

type DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId

type DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId struct {
	// The ID of the read-only instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
}

func (DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId) GoString

func (*DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId) SetDBInstanceId

func (DescribeDBInstancesResponseBodyItemsDBInstanceReadOnlyDBInstanceIdsReadOnlyDBInstanceId) String

type DescribeDBMiniEngineVersionsRequest

type DescribeDBMiniEngineVersionsRequest struct {
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The dedicated cluster ID. You can call the [DescribeDedicatedHostGroups](~~141946~~) operation to query the ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The database engine of the instance. Valid values: **MySQL** and **PostgreSQL**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// *   Valid values when you set the Engine parameter to MySQL: **8.0**, **5.7**, **5.6**, and **5.5**
	// *   Valid values when you set the Engine parameter to PostgreSQL: **15.0**, **14.0**, **13.0**, **12.0**, **11.0**, and **10.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The minor engine version of the instance. You can specify this parameter to query the minor engine version of the instance.
	MinorVersionTag *string `json:"MinorVersionTag,omitempty" xml:"MinorVersionTag,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **Finance**: RDS Enterprise Edition
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSD of PL2
	// *   **cloud_essd3**: ESSD of PL3
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
}

func (DescribeDBMiniEngineVersionsRequest) GoString

func (*DescribeDBMiniEngineVersionsRequest) SetDBInstanceId

func (*DescribeDBMiniEngineVersionsRequest) SetDedicatedHostGroupId

func (*DescribeDBMiniEngineVersionsRequest) SetEngine

func (*DescribeDBMiniEngineVersionsRequest) SetEngineVersion

func (*DescribeDBMiniEngineVersionsRequest) SetMinorVersionTag

func (*DescribeDBMiniEngineVersionsRequest) SetNodeType

func (*DescribeDBMiniEngineVersionsRequest) SetRegionId

func (*DescribeDBMiniEngineVersionsRequest) SetResourceOwnerId

func (*DescribeDBMiniEngineVersionsRequest) SetStorageType

func (DescribeDBMiniEngineVersionsRequest) String

type DescribeDBMiniEngineVersionsResponse

type DescribeDBMiniEngineVersionsResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBMiniEngineVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBMiniEngineVersionsResponse) GoString

func (*DescribeDBMiniEngineVersionsResponse) SetHeaders

func (*DescribeDBMiniEngineVersionsResponse) SetStatusCode

func (DescribeDBMiniEngineVersionsResponse) String

type DescribeDBMiniEngineVersionsResponseBody

type DescribeDBMiniEngineVersionsResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The number of entries returned per page.
	MaxRecordsPerPage *int32 `json:"MaxRecordsPerPage,omitempty" xml:"MaxRecordsPerPage,omitempty"`
	// The details of the minor engine version.
	MinorVersionItems []*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems `json:"MinorVersionItems,omitempty" xml:"MinorVersionItems,omitempty" type:"Repeated"`
	// The page number returned.
	PageNumbers *int32 `json:"PageNumbers,omitempty" xml:"PageNumbers,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDBMiniEngineVersionsResponseBody) GoString

func (*DescribeDBMiniEngineVersionsResponseBody) SetDBInstanceId

func (*DescribeDBMiniEngineVersionsResponseBody) SetMaxRecordsPerPage

func (*DescribeDBMiniEngineVersionsResponseBody) SetPageNumbers

func (*DescribeDBMiniEngineVersionsResponseBody) SetRequestId

func (*DescribeDBMiniEngineVersionsResponseBody) SetTotalCount

func (DescribeDBMiniEngineVersionsResponseBody) String

type DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems

type DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems struct {
	// The PostgreSQL version to which the minor engine version corresponds. For more information, see [Release notes for AliPG](~~126002~~).
	//
	// >  This parameter is available only for instances that run **PostgreSQL**.
	CommunityMinorVersion *string `json:"CommunityMinorVersion,omitempty" xml:"CommunityMinorVersion,omitempty"`
	// The database engine that corresponds to the minor engine version.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version that corresponds to the minor engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The expiration status of the minor engine version. Valid values:
	//
	// *   **vaild**
	// *   **expired**
	//
	// >  If the minor engine version is in the Offline state, the minor engine version is discontinued. In this case, ignore the expiration status. If the minor engine version is in the Online state and the expiration state is expired, the minor engine version expires. If the expiration state is vaild, the minor engine version is still in its lifecycle.
	ExpireStatus *string `json:"ExpireStatus,omitempty" xml:"ExpireStatus,omitempty"`
	// An internal parameter. You do not need to specify this parameter.
	IsHotfixVersion *bool `json:"IsHotfixVersion,omitempty" xml:"IsHotfixVersion,omitempty"`
	// The minor engine version.
	MinorVersion *string `json:"MinorVersion,omitempty" xml:"MinorVersion,omitempty"`
	// The RDS edition of the instance that runs the minor engine version. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **Finance**: RDS Enterprise Edition
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	// The URL of the release notes for the minor engine version.
	ReleaseNote *string `json:"ReleaseNote,omitempty" xml:"ReleaseNote,omitempty"`
	// The release type. Valid values:
	//
	// *   **LTS**: a long-term version
	// *   **BETA**: a preview version
	ReleaseType *string `json:"ReleaseType,omitempty" xml:"ReleaseType,omitempty"`
	// The status of the minor engine version. Valid values:
	//
	// *   **Offline**: Discontinued
	// *   **online**: Available
	//
	// >  If the minor engine version is in the Offline state, the minor engine version is discontinued. In this case, ignore the expiration status. If the minor engine version is in the Online state and the expiration state is expired, the minor engine version expires. If the expiration state is vaild, the minor engine version is still in its lifecycle.
	StatusDesc *string `json:"StatusDesc,omitempty" xml:"StatusDesc,omitempty"`
	// The tag that corresponds to the minor engine version. Valid values:
	//
	// *   **pgsql_docker_image**: tag of the common instance
	// *   **pgsql_babelfish_image**: tag of the instance for which Babelfish is enabled
	//
	// >  This parameter is available only for instances that run **PostgreSQL**.
	Tag *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) GoString

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetCommunityMinorVersion

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetEngine

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetEngineVersion

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetExpireStatus added in v3.1.0

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetIsHotfixVersion

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetMinorVersion

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetNodeType

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetReleaseNote

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetReleaseType

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetStatusDesc

func (*DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) SetTag

func (DescribeDBMiniEngineVersionsResponseBodyMinorVersionItems) String

type DescribeDBProxyEndpointRequest

type DescribeDBProxyEndpointRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The proxy endpoint that you want to query. You can call the DescribeDBProxy interface to query the proxy endpoint.
	DBProxyConnectString *string `json:"DBProxyConnectString,omitempty" xml:"DBProxyConnectString,omitempty"`
	// The name of the proxy terminal. You can call the DescribeDBProxy interface to query the name of the proxy terminal.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	OwnerId           *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBProxyEndpointRequest) GoString

func (*DescribeDBProxyEndpointRequest) SetDBInstanceId

func (*DescribeDBProxyEndpointRequest) SetDBProxyConnectString

func (*DescribeDBProxyEndpointRequest) SetDBProxyEndpointId

func (*DescribeDBProxyEndpointRequest) SetDBProxyEngineType

func (*DescribeDBProxyEndpointRequest) SetOwnerId

func (*DescribeDBProxyEndpointRequest) SetRegionId

func (*DescribeDBProxyEndpointRequest) SetResourceOwnerAccount

func (*DescribeDBProxyEndpointRequest) SetResourceOwnerId

func (DescribeDBProxyEndpointRequest) String

type DescribeDBProxyEndpointResponse

type DescribeDBProxyEndpointResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBProxyEndpointResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBProxyEndpointResponse) GoString

func (*DescribeDBProxyEndpointResponse) SetHeaders

func (*DescribeDBProxyEndpointResponse) SetStatusCode

func (DescribeDBProxyEndpointResponse) String

type DescribeDBProxyEndpointResponseBody

type DescribeDBProxyEndpointResponseBody struct {
	// The proxy endpoint queried.
	DBProxyConnectString *string `json:"DBProxyConnectString,omitempty" xml:"DBProxyConnectString,omitempty"`
	// The network type of the proxy endpoint. Valid values:
	//
	// *   **InnerString**: internal network
	// *   **OuterString**: Internet
	DBProxyConnectStringNetType *string `json:"DBProxyConnectStringNetType,omitempty" xml:"DBProxyConnectStringNetType,omitempty"`
	// The port number that is associated with the proxy endpoint.
	DBProxyConnectStringPort *string `json:"DBProxyConnectStringPort,omitempty" xml:"DBProxyConnectStringPort,omitempty"`
	// The ID of the proxy endpoint.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// An internal parameter. You can ignore this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The configuration of the proxy terminal. The value of this parameter is a JSON string that consists of the following fields:
	//
	// *   **TransactionReadSqlRouteOptimizeStatus**: the status of the transaction splitting feature. Valid values: **0** and **1**. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled.
	// *   **ConnectionPersist**: the status of the connection pooling feature. Valid values: **0**, **1**, and **2**. The value 0 indicates that the connection pooling feature is disabled. The value 1 indicates that the session connection pooling feature is enabled. The value 2 indicates that the transaction connection pooling feature is enabled.
	// *   **ReadWriteSpliting**: the status of the read/write splitting feature. Valid values: **0** and **1**. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled.
	// *   **PinPreparedStmt**: an internal field that is available only for ApsaraDB RDS for PostgrSQL instances.
	//
	// >  If the instance runs PostgreSQL, you can change only the value of the **ReadWriteSpliting** field. The **TransactionReadSqlRouteOptimizeStatus** and **PinPreparedStmt** fields are set to their default values 1.
	DBProxyFeatures *string `json:"DBProxyFeatures,omitempty" xml:"DBProxyFeatures,omitempty"`
	// The description of the proxy terminal.
	DbProxyEndpointAliases *string `json:"DbProxyEndpointAliases,omitempty" xml:"DbProxyEndpointAliases,omitempty"`
	// The read and write attributes of the proxy terminal. Valid values:
	//
	// *   **ReadWrite**: The proxy terminal supports read and write requests.
	// *   **ReadOnly**: The proxy terminal supports only read requests.
	DbProxyEndpointReadWriteMode *string `json:"DbProxyEndpointReadWriteMode,omitempty" xml:"DbProxyEndpointReadWriteMode,omitempty"`
	// An array that consists of the information about the proxy endpoint.
	EndpointConnectItems *DescribeDBProxyEndpointResponseBodyEndpointConnectItems `json:"EndpointConnectItems,omitempty" xml:"EndpointConnectItems,omitempty" type:"Struct"`
	// The method that is used to assign read weights. For more information, see [Modify the latency threshold and read weights of ApsaraDB RDS for MySQL instances](~~96076~~). Valid values:
	//
	// *   **Standard**: The system automatically assigns read weights to the instance and its read-only instances based on the specifications of these instances.
	// *   **Custom**: You must manually assign read weights to the instance and its read-only instances.
	ReadOnlyInstanceDistributionType *string `json:"ReadOnlyInstanceDistributionType,omitempty" xml:"ReadOnlyInstanceDistributionType,omitempty"`
	// The latency threshold that is allowed for read/write splitting. If the latency on a read-only instance exceeds the specified threshold, ApsaraDB RDS no longer forwards read requests to the read-only instance.
	ReadOnlyInstanceMaxDelayTime *string `json:"ReadOnlyInstanceMaxDelayTime,omitempty" xml:"ReadOnlyInstanceMaxDelayTime,omitempty"`
	// The read weights of the instance and its read-only instances. The value of this parameter is a JSON string that consists of the following parameters:
	//
	// *   **DBInstanceId**: the ID of the instance.
	// *   **DBInstanceType**: the role of the instance. Valid values: **Master** and **ReadOnly**.
	// *   **NodeID**: The IDs of the primary and secondary nodes of the cluster. An instance that runs RDS Cluster Edition refers to a cluster.
	// *   **NodeType**: The node type. Valid values: **Primary** and **Secondary**.
	// *   **Weight**: the read weight of the instance. The read weight increases in increments of **100** and cannot exceed **10000**.
	ReadOnlyInstanceWeight *string `json:"ReadOnlyInstanceWeight,omitempty" xml:"ReadOnlyInstanceWeight,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDBProxyEndpointResponseBody) GoString

func (*DescribeDBProxyEndpointResponseBody) SetDBProxyConnectString

func (*DescribeDBProxyEndpointResponseBody) SetDBProxyConnectStringNetType

func (*DescribeDBProxyEndpointResponseBody) SetDBProxyConnectStringPort

func (*DescribeDBProxyEndpointResponseBody) SetDBProxyEndpointId

func (*DescribeDBProxyEndpointResponseBody) SetDBProxyEngineType

func (*DescribeDBProxyEndpointResponseBody) SetDBProxyFeatures

func (*DescribeDBProxyEndpointResponseBody) SetDbProxyEndpointAliases

func (*DescribeDBProxyEndpointResponseBody) SetDbProxyEndpointReadWriteMode

func (*DescribeDBProxyEndpointResponseBody) SetReadOnlyInstanceDistributionType

func (s *DescribeDBProxyEndpointResponseBody) SetReadOnlyInstanceDistributionType(v string) *DescribeDBProxyEndpointResponseBody

func (*DescribeDBProxyEndpointResponseBody) SetReadOnlyInstanceMaxDelayTime

func (*DescribeDBProxyEndpointResponseBody) SetReadOnlyInstanceWeight

func (*DescribeDBProxyEndpointResponseBody) SetRequestId

func (DescribeDBProxyEndpointResponseBody) String

type DescribeDBProxyEndpointResponseBodyEndpointConnectItems

type DescribeDBProxyEndpointResponseBodyEndpointConnectItems struct {
	EndpointConnectItems []*DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems `json:"EndpointConnectItems,omitempty" xml:"EndpointConnectItems,omitempty" type:"Repeated"`
}

func (DescribeDBProxyEndpointResponseBodyEndpointConnectItems) GoString

func (DescribeDBProxyEndpointResponseBodyEndpointConnectItems) String

type DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems

type DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems struct {
	// The proxy endpoint queried.
	DbProxyEndpointConnectString *string `json:"DbProxyEndpointConnectString,omitempty" xml:"DbProxyEndpointConnectString,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **0**: Internet
	// *   **1**: classic network
	// *   **2**: virtual private cloud (VPC)
	DbProxyEndpointNetType *string `json:"DbProxyEndpointNetType,omitempty" xml:"DbProxyEndpointNetType,omitempty"`
	// The port number that is associated with the proxy endpoint. Default value: **3306**.
	DbProxyEndpointPort *string `json:"DbProxyEndpointPort,omitempty" xml:"DbProxyEndpointPort,omitempty"`
}

func (DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems) GoString

func (*DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems) SetDbProxyEndpointConnectString

func (*DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems) SetDbProxyEndpointNetType

func (*DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems) SetDbProxyEndpointPort

func (DescribeDBProxyEndpointResponseBodyEndpointConnectItemsEndpointConnectItems) String

type DescribeDBProxyPerformanceRequest

type DescribeDBProxyPerformanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The type of proxy that is enabled on the instance. Set the value to **DedicatedProxy**.
	DBProxyInstanceType *string `json:"DBProxyInstanceType,omitempty" xml:"DBProxyInstanceType,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.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The performance metrics that you want to query.
	//
	// If the instance runs MySQL, you can query only the **Maxscale_CpuUsage** performance metric, which indicates the CPU utilization of the instance.
	//
	// If the instance runs PostgreSQL, you can query the following performance metrics:
	//
	// *   **Maxscale_TotalConns**: the number of connections per second
	// *   **Maxscale_CurrentConns**: the number of connections that are established
	// *   **Maxscale_DownFlows**: outbound traffic
	// *   **Maxscale_UpFlows**: inbound traffic
	// *   **Maxscale_QPS**: QPS
	// *   **Maxscale_MemUsage**: memory usage
	// *   **Maxscale_CpuUsage**: CPU utilization
	//
	// If you want to query more than one performance metric, separate the performance metrics with commas (,). You can specify up to six performance metrics in a single request.
	MetricsName *string `json:"MetricsName,omitempty" xml:"MetricsName,omitempty"`
	OwnerId     *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBProxyPerformanceRequest) GoString

func (*DescribeDBProxyPerformanceRequest) SetDBInstanceId

func (*DescribeDBProxyPerformanceRequest) SetDBProxyEngineType

func (*DescribeDBProxyPerformanceRequest) SetDBProxyInstanceType

func (*DescribeDBProxyPerformanceRequest) SetEndTime

func (*DescribeDBProxyPerformanceRequest) SetMetricsName

func (*DescribeDBProxyPerformanceRequest) SetOwnerId

func (*DescribeDBProxyPerformanceRequest) SetRegionId

func (*DescribeDBProxyPerformanceRequest) SetResourceOwnerAccount

func (*DescribeDBProxyPerformanceRequest) SetResourceOwnerId

func (*DescribeDBProxyPerformanceRequest) SetStartTime

func (DescribeDBProxyPerformanceRequest) String

type DescribeDBProxyPerformanceResponse

type DescribeDBProxyPerformanceResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBProxyPerformanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBProxyPerformanceResponse) GoString

func (*DescribeDBProxyPerformanceResponse) SetHeaders

func (*DescribeDBProxyPerformanceResponse) SetStatusCode

func (DescribeDBProxyPerformanceResponse) String

type DescribeDBProxyPerformanceResponseBody

type DescribeDBProxyPerformanceResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An internal parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The end time of the query.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The performance list.
	PerformanceKeys *DescribeDBProxyPerformanceResponseBodyPerformanceKeys `json:"PerformanceKeys,omitempty" xml:"PerformanceKeys,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The start time of the query.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDBProxyPerformanceResponseBody) GoString

func (*DescribeDBProxyPerformanceResponseBody) SetDBInstanceId

func (*DescribeDBProxyPerformanceResponseBody) SetDBProxyEngineType

func (*DescribeDBProxyPerformanceResponseBody) SetEndTime

func (*DescribeDBProxyPerformanceResponseBody) SetRequestId

func (*DescribeDBProxyPerformanceResponseBody) SetStartTime

func (DescribeDBProxyPerformanceResponseBody) String

type DescribeDBProxyPerformanceResponseBodyPerformanceKeys

type DescribeDBProxyPerformanceResponseBodyPerformanceKeys struct {
	PerformanceKey []*DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey `json:"PerformanceKey,omitempty" xml:"PerformanceKey,omitempty" type:"Repeated"`
}

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeys) GoString

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeys) String

type DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey

type DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey struct {
	// The performance parameter.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The format in which the value of the performance metric is returned.
	ValueFormat *string `json:"ValueFormat,omitempty" xml:"ValueFormat,omitempty"`
	// The performance metrics.
	Values *DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Struct"`
}

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey) GoString

func (*DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey) SetKey

func (*DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey) SetValueFormat

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKey) String

type DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValues

type DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValues struct {
	PerformanceValue []*DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue `json:"PerformanceValue,omitempty" xml:"PerformanceValue,omitempty" type:"Repeated"`
}

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValues) GoString

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValues) String

type DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue

type DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue struct {
	// The date and time when the value of the performance metric was recorded. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
	// The value of the performance metric.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue) GoString

func (DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceKeyValuesPerformanceValue) String

type DescribeDBProxyRequest

type DescribeDBProxyRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	OwnerId           *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDBProxyRequest) GoString

func (s DescribeDBProxyRequest) GoString() string

func (*DescribeDBProxyRequest) SetDBInstanceId

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

func (*DescribeDBProxyRequest) SetDBProxyEngineType

func (s *DescribeDBProxyRequest) SetDBProxyEngineType(v string) *DescribeDBProxyRequest

func (*DescribeDBProxyRequest) SetOwnerId

func (*DescribeDBProxyRequest) SetRegionId

func (*DescribeDBProxyRequest) SetResourceGroupId

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

func (*DescribeDBProxyRequest) SetResourceOwnerAccount

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

func (*DescribeDBProxyRequest) SetResourceOwnerId

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

func (DescribeDBProxyRequest) String

func (s DescribeDBProxyRequest) String() string

type DescribeDBProxyResponse

type DescribeDBProxyResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDBProxyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDBProxyResponse) GoString

func (s DescribeDBProxyResponse) GoString() string

func (*DescribeDBProxyResponse) SetBody

func (*DescribeDBProxyResponse) SetHeaders

func (*DescribeDBProxyResponse) SetStatusCode

func (DescribeDBProxyResponse) String

func (s DescribeDBProxyResponse) String() string

type DescribeDBProxyResponseBody

type DescribeDBProxyResponseBody struct {
	// The list of zones that are available for the database proxy.
	DBProxyAVZones *DescribeDBProxyResponseBodyDBProxyAVZones `json:"DBProxyAVZones,omitempty" xml:"DBProxyAVZones,omitempty" type:"Struct"`
	// An array consisting of the information about the database proxy endpoint that is created for the instance.
	DBProxyConnectStringItems *DescribeDBProxyResponseBodyDBProxyConnectStringItems `json:"DBProxyConnectStringItems,omitempty" xml:"DBProxyConnectStringItems,omitempty" type:"Struct"`
	// An internal parameter. You can ignore this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The version of the proxy instance.
	DBProxyInstanceCurrentMinorVersion *string `json:"DBProxyInstanceCurrentMinorVersion,omitempty" xml:"DBProxyInstanceCurrentMinorVersion,omitempty"`
	// The latest version that is available for the proxy instance.
	DBProxyInstanceLatestMinorVersion *string `json:"DBProxyInstanceLatestMinorVersion,omitempty" xml:"DBProxyInstanceLatestMinorVersion,omitempty"`
	// The name of the proxy instance.
	DBProxyInstanceName *string `json:"DBProxyInstanceName,omitempty" xml:"DBProxyInstanceName,omitempty"`
	// The number of proxies that are enabled on the instance.
	DBProxyInstanceNum *int32 `json:"DBProxyInstanceNum,omitempty" xml:"DBProxyInstanceNum,omitempty"`
	// This parameter is available only for ApsaraDB RDS for PostgreSQL instances. The specifications of the proxy instance that is enabled.
	//
	// Format: `Number of cores/Memory capacity`.
	//
	// For example, a value of 4/8 indicates that the proxy instance has 4 cores and 8 GB of memory.
	DBProxyInstanceSize *string `json:"DBProxyInstanceSize,omitempty" xml:"DBProxyInstanceSize,omitempty"`
	// The status of the proxy instance.
	//
	// *   DBInstanceClassChanging: The specifications of the proxy instance are being changed.
	// *   Creating: The proxy instance is being created.
	// *   Running: The proxy instance is running.
	// *   Deleting: The proxy instance is being deleted.
	DBProxyInstanceStatus *string `json:"DBProxyInstanceStatus,omitempty" xml:"DBProxyInstanceStatus,omitempty"`
	// The type of the database proxy that is enabled on the instance.
	//
	// *   1: shared proxy
	// *   2: dedicated proxy
	//
	// >  ApsaraDB RDS for PostgreSQL instances support only dedicated proxies.
	DBProxyInstanceType *string `json:"DBProxyInstanceType,omitempty" xml:"DBProxyInstanceType,omitempty"`
	// An internal parameter. You can ignore this parameter.
	DBProxyPersistentConnectionSupport *string `json:"DBProxyPersistentConnectionSupport,omitempty" xml:"DBProxyPersistentConnectionSupport,omitempty"`
	// The status of the database proxy.
	//
	// *   Shutdown: disabled
	// *   Startup: enabled
	DBProxyServiceStatus *string `json:"DBProxyServiceStatus,omitempty" xml:"DBProxyServiceStatus,omitempty"`
	// The proxy terminals of the instance.
	DbProxyEndpointItems *DescribeDBProxyResponseBodyDbProxyEndpointItems `json:"DbProxyEndpointItems,omitempty" xml:"DbProxyEndpointItems,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DescribeDBProxyResponseBody) GoString

func (s DescribeDBProxyResponseBody) GoString() string

func (*DescribeDBProxyResponseBody) SetDBProxyAVZones added in v3.0.4

func (*DescribeDBProxyResponseBody) SetDBProxyEngineType

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceCurrentMinorVersion

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceCurrentMinorVersion(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceLatestMinorVersion

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceLatestMinorVersion(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceName

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceName(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceNum

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceNum(v int32) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceSize

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceSize(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceStatus

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceStatus(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyInstanceType

func (s *DescribeDBProxyResponseBody) SetDBProxyInstanceType(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyPersistentConnectionSupport added in v3.3.6

func (s *DescribeDBProxyResponseBody) SetDBProxyPersistentConnectionSupport(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetDBProxyServiceStatus

func (s *DescribeDBProxyResponseBody) SetDBProxyServiceStatus(v string) *DescribeDBProxyResponseBody

func (*DescribeDBProxyResponseBody) SetRequestId

func (*DescribeDBProxyResponseBody) SetResourceGroupId

func (DescribeDBProxyResponseBody) String

type DescribeDBProxyResponseBodyDBProxyAVZones added in v3.0.4

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

func (DescribeDBProxyResponseBodyDBProxyAVZones) GoString added in v3.0.4

func (*DescribeDBProxyResponseBodyDBProxyAVZones) SetDBProxyAVZones added in v3.0.4

func (DescribeDBProxyResponseBodyDBProxyAVZones) String added in v3.0.4

type DescribeDBProxyResponseBodyDBProxyConnectStringItems

type DescribeDBProxyResponseBodyDBProxyConnectStringItems struct {
	DBProxyConnectStringItems []*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems `json:"DBProxyConnectStringItems,omitempty" xml:"DBProxyConnectStringItems,omitempty" type:"Repeated"`
}

func (DescribeDBProxyResponseBodyDBProxyConnectStringItems) GoString

func (DescribeDBProxyResponseBodyDBProxyConnectStringItems) String

type DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems

type DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems struct {
	// The endpoint of the proxy terminal.
	DBProxyConnectString *string `json:"DBProxyConnectString,omitempty" xml:"DBProxyConnectString,omitempty"`
	// The network type of the proxy endpoint.
	//
	// *   OuterString: Internet
	// *   InnerString: internal network
	DBProxyConnectStringNetType *string `json:"DBProxyConnectStringNetType,omitempty" xml:"DBProxyConnectStringNetType,omitempty"`
	// The network type of the database proxy.
	//
	// *   0: Internet
	// *   1: classic network
	// *   2: virtual private cloud (VPC)
	DBProxyConnectStringNetWorkType *string `json:"DBProxyConnectStringNetWorkType,omitempty" xml:"DBProxyConnectStringNetWorkType,omitempty"`
	// The port number that is associated with the proxy endpoint.
	DBProxyConnectStringPort *string `json:"DBProxyConnectStringPort,omitempty" xml:"DBProxyConnectStringPort,omitempty"`
	// The ID of the proxy terminal to which the proxy endpoint belongs.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// The name of the proxy terminal to which the proxy endpoint belongs.
	DBProxyEndpointName *string `json:"DBProxyEndpointName,omitempty" xml:"DBProxyEndpointName,omitempty"`
	// The VPC that is associated with the proxy endpoint.
	DBProxyVpcId *string `json:"DBProxyVpcId,omitempty" xml:"DBProxyVpcId,omitempty"`
	// The ID of the proxy instance.
	DBProxyVpcInstanceId *string `json:"DBProxyVpcInstanceId,omitempty" xml:"DBProxyVpcInstanceId,omitempty"`
	// The vSwitch of the proxy service.
	DBProxyVswitchId *string `json:"DBProxyVswitchId,omitempty" xml:"DBProxyVswitchId,omitempty"`
}

func (DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) GoString

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyConnectString

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyConnectStringNetType

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyConnectStringNetWorkType

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyConnectStringPort

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyEndpointId

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyEndpointName

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyVpcId added in v3.0.4

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyVpcInstanceId

func (*DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) SetDBProxyVswitchId added in v3.0.4

func (DescribeDBProxyResponseBodyDBProxyConnectStringItemsDBProxyConnectStringItems) String

type DescribeDBProxyResponseBodyDbProxyEndpointItems

type DescribeDBProxyResponseBodyDbProxyEndpointItems struct {
	DbProxyEndpointItems []*DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems `json:"DbProxyEndpointItems,omitempty" xml:"DbProxyEndpointItems,omitempty" type:"Repeated"`
}

func (DescribeDBProxyResponseBodyDbProxyEndpointItems) GoString

func (DescribeDBProxyResponseBodyDbProxyEndpointItems) String

type DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems

type DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems struct {
	// The description of the proxy terminal.
	DbProxyEndpointAliases *string `json:"DbProxyEndpointAliases,omitempty" xml:"DbProxyEndpointAliases,omitempty"`
	// The ID of the proxy terminal.
	DbProxyEndpointName *string `json:"DbProxyEndpointName,omitempty" xml:"DbProxyEndpointName,omitempty"`
	// The type of the proxy terminal.
	//
	// *   Custom: custom proxy terminal
	// *   RWSplit: default proxy terminal
	DbProxyEndpointType *string `json:"DbProxyEndpointType,omitempty" xml:"DbProxyEndpointType,omitempty"`
	// The read and write attributes of the proxy terminal.
	//
	// *   ReadOnly: The proxy terminal supports only read requests.
	// *   ReadWrite: The proxy terminal supports read and write requests.
	DbProxyReadWriteMode *string `json:"DbProxyReadWriteMode,omitempty" xml:"DbProxyReadWriteMode,omitempty"`
}

func (DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems) GoString

func (*DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems) SetDbProxyEndpointAliases

func (*DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems) SetDbProxyEndpointName

func (*DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems) SetDbProxyEndpointType

func (*DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems) SetDbProxyReadWriteMode

func (DescribeDBProxyResponseBodyDbProxyEndpointItemsDbProxyEndpointItems) String

type DescribeDTCSecurityIpHostsForSQLServerRequest

type DescribeDTCSecurityIpHostsForSQLServerRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeDBInstanceAttribute operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeDTCSecurityIpHostsForSQLServerRequest) GoString

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetDBInstanceId

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetOwnerAccount

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetOwnerId

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetRegionId

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetResourceGroupId

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetResourceOwnerAccount

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetResourceOwnerId

func (*DescribeDTCSecurityIpHostsForSQLServerRequest) SetSecurityToken

func (DescribeDTCSecurityIpHostsForSQLServerRequest) String

type DescribeDTCSecurityIpHostsForSQLServerResponse

type DescribeDTCSecurityIpHostsForSQLServerResponse struct {
	Headers    map[string]*string                                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDTCSecurityIpHostsForSQLServerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDTCSecurityIpHostsForSQLServerResponse) GoString

func (*DescribeDTCSecurityIpHostsForSQLServerResponse) SetHeaders

func (*DescribeDTCSecurityIpHostsForSQLServerResponse) SetStatusCode

func (DescribeDTCSecurityIpHostsForSQLServerResponse) String

type DescribeDTCSecurityIpHostsForSQLServerResponseBody

type DescribeDTCSecurityIpHostsForSQLServerResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The number of distributed transaction whitelists.
	IpHostPairNum *string `json:"IpHostPairNum,omitempty" xml:"IpHostPairNum,omitempty"`
	// Details of distributed transaction whitelists.
	Items *DescribeDTCSecurityIpHostsForSQLServerResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDTCSecurityIpHostsForSQLServerResponseBody) GoString

func (*DescribeDTCSecurityIpHostsForSQLServerResponseBody) SetDBInstanceId

func (*DescribeDTCSecurityIpHostsForSQLServerResponseBody) SetIpHostPairNum

func (*DescribeDTCSecurityIpHostsForSQLServerResponseBody) SetRequestId

func (DescribeDTCSecurityIpHostsForSQLServerResponseBody) String

type DescribeDTCSecurityIpHostsForSQLServerResponseBodyItems

type DescribeDTCSecurityIpHostsForSQLServerResponseBodyItems struct {
	WhiteListGroups []*DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups `json:"WhiteListGroups,omitempty" xml:"WhiteListGroups,omitempty" type:"Repeated"`
}

func (DescribeDTCSecurityIpHostsForSQLServerResponseBodyItems) GoString

func (DescribeDTCSecurityIpHostsForSQLServerResponseBodyItems) String

type DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups

type DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups struct {
	// The IP address of the ECS instance and the hostname of the Windows computer. Format: `IP address,Hostname`. Multiple values are separated with semicolons (;).
	SecurityIpHosts *string `json:"SecurityIpHosts,omitempty" xml:"SecurityIpHosts,omitempty"`
	// The name of the distributed transaction whitelist.
	WhitelistGroupName *string `json:"WhitelistGroupName,omitempty" xml:"WhitelistGroupName,omitempty"`
}

func (DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups) GoString

func (*DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups) SetSecurityIpHosts

func (*DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups) SetWhitelistGroupName

func (DescribeDTCSecurityIpHostsForSQLServerResponseBodyItemsWhiteListGroups) String

type DescribeDatabasesRequest

type DescribeDatabasesRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The status of the database. Valid values:
	//
	// *   **Creating**
	// *   **Running**
	// *   **Deleting**
	DBStatus     *string `json:"DBStatus,omitempty" xml:"DBStatus,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: 30.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDatabasesRequest) GoString

func (s DescribeDatabasesRequest) GoString() string

func (*DescribeDatabasesRequest) SetDBInstanceId

func (*DescribeDatabasesRequest) SetDBName

func (*DescribeDatabasesRequest) SetDBStatus

func (*DescribeDatabasesRequest) SetOwnerAccount

func (*DescribeDatabasesRequest) SetOwnerId

func (*DescribeDatabasesRequest) SetPageNumber

func (*DescribeDatabasesRequest) SetPageSize

func (*DescribeDatabasesRequest) SetResourceGroupId

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

func (*DescribeDatabasesRequest) SetResourceOwnerAccount

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

func (*DescribeDatabasesRequest) SetResourceOwnerId

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

func (DescribeDatabasesRequest) String

func (s DescribeDatabasesRequest) String() string

type DescribeDatabasesResponse

type DescribeDatabasesResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDatabasesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDatabasesResponse) GoString

func (s DescribeDatabasesResponse) GoString() string

func (*DescribeDatabasesResponse) SetBody

func (*DescribeDatabasesResponse) SetHeaders

func (*DescribeDatabasesResponse) SetStatusCode

func (DescribeDatabasesResponse) String

func (s DescribeDatabasesResponse) String() string

type DescribeDatabasesResponseBody

type DescribeDatabasesResponseBody struct {
	// The information about databases.
	Databases *DescribeDatabasesResponseBodyDatabases `json:"Databases,omitempty" xml:"Databases,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDatabasesResponseBody) GoString

func (*DescribeDatabasesResponseBody) SetRequestId

func (DescribeDatabasesResponseBody) String

type DescribeDatabasesResponseBodyDatabases

type DescribeDatabasesResponseBodyDatabases struct {
	Database []*DescribeDatabasesResponseBodyDatabasesDatabase `json:"Database,omitempty" xml:"Database,omitempty" type:"Repeated"`
}

func (DescribeDatabasesResponseBodyDatabases) GoString

func (DescribeDatabasesResponseBodyDatabases) String

type DescribeDatabasesResponseBodyDatabasesDatabase

type DescribeDatabasesResponseBodyDatabasesDatabase struct {
	// An array that consists of the details of the accounts. Each account has specific permissions on the database.
	Accounts *DescribeDatabasesResponseBodyDatabasesDatabaseAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The advanced information about the database.
	//
	// > This parameter is returned only for instances that run SQL Server.
	AdvancedInfo *DescribeDatabasesResponseBodyDatabasesDatabaseAdvancedInfo `json:"AdvancedInfo,omitempty" xml:"AdvancedInfo,omitempty" type:"Struct"`
	// The basic information of the database.
	//
	// > This parameter is returned only for instances that run SQL Server.
	BasicInfo *DescribeDatabasesResponseBodyDatabasesDatabaseBasicInfo `json:"BasicInfo,omitempty" xml:"BasicInfo,omitempty" type:"Struct"`
	// The name of the character set.
	CharacterSetName *string `json:"CharacterSetName,omitempty" xml:"CharacterSetName,omitempty"`
	// The collation of the character set. The example value C stands for localization.
	//
	// > This parameter is returned only for instances that run PostgreSQL.
	Collate *string `json:"Collate,omitempty" xml:"Collate,omitempty"`
	// The limit on the number of concurrent requests. The value -1 indicates that the number of concurrent requests is unlimited.
	//
	// > This parameter is returned only for instances that run PostgreSQL.
	ConnLimit *string `json:"ConnLimit,omitempty" xml:"ConnLimit,omitempty"`
	// The type of the character set.
	//
	// > This parameter is returned only for instances that run PostgreSQL.
	Ctype *string `json:"Ctype,omitempty" xml:"Ctype,omitempty"`
	// The description of the database.
	DBDescription *string `json:"DBDescription,omitempty" xml:"DBDescription,omitempty"`
	// The ID of the instance to which the database belongs.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The status of the database. Valid values:
	//
	// *   **Creating**
	// *   **Running**
	// *   **Deleting**
	DBStatus *string `json:"DBStatus,omitempty" xml:"DBStatus,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// A reserved parameter.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// A reserved parameter.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The running of the database.
	//
	// > This parameter is returned only for instances that run SQL Server.
	RuntimeInfo *DescribeDatabasesResponseBodyDatabasesDatabaseRuntimeInfo `json:"RuntimeInfo,omitempty" xml:"RuntimeInfo,omitempty" type:"Struct"`
	// The tablespace of the database.
	//
	// > This parameter is returned only for instances that run PostgreSQL.
	Tablespace *string `json:"Tablespace,omitempty" xml:"Tablespace,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDatabasesResponseBodyDatabasesDatabase) GoString

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetCharacterSetName

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetCollate

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetConnLimit

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetCtype

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetDBDescription

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetDBInstanceId

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetDBName

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetDBStatus

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetEngine

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetPageNumber

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetPageSize

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetResourceGroupId

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetTablespace

func (*DescribeDatabasesResponseBodyDatabasesDatabase) SetTotalCount

func (DescribeDatabasesResponseBodyDatabasesDatabase) String

type DescribeDatabasesResponseBodyDatabasesDatabaseAccounts

type DescribeDatabasesResponseBodyDatabasesDatabaseAccounts struct {
	AccountPrivilegeInfo []*DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo `json:"AccountPrivilegeInfo,omitempty" xml:"AccountPrivilegeInfo,omitempty" type:"Repeated"`
}

func (DescribeDatabasesResponseBodyDatabasesDatabaseAccounts) GoString

func (DescribeDatabasesResponseBodyDatabasesDatabaseAccounts) String

type DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo

type DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo struct {
	// The username of the account.
	Account *string `json:"Account,omitempty" xml:"Account,omitempty"`
	// The permissions that the account has on the database. Valid values:
	//
	// *   **ReadWrite**: read and write permissions
	// *   **ReadOnly**: read-only permissions
	// *   **DMLOnly**: DML-only permissions
	// *   **DDLOnly**: DDL-only permissions
	AccountPrivilege *string `json:"AccountPrivilege,omitempty" xml:"AccountPrivilege,omitempty"`
	// The details of the permissions that the account has on the database.
	AccountPrivilegeDetail *string `json:"AccountPrivilegeDetail,omitempty" xml:"AccountPrivilegeDetail,omitempty"`
}

func (DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo) GoString

func (*DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo) SetAccount

func (*DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo) SetAccountPrivilege

func (*DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo) SetAccountPrivilegeDetail

func (DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccountPrivilegeInfo) String

type DescribeDatabasesResponseBodyDatabasesDatabaseAdvancedInfo added in v3.0.6

type DescribeDatabasesResponseBodyDatabasesDatabaseAdvancedInfo struct {
	AdvancedDbProperty []map[string]interface{} `json:"AdvancedDbProperty,omitempty" xml:"AdvancedDbProperty,omitempty" type:"Repeated"`
}

func (DescribeDatabasesResponseBodyDatabasesDatabaseAdvancedInfo) GoString added in v3.0.6

func (*DescribeDatabasesResponseBodyDatabasesDatabaseAdvancedInfo) SetAdvancedDbProperty added in v3.0.6

func (DescribeDatabasesResponseBodyDatabasesDatabaseAdvancedInfo) String added in v3.0.6

type DescribeDatabasesResponseBodyDatabasesDatabaseBasicInfo added in v3.0.6

type DescribeDatabasesResponseBodyDatabasesDatabaseBasicInfo struct {
	BasicDbProperty []map[string]interface{} `json:"BasicDbProperty,omitempty" xml:"BasicDbProperty,omitempty" type:"Repeated"`
}

func (DescribeDatabasesResponseBodyDatabasesDatabaseBasicInfo) GoString added in v3.0.6

func (*DescribeDatabasesResponseBodyDatabasesDatabaseBasicInfo) SetBasicDbProperty added in v3.0.6

func (DescribeDatabasesResponseBodyDatabasesDatabaseBasicInfo) String added in v3.0.6

type DescribeDatabasesResponseBodyDatabasesDatabaseRuntimeInfo added in v3.0.6

type DescribeDatabasesResponseBodyDatabasesDatabaseRuntimeInfo struct {
	RuntimeDbProperty []map[string]interface{} `json:"RuntimeDbProperty,omitempty" xml:"RuntimeDbProperty,omitempty" type:"Repeated"`
}

func (DescribeDatabasesResponseBodyDatabasesDatabaseRuntimeInfo) GoString added in v3.0.6

func (*DescribeDatabasesResponseBodyDatabasesDatabaseRuntimeInfo) SetRuntimeDbProperty added in v3.0.6

func (DescribeDatabasesResponseBodyDatabasesDatabaseRuntimeInfo) String added in v3.0.6

type DescribeDedicatedHostGroupsRequest

type DescribeDedicatedHostGroupsRequest struct {
	// The dedicated cluster ID.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The image based on which the hosts in the dedicated clusters are created. Valid values:
	//
	// *   **WindowsWithMssqlStdLicense**: a Windows image that contains the licenses of SQL Server Standard Edition
	// *   **WindowsWithMssqlEntLisence**: a Windows image that contains the licenses of SQL Server Enterprise Edition
	// *   **WindowsWithMssqlWebLisence**: a Windows image that contains the licenses of SQL Server Web Edition
	// *   **AliLinux**: a Linux image
	ImageCategory *string `json:"ImageCategory,omitempty" xml:"ImageCategory,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeDedicatedHostGroupsRequest) GoString

func (*DescribeDedicatedHostGroupsRequest) SetDedicatedHostGroupId

func (*DescribeDedicatedHostGroupsRequest) SetImageCategory

func (*DescribeDedicatedHostGroupsRequest) SetOwnerId

func (*DescribeDedicatedHostGroupsRequest) SetRegionId

func (*DescribeDedicatedHostGroupsRequest) SetResourceOwnerAccount

func (*DescribeDedicatedHostGroupsRequest) SetResourceOwnerId

func (DescribeDedicatedHostGroupsRequest) String

type DescribeDedicatedHostGroupsResponse

type DescribeDedicatedHostGroupsResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDedicatedHostGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDedicatedHostGroupsResponse) GoString

func (*DescribeDedicatedHostGroupsResponse) SetHeaders

func (*DescribeDedicatedHostGroupsResponse) SetStatusCode

func (DescribeDedicatedHostGroupsResponse) String

type DescribeDedicatedHostGroupsResponseBody

type DescribeDedicatedHostGroupsResponseBody struct {
	// The information about dedicated clusters returned.
	DedicatedHostGroups *DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups `json:"DedicatedHostGroups,omitempty" xml:"DedicatedHostGroups,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDedicatedHostGroupsResponseBody) GoString

func (*DescribeDedicatedHostGroupsResponseBody) SetRequestId

func (DescribeDedicatedHostGroupsResponseBody) String

type DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups

type DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups struct {
	DedicatedHostGroups []*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups `json:"DedicatedHostGroups,omitempty" xml:"DedicatedHostGroups,omitempty" type:"Repeated"`
}

func (DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups) GoString

func (DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroups) String

type DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups

type DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups struct {
	// The policy based on which the system allocates resources in the dedicated cluster. Valid values:
	//
	// *   **Evenly**: The system evenly allocates the resources to all the hosts in the dedicated cluster.
	// *   **Intensively**: The system preferentially allocates the resources to the heavily loaded hosts in the dedicated cluster.
	AllocationPolicy *string `json:"AllocationPolicy,omitempty" xml:"AllocationPolicy,omitempty"`
	// The ID of the bastion host.
	BastionInstanceId *string `json:"BastionInstanceId,omitempty" xml:"BastionInstanceId,omitempty"`
	// The percentage of allocated cores in the dedicated cluster. Unit: %.
	CpuAllocateRation *float32 `json:"CpuAllocateRation,omitempty" xml:"CpuAllocateRation,omitempty"`
	// The number of allocated cores in the dedicated cluster.
	CpuAllocatedAmount *float32 `json:"CpuAllocatedAmount,omitempty" xml:"CpuAllocatedAmount,omitempty"`
	// The core overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see [Manage a dedicated cluster](~~182328~~).
	CpuAllocationRatio *int32 `json:"CpuAllocationRatio,omitempty" xml:"CpuAllocationRatio,omitempty"`
	// The timestamp when the dedicated cluster was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The type of storage media that is used for the hosts in the dedicated cluster. Valid values:
	//
	// *   **dhg_cloud_ssd**: cloud disks
	// *   **dhg_local_ssd**: local disks
	DedicatedHostCountGroupByHostType map[string]interface{} `json:"DedicatedHostCountGroupByHostType,omitempty" xml:"DedicatedHostCountGroupByHostType,omitempty"`
	// The name of the dedicated cluster.
	DedicatedHostGroupDesc *string `json:"DedicatedHostGroupDesc,omitempty" xml:"DedicatedHostGroupDesc,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The percentage of allocated disk space in the dedicated cluster. Unit: %.
	DiskAllocateRation *float32 `json:"DiskAllocateRation,omitempty" xml:"DiskAllocateRation,omitempty"`
	// The amount of allocated disk space in the dedicated cluster. Unit: GB.
	DiskAllocatedAmount *float32 `json:"DiskAllocatedAmount,omitempty" xml:"DiskAllocatedAmount,omitempty"`
	// The disk overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see [Manage a dedicated cluster](~~182328~~).
	DiskAllocationRatio *int32 `json:"DiskAllocationRatio,omitempty" xml:"DiskAllocationRatio,omitempty"`
	// The amount of used disk space in the dedicated cluster. Unit: GB.
	DiskUsedAmount *float32 `json:"DiskUsedAmount,omitempty" xml:"DiskUsedAmount,omitempty"`
	// The disk usage of the dedicated cluster. Unit: %.
	DiskUtility *float32 `json:"DiskUtility,omitempty" xml:"DiskUtility,omitempty"`
	// The database engine of the instances in the dedicated cluster.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The total number of hosts in the dedicated cluster.
	HostNumber *int32 `json:"HostNumber,omitempty" xml:"HostNumber,omitempty"`
	// The policy that is used to handle host failures. Valid values:
	//
	// *   **Auto**: The system automatically replaces faulty hosts.
	// *   **Manual**: You must manually replace faulty hosts.
	HostReplacePolicy *string `json:"HostReplacePolicy,omitempty" xml:"HostReplacePolicy,omitempty"`
	// The total number of instances in the dedicated cluster.
	InstanceNumber *int32 `json:"InstanceNumber,omitempty" xml:"InstanceNumber,omitempty"`
	// The percentage of allocated memory space in the dedicated cluster. Unit: %.
	MemAllocateRation *float32 `json:"MemAllocateRation,omitempty" xml:"MemAllocateRation,omitempty"`
	// The amount of allocated memory space in the dedicated cluster.
	MemAllocatedAmount *float32 `json:"MemAllocatedAmount,omitempty" xml:"MemAllocatedAmount,omitempty"`
	// The memory overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see [Manage a dedicated cluster](~~182328~~).
	MemAllocationRatio *int32 `json:"MemAllocationRatio,omitempty" xml:"MemAllocationRatio,omitempty"`
	// The amount of used memory space in the dedicated cluster. Unit: MB.
	MemUsedAmount *float32 `json:"MemUsedAmount,omitempty" xml:"MemUsedAmount,omitempty"`
	// The memory usage of the dedicated cluster. Unit: %.
	MemUtility *float32 `json:"MemUtility,omitempty" xml:"MemUtility,omitempty"`
	// Indicates whether the feature that allows you to have the OS permissions on the host is enabled. Valid values:
	//
	// *   **0** or **null**: The permissions cannot be granted.
	// *   **1**: The permissions can be granted.
	// *   **3**: The permissions have been granted.
	OpenPermission *string `json:"OpenPermission,omitempty" xml:"OpenPermission,omitempty"`
	// The name and ID of the dedicated cluster. The value consists of **DedicatedHostGroupDesc** and **DedicatedHostGroupId**. Format: DedicatedHostGroupDesc/DedicatedHostGroupId.
	Text *string `json:"Text,omitempty" xml:"Text,omitempty"`
	// The ID of the virtual private cloud (VPC) to which the dedicated cluster belongs.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The zones to which the hosts of the dedicated cluster belong.
	ZoneIDList *DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList `json:"ZoneIDList,omitempty" xml:"ZoneIDList,omitempty" type:"Struct"`
}

func (DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) GoString

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetAllocationPolicy

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetBastionInstanceId

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetCpuAllocateRation

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetCpuAllocatedAmount

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetCpuAllocationRatio

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetCreateTime

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDedicatedHostCountGroupByHostType

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDedicatedHostGroupDesc

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDedicatedHostGroupId

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDiskAllocateRation

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDiskAllocatedAmount

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDiskAllocationRatio

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDiskUsedAmount

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetDiskUtility

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetEngine

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetHostNumber

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetHostReplacePolicy

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetInstanceNumber

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetMemAllocateRation

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetMemAllocatedAmount

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetMemAllocationRatio

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetMemUsedAmount

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetMemUtility

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetOpenPermission

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetText

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) SetVPCId

func (DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroups) String

type DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList

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

func (DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList) GoString

func (*DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList) SetZoneIDList

func (DescribeDedicatedHostGroupsResponseBodyDedicatedHostGroupsDedicatedHostGroupsZoneIDList) String

type DescribeDedicatedHostsRequest

type DescribeDedicatedHostsRequest struct {
	// Specifies whether to query the hosts on which you can create instances or those on which you cannot create instances. Valid values:
	//
	// *   **0**: queries the hosts on which you cannot create instances
	// *   **1**: queries the hosts on which you can create instances
	AllocationStatus *string `json:"AllocationStatus,omitempty" xml:"AllocationStatus,omitempty"`
	// The ID of the dedicated cluster. You can call the [DescribeDedicatedHostGroups](~~141946~~) operation to query the IDs of dedicated clusters.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The ID of the host.
	DedicatedHostId *string `json:"DedicatedHostId,omitempty" xml:"DedicatedHostId,omitempty"`
	// The status of the hosts. Valid values:
	//
	// *   **0**: queries the hosts that are being created
	// *   **1**: queries the hosts that are running
	// *   **2**: queries the hosts that are faulty
	// *   **3**: queries the hosts that are being replaced
	// *   **4**: queries the hosts that are deprecated
	// *   **5**: queries the hosts that are being deleted
	// *   **6**: queries the hosts that are restarting
	HostStatus *string `json:"HostStatus,omitempty" xml:"HostStatus,omitempty"`
	// The type of storage media that is used for the hosts. Valid values:
	//
	// *   **dhg_cloud_ssd**: enhanced solid-state drive (SSD)
	// *   **dhg_local_ssd**: local SSD
	HostType *string `json:"HostType,omitempty" xml:"HostType,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the hosts. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID of the hosts.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedHostsRequest) GoString

func (*DescribeDedicatedHostsRequest) SetAllocationStatus

func (*DescribeDedicatedHostsRequest) SetDedicatedHostGroupId

func (*DescribeDedicatedHostsRequest) SetDedicatedHostId

func (*DescribeDedicatedHostsRequest) SetHostStatus

func (*DescribeDedicatedHostsRequest) SetHostType

func (*DescribeDedicatedHostsRequest) SetOrderId

func (*DescribeDedicatedHostsRequest) SetOwnerId

func (*DescribeDedicatedHostsRequest) SetRegionId

func (*DescribeDedicatedHostsRequest) SetResourceOwnerAccount

func (*DescribeDedicatedHostsRequest) SetResourceOwnerId

func (*DescribeDedicatedHostsRequest) SetZoneId

func (DescribeDedicatedHostsRequest) String

type DescribeDedicatedHostsResponse

type DescribeDedicatedHostsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDedicatedHostsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDedicatedHostsResponse) GoString

func (*DescribeDedicatedHostsResponse) SetHeaders

func (*DescribeDedicatedHostsResponse) SetStatusCode

func (DescribeDedicatedHostsResponse) String

type DescribeDedicatedHostsResponseBody

type DescribeDedicatedHostsResponseBody struct {
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// An array that consists of hosts returned.
	DedicatedHosts *DescribeDedicatedHostsResponseBodyDedicatedHosts `json:"DedicatedHosts,omitempty" xml:"DedicatedHosts,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDedicatedHostsResponseBody) GoString

func (*DescribeDedicatedHostsResponseBody) SetDedicatedHostGroupId

func (*DescribeDedicatedHostsResponseBody) SetRequestId

func (DescribeDedicatedHostsResponseBody) String

type DescribeDedicatedHostsResponseBodyDedicatedHosts

type DescribeDedicatedHostsResponseBodyDedicatedHosts struct {
	DedicatedHosts []*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts `json:"DedicatedHosts,omitempty" xml:"DedicatedHosts,omitempty" type:"Repeated"`
}

func (DescribeDedicatedHostsResponseBodyDedicatedHosts) GoString

func (DescribeDedicatedHostsResponseBodyDedicatedHosts) String

type DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts

type DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts struct {
	// The account of the host. You can call the [CreateDedicatedHostAccount](~~196877~~) operation to create a host account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// Indicates whether the system allows you to create instances on the host. Valid values:
	//
	// *   **0**: The system does not allow you to create instances on the host.
	// *   **1**: The system allows you to create instances on the host.
	AllocationStatus *string `json:"AllocationStatus,omitempty" xml:"AllocationStatus,omitempty"`
	// The ID of the bastion host.
	BastionInstanceId *string `json:"BastionInstanceId,omitempty" xml:"BastionInstanceId,omitempty"`
	// The core overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see [Manage a dedicated cluster](~~182328~~).
	CPUAllocationRatio *string `json:"CPUAllocationRatio,omitempty" xml:"CPUAllocationRatio,omitempty"`
	// The number of used cores on the host.
	CpuUsed *string `json:"CpuUsed,omitempty" xml:"CpuUsed,omitempty"`
	// The time when the host was created.
	CreatedTime *string `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The ID of the host.
	DedicatedHostId *string `json:"DedicatedHostId,omitempty" xml:"DedicatedHostId,omitempty"`
	// The disk overcommitment ratio of the dedicated cluster. Unit: %. For more information about the disk overcommitment ratio, see [Manage a dedicated cluster](~~182328~~).
	DiskAllocationRatio *string `json:"DiskAllocationRatio,omitempty" xml:"DiskAllocationRatio,omitempty"`
	// The time when the host expires.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The database engine of instances that are created on the host.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The total number of cores that are configured for the host.
	HostCPU *string `json:"HostCPU,omitempty" xml:"HostCPU,omitempty"`
	// The specifications of the host.
	HostClass *string `json:"HostClass,omitempty" xml:"HostClass,omitempty"`
	// The total memory space of the host. Unit: MB.
	HostMem *string `json:"HostMem,omitempty" xml:"HostMem,omitempty"`
	// The name of the host.
	HostName *string `json:"HostName,omitempty" xml:"HostName,omitempty"`
	// The status of the host. Valid values:
	//
	// *   **0**: The host is being created.
	// *   **1**: The host is running.
	// *   **2**: The host is faulty.
	// *   **3**: The host is being replaced.
	// *   **4**: The host is deprecated.
	// *   **5**: The host is being deleted.
	// *   **6**: The host is restarting.
	HostStatus *string `json:"HostStatus,omitempty" xml:"HostStatus,omitempty"`
	// The storage capacity of the host. Unit: MB.
	HostStorage *string `json:"HostStorage,omitempty" xml:"HostStorage,omitempty"`
	// The type of storage media that is used for the host. Valid values:
	//
	// *   **dhg_cloud_ssd**: enhanced SSD
	// *   **dhg_local_ssd**: local SSD
	HostType *string `json:"HostType,omitempty" xml:"HostType,omitempty"`
	// The internal IP address of the host.
	IPAddress *string `json:"IPAddress,omitempty" xml:"IPAddress,omitempty"`
	// The image of the host. This parameter is returned only when the **Engine** parameter is set to **mssql**. Valid values:
	//
	// *   **WindowsWithMssqlStdLicense**: a Windows image, which contains the licenses of the SQL Server Standard Edition
	// *   **WindowsWithMssqlEntLisence**: a Windows image, which contains the licenses of the SQL Server Enterprise Edition
	// *   **WindowsWithMssqlWebLisence**: a Windows image, which contains the licenses of the SQL Server Web Edition
	ImageCategory *string `json:"ImageCategory,omitempty" xml:"ImageCategory,omitempty"`
	// The total number of instances that are created on the host.
	InstanceNumber *string `json:"InstanceNumber,omitempty" xml:"InstanceNumber,omitempty"`
	// The maximum memory usage per host in the dedicated cluster.
	MemAllocationRatio *string `json:"MemAllocationRatio,omitempty" xml:"MemAllocationRatio,omitempty"`
	// The amount of used memory space on the host. Unit: MB.
	MemoryUsed *string `json:"MemoryUsed,omitempty" xml:"MemoryUsed,omitempty"`
	// Indicates whether the operating system permissions of the host can be granted. Valid values:
	//
	// *   **0** or **null**: The permissions cannot be granted.
	// *   **1**: The permissions can be granted.
	// *   **3**: The permissions have been granted.
	OpenPermission *string `json:"OpenPermission,omitempty" xml:"OpenPermission,omitempty"`
	// The amount of used storage space on the host.
	StorageUsed *string `json:"StorageUsed,omitempty" xml:"StorageUsed,omitempty"`
	// The ID of the virtual private cloud (VPC) to which the host belongs.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch associated with the specified VPC.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the host.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) GoString

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetAccountName

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetAllocationStatus

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetBastionInstanceId

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetCPUAllocationRatio

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetCpuUsed

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetCreatedTime

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetDedicatedHostGroupId

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetDedicatedHostId

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetDiskAllocationRatio

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetEndTime

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetEngine

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostCPU

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostClass

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostMem

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostName

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostStatus

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostStorage

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetHostType

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetIPAddress

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetImageCategory

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetInstanceNumber

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetMemAllocationRatio

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetMemoryUsed

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetOpenPermission

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetStorageUsed

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetVPCId

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetVSwitchId

func (*DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) SetZoneId

func (DescribeDedicatedHostsResponseBodyDedicatedHostsDedicatedHosts) String

type DescribeDetachedBackupsRequest

type DescribeDetachedBackupsRequest struct {
	// The ID of the backup set.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The backup method. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The status of the backup set. Valid values:
	//
	// *   **Success**
	// *   **Failed**
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The page number. Pages start from page 1.
	//
	// > The default value is 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// > The default value is **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the instance.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDetachedBackupsRequest) GoString

func (*DescribeDetachedBackupsRequest) SetBackupId

func (*DescribeDetachedBackupsRequest) SetBackupMode

func (*DescribeDetachedBackupsRequest) SetBackupStatus

func (*DescribeDetachedBackupsRequest) SetDBInstanceId

func (*DescribeDetachedBackupsRequest) SetEndTime

func (*DescribeDetachedBackupsRequest) SetPageNumber

func (*DescribeDetachedBackupsRequest) SetPageSize

func (*DescribeDetachedBackupsRequest) SetRegion

func (*DescribeDetachedBackupsRequest) SetResourceGroupId

func (*DescribeDetachedBackupsRequest) SetResourceOwnerId

func (*DescribeDetachedBackupsRequest) SetStartTime

func (DescribeDetachedBackupsRequest) String

type DescribeDetachedBackupsResponse

type DescribeDetachedBackupsResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDetachedBackupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDetachedBackupsResponse) GoString

func (*DescribeDetachedBackupsResponse) SetHeaders

func (*DescribeDetachedBackupsResponse) SetStatusCode

func (DescribeDetachedBackupsResponse) String

type DescribeDetachedBackupsResponseBody

type DescribeDetachedBackupsResponseBody struct {
	// The queried backup sets.
	Items *DescribeDetachedBackupsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageRecordCount *string `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *string `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeDetachedBackupsResponseBody) GoString

func (*DescribeDetachedBackupsResponseBody) SetPageNumber

func (*DescribeDetachedBackupsResponseBody) SetPageRecordCount

func (*DescribeDetachedBackupsResponseBody) SetRequestId

func (*DescribeDetachedBackupsResponseBody) SetTotalRecordCount

func (DescribeDetachedBackupsResponseBody) String

type DescribeDetachedBackupsResponseBodyItems

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

func (DescribeDetachedBackupsResponseBodyItems) GoString

func (DescribeDetachedBackupsResponseBodyItems) String

type DescribeDetachedBackupsResponseBodyItemsBackup

type DescribeDetachedBackupsResponseBodyItemsBackup struct {
	// The URL that is used to download the diagnostic report over the Internet. If the diagnostic report cannot be downloaded, an empty string is returned.
	BackupDownloadURL *string `json:"BackupDownloadURL,omitempty" xml:"BackupDownloadURL,omitempty"`
	// The end time of the backup task.
	//
	// The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	BackupEndTime *string `json:"BackupEndTime,omitempty" xml:"BackupEndTime,omitempty"`
	// The ID of the backup set.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The URL that is used to download the log file over an internal network. If the log file cannot be downloaded, an empty string is returned.
	BackupIntranetDownloadURL *string `json:"BackupIntranetDownloadURL,omitempty" xml:"BackupIntranetDownloadURL,omitempty"`
	// The method that is used to generate the data backup file. Valid values:
	//
	// *   **Logical**: logical backup
	// *   **Physical**: physical backup
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The backup method. Valid values:
	//
	// *   **Automated**
	// *   **Manual**
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The backup size. Unit: bytes.
	BackupSize *int64 `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	// The start time of the backup task.
	//
	// The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	BackupStartTime *string `json:"BackupStartTime,omitempty" xml:"BackupStartTime,omitempty"`
	// The status of the backup set. Valid values:
	//
	// *   **Success**
	// *   **Failed**
	BackupStatus *string `json:"BackupStatus,omitempty" xml:"BackupStatus,omitempty"`
	// The backup type of the backup file. Valid values:
	//
	// *   **FullBackup**
	// *   **IncrementalBackup**
	BackupType *string `json:"BackupType,omitempty" xml:"BackupType,omitempty"`
	// The point in time at which the data in the backup set is consistent. The return value of this parameter is a timestamp.
	//
	// >  If the instance runs MySQL 5.6, a timestamp is returned. Otherwise, the value 0 is returned.
	ConsistentTime *int64 `json:"ConsistentTime,omitempty" xml:"ConsistentTime,omitempty"`
	// The description of the instance.
	DBInstanceComment *string `json:"DBInstanceComment,omitempty" xml:"DBInstanceComment,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the instance that generates the backup set. This parameter is used to indicate whether the instance that generates the backup set is a primary instance or a secondary instance.
	HostInstanceID *string `json:"HostInstanceID,omitempty" xml:"HostInstanceID,omitempty"`
	// Indicates whether the backup set is available. Valid values:
	//
	// *   **0**: The backup set is unavailable.
	// *   **1**: The backup set is available.
	IsAvail *int32 `json:"IsAvail,omitempty" xml:"IsAvail,omitempty"`
	// The status of the backup set that is used to restore individual databases or tables. Valid values:
	//
	// *   **OK**: The backup set is normal.
	// *   **LARGE**: The backup set contains an abnormally large number of tables. It cannot be used to restore individual databases or tables.
	// *   **EMPTY**: The backup set is generated from a failed backup task.
	MetaStatus *string `json:"MetaStatus,omitempty" xml:"MetaStatus,omitempty"`
	// Indicates whether the data backup file can be deleted. Valid values:
	//
	// *   **Enabled**
	// *   **Disabled**
	StoreStatus *string `json:"StoreStatus,omitempty" xml:"StoreStatus,omitempty"`
}

func (DescribeDetachedBackupsResponseBodyItemsBackup) GoString

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupDownloadURL

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupEndTime

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupId

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupIntranetDownloadURL

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupMethod

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupMode

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupSize

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupStartTime

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupStatus

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetBackupType

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetConsistentTime

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetDBInstanceComment

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetDBInstanceId

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetHostInstanceID

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetIsAvail

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetMetaStatus

func (*DescribeDetachedBackupsResponseBodyItemsBackup) SetStoreStatus

func (DescribeDetachedBackupsResponseBodyItemsBackup) String

type DescribeDiagnosticReportListRequest

type DescribeDiagnosticReportListRequest struct {
	// The ID of the instance. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DescribeDiagnosticReportListRequest) GoString

func (*DescribeDiagnosticReportListRequest) SetDBInstanceId

func (*DescribeDiagnosticReportListRequest) SetResourceGroupId

func (DescribeDiagnosticReportListRequest) String

type DescribeDiagnosticReportListResponse

type DescribeDiagnosticReportListResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiagnosticReportListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiagnosticReportListResponse) GoString

func (*DescribeDiagnosticReportListResponse) SetHeaders

func (*DescribeDiagnosticReportListResponse) SetStatusCode

func (DescribeDiagnosticReportListResponse) String

type DescribeDiagnosticReportListResponseBody

type DescribeDiagnosticReportListResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details of a diagnostic report.
	ReportList []*DescribeDiagnosticReportListResponseBodyReportList `json:"ReportList,omitempty" xml:"ReportList,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDiagnosticReportListResponseBody) GoString

func (*DescribeDiagnosticReportListResponseBody) SetDBInstanceId

func (*DescribeDiagnosticReportListResponseBody) SetRequestId

func (DescribeDiagnosticReportListResponseBody) String

type DescribeDiagnosticReportListResponseBodyReportList

type DescribeDiagnosticReportListResponseBodyReportList struct {
	// The time when the diagnosis was performed.
	DiagnosticTime *string `json:"DiagnosticTime,omitempty" xml:"DiagnosticTime,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.
	DownloadURL *string `json:"DownloadURL,omitempty" xml:"DownloadURL,omitempty"`
	// The end time of the monitoring data.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The diagnostic score.
	Score *int32 `json:"Score,omitempty" xml:"Score,omitempty"`
	// The start time of the monitoring data.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDiagnosticReportListResponseBodyReportList) GoString

func (*DescribeDiagnosticReportListResponseBodyReportList) SetDiagnosticTime

func (*DescribeDiagnosticReportListResponseBodyReportList) SetDownloadURL

func (*DescribeDiagnosticReportListResponseBodyReportList) SetEndTime

func (*DescribeDiagnosticReportListResponseBodyReportList) SetScore

func (*DescribeDiagnosticReportListResponseBodyReportList) SetStartTime

func (DescribeDiagnosticReportListResponseBodyReportList) String

type DescribeErrorLogsRequest

type DescribeErrorLogsRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end of the time range to query. The end time must be later than the start time. The time span between the start time and the end time must be less than 31 days. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: **30** to **100**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeErrorLogsRequest) GoString

func (s DescribeErrorLogsRequest) GoString() string

func (*DescribeErrorLogsRequest) SetDBInstanceId

func (*DescribeErrorLogsRequest) SetEndTime

func (*DescribeErrorLogsRequest) SetOwnerAccount

func (*DescribeErrorLogsRequest) SetOwnerId

func (*DescribeErrorLogsRequest) SetPageNumber

func (*DescribeErrorLogsRequest) SetPageSize

func (*DescribeErrorLogsRequest) SetResourceOwnerAccount

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

func (*DescribeErrorLogsRequest) SetResourceOwnerId

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

func (*DescribeErrorLogsRequest) SetStartTime

func (DescribeErrorLogsRequest) String

func (s DescribeErrorLogsRequest) String() string

type DescribeErrorLogsResponse

type DescribeErrorLogsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeErrorLogsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeErrorLogsResponse) GoString

func (s DescribeErrorLogsResponse) GoString() string

func (*DescribeErrorLogsResponse) SetBody

func (*DescribeErrorLogsResponse) SetHeaders

func (*DescribeErrorLogsResponse) SetStatusCode

func (DescribeErrorLogsResponse) String

func (s DescribeErrorLogsResponse) String() string

type DescribeErrorLogsResponseBody

type DescribeErrorLogsResponseBody struct {
	// Details about the log entries returned.
	Items *DescribeErrorLogsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of error logs on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeErrorLogsResponseBody) GoString

func (*DescribeErrorLogsResponseBody) SetItems

func (*DescribeErrorLogsResponseBody) SetPageNumber

func (*DescribeErrorLogsResponseBody) SetPageRecordCount

func (*DescribeErrorLogsResponseBody) SetRequestId

func (*DescribeErrorLogsResponseBody) SetTotalRecordCount

func (DescribeErrorLogsResponseBody) String

type DescribeErrorLogsResponseBodyItems

type DescribeErrorLogsResponseBodyItems struct {
	ErrorLog []*DescribeErrorLogsResponseBodyItemsErrorLog `json:"ErrorLog,omitempty" xml:"ErrorLog,omitempty" type:"Repeated"`
}

func (DescribeErrorLogsResponseBodyItems) GoString

func (DescribeErrorLogsResponseBodyItems) String

type DescribeErrorLogsResponseBodyItemsErrorLog

type DescribeErrorLogsResponseBodyItemsErrorLog struct {
	// The time when the error log entry was generated. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The error log information.
	ErrorInfo *string `json:"ErrorInfo,omitempty" xml:"ErrorInfo,omitempty"`
}

func (DescribeErrorLogsResponseBodyItemsErrorLog) GoString

func (*DescribeErrorLogsResponseBodyItemsErrorLog) SetCreateTime

func (*DescribeErrorLogsResponseBodyItemsErrorLog) SetErrorInfo

func (DescribeErrorLogsResponseBodyItemsErrorLog) String

type DescribeEventsRequest

type DescribeEventsRequest struct {
	// The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The start 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeEventsRequest) GoString

func (s DescribeEventsRequest) GoString() string

func (*DescribeEventsRequest) SetEndTime

func (*DescribeEventsRequest) SetOwnerId

func (*DescribeEventsRequest) SetPageNumber

func (s *DescribeEventsRequest) SetPageNumber(v int32) *DescribeEventsRequest

func (*DescribeEventsRequest) SetPageSize

func (*DescribeEventsRequest) SetRegionId

func (*DescribeEventsRequest) SetResourceOwnerAccount

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

func (*DescribeEventsRequest) SetResourceOwnerId

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

func (*DescribeEventsRequest) SetStartTime

func (DescribeEventsRequest) String

func (s DescribeEventsRequest) String() string

type DescribeEventsResponse

type DescribeEventsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeEventsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeEventsResponse) GoString

func (s DescribeEventsResponse) GoString() string

func (*DescribeEventsResponse) SetBody

func (*DescribeEventsResponse) SetHeaders

func (*DescribeEventsResponse) SetStatusCode

func (DescribeEventsResponse) String

func (s DescribeEventsResponse) String() string

type DescribeEventsResponseBody

type DescribeEventsResponseBody struct {
	// The events.
	EventItems *DescribeEventsResponseBodyEventItems `json:"EventItems,omitempty" xml:"EventItems,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeEventsResponseBody) GoString

func (s DescribeEventsResponseBody) GoString() string

func (*DescribeEventsResponseBody) SetEventItems

func (*DescribeEventsResponseBody) SetPageNumber

func (*DescribeEventsResponseBody) SetPageSize

func (*DescribeEventsResponseBody) SetRequestId

func (*DescribeEventsResponseBody) SetTotalRecordCount

func (s *DescribeEventsResponseBody) SetTotalRecordCount(v int32) *DescribeEventsResponseBody

func (DescribeEventsResponseBody) String

type DescribeEventsResponseBodyEventItems

type DescribeEventsResponseBodyEventItems struct {
	EventItems []*DescribeEventsResponseBodyEventItemsEventItems `json:"EventItems,omitempty" xml:"EventItems,omitempty" type:"Repeated"`
}

func (DescribeEventsResponseBodyEventItems) GoString

func (DescribeEventsResponseBodyEventItems) String

type DescribeEventsResponseBodyEventItemsEventItems

type DescribeEventsResponseBodyEventItemsEventItems struct {
	// The ID of the user who executed the event.
	CallerUid *int64 `json:"CallerUid,omitempty" xml:"CallerUid,omitempty"`
	// The event ID.
	EventId *int32 `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The event name.
	EventName *string `json:"EventName,omitempty" xml:"EventName,omitempty"`
	// The request or context parameters of the event.
	EventPayload *string `json:"EventPayload,omitempty" xml:"EventPayload,omitempty"`
	// The source of the event.
	EventReason *string `json:"EventReason,omitempty" xml:"EventReason,omitempty"`
	// The time when the event was recorded. The time is slightly later than the time the event occurred.
	EventRecordTime *string `json:"EventRecordTime,omitempty" xml:"EventRecordTime,omitempty"`
	// The time when the event occurred.
	EventTime *string `json:"EventTime,omitempty" xml:"EventTime,omitempty"`
	// The event type.
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
	// The type of the user who executed the event.
	EventUserType *string `json:"EventUserType,omitempty" xml:"EventUserType,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the resource associated with the event. Only instance IDs are supported for this parameter.
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The type of the resource associated with the event. Only instances are supported for this parameter.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (DescribeEventsResponseBodyEventItemsEventItems) GoString

func (*DescribeEventsResponseBodyEventItemsEventItems) SetCallerUid

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventId

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventName

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventPayload

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventReason

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventRecordTime

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventTime

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventType

func (*DescribeEventsResponseBodyEventItemsEventItems) SetEventUserType

func (*DescribeEventsResponseBodyEventItemsEventItems) SetRegionId

func (*DescribeEventsResponseBodyEventItemsEventItems) SetResourceName

func (*DescribeEventsResponseBodyEventItemsEventItems) SetResourceType

func (DescribeEventsResponseBodyEventItemsEventItems) String

type DescribeGadInstancesRequest

type DescribeGadInstancesRequest struct {
	// The ID of the global active database cluster.
	//
	// *   If you leave this parameter empty, this operation returns the details about all global active database clusters that are created within your Alibaba Cloud account.
	// *   If you specify this parameter, this operation returns the details about the global active database cluster that you specify.
	//
	// >  If you do not specify this parameter when you call this operation for the first time, the IDs of all clusters that are created by using the current account are returned. Then, you can specify the cluster ID to view the cluster details.
	GadInstanceName *string `json:"GadInstanceName,omitempty" xml:"GadInstanceName,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DescribeGadInstancesRequest) GoString

func (s DescribeGadInstancesRequest) GoString() string

func (*DescribeGadInstancesRequest) SetGadInstanceName

func (*DescribeGadInstancesRequest) SetRegionId

func (*DescribeGadInstancesRequest) SetResourceGroupId

func (DescribeGadInstancesRequest) String

type DescribeGadInstancesResponse

type DescribeGadInstancesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeGadInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeGadInstancesResponse) GoString

func (s DescribeGadInstancesResponse) GoString() string

func (*DescribeGadInstancesResponse) SetBody

func (*DescribeGadInstancesResponse) SetHeaders

func (*DescribeGadInstancesResponse) SetStatusCode

func (DescribeGadInstancesResponse) String

type DescribeGadInstancesResponseBody

type DescribeGadInstancesResponseBody struct {
	// The details about the global active database cluster.
	GadInstances []*DescribeGadInstancesResponseBodyGadInstances `json:"GadInstances,omitempty" xml:"GadInstances,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeGadInstancesResponseBody) GoString

func (*DescribeGadInstancesResponseBody) SetRequestId

func (DescribeGadInstancesResponseBody) String

type DescribeGadInstancesResponseBodyGadInstances

type DescribeGadInstancesResponseBodyGadInstances struct {
	// The time when the global active database cluster 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.
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The cluster name.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The information about each node in the cluster.
	GadInstanceMembers []*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers `json:"GadInstanceMembers,omitempty" xml:"GadInstanceMembers,omitempty" type:"Repeated"`
	// The ID of the global active database cluster.
	GadInstanceName *string `json:"GadInstanceName,omitempty" xml:"GadInstanceName,omitempty"`
	// The time when the most recent modification was made to the global active database cluster. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	ModificationTime *string `json:"ModificationTime,omitempty" xml:"ModificationTime,omitempty"`
	// The database engine that is run by the global active database cluster.
	//
	// >  The value of this parameter is fixed as **mysql**.
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
	// The cluster status. Valid values:
	//
	// *   **activation**: The cluster is running.
	// *   **creating**: The cluster is being created.
	// *   **replica_adding**: Nodes are being added to the cluster.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeGadInstancesResponseBodyGadInstances) GoString

func (*DescribeGadInstancesResponseBodyGadInstances) SetCreationTime

func (*DescribeGadInstancesResponseBodyGadInstances) SetDescription

func (*DescribeGadInstancesResponseBodyGadInstances) SetGadInstanceName

func (*DescribeGadInstancesResponseBodyGadInstances) SetModificationTime

func (*DescribeGadInstancesResponseBodyGadInstances) SetService

func (*DescribeGadInstancesResponseBodyGadInstances) SetStatus

func (DescribeGadInstancesResponseBodyGadInstances) String

type DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers

type DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers struct {
	// The node ID.
	DBInstanceID *string `json:"DBInstanceID,omitempty" xml:"DBInstanceID,omitempty"`
	// A JSON array that consists of the details about the Data Transmission Service (DTS) synchronization task.
	//
	// >  Each unit node (secondary node) synchronizes data from the central node (primary node) by using DTS. This parameter contains the synchronization link ID and request ID of DTS.
	DtsInstance *string `json:"DtsInstance,omitempty" xml:"DtsInstance,omitempty"`
	// The database engine that is run by the node.
	//
	// >  The value of this parameter is fixed as **mysql**.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version that is run by the node.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The ID of the region in which the node resides.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The node type. Valid values:
	//
	// *   **CENTRAL**: The node is the central node. Each global active database cluster has only one central node. All unit nodes synchronize data from the central node.
	// *   **UNIT**: The node is a unit node. Each global active database cluster can have up to 10 unit nodes. All unit nodes synchronize data from the central node.
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// The node status. Valid values:
	//
	// *   **activation**: The node is running.
	// *   **creating**: The node is being created.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) GoString

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetDBInstanceID

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetDtsInstance

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetEngine

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetEngineVersion

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetRegionId

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetResourceGroupId

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetRole

func (*DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) SetStatus

func (DescribeGadInstancesResponseBodyGadInstancesGadInstanceMembers) String

type DescribeHADiagnoseConfigRequest

type DescribeHADiagnoseConfigRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeHADiagnoseConfigRequest) GoString

func (*DescribeHADiagnoseConfigRequest) SetDBInstanceId

func (*DescribeHADiagnoseConfigRequest) SetOwnerId

func (*DescribeHADiagnoseConfigRequest) SetRegionId

func (*DescribeHADiagnoseConfigRequest) SetResourceOwnerAccount

func (*DescribeHADiagnoseConfigRequest) SetResourceOwnerId

func (DescribeHADiagnoseConfigRequest) String

type DescribeHADiagnoseConfigResponse

type DescribeHADiagnoseConfigResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHADiagnoseConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHADiagnoseConfigResponse) GoString

func (*DescribeHADiagnoseConfigResponse) SetHeaders

func (*DescribeHADiagnoseConfigResponse) SetStatusCode

func (DescribeHADiagnoseConfigResponse) String

type DescribeHADiagnoseConfigResponseBody

type DescribeHADiagnoseConfigResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The availability check method of the instance. Valid values:
	//
	// *   **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
	// *   **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
	TcpConnectionType *string `json:"TcpConnectionType,omitempty" xml:"TcpConnectionType,omitempty"`
}

func (DescribeHADiagnoseConfigResponseBody) GoString

func (*DescribeHADiagnoseConfigResponseBody) SetRequestId

func (*DescribeHADiagnoseConfigResponseBody) SetTcpConnectionType

func (DescribeHADiagnoseConfigResponseBody) String

type DescribeHASwitchConfigRequest

type DescribeHASwitchConfigRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeHASwitchConfigRequest) GoString

func (*DescribeHASwitchConfigRequest) SetDBInstanceId

func (*DescribeHASwitchConfigRequest) SetOwnerId

func (*DescribeHASwitchConfigRequest) SetRegionId

func (*DescribeHASwitchConfigRequest) SetResourceOwnerAccount

func (*DescribeHASwitchConfigRequest) SetResourceOwnerId

func (DescribeHASwitchConfigRequest) String

type DescribeHASwitchConfigResponse

type DescribeHASwitchConfigResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHASwitchConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHASwitchConfigResponse) GoString

func (*DescribeHASwitchConfigResponse) SetHeaders

func (*DescribeHASwitchConfigResponse) SetStatusCode

func (DescribeHASwitchConfigResponse) String

type DescribeHASwitchConfigResponseBody

type DescribeHASwitchConfigResponseBody struct {
	// The status of the automatic primary/secondary switchover feature. Valid values:
	//
	// *   **Auto:** The automatic primary/secondary switchover feature is enabled. The system automatically switches your workloads over from the instance to its secondary instance in the event of a fault.
	// *   **Manual:** The automatic primary/secondary switchover feature is temporarily disabled.
	HAConfig *string `json:"HAConfig,omitempty" xml:"HAConfig,omitempty"`
	// The time when the automatic primary/secondary switchover feature is enabled again. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	ManualHATime *string `json:"ManualHATime,omitempty" xml:"ManualHATime,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHASwitchConfigResponseBody) GoString

func (*DescribeHASwitchConfigResponseBody) SetHAConfig

func (*DescribeHASwitchConfigResponseBody) SetManualHATime

func (*DescribeHASwitchConfigResponseBody) SetRequestId

func (DescribeHASwitchConfigResponseBody) String

type DescribeHistoryEventsRequest added in v3.4.0

type DescribeHistoryEventsRequest struct {
	// Archive status.
	ArchiveStatus *string `json:"ArchiveStatus,omitempty" xml:"ArchiveStatus,omitempty"`
	// Event category.
	EventCategory *string `json:"EventCategory,omitempty" xml:"EventCategory,omitempty"`
	// The event ID.
	EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// Event Level.
	EventLevel *string `json:"EventLevel,omitempty" xml:"EventLevel,omitempty"`
	// The status of the exception. Valid values:
	//
	// *   **1**: pending handling
	// *   **2**: ignored
	// *   **4**: confirmed
	// *   **8**: marked as a false positive
	// *   **16**: handling
	// *   **32**: handled
	// *   **64**: expired
	EventStatus *string `json:"EventStatus,omitempty" xml:"EventStatus,omitempty"`
	// The type of the system event.
	//
	// You can call the DescribeSystemEventMetaList operation to obtain the value of the response parameter `EventType`. The value of the EventType parameter indicates the types of system events that occurred for all cloud services in your Alibaba Cloud account. For more information, see [DescribeSystemEventMetaList](~~114972~~).
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
	// The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, the specified time is automatically converted to a time that is exactly 30 days earlier than the current time.
	FromStartTime *string `json:"FromStartTime,omitempty" xml:"FromStartTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid value: **30 to 200**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The type of resource. Set the value to INSTANCE.
	ResourceType  *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	ToStartTime *string `json:"ToStartTime,omitempty" xml:"ToStartTime,omitempty"`
}

func (DescribeHistoryEventsRequest) GoString added in v3.4.0

func (s DescribeHistoryEventsRequest) GoString() string

func (*DescribeHistoryEventsRequest) SetArchiveStatus added in v3.4.0

func (*DescribeHistoryEventsRequest) SetEventCategory added in v3.4.0

func (*DescribeHistoryEventsRequest) SetEventId added in v3.4.0

func (*DescribeHistoryEventsRequest) SetEventLevel added in v3.4.0

func (*DescribeHistoryEventsRequest) SetEventStatus added in v3.4.0

func (*DescribeHistoryEventsRequest) SetEventType added in v3.4.0

func (*DescribeHistoryEventsRequest) SetFromStartTime added in v3.4.0

func (*DescribeHistoryEventsRequest) SetInstanceId added in v3.4.0

func (*DescribeHistoryEventsRequest) SetPageNumber added in v3.4.0

func (*DescribeHistoryEventsRequest) SetPageSize added in v3.4.0

func (*DescribeHistoryEventsRequest) SetRegionId added in v3.4.0

func (*DescribeHistoryEventsRequest) SetResourceGroupId added in v3.4.0

func (*DescribeHistoryEventsRequest) SetResourceType added in v3.4.0

func (*DescribeHistoryEventsRequest) SetSecurityToken added in v3.4.0

func (*DescribeHistoryEventsRequest) SetTaskId added in v3.4.0

func (*DescribeHistoryEventsRequest) SetToStartTime added in v3.4.0

func (DescribeHistoryEventsRequest) String added in v3.4.0

type DescribeHistoryEventsResponse added in v3.4.0

type DescribeHistoryEventsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHistoryEventsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHistoryEventsResponse) GoString added in v3.4.0

func (*DescribeHistoryEventsResponse) SetBody added in v3.4.0

func (*DescribeHistoryEventsResponse) SetHeaders added in v3.4.0

func (*DescribeHistoryEventsResponse) SetStatusCode added in v3.4.0

func (DescribeHistoryEventsResponse) String added in v3.4.0

type DescribeHistoryEventsResponseBody added in v3.4.0

type DescribeHistoryEventsResponseBody struct {
	// The details of the task execution.
	Items []*DescribeHistoryEventsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of tasks that meet these constraints without taking pagination into account.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHistoryEventsResponseBody) GoString added in v3.4.0

func (*DescribeHistoryEventsResponseBody) SetItems added in v3.4.0

func (*DescribeHistoryEventsResponseBody) SetPageNumber added in v3.4.0

func (*DescribeHistoryEventsResponseBody) SetPageSize added in v3.4.0

func (*DescribeHistoryEventsResponseBody) SetRequestId added in v3.4.0

func (*DescribeHistoryEventsResponseBody) SetTotalCount added in v3.4.0

func (DescribeHistoryEventsResponseBody) String added in v3.4.0

type DescribeHistoryEventsResponseBodyItems added in v3.4.0

type DescribeHistoryEventsResponseBodyItems struct {
	// The data returned.
	Data *DescribeHistoryEventsResponseBodyItemsData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the task.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The region of the instance.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The instance username.
	Source *string `json:"Source,omitempty" xml:"Source,omitempty"`
	// Specversion.
	Specversion *string `json:"Specversion,omitempty" xml:"Specversion,omitempty"`
	// The subject of the certificate, which is in the DN format.
	Subject *string `json:"Subject,omitempty" xml:"Subject,omitempty"`
	// The time when the log was generated. The time is displayed in UTC.
	Time *string `json:"Time,omitempty" xml:"Time,omitempty"`
	// The notification type.
	//
	// Valid values:
	//
	// *   Sell
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// *   Operation
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// *   Promotion
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeHistoryEventsResponseBodyItems) GoString added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetData added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetId added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetRegion added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetSource added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetSpecversion added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetSubject added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetTime added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItems) SetType added in v3.4.0

func (DescribeHistoryEventsResponseBodyItems) String added in v3.4.0

type DescribeHistoryEventsResponseBodyItemsData added in v3.4.0

type DescribeHistoryEventsResponseBodyItemsData struct {
	// product.
	CmsProduct *string `json:"CmsProduct,omitempty" xml:"CmsProduct,omitempty"`
	// The type of the database engine.
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// Detail impact.
	DetailImpact *string `json:"DetailImpact,omitempty" xml:"DetailImpact,omitempty"`
	// Detail reason.
	DetailReason *string `json:"DetailReason,omitempty" xml:"DetailReason,omitempty"`
	// The end date of the query.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Event category.
	EventCategory *string `json:"EventCategory,omitempty" xml:"EventCategory,omitempty"`
	// The code of the extension point event.
	EventCode *string `json:"EventCode,omitempty" xml:"EventCode,omitempty"`
	// The output names of the current file.
	//
	// This parameter is equivalent to the Output Name parameter under Output in the Dependencies section of the Properties panel in the [DataWorks console](https://workbench.data.aliyun.com/console).
	EventDetail *string `json:"EventDetail,omitempty" xml:"EventDetail,omitempty"`
	// The ID of the custom event.
	EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// Event impact.
	EventImpact *string `json:"EventImpact,omitempty" xml:"EventImpact,omitempty"`
	// Event level.
	EventLevel *string `json:"EventLevel,omitempty" xml:"EventLevel,omitempty"`
	// The cause of the event.
	EventReason *string `json:"EventReason,omitempty" xml:"EventReason,omitempty"`
	// The status of the exception. Valid values:
	//
	// *   **1**: pending handling
	// *   **2**: ignored
	// *   **4**: confirmed
	// *   **8**: marked as a false positive
	// *   **16**: handling
	// *   **32**: handled
	// *   **64**: expired
	EventStatus *string `json:"EventStatus,omitempty" xml:"EventStatus,omitempty"`
	// The alert type.
	//
	// *   Set the value to **sensitiveFile**.
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
	// The time when the instance is created. The time is in the yyyy-MM-dd HH:mm:ss format.
	GmtCreated *string `json:"GmtCreated,omitempty" xml:"GmtCreated,omitempty"`
	// The time when the export task was modified.
	GmtModified *string `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// Processing status.
	HandleStatus *string `json:"HandleStatus,omitempty" xml:"HandleStatus,omitempty"`
	// Is there a lifecycle.
	HasLifeCycle *int32 `json:"HasLifeCycle,omitempty" xml:"HasLifeCycle,omitempty"`
	// The instance ID. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// Whether to close.
	IsClosed *int32 `json:"IsClosed,omitempty" xml:"IsClosed,omitempty"`
	// The name of the cloud service in which the system event occurred.
	//
	// You can call the DescribeSystemEventMetaList operation to obtain the value of the response parameter `Product`. The value of the Product parameter indicates the names of all cloud services in which the system events of your Alibaba Cloud account occurred. For more information, see [DescribeSystemEventMetaList](~~114972~~).
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The type of resource. Set the value to INSTANCE.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The type of the source resource.
	SourceType *string `json:"SourceType,omitempty" xml:"SourceType,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The account ID. You can view the ID of the **logon account** by moving the pointer over the profile in the Alibaba Cloud console.
	Uid *string `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DescribeHistoryEventsResponseBodyItemsData) GoString added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetCmsProduct added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetDbType added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetDetailImpact added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetDetailReason added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEndTime added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventCategory added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventCode added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventDetail added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventId added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventImpact added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventLevel added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventReason added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventStatus added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetEventType added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetGmtCreated added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetGmtModified added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetHandleStatus added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetHasLifeCycle added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetInstanceId added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetInstanceName added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetIsClosed added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetProduct added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetRegionId added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetResourceType added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetSourceType added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetStartTime added in v3.4.0

func (*DescribeHistoryEventsResponseBodyItemsData) SetUid added in v3.4.0

func (DescribeHistoryEventsResponseBodyItemsData) String added in v3.4.0

type DescribeHistoryEventsStatRequest added in v3.4.0

type DescribeHistoryEventsStatRequest struct {
	// Archive status.
	ArchiveStatus *string `json:"ArchiveStatus,omitempty" xml:"ArchiveStatus,omitempty"`
	// The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.
	FromStartTime *string `json:"FromStartTime,omitempty" xml:"FromStartTime,omitempty"`
	// The ID of the region where the global active database clusters that you want to query reside. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId      *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	ToStartTime *string `json:"ToStartTime,omitempty" xml:"ToStartTime,omitempty"`
}

func (DescribeHistoryEventsStatRequest) GoString added in v3.4.0

func (*DescribeHistoryEventsStatRequest) SetArchiveStatus added in v3.4.0

func (*DescribeHistoryEventsStatRequest) SetFromStartTime added in v3.4.0

func (*DescribeHistoryEventsStatRequest) SetRegionId added in v3.4.0

func (*DescribeHistoryEventsStatRequest) SetSecurityToken added in v3.4.0

func (*DescribeHistoryEventsStatRequest) SetToStartTime added in v3.4.0

func (DescribeHistoryEventsStatRequest) String added in v3.4.0

type DescribeHistoryEventsStatResponse added in v3.4.0

type DescribeHistoryEventsStatResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHistoryEventsStatResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHistoryEventsStatResponse) GoString added in v3.4.0

func (*DescribeHistoryEventsStatResponse) SetBody added in v3.4.0

func (*DescribeHistoryEventsStatResponse) SetHeaders added in v3.4.0

func (*DescribeHistoryEventsStatResponse) SetStatusCode added in v3.4.0

func (DescribeHistoryEventsStatResponse) String added in v3.4.0

type DescribeHistoryEventsStatResponseBody added in v3.4.0

type DescribeHistoryEventsStatResponseBody struct {
	// The migration tasks.
	Items []*DescribeHistoryEventsStatResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHistoryEventsStatResponseBody) GoString added in v3.4.0

func (*DescribeHistoryEventsStatResponseBody) SetItems added in v3.4.0

func (*DescribeHistoryEventsStatResponseBody) SetRequestId added in v3.4.0

func (DescribeHistoryEventsStatResponseBody) String added in v3.4.0

type DescribeHistoryEventsStatResponseBodyItems added in v3.4.0

type DescribeHistoryEventsStatResponseBodyItems struct {
	// Event category.
	EventCategory *string `json:"EventCategory,omitempty" xml:"EventCategory,omitempty"`
	// The total number of tasks that meet these constraints without taking pagination into account.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHistoryEventsStatResponseBodyItems) GoString added in v3.4.0

func (*DescribeHistoryEventsStatResponseBodyItems) SetEventCategory added in v3.4.0

func (*DescribeHistoryEventsStatResponseBodyItems) SetTotalCount added in v3.4.0

func (DescribeHistoryEventsStatResponseBodyItems) String added in v3.4.0

type DescribeHistoryTasksRequest added in v3.0.5

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

func (DescribeHistoryTasksRequest) GoString added in v3.0.5

func (s DescribeHistoryTasksRequest) GoString() string

func (*DescribeHistoryTasksRequest) SetFromExecTime added in v3.0.5

func (*DescribeHistoryTasksRequest) SetFromStartTime added in v3.0.5

func (*DescribeHistoryTasksRequest) SetInstanceId added in v3.0.5

func (*DescribeHistoryTasksRequest) SetInstanceType added in v3.0.5

func (*DescribeHistoryTasksRequest) SetOwnerId added in v3.0.5

func (*DescribeHistoryTasksRequest) SetPageNumber added in v3.0.5

func (*DescribeHistoryTasksRequest) SetPageSize added in v3.0.5

func (*DescribeHistoryTasksRequest) SetRegionId added in v3.0.5

func (*DescribeHistoryTasksRequest) SetResourceGroupId added in v3.0.5

func (*DescribeHistoryTasksRequest) SetResourceOwnerAccount added in v3.0.5

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

func (*DescribeHistoryTasksRequest) SetResourceOwnerId added in v3.0.5

func (*DescribeHistoryTasksRequest) SetSecurityToken added in v3.0.5

func (*DescribeHistoryTasksRequest) SetStatus added in v3.0.5

func (*DescribeHistoryTasksRequest) SetTaskId added in v3.0.5

func (*DescribeHistoryTasksRequest) SetTaskType added in v3.0.5

func (*DescribeHistoryTasksRequest) SetToExecTime added in v3.0.5

func (*DescribeHistoryTasksRequest) SetToStartTime added in v3.0.5

func (DescribeHistoryTasksRequest) String added in v3.0.5

type DescribeHistoryTasksResponse added in v3.0.5

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

func (DescribeHistoryTasksResponse) GoString added in v3.0.5

func (s DescribeHistoryTasksResponse) GoString() string

func (*DescribeHistoryTasksResponse) SetBody added in v3.0.5

func (*DescribeHistoryTasksResponse) SetHeaders added in v3.0.5

func (*DescribeHistoryTasksResponse) SetStatusCode added in v3.0.5

func (DescribeHistoryTasksResponse) String added in v3.0.5

type DescribeHistoryTasksResponseBody added in v3.0.5

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

func (DescribeHistoryTasksResponseBody) GoString added in v3.0.5

func (*DescribeHistoryTasksResponseBody) SetItems added in v3.0.5

func (*DescribeHistoryTasksResponseBody) SetPageNumber added in v3.0.5

func (*DescribeHistoryTasksResponseBody) SetPageSize added in v3.0.5

func (*DescribeHistoryTasksResponseBody) SetRequestId added in v3.0.5

func (*DescribeHistoryTasksResponseBody) SetTotalCount added in v3.0.5

func (DescribeHistoryTasksResponseBody) String added in v3.0.5

type DescribeHistoryTasksResponseBodyItems added in v3.0.5

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 CurrentStepName.
	//           "action_info": {    // The actions supported for this step.
	//             "Waiting": [      // The status, which matches 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 cancel modifySwitchTime: changes the switching or restoration time.
	ActionInfo *string `json:"ActionInfo,omitempty" xml:"ActionInfo,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.
	CallerSource *string `json:"CallerSource,omitempty" xml:"CallerSource,omitempty"`
	// The request source. Valid values: System User
	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.
	CurrentStepName *string `json:"CurrentStepName,omitempty" xml:"CurrentStepName,omitempty"`
	// The database type.
	DbType *string `json:"DbType,omitempty" xml:"DbType,omitempty"`
	// The end time of the task. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The instance ID. Example: rm-xxx.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The instance name, which is a user-defined alias.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The type of the instance. Example: user instance.
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The product. Example: rds.
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// The task progress. Valid values: 0 to 100.
	Progress *float32 `json:"Progress,omitempty" xml:"Progress,omitempty"`
	// The reason why the current task was initiated.
	ReasonCode *string `json:"ReasonCode,omitempty" xml:"ReasonCode,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The estimated amount of time remaining to complete the task. Unit: seconds.
	RemainTime *int32 `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"`
	// The start time of the task. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The status of the task.
	//
	// *   Scheduled
	// *   Running
	// *   Succeed
	// *   Failed
	// *   Cancelling
	// *   Canceled
	// *   Waiting
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The task details provided in the form of a JSON string. The JSON string can be customized and extended to include additional information about the task. The details vary based on the task type.
	TaskDetail *string `json:"TaskDetail,omitempty" xml:"TaskDetail,omitempty"`
	// The task ID in the t-\*\*\* format.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The task type or name.
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The ID of the user to which the resources belong.
	Uid *string `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DescribeHistoryTasksResponseBodyItems) GoString added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetActionInfo added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetCallerSource added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetCallerUid added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetCurrentStepName added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetDbType added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetEndTime added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceId added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceName added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetInstanceType added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetProduct added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetProgress added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetReasonCode added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetRegionId added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetRemainTime added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetStartTime added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetStatus added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetTaskDetail added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetTaskId added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetTaskType added in v3.0.5

func (*DescribeHistoryTasksResponseBodyItems) SetUid added in v3.0.5

func (DescribeHistoryTasksResponseBodyItems) String added in v3.0.5

type DescribeHistoryTasksStatRequest added in v3.4.0

type DescribeHistoryTasksStatRequest struct {
	// The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.
	FromExecTime *int32 `json:"FromExecTime,omitempty" xml:"FromExecTime,omitempty"`
	// The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, the specified time is automatically converted to a time that is exactly 30 days earlier than the current time.
	FromStartTime *string `json:"FromStartTime,omitempty" xml:"FromStartTime,omitempty"`
	// The instance ID. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OwnerId    *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *int64  `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The status of the task. Valid values:
	//
	// *   Scheduled
	// *   Running
	// *   Succeed
	// *   Failed
	// *   Cancelling
	// *   Canceled
	// *   Waiting
	//
	// Separate multiple states with commas (,). This parameter is empty by default, which indicates that tasks in all states are queried.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The type of tasks.
	TaskType *string `json:"TaskType,omitempty" xml:"TaskType,omitempty"`
	// The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.
	ToExecTime *int32 `json:"ToExecTime,omitempty" xml:"ToExecTime,omitempty"`
	// The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	ToStartTime *string `json:"ToStartTime,omitempty" xml:"ToStartTime,omitempty"`
}

func (DescribeHistoryTasksStatRequest) GoString added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetFromExecTime added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetFromStartTime added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetInstanceId added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetOwnerId added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetRegionId added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetResourceGroupId added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetResourceOwnerAccount added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetResourceOwnerId added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetSecurityToken added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetStatus added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetTaskId added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetTaskType added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetToExecTime added in v3.4.0

func (*DescribeHistoryTasksStatRequest) SetToStartTime added in v3.4.0

func (DescribeHistoryTasksStatRequest) String added in v3.4.0

type DescribeHistoryTasksStatResponse added in v3.4.0

type DescribeHistoryTasksStatResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHistoryTasksStatResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHistoryTasksStatResponse) GoString added in v3.4.0

func (*DescribeHistoryTasksStatResponse) SetBody added in v3.4.0

func (*DescribeHistoryTasksStatResponse) SetHeaders added in v3.4.0

func (*DescribeHistoryTasksStatResponse) SetStatusCode added in v3.4.0

func (DescribeHistoryTasksStatResponse) String added in v3.4.0

type DescribeHistoryTasksStatResponseBody added in v3.4.0

type DescribeHistoryTasksStatResponseBody struct {
	// The details of the instance.
	Items []*DescribeHistoryTasksStatResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHistoryTasksStatResponseBody) GoString added in v3.4.0

func (*DescribeHistoryTasksStatResponseBody) SetItems added in v3.4.0

func (*DescribeHistoryTasksStatResponseBody) SetRequestId added in v3.4.0

func (DescribeHistoryTasksStatResponseBody) String added in v3.4.0

type DescribeHistoryTasksStatResponseBodyItems added in v3.4.0

type DescribeHistoryTasksStatResponseBodyItems struct {
	// The status of the migration task. Valid values:
	//
	// *   **NoStart**: The task is not started.
	// *   **Running**:The task is in progress.
	// *   **Success**: The task is successful.
	// *   **Failed**: The task failed.
	// *   **Waiting**: The task is waiting for an incremental backup file to be imported.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The total number of tasks that meet these constraints without taking pagination into account.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHistoryTasksStatResponseBodyItems) GoString added in v3.4.0

func (*DescribeHistoryTasksStatResponseBodyItems) SetStatus added in v3.4.0

func (*DescribeHistoryTasksStatResponseBodyItems) SetTotalCount added in v3.4.0

func (DescribeHistoryTasksStatResponseBodyItems) String added in v3.4.0

type DescribeHostGroupElasticStrategyParametersRequest added in v3.3.0

type DescribeHostGroupElasticStrategyParametersRequest struct {
	// The name of the dedicated cluster.
	DedicatedHostGroupName *string `json:"DedicatedHostGroupName,omitempty" xml:"DedicatedHostGroupName,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeHostGroupElasticStrategyParametersRequest) GoString added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersRequest) SetDedicatedHostGroupName added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersRequest) SetRegionId added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersRequest) SetResourceGroupId added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersRequest) SetResourceOwnerId added in v3.3.0

func (DescribeHostGroupElasticStrategyParametersRequest) String added in v3.3.0

type DescribeHostGroupElasticStrategyParametersResponse added in v3.3.0

type DescribeHostGroupElasticStrategyParametersResponse struct {
	Headers    map[string]*string                                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHostGroupElasticStrategyParametersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHostGroupElasticStrategyParametersResponse) GoString added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponse) SetHeaders added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponse) SetStatusCode added in v3.3.0

func (DescribeHostGroupElasticStrategyParametersResponse) String added in v3.3.0

type DescribeHostGroupElasticStrategyParametersResponseBody added in v3.3.0

type DescribeHostGroupElasticStrategyParametersResponseBody struct {
	// The CPU utilization of the instance. Unit: percentage.
	CpuShar *int32 `json:"CpuShar,omitempty" xml:"CpuShar,omitempty"`
	// The number of CPU cores used by the instance. Unit: cores.
	CpuZoom *int32 `json:"CpuZoom,omitempty" xml:"CpuZoom,omitempty"`
	// The number of I/O requests.
	IopsZoom *int32 `json:"IopsZoom,omitempty" xml:"IopsZoom,omitempty"`
	// The maximum number of concurrent connections supported by the instance type.
	MaxConnZoom *int32 `json:"MaxConnZoom,omitempty" xml:"MaxConnZoom,omitempty"`
	// The total memory size of the instance in the dedicated cluster. Unit: MB.
	MemoryZoom *int32 `json:"MemoryZoom,omitempty" xml:"MemoryZoom,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHostGroupElasticStrategyParametersResponseBody) GoString added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponseBody) SetCpuShar added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponseBody) SetCpuZoom added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponseBody) SetIopsZoom added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponseBody) SetMaxConnZoom added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponseBody) SetMemoryZoom added in v3.3.0

func (*DescribeHostGroupElasticStrategyParametersResponseBody) SetRequestId added in v3.3.0

func (DescribeHostGroupElasticStrategyParametersResponseBody) String added in v3.3.0

type DescribeHostWebShellRequest added in v3.0.5

type DescribeHostWebShellRequest struct {
	// The username of the account that is used to log on to the host of the instance.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The password of the account.
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The hostname of the instance. You can call the [DescribeDBInstanceIpHostname](~~610525~~) operation to query the hostname.
	HostName *string `json:"HostName,omitempty" xml:"HostName,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance. You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the most recent region list.
	RegionID             *string `json:"RegionID,omitempty" xml:"RegionID,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeHostWebShellRequest) GoString added in v3.0.5

func (s DescribeHostWebShellRequest) GoString() string

func (*DescribeHostWebShellRequest) SetAccountName added in v3.0.5

func (*DescribeHostWebShellRequest) SetAccountPassword added in v3.0.5

func (*DescribeHostWebShellRequest) SetDBInstanceId added in v3.0.5

func (*DescribeHostWebShellRequest) SetHostName added in v3.0.5

func (*DescribeHostWebShellRequest) SetOwnerId added in v3.0.5

func (*DescribeHostWebShellRequest) SetRegionID added in v3.0.5

func (*DescribeHostWebShellRequest) SetResourceOwnerAccount added in v3.0.5

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

func (*DescribeHostWebShellRequest) SetResourceOwnerId added in v3.0.5

func (DescribeHostWebShellRequest) String added in v3.0.5

type DescribeHostWebShellResponse added in v3.0.5

type DescribeHostWebShellResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeHostWebShellResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeHostWebShellResponse) GoString added in v3.0.5

func (s DescribeHostWebShellResponse) GoString() string

func (*DescribeHostWebShellResponse) SetBody added in v3.0.5

func (*DescribeHostWebShellResponse) SetHeaders added in v3.0.5

func (*DescribeHostWebShellResponse) SetStatusCode added in v3.0.5

func (DescribeHostWebShellResponse) String added in v3.0.5

type DescribeHostWebShellResponseBody added in v3.0.5

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

func (DescribeHostWebShellResponseBody) GoString added in v3.0.5

func (*DescribeHostWebShellResponseBody) SetLoginUrl added in v3.0.5

func (*DescribeHostWebShellResponseBody) SetRequestId added in v3.0.5

func (DescribeHostWebShellResponseBody) String added in v3.0.5

type DescribeInstanceAutoRenewalAttributeRequest

type DescribeInstanceAutoRenewalAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values:
	//
	// *   **30 (default value)**
	// *   **50**
	// *   **100**
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// This parameter is reserved. You do not need to specify this parameter.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeRequest) GoString

func (*DescribeInstanceAutoRenewalAttributeRequest) SetClientToken

func (*DescribeInstanceAutoRenewalAttributeRequest) SetDBInstanceId

func (*DescribeInstanceAutoRenewalAttributeRequest) SetOwnerAccount

func (*DescribeInstanceAutoRenewalAttributeRequest) SetOwnerId

func (*DescribeInstanceAutoRenewalAttributeRequest) SetPageNumber

func (*DescribeInstanceAutoRenewalAttributeRequest) SetPageSize

func (*DescribeInstanceAutoRenewalAttributeRequest) SetProxyId

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" require:"true"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeInstanceAutoRenewalAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeInstanceAutoRenewalAttributeResponse) GoString

func (*DescribeInstanceAutoRenewalAttributeResponse) SetHeaders

func (*DescribeInstanceAutoRenewalAttributeResponse) SetStatusCode

func (DescribeInstanceAutoRenewalAttributeResponse) String

type DescribeInstanceAutoRenewalAttributeResponseBody

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

func (DescribeInstanceAutoRenewalAttributeResponseBody) GoString

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetPageNumber

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetPageRecordCount

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetRequestId

func (*DescribeInstanceAutoRenewalAttributeResponseBody) SetTotalRecordCount

func (DescribeInstanceAutoRenewalAttributeResponseBody) String

type DescribeInstanceAutoRenewalAttributeResponseBodyItems

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

func (DescribeInstanceAutoRenewalAttributeResponseBodyItems) GoString

func (DescribeInstanceAutoRenewalAttributeResponseBodyItems) String

type DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem

type DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem struct {
	// Indicates whether to enable auto-renewal for the instance.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The renewal period.
	Duration *int32 `json:"Duration,omitempty" xml:"Duration,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The instance status.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) GoString

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetAutoRenew

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDBInstanceId

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetDuration

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetRegionId

func (*DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) SetStatus

func (DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem) String

type DescribeInstanceCrossBackupPolicyRequest

type DescribeInstanceCrossBackupPolicyRequest struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeInstanceCrossBackupPolicyRequest) GoString

func (*DescribeInstanceCrossBackupPolicyRequest) SetDBInstanceId

func (*DescribeInstanceCrossBackupPolicyRequest) SetOwnerId

func (*DescribeInstanceCrossBackupPolicyRequest) SetRegionId

func (*DescribeInstanceCrossBackupPolicyRequest) SetResourceOwnerAccount

func (*DescribeInstanceCrossBackupPolicyRequest) SetResourceOwnerId

func (DescribeInstanceCrossBackupPolicyRequest) String

type DescribeInstanceCrossBackupPolicyResponse

type DescribeInstanceCrossBackupPolicyResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeInstanceCrossBackupPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeInstanceCrossBackupPolicyResponse) GoString

func (*DescribeInstanceCrossBackupPolicyResponse) SetHeaders

func (*DescribeInstanceCrossBackupPolicyResponse) SetStatusCode

func (DescribeInstanceCrossBackupPolicyResponse) String

type DescribeInstanceCrossBackupPolicyResponseBody

type DescribeInstanceCrossBackupPolicyResponseBody struct {
	// The status of the cross-region backup feature on the instance. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	BackupEnabled *string `json:"BackupEnabled,omitempty" xml:"BackupEnabled,omitempty"`
	// The point in time at which the cross-region backup feature is enabled. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	BackupEnabledTime *string `json:"BackupEnabledTime,omitempty" xml:"BackupEnabledTime,omitempty"`
	// The ID of the destination region where the cross-region backup files of the instance are stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The policy that is used to save the cross-region backup files of the instance. Default value: **1**. The value 1 indicates that all cross-region backup files are saved.
	CrossBackupType *string `json:"CrossBackupType,omitempty" xml:"CrossBackupType,omitempty"`
	// The name of the instance. It must be 2 to 256 characters in length. The value can contain letters, digits, underscores (\_), and hyphens (-), and must start with a letter.
	//
	// >  The value cannot start with http:// or https://.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the instance. For more information, see [Instance state table](~~26315~~).
	DBInstanceStatus *string `json:"DBInstanceStatus,omitempty" xml:"DBInstanceStatus,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,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.
	LockMode *string `json:"LockMode,omitempty" xml:"LockMode,omitempty"`
	// The status of the cross-region log backup feature on the instance. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	LogBackupEnabled *string `json:"LogBackupEnabled,omitempty" xml:"LogBackupEnabled,omitempty"`
	// The time when cross-region log backup was enabled on the instance. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LogBackupEnabledTime *string `json:"LogBackupEnabledTime,omitempty" xml:"LogBackupEnabledTime,omitempty"`
	// The region ID of the instance.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The policy that is used to retain the cross-region backup files of the instance. Default value: **1**. The value 1 indicates that the cross-region backup files of the instance are retained based on the specified retention period.
	RetentType *int32 `json:"RetentType,omitempty" xml:"RetentType,omitempty"`
	// The number of days for which the cross-region backup files of the instance are retained. Valid values: **7 to 1825**.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
}

func (DescribeInstanceCrossBackupPolicyResponseBody) GoString

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetBackupEnabled

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetBackupEnabledTime

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetCrossBackupRegion

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetCrossBackupType

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetDBInstanceDescription

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetDBInstanceId

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetDBInstanceStatus

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetEngine

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetEngineVersion

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetLockMode

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetLogBackupEnabled

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetLogBackupEnabledTime

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetRegionId

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetRequestId

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetRetentType

func (*DescribeInstanceCrossBackupPolicyResponseBody) SetRetention

func (DescribeInstanceCrossBackupPolicyResponseBody) String

type DescribeInstanceKeywordsRequest

type DescribeInstanceKeywordsRequest struct {
	// The type of reserved keyword to query. Valid values:
	//
	// *   **account**
	// *   **database**
	Key                  *string `json:"Key,omitempty" xml:"Key,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 (DescribeInstanceKeywordsRequest) GoString

func (*DescribeInstanceKeywordsRequest) SetKey

func (*DescribeInstanceKeywordsRequest) SetOwnerAccount

func (*DescribeInstanceKeywordsRequest) SetOwnerId

func (*DescribeInstanceKeywordsRequest) SetResourceOwnerAccount

func (*DescribeInstanceKeywordsRequest) SetResourceOwnerId

func (DescribeInstanceKeywordsRequest) String

type DescribeInstanceKeywordsResponse

type DescribeInstanceKeywordsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeInstanceKeywordsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeInstanceKeywordsResponse) GoString

func (*DescribeInstanceKeywordsResponse) SetHeaders

func (*DescribeInstanceKeywordsResponse) SetStatusCode

func (DescribeInstanceKeywordsResponse) String

type DescribeInstanceKeywordsResponseBody

type DescribeInstanceKeywordsResponseBody struct {
	// The type of reserved keyword returned.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array that consists of reserved keywords.
	Words *DescribeInstanceKeywordsResponseBodyWords `json:"Words,omitempty" xml:"Words,omitempty" type:"Struct"`
}

func (DescribeInstanceKeywordsResponseBody) GoString

func (*DescribeInstanceKeywordsResponseBody) SetKey

func (*DescribeInstanceKeywordsResponseBody) SetRequestId

func (DescribeInstanceKeywordsResponseBody) String

type DescribeInstanceKeywordsResponseBodyWords

type DescribeInstanceKeywordsResponseBodyWords struct {
	Word []*string `json:"word,omitempty" xml:"word,omitempty" type:"Repeated"`
}

func (DescribeInstanceKeywordsResponseBodyWords) GoString

func (*DescribeInstanceKeywordsResponseBodyWords) SetWord

func (DescribeInstanceKeywordsResponseBodyWords) String

type DescribeInstanceLinkedWhitelistTemplateRequest added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateRequest struct {
	// The instance name.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The resource group ID. You can leave this parameter empty.
	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 (DescribeInstanceLinkedWhitelistTemplateRequest) GoString added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateRequest) SetInsName added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateRequest) SetResourceGroupId added in v3.1.0

func (*DescribeInstanceLinkedWhitelistTemplateRequest) SetResourceOwnerAccount added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateRequest) SetResourceOwnerId added in v3.0.29

func (DescribeInstanceLinkedWhitelistTemplateRequest) String added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponse added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponse struct {
	Headers    map[string]*string                                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeInstanceLinkedWhitelistTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeInstanceLinkedWhitelistTemplateResponse) GoString added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponse) SetHeaders added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponse) SetStatusCode added in v3.0.29

func (DescribeInstanceLinkedWhitelistTemplateResponse) String added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponseBody added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponseBody struct {
	// The response code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *DescribeInstanceLinkedWhitelistTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The returned message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribeInstanceLinkedWhitelistTemplateResponseBody) GoString added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBody) SetCode added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBody) SetHttpStatusCode added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBody) SetMessage added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBody) SetRequestId added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBody) SetSuccess added in v3.0.29

func (DescribeInstanceLinkedWhitelistTemplateResponseBody) String added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponseBodyData added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponseBodyData struct {
	// The instance name.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The information about whitelists that are returned by page.
	Templates []*DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates `json:"Templates,omitempty" xml:"Templates,omitempty" type:"Repeated"`
}

func (DescribeInstanceLinkedWhitelistTemplateResponseBodyData) GoString added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBodyData) SetInsName added in v3.0.29

func (DescribeInstanceLinkedWhitelistTemplateResponseBodyData) String added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates added in v3.0.29

type DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates struct {
	// The primary key of the data table.
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The IP addresses.
	Ips *string `json:"Ips,omitempty" xml:"Ips,omitempty"`
	// The whitelist template ID.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The whitelist template name.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The user ID.
	UserId *int32 `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) GoString added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) SetId added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) SetIps added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) SetTemplateId added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) SetTemplateName added in v3.0.29

func (*DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) SetUserId added in v3.0.29

func (DescribeInstanceLinkedWhitelistTemplateResponseBodyDataTemplates) String added in v3.0.29

type DescribeLocalAvailableRecoveryTimeRequest

type DescribeLocalAvailableRecoveryTimeRequest struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeLocalAvailableRecoveryTimeRequest) GoString

func (*DescribeLocalAvailableRecoveryTimeRequest) SetDBInstanceId

func (*DescribeLocalAvailableRecoveryTimeRequest) SetOwnerId

func (*DescribeLocalAvailableRecoveryTimeRequest) SetRegion

func (*DescribeLocalAvailableRecoveryTimeRequest) SetResourceGroupId

func (*DescribeLocalAvailableRecoveryTimeRequest) SetResourceOwnerAccount

func (*DescribeLocalAvailableRecoveryTimeRequest) SetResourceOwnerId

func (DescribeLocalAvailableRecoveryTimeRequest) String

type DescribeLocalAvailableRecoveryTimeResponse

type DescribeLocalAvailableRecoveryTimeResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeLocalAvailableRecoveryTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeLocalAvailableRecoveryTimeResponse) GoString

func (*DescribeLocalAvailableRecoveryTimeResponse) SetHeaders

func (*DescribeLocalAvailableRecoveryTimeResponse) SetStatusCode

func (DescribeLocalAvailableRecoveryTimeResponse) String

type DescribeLocalAvailableRecoveryTimeResponseBody

type DescribeLocalAvailableRecoveryTimeResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The start of the time range to which the instance can be restored.
	RecoveryBeginTime *string `json:"RecoveryBeginTime,omitempty" xml:"RecoveryBeginTime,omitempty"`
	// The end of the time range to which the instance can be restored.
	RecoveryEndTime *string `json:"RecoveryEndTime,omitempty" xml:"RecoveryEndTime,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeLocalAvailableRecoveryTimeResponseBody) GoString

func (*DescribeLocalAvailableRecoveryTimeResponseBody) SetDBInstanceId

func (*DescribeLocalAvailableRecoveryTimeResponseBody) SetRecoveryBeginTime

func (*DescribeLocalAvailableRecoveryTimeResponseBody) SetRecoveryEndTime

func (*DescribeLocalAvailableRecoveryTimeResponseBody) SetRequestId

func (DescribeLocalAvailableRecoveryTimeResponseBody) String

type DescribeLogBackupFilesRequest

type DescribeLogBackupFilesRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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*Z format. The time must be in UTC.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30** to **1000**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeLogBackupFilesRequest) GoString

func (*DescribeLogBackupFilesRequest) SetDBInstanceId

func (*DescribeLogBackupFilesRequest) SetEndTime

func (*DescribeLogBackupFilesRequest) SetOwnerAccount

func (*DescribeLogBackupFilesRequest) SetOwnerId

func (*DescribeLogBackupFilesRequest) SetPageNumber

func (*DescribeLogBackupFilesRequest) SetPageSize

func (*DescribeLogBackupFilesRequest) SetResourceOwnerAccount

func (*DescribeLogBackupFilesRequest) SetResourceOwnerId

func (*DescribeLogBackupFilesRequest) SetStartTime

func (DescribeLogBackupFilesRequest) String

type DescribeLogBackupFilesResponse

type DescribeLogBackupFilesResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeLogBackupFilesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeLogBackupFilesResponse) GoString

func (*DescribeLogBackupFilesResponse) SetHeaders

func (*DescribeLogBackupFilesResponse) SetStatusCode

func (DescribeLogBackupFilesResponse) String

type DescribeLogBackupFilesResponseBody

type DescribeLogBackupFilesResponseBody struct {
	// The details of log files.
	Items *DescribeLogBackupFilesResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the page returned.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of log files on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total size of log files. Unit: bytes.
	TotalFileSize *int64 `json:"TotalFileSize,omitempty" xml:"TotalFileSize,omitempty"`
	// The total number of log files.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeLogBackupFilesResponseBody) GoString

func (*DescribeLogBackupFilesResponseBody) SetPageNumber

func (*DescribeLogBackupFilesResponseBody) SetPageRecordCount

func (*DescribeLogBackupFilesResponseBody) SetRequestId

func (*DescribeLogBackupFilesResponseBody) SetTotalFileSize

func (*DescribeLogBackupFilesResponseBody) SetTotalRecordCount

func (DescribeLogBackupFilesResponseBody) String

type DescribeLogBackupFilesResponseBodyItems

type DescribeLogBackupFilesResponseBodyItems struct {
	BinLogFile []*DescribeLogBackupFilesResponseBodyItemsBinLogFile `json:"BinLogFile,omitempty" xml:"BinLogFile,omitempty" type:"Repeated"`
}

func (DescribeLogBackupFilesResponseBodyItems) GoString

func (DescribeLogBackupFilesResponseBodyItems) String

type DescribeLogBackupFilesResponseBodyItemsBinLogFile

type DescribeLogBackupFilesResponseBodyItemsBinLogFile struct {
	// The HTTP-based download URL of the log file. If the log file cannot be downloaded, an empty string is returned.
	DownloadLink *string `json:"DownloadLink,omitempty" xml:"DownloadLink,omitempty"`
	// The size of the log file. Unit: bytes.
	FileSize *int64 `json:"FileSize,omitempty" xml:"FileSize,omitempty"`
	// The URL that is used to download the log file over an internal network. If the log file cannot be downloaded, an empty string is returned. This URL is valid for one hour.
	IntranetDownloadLink *string `json:"IntranetDownloadLink,omitempty" xml:"IntranetDownloadLink,omitempty"`
	// The expiration time of the URL. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	LinkExpiredTime *string `json:"LinkExpiredTime,omitempty" xml:"LinkExpiredTime,omitempty"`
	// The start time of the log file. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	LogBeginTime *string `json:"LogBeginTime,omitempty" xml:"LogBeginTime,omitempty"`
	// The end time of the log file. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	LogEndTime *string `json:"LogEndTime,omitempty" xml:"LogEndTime,omitempty"`
}

func (DescribeLogBackupFilesResponseBodyItemsBinLogFile) GoString

func (*DescribeLogBackupFilesResponseBodyItemsBinLogFile) SetFileSize

func (*DescribeLogBackupFilesResponseBodyItemsBinLogFile) SetLinkExpiredTime

func (*DescribeLogBackupFilesResponseBodyItemsBinLogFile) SetLogBeginTime

func (*DescribeLogBackupFilesResponseBodyItemsBinLogFile) SetLogEndTime

func (DescribeLogBackupFilesResponseBodyItemsBinLogFile) String

type DescribeMarketingActivityRequest added in v3.3.0

type DescribeMarketingActivityRequest struct {
	// The ID of the Alibaba Cloud account.
	AliUid *int64 `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// *   China site: 26842
	// *   International site: 26888
	Bid *string `json:"Bid,omitempty" xml:"Bid,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	OwnerId     *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The service name.
	UpgradeCode *string `json:"UpgradeCode,omitempty" xml:"UpgradeCode,omitempty"`
}

func (DescribeMarketingActivityRequest) GoString added in v3.3.0

func (*DescribeMarketingActivityRequest) SetAliUid added in v3.3.0

func (*DescribeMarketingActivityRequest) SetBid added in v3.3.0

func (*DescribeMarketingActivityRequest) SetClientToken added in v3.3.0

func (*DescribeMarketingActivityRequest) SetOwnerId added in v3.3.0

func (*DescribeMarketingActivityRequest) SetRegionId added in v3.3.0

func (*DescribeMarketingActivityRequest) SetResourceGroupId added in v3.3.0

func (*DescribeMarketingActivityRequest) SetResourceOwnerAccount added in v3.3.0

func (*DescribeMarketingActivityRequest) SetResourceOwnerId added in v3.3.0

func (*DescribeMarketingActivityRequest) SetUpgradeCode added in v3.3.0

func (DescribeMarketingActivityRequest) String added in v3.3.0

type DescribeMarketingActivityResponse added in v3.3.0

type DescribeMarketingActivityResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeMarketingActivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeMarketingActivityResponse) GoString added in v3.3.0

func (*DescribeMarketingActivityResponse) SetBody added in v3.3.0

func (*DescribeMarketingActivityResponse) SetHeaders added in v3.3.0

func (*DescribeMarketingActivityResponse) SetStatusCode added in v3.3.0

func (DescribeMarketingActivityResponse) String added in v3.3.0

type DescribeMarketingActivityResponseBody added in v3.3.0

type DescribeMarketingActivityResponseBody struct {
	// The ID of the Alibaba Cloud account.
	AliUid *int64 `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// *   China site: 26842
	// *   International site: 26888
	Bid *string `json:"Bid,omitempty" xml:"Bid,omitempty"`
	// The activity parameters
	Items []*DescribeMarketingActivityResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeMarketingActivityResponseBody) GoString added in v3.3.0

func (*DescribeMarketingActivityResponseBody) SetAliUid added in v3.3.0

func (*DescribeMarketingActivityResponseBody) SetBid added in v3.3.0

func (*DescribeMarketingActivityResponseBody) SetItems added in v3.3.0

func (*DescribeMarketingActivityResponseBody) SetRegionId added in v3.3.0

func (*DescribeMarketingActivityResponseBody) SetRequestId added in v3.3.0

func (DescribeMarketingActivityResponseBody) String added in v3.3.0

type DescribeMarketingActivityResponseBodyItems added in v3.3.0

type DescribeMarketingActivityResponseBodyItems struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **AlwaysOn**: RDS Cluster Edition
	// *   **Finance**: RDS Enterprise Edition
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The payment type. Valid values:
	//
	// *   POSTPAY: pay-as-you-go
	// *   PREPAY: subscription
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The instance type. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~) and [Read-only ApsaraDB RDS instance types](~~145759~~).
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,omitempty"`
	// The instance family. For more information, see [Overview of instance families](~~57184~~).
	ClassGroup *string `json:"ClassGroup,omitempty" xml:"ClassGroup,omitempty"`
	// The number of CPU cores that are supported by the instance type. Unit: cores.
	Cpu *string `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// The disk capacity per node. Unit: GB.
	DiskSize *int32 `json:"DiskSize,omitempty" xml:"DiskSize,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   MySQL
	// *   SQLServer
	// *   PostgreSQL
	// *   PPAS
	// *   MariaDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The instance ID.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The instance name.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The maximum number of concurrent connections.
	MaxConnections *int32 `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum I/O throughput. Unit: Mbit/s.
	MaxIombps *int32 `json:"MaxIombps,omitempty" xml:"MaxIombps,omitempty"`
	// The maximum IOPS.
	MaxIops *int32 `json:"MaxIops,omitempty" xml:"MaxIops,omitempty"`
	// The memory size.
	Memory *int64 `json:"Memory,omitempty" xml:"Memory,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD
	// *   **cloud_essd**: performance level 1 (PL1) enhanced SSD (ESSD)
	// *   **cloud_essd2**: PL2 ESSD
	// *   **cloud_essd3**: PL3 ESSD
	StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"`
	// The RDS edition after the upgrade.
	UpgradeCategory *string `json:"UpgradeCategory,omitempty" xml:"UpgradeCategory,omitempty"`
	// The instance type after the upgrade.
	UpgradeClassCode *string `json:"UpgradeClassCode,omitempty" xml:"UpgradeClassCode,omitempty"`
	// The instance family after the upgrade.
	UpgradeClassGroup *string `json:"UpgradeClassGroup,omitempty" xml:"UpgradeClassGroup,omitempty"`
	// The number of CPU cores after the upgrade.
	UpgradeCpu *string `json:"UpgradeCpu,omitempty" xml:"UpgradeCpu,omitempty"`
	// The description of the upgrade.
	UpgradeDescContent *string `json:"UpgradeDescContent,omitempty" xml:"UpgradeDescContent,omitempty"`
	// The disk capacity after the upgrade.
	UpgradeDiskSize *int32 `json:"UpgradeDiskSize,omitempty" xml:"UpgradeDiskSize,omitempty"`
	// The maximum number of concurrent connections after the upgrade.
	UpgradeMaxConnections *int32 `json:"UpgradeMaxConnections,omitempty" xml:"UpgradeMaxConnections,omitempty"`
	// The maximum I/O throughput after the upgrade. Unit: Mbit/s.
	UpgradeMaxIombps *int32 `json:"UpgradeMaxIombps,omitempty" xml:"UpgradeMaxIombps,omitempty"`
	// The maximum IOPS after the upgrade.
	UpgradeMaxIops *int32 `json:"UpgradeMaxIops,omitempty" xml:"UpgradeMaxIops,omitempty"`
	// The memory size after the upgrade.
	UpgradeMemory *int64 `json:"UpgradeMemory,omitempty" xml:"UpgradeMemory,omitempty"`
	// The reference price of the upgrade.
	UpgradeReferencePrice *string `json:"UpgradeReferencePrice,omitempty" xml:"UpgradeReferencePrice,omitempty"`
	// The storage type after the upgrade.
	UpgradeStorageType *string `json:"UpgradeStorageType,omitempty" xml:"UpgradeStorageType,omitempty"`
}

func (DescribeMarketingActivityResponseBodyItems) GoString added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetCategory added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetChargeType added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetClassCode added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetClassGroup added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetCpu added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetDiskSize added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetEngine added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetEngineVersion added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetInstanceId added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetInstanceName added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetMaxConnections added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetMaxIombps added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetMaxIops added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetMemory added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetStorageType added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeCategory added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeClassCode added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeClassGroup added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeCpu added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeDescContent added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeDiskSize added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeMaxConnections added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeMaxIombps added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeMaxIops added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeMemory added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeReferencePrice added in v3.3.0

func (*DescribeMarketingActivityResponseBodyItems) SetUpgradeStorageType added in v3.3.0

func (DescribeMarketingActivityResponseBodyItems) String added in v3.3.0

type DescribeMetaListRequest

type DescribeMetaListRequest struct {
	// The ID of the backup set from which you want to restore data. You can call the DescribeBackups operation to query the backup set ID.
	//
	// >  This parameter must be specified when the **RestoreType** parameter is set to **BackupSetID**.
	BackupSetID *int32 `json:"BackupSetID,omitempty" xml:"BackupSetID,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database to query. The system implements exact match based on the value of this parameter and returns the name of the matched database and the names of all tables contained in the database.
	//
	// > If you leave this parameter empty, the system returns all databases that are created on the instance.
	GetDbName *string `json:"GetDbName,omitempty" xml:"GetDbName,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.**** Default value: **1**.
	//
	// > This parameter only takes effect when you specify the **PageSize** parameter.
	PageIndex *int32 `json:"PageIndex,omitempty" xml:"PageIndex,omitempty"`
	// The number of entries to return on each page. Default value: **1**.
	//
	// > This parameter only takes effect when you specify the **PageIndex** parameter.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The name of the database to query. The system implements fuzzy match based on the value of this parameter and returns only the name of the matched database.
	//
	// > For example, if you set the value to `test`, the system returns `testdb1` and `testdb2`. Then, you can specify the **GetDbName** parameter to query tables in the required database.
	Pattern *string `json:"Pattern,omitempty" xml:"Pattern,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. The specified point in time must be earlier than the current 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. You can call the DescribeBackups operation to query the restorable time range.
	//
	// >  This parameter must be specified when the **RestoreType** parameter is set to **RestoreTime**.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The method that is used to restore data. Valid values:
	//
	// *   **BackupSetID**: Data is restored from a backup set. If you use this value, you must also specify the **BackupSetID** parameter.
	// *   **RestoreTime**: Data is restored to a specific point in time. If you use this value, you must also specify the **RestoreTime** parameter.
	//
	// Default value: **BackupSetID**.
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
}

func (DescribeMetaListRequest) GoString

func (s DescribeMetaListRequest) GoString() string

func (*DescribeMetaListRequest) SetBackupSetID

func (*DescribeMetaListRequest) SetClientToken

func (*DescribeMetaListRequest) SetDBInstanceId

func (*DescribeMetaListRequest) SetGetDbName

func (*DescribeMetaListRequest) SetOwnerId

func (*DescribeMetaListRequest) SetPageIndex

func (*DescribeMetaListRequest) SetPageSize

func (*DescribeMetaListRequest) SetPattern

func (*DescribeMetaListRequest) SetResourceGroupId

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

func (*DescribeMetaListRequest) SetResourceOwnerAccount

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

func (*DescribeMetaListRequest) SetResourceOwnerId

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

func (*DescribeMetaListRequest) SetRestoreTime

func (*DescribeMetaListRequest) SetRestoreType

func (DescribeMetaListRequest) String

func (s DescribeMetaListRequest) String() string

type DescribeMetaListResponse

type DescribeMetaListResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeMetaListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeMetaListResponse) GoString

func (s DescribeMetaListResponse) GoString() string

func (*DescribeMetaListResponse) SetBody

func (*DescribeMetaListResponse) SetHeaders

func (*DescribeMetaListResponse) SetStatusCode

func (DescribeMetaListResponse) String

func (s DescribeMetaListResponse) String() string

type DescribeMetaListResponseBody

type DescribeMetaListResponseBody struct {
	// The instance name.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The information about the databases and tables whose data is included in the backup set.
	Items *DescribeMetaListResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of pages returned.
	TotalPageCount *int32 `json:"TotalPageCount,omitempty" xml:"TotalPageCount,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeMetaListResponseBody) GoString

func (s DescribeMetaListResponseBody) GoString() string

func (*DescribeMetaListResponseBody) SetDBInstanceName

func (*DescribeMetaListResponseBody) SetItems

func (*DescribeMetaListResponseBody) SetPageNumber

func (*DescribeMetaListResponseBody) SetPageRecordCount

func (*DescribeMetaListResponseBody) SetRequestId

func (*DescribeMetaListResponseBody) SetTotalPageCount

func (*DescribeMetaListResponseBody) SetTotalRecordCount

func (DescribeMetaListResponseBody) String

type DescribeMetaListResponseBodyItems

type DescribeMetaListResponseBodyItems struct {
	Meta []*DescribeMetaListResponseBodyItemsMeta `json:"Meta,omitempty" xml:"Meta,omitempty" type:"Repeated"`
}

func (DescribeMetaListResponseBodyItems) GoString

func (DescribeMetaListResponseBodyItems) String

type DescribeMetaListResponseBodyItemsMeta

type DescribeMetaListResponseBodyItemsMeta struct {
	// The database name.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The table size. Unit: KB.
	Size *string `json:"Size,omitempty" xml:"Size,omitempty"`
	// The table name.
	Tables *string `json:"Tables,omitempty" xml:"Tables,omitempty"`
}

func (DescribeMetaListResponseBodyItemsMeta) GoString

func (*DescribeMetaListResponseBodyItemsMeta) SetDatabase

func (*DescribeMetaListResponseBodyItemsMeta) SetSize

func (*DescribeMetaListResponseBodyItemsMeta) SetTables

func (DescribeMetaListResponseBodyItemsMeta) String

type DescribeMigrateTaskByIdRequest

type DescribeMigrateTaskByIdRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The migration task ID. You can call the DescribeMigrateTasks operation to query the migration task ID.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeMigrateTaskByIdRequest) GoString

func (*DescribeMigrateTaskByIdRequest) SetDBInstanceId

func (*DescribeMigrateTaskByIdRequest) SetMigrateTaskId

func (*DescribeMigrateTaskByIdRequest) SetOwnerId

func (*DescribeMigrateTaskByIdRequest) SetResourceGroupId

func (*DescribeMigrateTaskByIdRequest) SetResourceOwnerAccount

func (*DescribeMigrateTaskByIdRequest) SetResourceOwnerId

func (DescribeMigrateTaskByIdRequest) String

type DescribeMigrateTaskByIdResponse

type DescribeMigrateTaskByIdResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeMigrateTaskByIdResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeMigrateTaskByIdResponse) GoString

func (*DescribeMigrateTaskByIdResponse) SetHeaders

func (*DescribeMigrateTaskByIdResponse) SetStatusCode

func (DescribeMigrateTaskByIdResponse) String

type DescribeMigrateTaskByIdResponseBody

type DescribeMigrateTaskByIdResponseBody struct {
	// The type of the migration task. Valid values:
	//
	// *   **FULL**: The migration task migrates full backup files that can be used to restore the full data of the instance.
	// *   **UPDF**: The migration task migrates incremental or log backup files that can be used to restore the incremental data of the instance.
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The time when the migration task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The description of the migration task.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the migration task was completed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Indicates whether the imported data overwrites the existing data. Valid values:
	//
	// *   **False**: The imported data does not overwrite the existing data.
	// *   **True**: The imported data overwrites the existing data.
	IsDBReplaced *string `json:"IsDBReplaced,omitempty" xml:"IsDBReplaced,omitempty"`
	// The ID of the migration task.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The status of the migration task. Valid values:
	//
	// *   **NoStart**: The task has not started.
	// *   **Running**:The task is in progress.
	// *   **Success**: The task is successful.
	// *   **Failed**: The task failed.
	// *   **Waiting**: The task is waiting for an incremental backup file to be imported.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeMigrateTaskByIdResponseBody) GoString

func (*DescribeMigrateTaskByIdResponseBody) SetBackupMode

func (*DescribeMigrateTaskByIdResponseBody) SetCreateTime

func (*DescribeMigrateTaskByIdResponseBody) SetDBInstanceName

func (*DescribeMigrateTaskByIdResponseBody) SetDBName

func (*DescribeMigrateTaskByIdResponseBody) SetDescription

func (*DescribeMigrateTaskByIdResponseBody) SetEndTime

func (*DescribeMigrateTaskByIdResponseBody) SetIsDBReplaced

func (*DescribeMigrateTaskByIdResponseBody) SetMigrateTaskId

func (*DescribeMigrateTaskByIdResponseBody) SetRequestId

func (*DescribeMigrateTaskByIdResponseBody) SetStatus

func (DescribeMigrateTaskByIdResponseBody) String

type DescribeMigrateTasksRequest

type DescribeMigrateTasksRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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*Z format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30** to **100**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeMigrateTasksRequest) GoString

func (s DescribeMigrateTasksRequest) GoString() string

func (*DescribeMigrateTasksRequest) SetDBInstanceId

func (*DescribeMigrateTasksRequest) SetEndTime

func (*DescribeMigrateTasksRequest) SetOwnerId

func (*DescribeMigrateTasksRequest) SetPageNumber

func (*DescribeMigrateTasksRequest) SetPageSize

func (*DescribeMigrateTasksRequest) SetResourceGroupId

func (*DescribeMigrateTasksRequest) SetResourceOwnerAccount

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

func (*DescribeMigrateTasksRequest) SetResourceOwnerId

func (*DescribeMigrateTasksRequest) SetStartTime

func (DescribeMigrateTasksRequest) String

type DescribeMigrateTasksResponse

type DescribeMigrateTasksResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeMigrateTasksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeMigrateTasksResponse) GoString

func (s DescribeMigrateTasksResponse) GoString() string

func (*DescribeMigrateTasksResponse) SetBody

func (*DescribeMigrateTasksResponse) SetHeaders

func (*DescribeMigrateTasksResponse) SetStatusCode

func (DescribeMigrateTasksResponse) String

type DescribeMigrateTasksResponseBody

type DescribeMigrateTasksResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The details of the migration task.
	Items *DescribeMigrateTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeMigrateTasksResponseBody) GoString

func (*DescribeMigrateTasksResponseBody) SetDBInstanceId

func (*DescribeMigrateTasksResponseBody) SetPageNumber

func (*DescribeMigrateTasksResponseBody) SetPageRecordCount

func (*DescribeMigrateTasksResponseBody) SetRequestId

func (*DescribeMigrateTasksResponseBody) SetTotalRecordCount

func (DescribeMigrateTasksResponseBody) String

type DescribeMigrateTasksResponseBodyItems

type DescribeMigrateTasksResponseBodyItems struct {
	MigrateTask []*DescribeMigrateTasksResponseBodyItemsMigrateTask `json:"MigrateTask,omitempty" xml:"MigrateTask,omitempty" type:"Repeated"`
}

func (DescribeMigrateTasksResponseBodyItems) GoString

func (DescribeMigrateTasksResponseBodyItems) String

type DescribeMigrateTasksResponseBodyItemsMigrateTask

type DescribeMigrateTasksResponseBodyItemsMigrateTask struct {
	// The migration task type. Valid values:
	//
	// *   **FULL**: The migration task migrates full backup files that can be used to restore the full data of the instance.
	// *   **UPDF**: The migration task migrates incremental or log backup files that can be used to restore the incremental data of the instance.
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The time when the migration task was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The database name.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The description of the migration task.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the migration task was completed. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Indicates whether the imported data overwrites the existing data.
	IsDBReplaced *string `json:"IsDBReplaced,omitempty" xml:"IsDBReplaced,omitempty"`
	// The migration task ID.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	// The status of the migration task. Valid values:
	//
	// *   **NoStart**: The task is not started.
	// *   **Running**:The task is in progress.
	// *   **Success**: The task is successful.
	// *   **Failed**: The task failed.
	// *   **Waiting**: The task is waiting for an incremental backup file to be imported.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeMigrateTasksResponseBodyItemsMigrateTask) GoString

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetBackupMode

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetCreateTime

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetDBName

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetDescription

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetEndTime

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetIsDBReplaced

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetMigrateTaskId

func (*DescribeMigrateTasksResponseBodyItemsMigrateTask) SetStatus

func (DescribeMigrateTasksResponseBodyItemsMigrateTask) String

type DescribeModifyPGHbaConfigLogRequest

type DescribeModifyPGHbaConfigLogRequest struct {
	// A reserved parameter. You do not need to specify this parameter.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	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-ddTHH:mmZ format. The time must be in UTC.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in Coordinated Universal Time (UTC).
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeModifyPGHbaConfigLogRequest) GoString

func (*DescribeModifyPGHbaConfigLogRequest) SetClientToken

func (*DescribeModifyPGHbaConfigLogRequest) SetDBInstanceId

func (*DescribeModifyPGHbaConfigLogRequest) SetEndTime

func (*DescribeModifyPGHbaConfigLogRequest) SetOwnerAccount

func (*DescribeModifyPGHbaConfigLogRequest) SetOwnerId

func (*DescribeModifyPGHbaConfigLogRequest) SetResourceGroupId

func (*DescribeModifyPGHbaConfigLogRequest) SetResourceOwnerAccount

func (*DescribeModifyPGHbaConfigLogRequest) SetResourceOwnerId

func (*DescribeModifyPGHbaConfigLogRequest) SetStartTime

func (DescribeModifyPGHbaConfigLogRequest) String

type DescribeModifyPGHbaConfigLogResponse

type DescribeModifyPGHbaConfigLogResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeModifyPGHbaConfigLogResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeModifyPGHbaConfigLogResponse) GoString

func (*DescribeModifyPGHbaConfigLogResponse) SetHeaders

func (*DescribeModifyPGHbaConfigLogResponse) SetStatusCode

func (DescribeModifyPGHbaConfigLogResponse) String

type DescribeModifyPGHbaConfigLogResponseBody

type DescribeModifyPGHbaConfigLogResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of the modifications to the pg_hba.conf file.
	HbaLogItems *DescribeModifyPGHbaConfigLogResponseBodyHbaLogItems `json:"HbaLogItems,omitempty" xml:"HbaLogItems,omitempty" type:"Struct"`
	// The number of modification records.
	LogItemCount *int32 `json:"LogItemCount,omitempty" xml:"LogItemCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeModifyPGHbaConfigLogResponseBody) GoString

func (*DescribeModifyPGHbaConfigLogResponseBody) SetDBInstanceId

func (*DescribeModifyPGHbaConfigLogResponseBody) SetLogItemCount

func (*DescribeModifyPGHbaConfigLogResponseBody) SetRequestId

func (DescribeModifyPGHbaConfigLogResponseBody) String

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItems

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItems struct {
	HbaLogItem []*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem `json:"HbaLogItem,omitempty" xml:"HbaLogItem,omitempty" type:"Repeated"`
}

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItems) GoString

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItems) String

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem struct {
	// The configurations of the pg_hba.conf file after modification.
	AfterHbaItems *DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItems `json:"AfterHbaItems,omitempty" xml:"AfterHbaItems,omitempty" type:"Struct"`
	// The configurations of the pg_hba.conf file before modification.
	BeforeHbaItems *DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItems `json:"BeforeHbaItems,omitempty" xml:"BeforeHbaItems,omitempty" type:"Struct"`
	// The status of the modification.
	//
	// *   **success**: The modification is successful.
	// *   **failed**: The modification failed.
	// *   **setting**: The modification is being applied.
	ModifyStatus *string `json:"ModifyStatus,omitempty" xml:"ModifyStatus,omitempty"`
	// The time when the pg_hba.conf file was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The reason why the modification failed.
	StatusReason *string `json:"StatusReason,omitempty" xml:"StatusReason,omitempty"`
}

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem) GoString

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem) SetModifyStatus

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem) SetModifyTime

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem) SetStatusReason

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItem) String

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItems

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItems struct {
	HbaItem []*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem `json:"HbaItem,omitempty" xml:"HbaItem,omitempty" type:"Repeated"`
}

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItems) GoString

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItems) String

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem struct {
	// The IP address.
	Address *string `json:"Address,omitempty" xml:"Address,omitempty"`
	// The name of the database.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The mask of the IP address.
	Mask *string `json:"Mask,omitempty" xml:"Mask,omitempty"`
	// The authentication method.
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The value of this parameter was set based on the value of the Method parameter.
	Option *string `json:"Option,omitempty" xml:"Option,omitempty"`
	// The priority.
	PriorityId *int32 `json:"PriorityId,omitempty" xml:"PriorityId,omitempty"`
	// The connection type.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The username of the account.
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) GoString

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetAddress

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetDatabase

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetMask

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetMethod

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetOption

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetPriorityId

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetType

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) SetUser

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemAfterHbaItemsHbaItem) String

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItems

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItems struct {
	HbaItem []*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem `json:"HbaItem,omitempty" xml:"HbaItem,omitempty" type:"Repeated"`
}

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItems) GoString

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItems) String

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem

type DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem struct {
	// The IP address.
	Address *string `json:"Address,omitempty" xml:"Address,omitempty"`
	// The name of the database.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The mask of the IP address.
	Mask *string `json:"Mask,omitempty" xml:"Mask,omitempty"`
	// The authentication method.
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The value of this parameter varies based on the value of the Method parameter.
	Option *string `json:"Option,omitempty" xml:"Option,omitempty"`
	// The priority.
	PriorityId *int32 `json:"PriorityId,omitempty" xml:"PriorityId,omitempty"`
	// The connection type.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The username of the account.
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) GoString

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) SetAddress

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) SetDatabase

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) SetMethod

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) SetOption

func (*DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) SetPriorityId

func (DescribeModifyPGHbaConfigLogResponseBodyHbaLogItemsHbaLogItemBeforeHbaItemsHbaItem) String

type DescribeModifyParameterLogRequest

type DescribeModifyParameterLogRequest struct {
	// The instance ID.
	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.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Pages start from page 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeModifyParameterLogRequest) GoString

func (*DescribeModifyParameterLogRequest) SetDBInstanceId

func (*DescribeModifyParameterLogRequest) SetEndTime

func (*DescribeModifyParameterLogRequest) SetOwnerAccount

func (*DescribeModifyParameterLogRequest) SetOwnerId

func (*DescribeModifyParameterLogRequest) SetPageNumber

func (*DescribeModifyParameterLogRequest) SetPageSize

func (*DescribeModifyParameterLogRequest) SetResourceOwnerAccount

func (*DescribeModifyParameterLogRequest) SetResourceOwnerId

func (*DescribeModifyParameterLogRequest) SetStartTime

func (DescribeModifyParameterLogRequest) String

type DescribeModifyParameterLogResponse

type DescribeModifyParameterLogResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeModifyParameterLogResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeModifyParameterLogResponse) GoString

func (*DescribeModifyParameterLogResponse) SetHeaders

func (*DescribeModifyParameterLogResponse) SetStatusCode

func (DescribeModifyParameterLogResponse) String

type DescribeModifyParameterLogResponseBody

type DescribeModifyParameterLogResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// An array that consists of parameter modification log entries.
	Items *DescribeModifyParameterLogResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeModifyParameterLogResponseBody) GoString

func (*DescribeModifyParameterLogResponseBody) SetDBInstanceId

func (*DescribeModifyParameterLogResponseBody) SetEngine

func (*DescribeModifyParameterLogResponseBody) SetEngineVersion

func (*DescribeModifyParameterLogResponseBody) SetPageNumber

func (*DescribeModifyParameterLogResponseBody) SetPageRecordCount

func (*DescribeModifyParameterLogResponseBody) SetRequestId

func (*DescribeModifyParameterLogResponseBody) SetTotalRecordCount

func (DescribeModifyParameterLogResponseBody) String

type DescribeModifyParameterLogResponseBodyItems

type DescribeModifyParameterLogResponseBodyItems struct {
	ParameterChangeLog []*DescribeModifyParameterLogResponseBodyItemsParameterChangeLog `json:"ParameterChangeLog,omitempty" xml:"ParameterChangeLog,omitempty" type:"Repeated"`
}

func (DescribeModifyParameterLogResponseBodyItems) GoString

func (DescribeModifyParameterLogResponseBodyItems) String

type DescribeModifyParameterLogResponseBodyItemsParameterChangeLog

type DescribeModifyParameterLogResponseBodyItemsParameterChangeLog struct {
	// The time when the parameter was modified. This value is a UNIX timestamp. Unit: milliseconds.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The new value of the parameter.
	NewParameterValue *string `json:"NewParameterValue,omitempty" xml:"NewParameterValue,omitempty"`
	// The original value of the parameter.
	OldParameterValue *string `json:"OldParameterValue,omitempty" xml:"OldParameterValue,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The status of the new value specified for the parameter. Valid values:
	//
	// *   **Applied:** The new value has taken effect.
	// *   **Syncing:** The new value is being applied and has not taken effect.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) GoString

func (*DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) SetModifyTime

func (*DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) SetNewParameterValue

func (*DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) SetOldParameterValue

func (*DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) SetParameterName

func (*DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) SetStatus

func (DescribeModifyParameterLogResponseBodyItemsParameterChangeLog) String

type DescribeOssDownloadsRequest

type DescribeOssDownloadsRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The migration task ID. You can call the DescribeMigrateTasks operation to query the migration task ID.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeOssDownloadsRequest) GoString

func (s DescribeOssDownloadsRequest) GoString() string

func (*DescribeOssDownloadsRequest) SetDBInstanceId

func (*DescribeOssDownloadsRequest) SetMigrateTaskId

func (*DescribeOssDownloadsRequest) SetOwnerId

func (*DescribeOssDownloadsRequest) SetResourceGroupId

func (*DescribeOssDownloadsRequest) SetResourceOwnerAccount

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

func (*DescribeOssDownloadsRequest) SetResourceOwnerId

func (DescribeOssDownloadsRequest) String

type DescribeOssDownloadsResponse

type DescribeOssDownloadsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeOssDownloadsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeOssDownloadsResponse) GoString

func (s DescribeOssDownloadsResponse) GoString() string

func (*DescribeOssDownloadsResponse) SetBody

func (*DescribeOssDownloadsResponse) SetHeaders

func (*DescribeOssDownloadsResponse) SetStatusCode

func (DescribeOssDownloadsResponse) String

type DescribeOssDownloadsResponseBody

type DescribeOssDownloadsResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Details of the backup file.
	Items *DescribeOssDownloadsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the migration task.
	MigrateTaskId *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeOssDownloadsResponseBody) GoString

func (*DescribeOssDownloadsResponseBody) SetDBInstanceId

func (*DescribeOssDownloadsResponseBody) SetMigrateTaskId

func (*DescribeOssDownloadsResponseBody) SetRequestId

func (DescribeOssDownloadsResponseBody) String

type DescribeOssDownloadsResponseBodyItems

type DescribeOssDownloadsResponseBodyItems struct {
	OssDownload []*DescribeOssDownloadsResponseBodyItemsOssDownload `json:"OssDownload,omitempty" xml:"OssDownload,omitempty" type:"Repeated"`
}

func (DescribeOssDownloadsResponseBodyItems) GoString

func (DescribeOssDownloadsResponseBodyItems) String

type DescribeOssDownloadsResponseBodyItemsOssDownload

type DescribeOssDownloadsResponseBodyItemsOssDownload struct {
	// The backup type. Valid values:
	//
	// *   **Database**: full backup file
	// *   **Differential_Database**: incremental backup file
	// *   **Transaction_Log**: log backup file
	BackupMode *string `json:"BackupMode,omitempty" xml:"BackupMode,omitempty"`
	// The time when the backup file was created in the download list. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The description of the backup file.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The end of the time range during which data was queried. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The name of the backup file stored in the Object Storage Service (OSS) bucket.
	FileName *string `json:"FileName,omitempty" xml:"FileName,omitempty"`
	// The size of the backup file. Unit: MB
	FileSize *string `json:"FileSize,omitempty" xml:"FileSize,omitempty"`
	// Indicates whether the backup file is available. Valid values: **True and False**.
	IsAvailable *string `json:"IsAvailable,omitempty" xml:"IsAvailable,omitempty"`
	// The state of the backup file. Valid values:
	//
	// *   **NoStart**
	// *   **Downloading**
	// *   **Finished**
	// *   **DownloadFailed**
	// *   **VerifyFailed**
	// *   **Deleted**
	// *   **DeleteFailed**
	// *   **CheckSuccess**
	// *   **CheckFailed**
	// *   **Restoring**
	// *   **Restored**
	// *   **RestoreFailed**
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeOssDownloadsResponseBodyItemsOssDownload) GoString

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetBackupMode

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetCreateTime

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetDescription

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetEndTime

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetFileName

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetFileSize

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetIsAvailable

func (*DescribeOssDownloadsResponseBodyItemsOssDownload) SetStatus

func (DescribeOssDownloadsResponseBodyItemsOssDownload) String

type DescribePGHbaConfigRequest

type DescribePGHbaConfigRequest struct {
	// A reserved parameter. You do not need to specify this parameter.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribePGHbaConfigRequest) GoString

func (s DescribePGHbaConfigRequest) GoString() string

func (*DescribePGHbaConfigRequest) SetClientToken

func (*DescribePGHbaConfigRequest) SetDBInstanceId

func (*DescribePGHbaConfigRequest) SetOwnerAccount

func (*DescribePGHbaConfigRequest) SetOwnerId

func (*DescribePGHbaConfigRequest) SetResourceGroupId

func (*DescribePGHbaConfigRequest) SetResourceOwnerAccount

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

func (*DescribePGHbaConfigRequest) SetResourceOwnerId

func (DescribePGHbaConfigRequest) String

type DescribePGHbaConfigResponse

type DescribePGHbaConfigResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribePGHbaConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribePGHbaConfigResponse) GoString

func (s DescribePGHbaConfigResponse) GoString() string

func (*DescribePGHbaConfigResponse) SetBody

func (*DescribePGHbaConfigResponse) SetHeaders

func (*DescribePGHbaConfigResponse) SetStatusCode

func (DescribePGHbaConfigResponse) String

type DescribePGHbaConfigResponseBody

type DescribePGHbaConfigResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The default configuration items of the pg_hba.conf file.
	DefaultHbaItems *DescribePGHbaConfigResponseBodyDefaultHbaItems `json:"DefaultHbaItems,omitempty" xml:"DefaultHbaItems,omitempty" type:"Struct"`
	// The time when the previous modification was made to the pg_hba.conf file.
	HbaModifyTime *string `json:"HbaModifyTime,omitempty" xml:"HbaModifyTime,omitempty"`
	// The status of the previous modification to the pg_hba.conf file. Valid values:
	//
	// *   **success**
	// *   **setting**
	// *   **failed**
	LastModifyStatus *string `json:"LastModifyStatus,omitempty" xml:"LastModifyStatus,omitempty"`
	// The reason why the previous modification was made to the pg_hba.conf file.
	ModifyStatusReason *string `json:"ModifyStatusReason,omitempty" xml:"ModifyStatusReason,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The current configuration items of the pg_hba.conf file.
	RunningHbaItems *DescribePGHbaConfigResponseBodyRunningHbaItems `json:"RunningHbaItems,omitempty" xml:"RunningHbaItems,omitempty" type:"Struct"`
}

func (DescribePGHbaConfigResponseBody) GoString

func (*DescribePGHbaConfigResponseBody) SetDBInstanceId

func (*DescribePGHbaConfigResponseBody) SetHbaModifyTime

func (*DescribePGHbaConfigResponseBody) SetLastModifyStatus

func (*DescribePGHbaConfigResponseBody) SetModifyStatusReason

func (*DescribePGHbaConfigResponseBody) SetRequestId

func (DescribePGHbaConfigResponseBody) String

type DescribePGHbaConfigResponseBodyDefaultHbaItems

type DescribePGHbaConfigResponseBodyDefaultHbaItems struct {
	HbaItem []*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem `json:"HbaItem,omitempty" xml:"HbaItem,omitempty" type:"Repeated"`
}

func (DescribePGHbaConfigResponseBodyDefaultHbaItems) GoString

func (DescribePGHbaConfigResponseBodyDefaultHbaItems) String

type DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem

type DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem struct {
	// The IP addresses from which the specified users can access the specified databases. The value is fixed as 0.0.0.0/0.
	Address *string `json:"Address,omitempty" xml:"Address,omitempty"`
	// The names of the databases that the specified users are allowed to access. The value is fixed as all or replication.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The mask of the instance. The value is fixed as null.
	Mask *string `json:"Mask,omitempty" xml:"Mask,omitempty"`
	// The authentication method. The value is fixed as md5.
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The value of this parameter is based on the value of the Method parameter. The value is fixed as null.
	Option *string `json:"Option,omitempty" xml:"Option,omitempty"`
	// The priority of the configuration items in the pg_hba.conf file. This value is automatically generated.
	PriorityId *int32 `json:"PriorityId,omitempty" xml:"PriorityId,omitempty"`
	// The type of connection to the instance. The value is fixed as host.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The user that is allowed to access the instance. The value is fixed as all.
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) GoString

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetAddress

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetDatabase

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetMask

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetMethod

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetOption

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetPriorityId

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetType

func (*DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) SetUser

func (DescribePGHbaConfigResponseBodyDefaultHbaItemsHbaItem) String

type DescribePGHbaConfigResponseBodyRunningHbaItems

type DescribePGHbaConfigResponseBodyRunningHbaItems struct {
	HbaItem []*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem `json:"HbaItem,omitempty" xml:"HbaItem,omitempty" type:"Repeated"`
}

func (DescribePGHbaConfigResponseBodyRunningHbaItems) GoString

func (DescribePGHbaConfigResponseBodyRunningHbaItems) String

type DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem

type DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem struct {
	// The IP address of the client.
	Address *string `json:"Address,omitempty" xml:"Address,omitempty"`
	// The name of the database.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The mask of the IP address.
	Mask *string `json:"Mask,omitempty" xml:"Mask,omitempty"`
	// The authentication method.
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The value of this parameter varies based on the value of the Method parameter. The value is fixed as null.
	Option *string `json:"Option,omitempty" xml:"Option,omitempty"`
	// The priority.
	PriorityId *int32 `json:"PriorityId,omitempty" xml:"PriorityId,omitempty"`
	// The connection type. Valor:
	//
	// *   **host**: The record matches TCP/IP connections, including SSL connections and non-SSL connections.
	// *   **hostssl**: The record matches only TCP/IP connections that are established over SSL.
	// *   **hostnossl**: The record matches only TCP/IP connections that are not established over SSL connections.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The username of the account.
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) GoString

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetAddress

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetDatabase

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetMask

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetMethod

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetOption

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetPriorityId

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetType

func (*DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) SetUser

func (DescribePGHbaConfigResponseBodyRunningHbaItemsHbaItem) String

type DescribeParameterGroupRequest

type DescribeParameterGroupRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The parameter template ID. You can call the DescribeParameterGroups operation to query the parameter template ID.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeParameterGroupRequest) GoString

func (*DescribeParameterGroupRequest) SetOwnerId

func (*DescribeParameterGroupRequest) SetParameterGroupId

func (*DescribeParameterGroupRequest) SetRegionId

func (*DescribeParameterGroupRequest) SetResourceOwnerAccount

func (*DescribeParameterGroupRequest) SetResourceOwnerId

func (DescribeParameterGroupRequest) String

type DescribeParameterGroupResponse

type DescribeParameterGroupResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeParameterGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeParameterGroupResponse) GoString

func (*DescribeParameterGroupResponse) SetHeaders

func (*DescribeParameterGroupResponse) SetStatusCode

func (DescribeParameterGroupResponse) String

type DescribeParameterGroupResponseBody

type DescribeParameterGroupResponseBody struct {
	// The information about the parameter template.
	ParamGroup *DescribeParameterGroupResponseBodyParamGroup `json:"ParamGroup,omitempty" xml:"ParamGroup,omitempty" type:"Struct"`
	// The information about the instance to which the parameter template is applied.
	//
	// >  This parameter is available only for ApsaraDB RDS for PostgreSQL instances.
	RelatedCustinsInfo *DescribeParameterGroupResponseBodyRelatedCustinsInfo `json:"RelatedCustinsInfo,omitempty" xml:"RelatedCustinsInfo,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeParameterGroupResponseBody) GoString

func (*DescribeParameterGroupResponseBody) SetRelatedCustinsInfo added in v3.0.2

func (*DescribeParameterGroupResponseBody) SetRequestId

func (DescribeParameterGroupResponseBody) String

type DescribeParameterGroupResponseBodyParamGroup

type DescribeParameterGroupResponseBodyParamGroup struct {
	ParameterGroup []*DescribeParameterGroupResponseBodyParamGroupParameterGroup `json:"ParameterGroup,omitempty" xml:"ParameterGroup,omitempty" type:"Repeated"`
}

func (DescribeParameterGroupResponseBodyParamGroup) GoString

func (DescribeParameterGroupResponseBodyParamGroup) String

type DescribeParameterGroupResponseBodyParamGroupParameterGroup

type DescribeParameterGroupResponseBodyParamGroupParameterGroup struct {
	// The time when the parameter template was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Indicates whether the restart of an instance is required for the parameter template to take effect. Valid values:
	//
	// *   **0**: A restart is not required.
	// *   **1**: A restart is required.
	ForceRestart *int32 `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// The number of parameters in the parameter template.
	ParamCounts *int32 `json:"ParamCounts,omitempty" xml:"ParamCounts,omitempty"`
	// The details of the parameters.
	ParamDetail *DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetail `json:"ParamDetail,omitempty" xml:"ParamDetail,omitempty" type:"Struct"`
	// The description of the parameter template.
	ParameterGroupDesc *string `json:"ParameterGroupDesc,omitempty" xml:"ParameterGroupDesc,omitempty"`
	// The ID of the parameter template.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The name of the parameter template.
	ParameterGroupName *string `json:"ParameterGroupName,omitempty" xml:"ParameterGroupName,omitempty"`
	// The type of the parameter template. Valid values:
	//
	// *   **0**: the default parameter template.
	// *   **1**: a custom parameter template.
	// *   **2**: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.
	ParameterGroupType *int32 `json:"ParameterGroupType,omitempty" xml:"ParameterGroupType,omitempty"`
	// The time when the parameter template was last updated. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (DescribeParameterGroupResponseBodyParamGroupParameterGroup) GoString

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetCreateTime

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetEngine

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetEngineVersion

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetForceRestart

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetParamCounts

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetParameterGroupDesc

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetParameterGroupId

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetParameterGroupName

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetParameterGroupType

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroup) SetUpdateTime

func (DescribeParameterGroupResponseBodyParamGroupParameterGroup) String

type DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetail

type DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetail struct {
	ParameterDetail []*DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail `json:"ParameterDetail,omitempty" xml:"ParameterDetail,omitempty" type:"Repeated"`
}

func (DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetail) GoString

func (DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetail) String

type DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail

type DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail struct {
	// The name of the parameter.
	ParamName *string `json:"ParamName,omitempty" xml:"ParamName,omitempty"`
	// The value of the parameter.
	ParamValue *string `json:"ParamValue,omitempty" xml:"ParamValue,omitempty"`
}

func (DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail) GoString

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail) SetParamName

func (*DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail) SetParamValue

func (DescribeParameterGroupResponseBodyParamGroupParameterGroupParamDetailParameterDetail) String

type DescribeParameterGroupResponseBodyRelatedCustinsInfo added in v3.0.2

type DescribeParameterGroupResponseBodyRelatedCustinsInfo struct {
	RelatedCustinsInfo []*DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo `json:"RelatedCustinsInfo,omitempty" xml:"RelatedCustinsInfo,omitempty" type:"Repeated"`
}

func (DescribeParameterGroupResponseBodyRelatedCustinsInfo) GoString added in v3.0.2

func (DescribeParameterGroupResponseBodyRelatedCustinsInfo) String added in v3.0.2

type DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo added in v3.0.2

type DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo struct {
	// The time when the parameter template was applied.
	AppliedTime *string `json:"AppliedTime,omitempty" xml:"AppliedTime,omitempty"`
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo) GoString added in v3.0.2

func (*DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo) SetAppliedTime added in v3.0.2

func (*DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo) SetDBInstanceName added in v3.0.2

func (DescribeParameterGroupResponseBodyRelatedCustinsInfoRelatedCustinsInfo) String added in v3.0.2

type DescribeParameterGroupsRequest

type DescribeParameterGroupsRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeParameterGroupsRequest) GoString

func (*DescribeParameterGroupsRequest) SetOwnerId

func (*DescribeParameterGroupsRequest) SetRegionId

func (*DescribeParameterGroupsRequest) SetResourceGroupId

func (*DescribeParameterGroupsRequest) SetResourceOwnerAccount

func (*DescribeParameterGroupsRequest) SetResourceOwnerId

func (DescribeParameterGroupsRequest) String

type DescribeParameterGroupsResponse

type DescribeParameterGroupsResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeParameterGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeParameterGroupsResponse) GoString

func (*DescribeParameterGroupsResponse) SetHeaders

func (*DescribeParameterGroupsResponse) SetStatusCode

func (DescribeParameterGroupsResponse) String

type DescribeParameterGroupsResponseBody

type DescribeParameterGroupsResponseBody struct {
	// The details of the parameter templates.
	ParameterGroups *DescribeParameterGroupsResponseBodyParameterGroups `json:"ParameterGroups,omitempty" xml:"ParameterGroups,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether parameter templates exist in the specified region. Valid values:
	// *   true
	// *   false
	// ><notice>This parameter is deprecated.></notice>
	SignalForOptimizeParams *bool `json:"SignalForOptimizeParams,omitempty" xml:"SignalForOptimizeParams,omitempty"`
}

func (DescribeParameterGroupsResponseBody) GoString

func (*DescribeParameterGroupsResponseBody) SetRequestId

func (*DescribeParameterGroupsResponseBody) SetSignalForOptimizeParams

func (DescribeParameterGroupsResponseBody) String

type DescribeParameterGroupsResponseBodyParameterGroups

type DescribeParameterGroupsResponseBodyParameterGroups struct {
	ParameterGroup []*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup `json:"ParameterGroup,omitempty" xml:"ParameterGroup,omitempty" type:"Repeated"`
}

func (DescribeParameterGroupsResponseBodyParameterGroups) GoString

func (DescribeParameterGroupsResponseBodyParameterGroups) String

type DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup

type DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup struct {
	// The time when the parameter template was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// Indicates whether the restart of an instance is required for the parameter template to take effect. Valid values:
	//
	// *   0: A restart is not required.
	// *   1: A restart is required.
	ForceRestart *int32 `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// The number of parameters in the parameter template.
	ParamCounts *int32 `json:"ParamCounts,omitempty" xml:"ParamCounts,omitempty"`
	// The type of the parameter template. Valid values:
	//
	// *   0: the default parameter template.
	// *   1: a custom parameter template.
	// *   2: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.
	ParameterGroupDesc *string `json:"ParameterGroupDesc,omitempty" xml:"ParameterGroupDesc,omitempty"`
	// The ID of the parameter template.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The name of the parameter template.
	ParameterGroupName *string `json:"ParameterGroupName,omitempty" xml:"ParameterGroupName,omitempty"`
	// The type of the parameter template. Valid values:
	//
	// *   0: the default parameter template.
	// *   1: a custom parameter template.
	// *   2: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.
	ParameterGroupType *int32 `json:"ParameterGroupType,omitempty" xml:"ParameterGroupType,omitempty"`
	// The time when the parameter template was last updated. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) GoString

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetCreateTime

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetEngine

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetEngineVersion

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetForceRestart

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetParamCounts

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetParameterGroupDesc

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetParameterGroupId

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetParameterGroupName

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetParameterGroupType

func (*DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) SetUpdateTime

func (DescribeParameterGroupsResponseBodyParameterGroupsParameterGroup) String

type DescribeParameterTemplatesRequest

type DescribeParameterTemplatesRequest struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **Finance**: RDS Enterprise Edition
	Category *string `json:"Category,omitempty" xml:"Category,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **mysql**: MySQL
	// *   **mssql**: SQL Server
	// *   **PostgreSQL**: PostgreSQL
	// *   **MariaDB**: MariaDB
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine. Valid values:
	//
	// *   Valid values when you set the Engine parameter to mysql: **5.5, 5.6, 5.7, and 8.0**.
	// *   Valid values when you set the Engine parameter to mssql: **2008r2**.
	// *   Valid values when you set the Engine parameter to PostgreSQL: **10.0, 11.0, 12.0, 13.0, 14.0, and 15.0**.
	// *   Valid values when you set the Engine parameter to MariaDB: **10.3**.
	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. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeParameterTemplatesRequest) GoString

func (*DescribeParameterTemplatesRequest) SetCategory

func (*DescribeParameterTemplatesRequest) SetClientToken

func (*DescribeParameterTemplatesRequest) SetDBInstanceId

func (*DescribeParameterTemplatesRequest) SetEngine

func (*DescribeParameterTemplatesRequest) SetEngineVersion

func (*DescribeParameterTemplatesRequest) SetOwnerAccount

func (*DescribeParameterTemplatesRequest) SetOwnerId

func (*DescribeParameterTemplatesRequest) SetRegionId

func (*DescribeParameterTemplatesRequest) SetResourceOwnerAccount

func (*DescribeParameterTemplatesRequest) SetResourceOwnerId

func (DescribeParameterTemplatesRequest) String

type DescribeParameterTemplatesResponse

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

func (DescribeParameterTemplatesResponse) GoString

func (*DescribeParameterTemplatesResponse) SetHeaders

func (*DescribeParameterTemplatesResponse) SetStatusCode

func (DescribeParameterTemplatesResponse) String

type DescribeParameterTemplatesResponseBody

type DescribeParameterTemplatesResponseBody struct {
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The number of parameters.
	ParameterCount *string `json:"ParameterCount,omitempty" xml:"ParameterCount,omitempty"`
	// The details of the parameters.
	Parameters *DescribeParameterTemplatesResponseBodyParameters `json:"Parameters,omitempty" xml:"Parameters,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeParameterTemplatesResponseBody) GoString

func (*DescribeParameterTemplatesResponseBody) SetEngine

func (*DescribeParameterTemplatesResponseBody) SetEngineVersion

func (*DescribeParameterTemplatesResponseBody) SetParameterCount

func (*DescribeParameterTemplatesResponseBody) SetRequestId

func (DescribeParameterTemplatesResponseBody) String

type DescribeParameterTemplatesResponseBodyParameters

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

func (DescribeParameterTemplatesResponseBodyParameters) GoString

func (DescribeParameterTemplatesResponseBodyParameters) String

type DescribeParameterTemplatesResponseBodyParametersTemplateRecord

type DescribeParameterTemplatesResponseBodyParametersTemplateRecord struct {
	// The valid values of the parameter.
	CheckingCode *string `json:"CheckingCode,omitempty" xml:"CheckingCode,omitempty"`
	// Indicates whether the parameter can be modified. Valid values:
	//
	// *   **true**
	// *   **false**
	ForceModify *string `json:"ForceModify,omitempty" xml:"ForceModify,omitempty"`
	// Indicates whether you must restart the instance for the modifications to take effect. Valid values:
	//
	// *   **true**
	// *   **false**
	ForceRestart *string `json:"ForceRestart,omitempty" xml:"ForceRestart,omitempty"`
	// The description of the parameter.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The default value of the parameter.
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParameterTemplatesResponseBodyParametersTemplateRecord) GoString

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetCheckingCode

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetForceModify

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetForceRestart

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetParameterDescription

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetParameterName

func (*DescribeParameterTemplatesResponseBodyParametersTemplateRecord) SetParameterValue

func (DescribeParameterTemplatesResponseBodyParametersTemplateRecord) String

type DescribeParametersRequest

type DescribeParametersRequest struct {
	// The 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeParametersRequest) GoString

func (s DescribeParametersRequest) GoString() string

func (*DescribeParametersRequest) SetClientToken

func (*DescribeParametersRequest) SetDBInstanceId

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" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeParametersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 list of parameters that are being synchronized.
	//
	// > After you modify and submit the parameters, you must wait for the parameters to be synchronized to the instance. After the synchronization, you can delete the parameters from the list.
	ConfigParameters *DescribeParametersResponseBodyConfigParameters `json:"ConfigParameters,omitempty" xml:"ConfigParameters,omitempty" type:"Struct"`
	// The type of the database engine.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The version of the database engine.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The information about the parameter template.
	ParamGroupInfo *DescribeParametersResponseBodyParamGroupInfo `json:"ParamGroupInfo,omitempty" xml:"ParamGroupInfo,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of parameters that are in use.
	RunningParameters *DescribeParametersResponseBodyRunningParameters `json:"RunningParameters,omitempty" xml:"RunningParameters,omitempty" type:"Struct"`
}

func (DescribeParametersResponseBody) GoString

func (*DescribeParametersResponseBody) SetEngine

func (*DescribeParametersResponseBody) SetEngineVersion

func (*DescribeParametersResponseBody) SetParamGroupInfo added in v3.0.5

func (*DescribeParametersResponseBody) SetRequestId

func (DescribeParametersResponseBody) String

type DescribeParametersResponseBodyConfigParameters

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

func (DescribeParametersResponseBodyConfigParameters) GoString

func (DescribeParametersResponseBodyConfigParameters) String

type DescribeParametersResponseBodyConfigParametersDBInstanceParameter

type DescribeParametersResponseBodyConfigParametersDBInstanceParameter struct {
	// The description of the parameter.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The value of the parameter.
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParametersResponseBodyConfigParametersDBInstanceParameter) GoString

func (*DescribeParametersResponseBodyConfigParametersDBInstanceParameter) SetParameterDescription

func (*DescribeParametersResponseBodyConfigParametersDBInstanceParameter) SetParameterName

func (*DescribeParametersResponseBodyConfigParametersDBInstanceParameter) SetParameterValue

func (DescribeParametersResponseBodyConfigParametersDBInstanceParameter) String

type DescribeParametersResponseBodyParamGroupInfo added in v3.0.5

type DescribeParametersResponseBodyParamGroupInfo struct {
	// The ID of the parameter template.
	ParamGroupId *string `json:"ParamGroupId,omitempty" xml:"ParamGroupId,omitempty"`
	// The description of the parameter template.
	ParameterGroupDesc *string `json:"ParameterGroupDesc,omitempty" xml:"ParameterGroupDesc,omitempty"`
	// The name of the parameter template.
	ParameterGroupName *string `json:"ParameterGroupName,omitempty" xml:"ParameterGroupName,omitempty"`
	// The type of the parameter template.
	ParameterGroupType *string `json:"ParameterGroupType,omitempty" xml:"ParameterGroupType,omitempty"`
}

func (DescribeParametersResponseBodyParamGroupInfo) GoString added in v3.0.5

func (*DescribeParametersResponseBodyParamGroupInfo) SetParamGroupId added in v3.0.5

func (*DescribeParametersResponseBodyParamGroupInfo) SetParameterGroupDesc added in v3.0.5

func (*DescribeParametersResponseBodyParamGroupInfo) SetParameterGroupName added in v3.0.5

func (*DescribeParametersResponseBodyParamGroupInfo) SetParameterGroupType added in v3.0.5

func (DescribeParametersResponseBodyParamGroupInfo) String added in v3.0.5

type DescribeParametersResponseBodyRunningParameters

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

func (DescribeParametersResponseBodyRunningParameters) GoString

func (DescribeParametersResponseBodyRunningParameters) String

type DescribeParametersResponseBodyRunningParametersDBInstanceParameter

type DescribeParametersResponseBodyRunningParametersDBInstanceParameter struct {
	// The description of the parameter.
	ParameterDescription *string `json:"ParameterDescription,omitempty" xml:"ParameterDescription,omitempty"`
	// The name of the parameter.
	ParameterName *string `json:"ParameterName,omitempty" xml:"ParameterName,omitempty"`
	// The value of the parameter.
	ParameterValue *string `json:"ParameterValue,omitempty" xml:"ParameterValue,omitempty"`
}

func (DescribeParametersResponseBodyRunningParametersDBInstanceParameter) GoString

func (*DescribeParametersResponseBodyRunningParametersDBInstanceParameter) SetParameterDescription

func (*DescribeParametersResponseBodyRunningParametersDBInstanceParameter) SetParameterName

func (*DescribeParametersResponseBodyRunningParametersDBInstanceParameter) SetParameterValue

func (DescribeParametersResponseBodyRunningParametersDBInstanceParameter) String

type DescribePostgresExtensionsRequest added in v3.0.28

type DescribePostgresExtensionsRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database name. You can call the DescribeDatabases operation to query the database name.
	DBName       *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribePostgresExtensionsRequest) GoString added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetClientToken added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetDBInstanceId added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetDBName added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetOwnerAccount added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetOwnerId added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetResourceGroupId added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetResourceOwnerAccount added in v3.0.28

func (*DescribePostgresExtensionsRequest) SetResourceOwnerId added in v3.0.28

func (DescribePostgresExtensionsRequest) String added in v3.0.28

type DescribePostgresExtensionsResponse added in v3.0.28

type DescribePostgresExtensionsResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribePostgresExtensionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribePostgresExtensionsResponse) GoString added in v3.0.28

func (*DescribePostgresExtensionsResponse) SetBody added in v3.0.28

func (*DescribePostgresExtensionsResponse) SetHeaders added in v3.0.28

func (*DescribePostgresExtensionsResponse) SetStatusCode added in v3.0.28

func (DescribePostgresExtensionsResponse) String added in v3.0.28

type DescribePostgresExtensionsResponseBody added in v3.0.28

type DescribePostgresExtensionsResponseBody struct {
	// The list of extensions that are installed on the specified database.
	InstalledExtensions []*DescribePostgresExtensionsResponseBodyInstalledExtensions `json:"InstalledExtensions,omitempty" xml:"InstalledExtensions,omitempty" type:"Repeated"`
	// The overview of the extension.
	Overview map[string]interface{} `json:"Overview,omitempty" xml:"Overview,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of extensions that are not installed on the specified database.
	UninstalledExtensions []*DescribePostgresExtensionsResponseBodyUninstalledExtensions `json:"UninstalledExtensions,omitempty" xml:"UninstalledExtensions,omitempty" type:"Repeated"`
}

func (DescribePostgresExtensionsResponseBody) GoString added in v3.0.28

func (*DescribePostgresExtensionsResponseBody) SetInstalledExtensions added in v3.0.28

func (*DescribePostgresExtensionsResponseBody) SetOverview added in v3.0.28

func (*DescribePostgresExtensionsResponseBody) SetRequestId added in v3.0.28

func (*DescribePostgresExtensionsResponseBody) SetUninstalledExtensions added in v3.0.28

func (DescribePostgresExtensionsResponseBody) String added in v3.0.28

type DescribePostgresExtensionsResponseBodyInstalledExtensions added in v3.0.28

type DescribePostgresExtensionsResponseBodyInstalledExtensions struct {
	// The category of the extension.
	//
	// *   **external_access**
	// *   **index_support**
	// *   **information_stat**
	// *   **geography_space**
	// *   **vector_engine**
	// *   **timing_engine**
	// *   **data_type**
	// *   **encrypt_secure**
	// *   **text_process**
	// *   **operation_maintenance**
	// *   **self_develop**
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The purpose of the extension.
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	// The default version of the extension.
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The current version of the extension.
	InstalledVersion *string `json:"InstalledVersion,omitempty" xml:"InstalledVersion,omitempty"`
	// The name of the extension.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The user of the extension.
	Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"`
	// The priority of the extension.
	//
	// *   **0**: The extension is displayed by default.
	// *   **1**: The extension is preferentially displayed.
	Priority *string `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The extensions on which the current extension depends when it is installed.
	Requires *string `json:"Requires,omitempty" xml:"Requires,omitempty"`
}

func (DescribePostgresExtensionsResponseBodyInstalledExtensions) GoString added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetCategory added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetComment added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetDefaultVersion added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetInstalledVersion added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetName added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetOwner added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetPriority added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyInstalledExtensions) SetRequires added in v3.0.28

func (DescribePostgresExtensionsResponseBodyInstalledExtensions) String added in v3.0.28

type DescribePostgresExtensionsResponseBodyUninstalledExtensions added in v3.0.28

type DescribePostgresExtensionsResponseBodyUninstalledExtensions struct {
	// The category of the extension.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The purpose of the extension.
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	// The default version of the extension.
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The current version of the extension.
	InstalledVersion *string `json:"InstalledVersion,omitempty" xml:"InstalledVersion,omitempty"`
	// The name of the extension.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The user of the extension.
	Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"`
	// The priority of the extension.
	Priority *string `json:"Priority,omitempty" xml:"Priority,omitempty"`
	// The extensions on which the current extension depends when it is installed.
	Requires *string `json:"Requires,omitempty" xml:"Requires,omitempty"`
}

func (DescribePostgresExtensionsResponseBodyUninstalledExtensions) GoString added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetCategory added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetComment added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetDefaultVersion added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetInstalledVersion added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetName added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetOwner added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetPriority added in v3.0.28

func (*DescribePostgresExtensionsResponseBodyUninstalledExtensions) SetRequires added in v3.0.28

func (DescribePostgresExtensionsResponseBodyUninstalledExtensions) String added in v3.0.28

type DescribePriceRequest

type DescribePriceRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code of the instance. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).
	// *   **rds**: The instance is a subscription primary instance. This is the default value. This value is available at the China site (aliyun.com).
	// *   **rords**: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_intl**: The instance is a subscription primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
	//
	// > If you want to query the price of a read-only instance, you must specify this parameter.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the instance for which you want to change the specifications or the instance that you want to renew.
	//
	// > *   If you want to query the price of an specification change order or a renewal order, you must specify this parameter.
	// > *   If the instance is a read-only instance, you must set this parameter to the ID of its primary instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the instance. Unit: GB. You can increase the storage capacity at a step size of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSD of PL2
	// *   **cloud_essd3**: ESSD of PL3
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The information about the node.
	//
	// >  This parameter is supported for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition.
	DBNode []*DescribePriceRequestDBNode `json:"DBNode,omitempty" xml:"DBNode,omitempty" type:"Repeated"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// *   Valid values if you set Engine to **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**
	// *   Valid values if you set Engine to **SQLServer**: **08r2\_ent_ha** (cloud disks, discontinued), **2008r2**(local disks, discontinued), **2012** (SQL Server EE Basic), **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_ent**, **2017\_std_ha**, **2017\_web**, **2019\_ent**, **2019\_std_ha**, **2019\_web**, **2022\_ent**, **2022\_std_ha**, and **2022\_web**
	// *   Valid values if you set Engine to **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	// *   Valid value if you set Engine to **MariaDB**: **10.3**
	//
	// >  The following information describes the valid values when you set Engine to SQLServer: `_ent` specifies SQL Server EE on RDS Cluster Edition, `_ent_ha` specifies SQL Server EE, `_std_ha` specifies SQL Server SE, and `_web` specifies SQL Server Web.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **0**: primary instance
	// *   **3**: read-only instance
	InstanceUsedType *int32 `json:"InstanceUsedType,omitempty" xml:"InstanceUsedType,omitempty"`
	// The order type. Valid values:
	//
	// *   **BUY**: purchase order
	// *   **UPGRADE**: specification change order
	// *   **RENEW**: renewal order
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Prepaid**: subscription
	// *   **Postpaid**: pay-as-you-go
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The number of instances that you want to purchase. Valid values: **0 to 30**.
	Quantity *int32 `json:"Quantity,omitempty" xml:"Quantity,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The settings of the serverless instance.
	//
	// > ApsaraDB RDS for MariaDB does not support serverless instances.
	ServerlessConfig *DescribePriceRequestServerlessConfig `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty" type:"Struct"`
	// The billing cycle of the subscription instance. This parameter is required when **CommodityCode** is set to **rds**, **rds_rordspre_public_cn**, **rds_intl**, or **rds_rordspre_public_intl**. Valid values:
	//
	// *   **Year**
	// *   **Month**
	TimeType *string `json:"TimeType,omitempty" xml:"TimeType,omitempty"`
	// The subscription duration of the instance.
	//
	// *   If you set the **TimeType** parameter to **Year**, the value of the UsedTime parameter ranges from **1 to 100**.
	// *   If you set the **TimeType** parameter to **Month**, the value of the UsedTime parameter ranges from **1 to 999**.
	//
	// Default value: **1**.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The zone ID of the primary instance. You can call the DescribeRegions operation to query the most recent zone list.
	//
	// >  If you specify a virtual private cloud (VPC) and a vSwitch, this parameter is required to identify the zone for the vSwitch.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribePriceRequest) GoString

func (s DescribePriceRequest) GoString() string

func (*DescribePriceRequest) SetClientToken

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

func (*DescribePriceRequest) SetCommodityCode

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

func (*DescribePriceRequest) SetDBInstanceClass

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

func (*DescribePriceRequest) SetDBInstanceId

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

func (*DescribePriceRequest) SetDBInstanceStorage

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

func (*DescribePriceRequest) SetDBInstanceStorageType

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

func (*DescribePriceRequest) SetDBNode added in v3.0.3

func (*DescribePriceRequest) SetEngine

func (*DescribePriceRequest) SetEngineVersion

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

func (*DescribePriceRequest) SetInstanceUsedType

func (s *DescribePriceRequest) SetInstanceUsedType(v int32) *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) SetPayType

func (*DescribePriceRequest) SetQuantity

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

func (*DescribePriceRequest) SetRegionId

func (*DescribePriceRequest) SetResourceOwnerAccount

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

func (*DescribePriceRequest) SetResourceOwnerId

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

func (*DescribePriceRequest) SetServerlessConfig added in v3.0.12

func (*DescribePriceRequest) SetTimeType

func (*DescribePriceRequest) SetUsedTime

func (s *DescribePriceRequest) SetUsedTime(v int32) *DescribePriceRequest

func (*DescribePriceRequest) SetZoneId

func (DescribePriceRequest) String

func (s DescribePriceRequest) String() string

type DescribePriceRequestDBNode added in v3.0.3

type DescribePriceRequestDBNode struct {
	// The instance type of the node.
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,omitempty"`
	// The zone ID of the node.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribePriceRequestDBNode) GoString added in v3.0.3

func (s DescribePriceRequestDBNode) GoString() string

func (*DescribePriceRequestDBNode) SetClassCode added in v3.0.3

func (*DescribePriceRequestDBNode) SetZoneId added in v3.0.3

func (DescribePriceRequestDBNode) String added in v3.0.3

type DescribePriceRequestServerlessConfig added in v3.0.12

type DescribePriceRequestServerlessConfig struct {
	// The maximum number of RDS Capacity Units (RCUs).
	MaxCapacity *float64 `json:"MaxCapacity,omitempty" xml:"MaxCapacity,omitempty"`
	// The minimum number of RCUs.
	MinCapacity *float64 `json:"MinCapacity,omitempty" xml:"MinCapacity,omitempty"`
}

func (DescribePriceRequestServerlessConfig) GoString added in v3.0.12

func (*DescribePriceRequestServerlessConfig) SetMaxCapacity added in v3.0.12

func (*DescribePriceRequestServerlessConfig) SetMinCapacity added in v3.0.12

func (DescribePriceRequestServerlessConfig) String added in v3.0.12

type DescribePriceResponse

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

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 price information.
	PriceInfo *DescribePriceResponseBodyPriceInfo `json:"PriceInfo,omitempty" xml:"PriceInfo,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The details of the promotion rule.
	Rules *DescribePriceResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Struct"`
	// Indicates whether discounts can be used.
	ShowDiscount *bool `json:"ShowDiscount,omitempty" xml:"ShowDiscount,omitempty"`
	// The estimated hourly fee that is calculated based on the maximum number of RCUs.
	TradeMaxRCUAmount *float32 `json:"TradeMaxRCUAmount,omitempty" xml:"TradeMaxRCUAmount,omitempty"`
	// The estimated hourly fee that is calculated based on the minimum number of RCUs.
	TradeMinRCUAmount *float32 `json:"TradeMinRCUAmount,omitempty" xml:"TradeMinRCUAmount,omitempty"`
}

func (DescribePriceResponseBody) GoString

func (s DescribePriceResponseBody) GoString() string

func (*DescribePriceResponseBody) SetPriceInfo

func (*DescribePriceResponseBody) SetRequestId

func (*DescribePriceResponseBody) SetRules

func (*DescribePriceResponseBody) SetShowDiscount added in v3.0.5

func (*DescribePriceResponseBody) SetTradeMaxRCUAmount added in v3.0.12

func (s *DescribePriceResponseBody) SetTradeMaxRCUAmount(v float32) *DescribePriceResponseBody

func (*DescribePriceResponseBody) SetTradeMinRCUAmount added in v3.0.12

func (s *DescribePriceResponseBody) SetTradeMinRCUAmount(v float32) *DescribePriceResponseBody

func (DescribePriceResponseBody) String

func (s DescribePriceResponseBody) String() string

type DescribePriceResponseBodyPriceInfo

type DescribePriceResponseBodyPriceInfo struct {
	// The information about the promotion.
	ActivityInfo *DescribePriceResponseBodyPriceInfoActivityInfo `json:"ActivityInfo,omitempty" xml:"ActivityInfo,omitempty" type:"Struct"`
	// The information about the coupon.
	Coupons *DescribePriceResponseBodyPriceInfoCoupons `json:"Coupons,omitempty" xml:"Coupons,omitempty" type:"Struct"`
	// The currency unit.
	Currency *string `json:"Currency,omitempty" xml:"Currency,omitempty"`
	// The discount.
	DiscountPrice *float32 `json:"DiscountPrice,omitempty" xml:"DiscountPrice,omitempty"`
	// The original price.
	OriginalPrice *float32 `json:"OriginalPrice,omitempty" xml:"OriginalPrice,omitempty"`
	// An array that consists of the ID of the promotion rule.
	RuleIds *DescribePriceResponseBodyPriceInfoRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// The transaction price, which is equal to the original price minus the discount.
	TradePrice *float32 `json:"TradePrice,omitempty" xml:"TradePrice,omitempty"`
}

func (DescribePriceResponseBodyPriceInfo) GoString

func (*DescribePriceResponseBodyPriceInfo) SetCurrency

func (*DescribePriceResponseBodyPriceInfo) SetDiscountPrice

func (*DescribePriceResponseBodyPriceInfo) SetOriginalPrice

func (*DescribePriceResponseBodyPriceInfo) SetTradePrice

func (DescribePriceResponseBodyPriceInfo) String

type DescribePriceResponseBodyPriceInfoActivityInfo

type DescribePriceResponseBodyPriceInfoActivityInfo struct {
	// The returned message.
	CheckErrMsg *string `json:"CheckErrMsg,omitempty" xml:"CheckErrMsg,omitempty"`
	// The error code that is returned.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// Indicates whether the request was successful.
	Success *string `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribePriceResponseBodyPriceInfoActivityInfo) GoString

func (*DescribePriceResponseBodyPriceInfoActivityInfo) SetCheckErrMsg

func (*DescribePriceResponseBodyPriceInfoActivityInfo) SetErrorCode

func (*DescribePriceResponseBodyPriceInfoActivityInfo) SetSuccess

func (DescribePriceResponseBodyPriceInfoActivityInfo) String

type DescribePriceResponseBodyPriceInfoCoupons

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

func (DescribePriceResponseBodyPriceInfoCoupons) GoString

func (DescribePriceResponseBodyPriceInfoCoupons) String

type DescribePriceResponseBodyPriceInfoCouponsCoupon

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

func (DescribePriceResponseBodyPriceInfoCouponsCoupon) GoString

func (*DescribePriceResponseBodyPriceInfoCouponsCoupon) SetCouponNo

func (*DescribePriceResponseBodyPriceInfoCouponsCoupon) SetDescription

func (*DescribePriceResponseBodyPriceInfoCouponsCoupon) SetIsSelected

func (*DescribePriceResponseBodyPriceInfoCouponsCoupon) SetName

func (DescribePriceResponseBodyPriceInfoCouponsCoupon) String

type DescribePriceResponseBodyPriceInfoRuleIds

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

func (DescribePriceResponseBodyPriceInfoRuleIds) GoString

func (*DescribePriceResponseBodyPriceInfoRuleIds) SetRuleId

func (DescribePriceResponseBodyPriceInfoRuleIds) 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 description of the promotion rule.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the promotion rule.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The ID of the promotion rule.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
}

func (DescribePriceResponseBodyRulesRule) GoString

func (*DescribePriceResponseBodyRulesRule) SetDescription

func (*DescribePriceResponseBodyRulesRule) SetName

func (*DescribePriceResponseBodyRulesRule) SetRuleId

func (DescribePriceResponseBodyRulesRule) String

type DescribePriceShrinkRequest added in v3.0.3

type DescribePriceShrinkRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code of the instance. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).
	// *   **rds**: The instance is a subscription primary instance. This is the default value. This value is available at the China site (aliyun.com).
	// *   **rords**: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_intl**: The instance is a subscription primary instance. This value is available at the International site (alibabacloud.com).
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance. This value is available at the International site (alibabacloud.com).
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
	//
	// > If you want to query the price of a read-only instance, you must specify this parameter.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the instance for which you want to change the specifications or the instance that you want to renew.
	//
	// > *   If you want to query the price of an specification change order or a renewal order, you must specify this parameter.
	// > *   If the instance is a read-only instance, you must set this parameter to the ID of its primary instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the instance. Unit: GB. You can increase the storage capacity at a step size of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1)
	// *   **cloud_essd2**: ESSD of PL2
	// *   **cloud_essd3**: ESSD of PL3
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The information about the node.
	//
	// >  This parameter is supported for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition.
	DBNodeShrink *string `json:"DBNode,omitempty" xml:"DBNode,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version of the instance.
	//
	// *   Valid values if you set Engine to **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**
	// *   Valid values if you set Engine to **SQLServer**: **08r2\_ent_ha** (cloud disks, discontinued), **2008r2**(local disks, discontinued), **2012** (SQL Server EE Basic), **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_ent**, **2017\_std_ha**, **2017\_web**, **2019\_ent**, **2019\_std_ha**, **2019\_web**, **2022\_ent**, **2022\_std_ha**, and **2022\_web**
	// *   Valid values if you set Engine to **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	// *   Valid value if you set Engine to **MariaDB**: **10.3**
	//
	// >  The following information describes the valid values when you set Engine to SQLServer: `_ent` specifies SQL Server EE on RDS Cluster Edition, `_ent_ha` specifies SQL Server EE, `_std_ha` specifies SQL Server SE, and `_web` specifies SQL Server Web.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The role of the instance. Valid values:
	//
	// *   **0**: primary instance
	// *   **3**: read-only instance
	InstanceUsedType *int32 `json:"InstanceUsedType,omitempty" xml:"InstanceUsedType,omitempty"`
	// The order type. Valid values:
	//
	// *   **BUY**: purchase order
	// *   **UPGRADE**: specification change order
	// *   **RENEW**: renewal order
	OrderType    *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// *   **Prepaid**: subscription
	// *   **Postpaid**: pay-as-you-go
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The number of instances that you want to purchase. Valid values: **0 to 30**.
	Quantity *int32 `json:"Quantity,omitempty" xml:"Quantity,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The settings of the serverless instance.
	//
	// > ApsaraDB RDS for MariaDB does not support serverless instances.
	ServerlessConfigShrink *string `json:"ServerlessConfig,omitempty" xml:"ServerlessConfig,omitempty"`
	// The billing cycle of the subscription instance. This parameter is required when **CommodityCode** is set to **rds**, **rds_rordspre_public_cn**, **rds_intl**, or **rds_rordspre_public_intl**. Valid values:
	//
	// *   **Year**
	// *   **Month**
	TimeType *string `json:"TimeType,omitempty" xml:"TimeType,omitempty"`
	// The subscription duration of the instance.
	//
	// *   If you set the **TimeType** parameter to **Year**, the value of the UsedTime parameter ranges from **1 to 100**.
	// *   If you set the **TimeType** parameter to **Month**, the value of the UsedTime parameter ranges from **1 to 999**.
	//
	// Default value: **1**.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The zone ID of the primary instance. You can call the DescribeRegions operation to query the most recent zone list.
	//
	// >  If you specify a virtual private cloud (VPC) and a vSwitch, this parameter is required to identify the zone for the vSwitch.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribePriceShrinkRequest) GoString added in v3.0.3

func (s DescribePriceShrinkRequest) GoString() string

func (*DescribePriceShrinkRequest) SetClientToken added in v3.0.3

func (*DescribePriceShrinkRequest) SetCommodityCode added in v3.0.3

func (*DescribePriceShrinkRequest) SetDBInstanceClass added in v3.0.3

func (*DescribePriceShrinkRequest) SetDBInstanceId added in v3.0.3

func (*DescribePriceShrinkRequest) SetDBInstanceStorage added in v3.0.3

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

func (*DescribePriceShrinkRequest) SetDBInstanceStorageType added in v3.0.3

func (s *DescribePriceShrinkRequest) SetDBInstanceStorageType(v string) *DescribePriceShrinkRequest

func (*DescribePriceShrinkRequest) SetDBNodeShrink added in v3.0.3

func (*DescribePriceShrinkRequest) SetEngine added in v3.0.3

func (*DescribePriceShrinkRequest) SetEngineVersion added in v3.0.3

func (*DescribePriceShrinkRequest) SetInstanceUsedType added in v3.0.3

func (s *DescribePriceShrinkRequest) SetInstanceUsedType(v int32) *DescribePriceShrinkRequest

func (*DescribePriceShrinkRequest) SetOrderType added in v3.0.3

func (*DescribePriceShrinkRequest) SetOwnerAccount added in v3.0.3

func (*DescribePriceShrinkRequest) SetOwnerId added in v3.0.3

func (*DescribePriceShrinkRequest) SetPayType added in v3.0.3

func (*DescribePriceShrinkRequest) SetQuantity added in v3.0.3

func (*DescribePriceShrinkRequest) SetRegionId added in v3.0.3

func (*DescribePriceShrinkRequest) SetResourceOwnerAccount added in v3.0.3

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

func (*DescribePriceShrinkRequest) SetResourceOwnerId added in v3.0.3

func (*DescribePriceShrinkRequest) SetServerlessConfigShrink added in v3.0.12

func (s *DescribePriceShrinkRequest) SetServerlessConfigShrink(v string) *DescribePriceShrinkRequest

func (*DescribePriceShrinkRequest) SetTimeType added in v3.0.3

func (*DescribePriceShrinkRequest) SetUsedTime added in v3.0.3

func (*DescribePriceShrinkRequest) SetZoneId added in v3.0.3

func (DescribePriceShrinkRequest) String added in v3.0.3

type DescribeQuickSaleConfigRequest added in v3.3.0

type DescribeQuickSaleConfigRequest struct {
	// The product code. Valid values:
	//
	// *   rds: The instance is a subscription instance.
	// *   bards: The instance is a pay-as-you-go instance.
	Commodity *string `json:"Commodity,omitempty" xml:"Commodity,omitempty"`
	// The database engine of the instance. Valid values:
	//
	// *   **MySQL**
	// *   **SQLServer**
	// *   **PostgreSQL**
	// *   **MariaDB**
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeQuickSaleConfigRequest) GoString added in v3.3.0

func (*DescribeQuickSaleConfigRequest) SetCommodity added in v3.3.0

func (*DescribeQuickSaleConfigRequest) SetEngine added in v3.3.0

func (*DescribeQuickSaleConfigRequest) SetRegionId added in v3.3.0

func (DescribeQuickSaleConfigRequest) String added in v3.3.0

type DescribeQuickSaleConfigResponse added in v3.3.0

type DescribeQuickSaleConfigResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeQuickSaleConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeQuickSaleConfigResponse) GoString added in v3.3.0

func (*DescribeQuickSaleConfigResponse) SetBody added in v3.3.0

func (*DescribeQuickSaleConfigResponse) SetHeaders added in v3.3.0

func (*DescribeQuickSaleConfigResponse) SetStatusCode added in v3.3.0

func (DescribeQuickSaleConfigResponse) String added in v3.3.0

type DescribeQuickSaleConfigResponseBody added in v3.3.0

type DescribeQuickSaleConfigResponseBody struct {
	// The product code. Valid values:
	//
	// *   rds: The instance is a subscription instance.
	// *   bards: The instance is a pay-as-you-go instance.
	Commodity *string `json:"Commodity,omitempty" xml:"Commodity,omitempty"`
	// The configuration details of the product.
	Items map[string]interface{} `json:"Items,omitempty" xml:"Items,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeQuickSaleConfigResponseBody) GoString added in v3.3.0

func (*DescribeQuickSaleConfigResponseBody) SetCommodity added in v3.3.0

func (*DescribeQuickSaleConfigResponseBody) SetItems added in v3.3.0

func (*DescribeQuickSaleConfigResponseBody) SetRequestId added in v3.3.0

func (DescribeQuickSaleConfigResponseBody) String added in v3.3.0

type DescribeRdsResourceSettingsRequest

type DescribeRdsResourceSettingsRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceNiche        *string `json:"ResourceNiche,omitempty" xml:"ResourceNiche,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeRdsResourceSettingsRequest) GoString

func (*DescribeRdsResourceSettingsRequest) SetOwnerId

func (*DescribeRdsResourceSettingsRequest) SetResourceNiche

func (*DescribeRdsResourceSettingsRequest) SetResourceOwnerAccount

func (*DescribeRdsResourceSettingsRequest) SetResourceOwnerId

func (DescribeRdsResourceSettingsRequest) String

type DescribeRdsResourceSettingsResponse

type DescribeRdsResourceSettingsResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeRdsResourceSettingsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeRdsResourceSettingsResponse) GoString

func (*DescribeRdsResourceSettingsResponse) SetHeaders

func (*DescribeRdsResourceSettingsResponse) SetStatusCode

func (DescribeRdsResourceSettingsResponse) String

type DescribeRdsResourceSettingsResponseBody

type DescribeRdsResourceSettingsResponseBody struct {
	RdsInstanceResourceSettings *DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettings `json:"RdsInstanceResourceSettings,omitempty" xml:"RdsInstanceResourceSettings,omitempty" type:"Struct"`
	RequestId                   *string                                                             `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRdsResourceSettingsResponseBody) GoString

func (*DescribeRdsResourceSettingsResponseBody) SetRequestId

func (DescribeRdsResourceSettingsResponseBody) String

type DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettings

type DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettings struct {
	RdsInstanceResourceSetting []*DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting `json:"RdsInstanceResourceSetting,omitempty" xml:"RdsInstanceResourceSetting,omitempty" type:"Repeated"`
}

func (DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettings) GoString

func (DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettings) String

type DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting

type DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting struct {
	EndDate            *string `json:"EndDate,omitempty" xml:"EndDate,omitempty"`
	IsTop              *string `json:"IsTop,omitempty" xml:"IsTop,omitempty"`
	NoticeBarContent   *string `json:"NoticeBarContent,omitempty" xml:"NoticeBarContent,omitempty"`
	PoppedUpButtonText *string `json:"PoppedUpButtonText,omitempty" xml:"PoppedUpButtonText,omitempty"`
	PoppedUpButtonType *string `json:"PoppedUpButtonType,omitempty" xml:"PoppedUpButtonType,omitempty"`
	PoppedUpButtonUrl  *string `json:"PoppedUpButtonUrl,omitempty" xml:"PoppedUpButtonUrl,omitempty"`
	PoppedUpContent    *string `json:"PoppedUpContent,omitempty" xml:"PoppedUpContent,omitempty"`
	ResourceNiche      *string `json:"ResourceNiche,omitempty" xml:"ResourceNiche,omitempty"`
	StartDate          *string `json:"StartDate,omitempty" xml:"StartDate,omitempty"`
}

func (DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) GoString

func (*DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) SetNoticeBarContent

func (*DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) SetPoppedUpButtonText

func (*DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) SetPoppedUpButtonType

func (*DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) SetPoppedUpButtonUrl

func (*DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) SetPoppedUpContent

func (DescribeRdsResourceSettingsResponseBodyRdsInstanceResourceSettingsRdsInstanceResourceSetting) String

type DescribeReadDBInstanceDelayRequest

type DescribeReadDBInstanceDelayRequest struct {
	// The ID of the primary instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the read-only instance.
	ReadInstanceId *string `json:"ReadInstanceId,omitempty" xml:"ReadInstanceId,omitempty"`
	// The ID of the region where the global active database clusters that you want to query reside. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeReadDBInstanceDelayRequest) GoString

func (*DescribeReadDBInstanceDelayRequest) SetDBInstanceId

func (*DescribeReadDBInstanceDelayRequest) SetOwnerAccount

func (*DescribeReadDBInstanceDelayRequest) SetOwnerId

func (*DescribeReadDBInstanceDelayRequest) SetReadInstanceId

func (*DescribeReadDBInstanceDelayRequest) SetRegionId

func (*DescribeReadDBInstanceDelayRequest) SetResourceOwnerAccount

func (*DescribeReadDBInstanceDelayRequest) SetResourceOwnerId

func (*DescribeReadDBInstanceDelayRequest) SetSecurityToken

func (DescribeReadDBInstanceDelayRequest) String

type DescribeReadDBInstanceDelayResponse

type DescribeReadDBInstanceDelayResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeReadDBInstanceDelayResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeReadDBInstanceDelayResponse) GoString

func (*DescribeReadDBInstanceDelayResponse) SetHeaders

func (*DescribeReadDBInstanceDelayResponse) SetStatusCode

func (DescribeReadDBInstanceDelayResponse) String

type DescribeReadDBInstanceDelayResponseBody

type DescribeReadDBInstanceDelayResponseBody struct {
	// The ID of the primary instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The latency of data replication between the primary instance and the read-only instance.
	DelayTime *int32 `json:"DelayTime,omitempty" xml:"DelayTime,omitempty"`
	// An array that consists of latency information.
	Items *DescribeReadDBInstanceDelayResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the read-only instance.
	ReadDBInstanceId *string `json:"ReadDBInstanceId,omitempty" xml:"ReadDBInstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeReadDBInstanceDelayResponseBody) GoString

func (*DescribeReadDBInstanceDelayResponseBody) SetDBInstanceId

func (*DescribeReadDBInstanceDelayResponseBody) SetDelayTime

func (*DescribeReadDBInstanceDelayResponseBody) SetReadDBInstanceId

func (*DescribeReadDBInstanceDelayResponseBody) SetRequestId

func (DescribeReadDBInstanceDelayResponseBody) String

type DescribeReadDBInstanceDelayResponseBodyItems

type DescribeReadDBInstanceDelayResponseBodyItems struct {
	Items []*DescribeReadDBInstanceDelayResponseBodyItemsItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
}

func (DescribeReadDBInstanceDelayResponseBodyItems) GoString

func (DescribeReadDBInstanceDelayResponseBodyItems) String

type DescribeReadDBInstanceDelayResponseBodyItemsItems

type DescribeReadDBInstanceDelayResponseBodyItemsItems struct {
	// The ID of the primary instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of information about the read-only instance.
	//
	// >  This parameter is returned only when the primary instance runs the MySQL database engine.
	ReadDBInstanceNames *DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDBInstanceNames `json:"ReadDBInstanceNames,omitempty" xml:"ReadDBInstanceNames,omitempty" type:"Struct"`
	// An array that consists of latencies.
	//
	// >  This parameter is returned only when the primary instance runs the MySQL database engine.
	ReadDelayTimes *DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDelayTimes `json:"ReadDelayTimes,omitempty" xml:"ReadDelayTimes,omitempty" type:"Struct"`
	// An array that consists of information about the write-ahead log (WAL) latency.
	//
	// >  This parameter is returned only when the primary instance runs the PostgreSQL database engine.
	ReadonlyInstanceDelay *DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelay `json:"ReadonlyInstanceDelay,omitempty" xml:"ReadonlyInstanceDelay,omitempty" type:"Struct"`
}

func (DescribeReadDBInstanceDelayResponseBodyItemsItems) GoString

func (*DescribeReadDBInstanceDelayResponseBodyItemsItems) SetDBInstanceId

func (DescribeReadDBInstanceDelayResponseBodyItemsItems) String

type DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDBInstanceNames

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

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDBInstanceNames) GoString

func (*DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDBInstanceNames) SetReadDBInstanceName

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDBInstanceNames) String

type DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDelayTimes

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

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDelayTimes) GoString

func (*DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDelayTimes) SetReadDelayTime

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadDelayTimes) String

type DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelay

type DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelay struct {
	ReadonlyInstanceDelay []*DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelayReadonlyInstanceDelay `json:"ReadonlyInstanceDelay,omitempty" xml:"ReadonlyInstanceDelay,omitempty" type:"Repeated"`
}

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelay) GoString

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelay) String

type DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelayReadonlyInstanceDelay

type DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelayReadonlyInstanceDelay struct {
	// The duration that is allowed for the latency in the persistence of WAL data. Unit: seconds.
	FlushLag *string `json:"FlushLag,omitempty" xml:"FlushLag,omitempty"`
	// The data size that is allowed for the latency in the persistence of WAL data. Unit: MB.
	FlushLatency *string `json:"FlushLatency,omitempty" xml:"FlushLatency,omitempty"`
	// The ID of the read-only instance.
	ReadDBInstanceName *string `json:"ReadDBInstanceName,omitempty" xml:"ReadDBInstanceName,omitempty"`
	// The duration that is allowed for the latency in the playback of WAL data. Unit: seconds.
	ReplayLag *string `json:"ReplayLag,omitempty" xml:"ReplayLag,omitempty"`
	// The data size that is allowed for the latency in the playback of WAL data. Unit: MB.
	ReplayLatency *string `json:"ReplayLatency,omitempty" xml:"ReplayLatency,omitempty"`
	// The data size that is allowed for the latency in the sending of WAL data. Unit: MB.
	SendLatency *string `json:"SendLatency,omitempty" xml:"SendLatency,omitempty"`
	// The duration that is allowed for the latency in the write-back of WAL data. Unit: seconds.
	WriteLag *string `json:"WriteLag,omitempty" xml:"WriteLag,omitempty"`
	// The data size that is allowed for the latency in the write-back of WAL data. Unit: MB.
	WriteLatency *string `json:"WriteLatency,omitempty" xml:"WriteLatency,omitempty"`
}

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelayReadonlyInstanceDelay) GoString

func (*DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelayReadonlyInstanceDelay) SetReadDBInstanceName

func (DescribeReadDBInstanceDelayResponseBodyItemsItemsReadonlyInstanceDelayReadonlyInstanceDelay) String

type DescribeRegionInfosRequest

type DescribeRegionInfosRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	OwnerId     *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeRegionInfosRequest) GoString

func (s DescribeRegionInfosRequest) GoString() string

func (*DescribeRegionInfosRequest) SetClientToken

func (*DescribeRegionInfosRequest) SetOwnerId

func (*DescribeRegionInfosRequest) SetRegionId

func (*DescribeRegionInfosRequest) SetResourceOwnerAccount

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

func (*DescribeRegionInfosRequest) SetResourceOwnerId

func (DescribeRegionInfosRequest) String

type DescribeRegionInfosResponse

type DescribeRegionInfosResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeRegionInfosResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeRegionInfosResponse) GoString

func (s DescribeRegionInfosResponse) GoString() string

func (*DescribeRegionInfosResponse) SetBody

func (*DescribeRegionInfosResponse) SetHeaders

func (*DescribeRegionInfosResponse) SetStatusCode

func (DescribeRegionInfosResponse) String

type DescribeRegionInfosResponseBody

type DescribeRegionInfosResponseBody struct {
	// A list of regions.
	Regions *DescribeRegionInfosResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionInfosResponseBody) GoString

func (*DescribeRegionInfosResponseBody) SetRequestId

func (DescribeRegionInfosResponseBody) String

type DescribeRegionInfosResponseBodyRegions

type DescribeRegionInfosResponseBodyRegions struct {
	RDSRegion []*DescribeRegionInfosResponseBodyRegionsRDSRegion `json:"RDSRegion,omitempty" xml:"RDSRegion,omitempty" type:"Repeated"`
}

func (DescribeRegionInfosResponseBodyRegions) GoString

func (DescribeRegionInfosResponseBodyRegions) String

type DescribeRegionInfosResponseBodyRegionsRDSRegion

type DescribeRegionInfosResponseBodyRegionsRDSRegion struct {
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeRegionInfosResponseBodyRegionsRDSRegion) GoString

func (*DescribeRegionInfosResponseBodyRegionsRDSRegion) SetRegionId

func (DescribeRegionInfosResponseBodyRegionsRDSRegion) String

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	// The language that is used for the return value of the **LocalName** parameter. Valid values:
	//
	// *   **zh-CN**: Chinese
	// *   **en-US**: English
	//
	// Default value: **en-US**.
	AcceptLanguage  *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,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) 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" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 {
	// An array that consists of the available regions and zones.
	Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionsResponseBody) GoString

func (s DescribeRegionsResponseBody) GoString() string

func (*DescribeRegionsResponseBody) SetRegions

func (*DescribeRegionsResponseBody) SetRequestId

func (DescribeRegionsResponseBody) String

type DescribeRegionsResponseBodyRegions

type DescribeRegionsResponseBodyRegions struct {
	RDSRegion []*DescribeRegionsResponseBodyRegionsRDSRegion `json:"RDSRegion,omitempty" xml:"RDSRegion,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegions) GoString

func (DescribeRegionsResponseBodyRegions) String

type DescribeRegionsResponseBodyRegionsRDSRegion

type DescribeRegionsResponseBodyRegionsRDSRegion struct {
	// The name of the region. The return 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-CN**, the value China (Hangzhou)  is returned for the LocalName parameter.
	// *   If the value of the **AcceptLanguage** parameter is **en-US**, the value China (Hangzhou) is returned for the LocalName parameter.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The endpoint that is used to connect to Alibaba Cloud services in the region. For more information, see [Request structure](~~26223~~).
	RegionEndpoint *string `json:"RegionEndpoint,omitempty" xml:"RegionEndpoint,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the zone.
	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 RegionId parameter in the response is cn-hangzhou-h, the following values are returned for the LocalName parameter:
	//
	// *   If the value of the **AcceptLanguage** parameter is **zh-CN**, the value Hangzhou Zone H is returned for the LocalName parameter.
	// *   If the value of the **AcceptLanguage** parameter is **en-US**, the value Hangzhou Zone H is returned for the LocalName parameter.
	ZoneName *string `json:"ZoneName,omitempty" xml:"ZoneName,omitempty"`
}

func (DescribeRegionsResponseBodyRegionsRDSRegion) GoString

func (*DescribeRegionsResponseBodyRegionsRDSRegion) SetLocalName

func (*DescribeRegionsResponseBodyRegionsRDSRegion) SetRegionEndpoint

func (*DescribeRegionsResponseBodyRegionsRDSRegion) SetRegionId

func (*DescribeRegionsResponseBodyRegionsRDSRegion) SetZoneId

func (*DescribeRegionsResponseBodyRegionsRDSRegion) SetZoneName

func (DescribeRegionsResponseBodyRegionsRDSRegion) String

type DescribeRenewalPriceRequest

type DescribeRenewalPriceRequest struct {
	// The additional business information about the instance.
	BusinessInfo *string `json:"BusinessInfo,omitempty" xml:"BusinessInfo,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance type of the instance. For more information, see [Primary instance types](~~26312~~). By default, the current instance type applies.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the order that you want to place. Set the value to **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 billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The number of the instances. Default value: **1**.
	Quantity *int32 `json:"Quantity,omitempty" xml:"Quantity,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The renewal cycle of the instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	TimeType *string `json:"TimeType,omitempty" xml:"TimeType,omitempty"`
	// The subscription duration of the instance. Valid values:
	//
	// *   If you set the **TimeType** parameter to **Year**, the value of the UsedTime parameter is within the range of **1 to 3**.
	// *   If you set the **TimeType** parameter to **Month**, the value of the UsedTime parameter is within the range of **1 to 9**.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
}

func (DescribeRenewalPriceRequest) GoString

func (s DescribeRenewalPriceRequest) GoString() string

func (*DescribeRenewalPriceRequest) SetBusinessInfo

func (*DescribeRenewalPriceRequest) SetClientToken

func (*DescribeRenewalPriceRequest) SetDBInstanceClass

func (*DescribeRenewalPriceRequest) SetDBInstanceId

func (*DescribeRenewalPriceRequest) SetOrderType

func (*DescribeRenewalPriceRequest) SetOwnerAccount

func (*DescribeRenewalPriceRequest) SetOwnerId

func (*DescribeRenewalPriceRequest) SetPayType

func (*DescribeRenewalPriceRequest) SetQuantity

func (*DescribeRenewalPriceRequest) SetRegionId

func (*DescribeRenewalPriceRequest) SetResourceGroupId added in v3.0.210

func (*DescribeRenewalPriceRequest) SetResourceOwnerAccount

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

func (*DescribeRenewalPriceRequest) SetResourceOwnerId

func (*DescribeRenewalPriceRequest) SetTimeType

func (*DescribeRenewalPriceRequest) SetUsedTime

func (DescribeRenewalPriceRequest) String

type DescribeRenewalPriceResponse

type DescribeRenewalPriceResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeRenewalPriceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 {
	// Details of price information.
	PriceInfo *DescribeRenewalPriceResponseBodyPriceInfo `json:"PriceInfo,omitempty" xml:"PriceInfo,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array that consists of the details of the promotion rule.
	Rules *DescribeRenewalPriceResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Struct"`
}

func (DescribeRenewalPriceResponseBody) GoString

func (*DescribeRenewalPriceResponseBody) SetRequestId

func (DescribeRenewalPriceResponseBody) String

type DescribeRenewalPriceResponseBodyPriceInfo

type DescribeRenewalPriceResponseBodyPriceInfo struct {
	// The information about the promotion.
	ActivityInfo *DescribeRenewalPriceResponseBodyPriceInfoActivityInfo `json:"ActivityInfo,omitempty" xml:"ActivityInfo,omitempty" type:"Struct"`
	// An array that consists of information about the coupon.
	Coupons *DescribeRenewalPriceResponseBodyPriceInfoCoupons `json:"Coupons,omitempty" xml:"Coupons,omitempty" type:"Struct"`
	// The currency unit.
	Currency *string `json:"Currency,omitempty" xml:"Currency,omitempty"`
	// The discount.
	DiscountPrice *float32 `json:"DiscountPrice,omitempty" xml:"DiscountPrice,omitempty"`
	// The original price.
	OriginalPrice *float32 `json:"OriginalPrice,omitempty" xml:"OriginalPrice,omitempty"`
	// An array that consists of the ID of the promotion rule.
	RuleIds *DescribeRenewalPriceResponseBodyPriceInfoRuleIds `json:"RuleIds,omitempty" xml:"RuleIds,omitempty" type:"Struct"`
	// The transaction price, which is equal to the original price minus the discount.
	TradePrice *float32 `json:"TradePrice,omitempty" xml:"TradePrice,omitempty"`
}

func (DescribeRenewalPriceResponseBodyPriceInfo) GoString

func (*DescribeRenewalPriceResponseBodyPriceInfo) SetCurrency

func (*DescribeRenewalPriceResponseBodyPriceInfo) SetDiscountPrice

func (*DescribeRenewalPriceResponseBodyPriceInfo) SetOriginalPrice

func (*DescribeRenewalPriceResponseBodyPriceInfo) SetTradePrice

func (DescribeRenewalPriceResponseBodyPriceInfo) String

type DescribeRenewalPriceResponseBodyPriceInfoActivityInfo

type DescribeRenewalPriceResponseBodyPriceInfoActivityInfo struct {
	// The returned message.
	CheckErrMsg *string `json:"CheckErrMsg,omitempty" xml:"CheckErrMsg,omitempty"`
	// The error code that is returned.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// Indicates whether the request was successful.
	Success *string `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribeRenewalPriceResponseBodyPriceInfoActivityInfo) GoString

func (*DescribeRenewalPriceResponseBodyPriceInfoActivityInfo) SetCheckErrMsg

func (*DescribeRenewalPriceResponseBodyPriceInfoActivityInfo) SetErrorCode

func (*DescribeRenewalPriceResponseBodyPriceInfoActivityInfo) SetSuccess

func (DescribeRenewalPriceResponseBodyPriceInfoActivityInfo) String

type DescribeRenewalPriceResponseBodyPriceInfoCoupons

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

func (DescribeRenewalPriceResponseBodyPriceInfoCoupons) GoString

func (DescribeRenewalPriceResponseBodyPriceInfoCoupons) String

type DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon

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

func (DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon) GoString

func (*DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon) SetCouponNo

func (*DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon) SetDescription

func (*DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon) SetIsSelected

func (*DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon) SetName

func (DescribeRenewalPriceResponseBodyPriceInfoCouponsCoupon) String

type DescribeRenewalPriceResponseBodyPriceInfoRuleIds

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

func (DescribeRenewalPriceResponseBodyPriceInfoRuleIds) GoString

func (*DescribeRenewalPriceResponseBodyPriceInfoRuleIds) SetRuleId

func (DescribeRenewalPriceResponseBodyPriceInfoRuleIds) 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 description of the activity.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the rule.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The ID of the promotion rule.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
}

func (DescribeRenewalPriceResponseBodyRulesRule) GoString

func (*DescribeRenewalPriceResponseBodyRulesRule) SetDescription

func (*DescribeRenewalPriceResponseBodyRulesRule) SetName

func (*DescribeRenewalPriceResponseBodyRulesRule) SetRuleId

func (DescribeRenewalPriceResponseBodyRulesRule) String

type DescribeResourceDetailsRequest added in v3.3.0

type DescribeResourceDetailsRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeResourceDetailsRequest) GoString added in v3.3.0

func (*DescribeResourceDetailsRequest) SetClientToken added in v3.3.0

func (*DescribeResourceDetailsRequest) SetDBInstanceId added in v3.3.0

func (*DescribeResourceDetailsRequest) SetOwnerId added in v3.3.0

func (*DescribeResourceDetailsRequest) SetRegionId added in v3.3.0

func (*DescribeResourceDetailsRequest) SetResourceGroupId added in v3.3.0

func (*DescribeResourceDetailsRequest) SetResourceOwnerAccount added in v3.3.0

func (*DescribeResourceDetailsRequest) SetResourceOwnerId added in v3.3.0

func (DescribeResourceDetailsRequest) String added in v3.3.0

type DescribeResourceDetailsResponse added in v3.3.0

type DescribeResourceDetailsResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeResourceDetailsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeResourceDetailsResponse) GoString added in v3.3.0

func (*DescribeResourceDetailsResponse) SetBody added in v3.3.0

func (*DescribeResourceDetailsResponse) SetHeaders added in v3.3.0

func (*DescribeResourceDetailsResponse) SetStatusCode added in v3.3.0

func (DescribeResourceDetailsResponse) String added in v3.3.0

type DescribeResourceDetailsResponseBody added in v3.3.0

type DescribeResourceDetailsResponseBody struct {
	// The storage that is occupied by data backup files, excluding archived backup files, on the instance. Unit: bytes.
	BackupDataSize *int64 `json:"BackupDataSize,omitempty" xml:"BackupDataSize,omitempty"`
	// The size of the backup log. Unit: bytes.
	BackupLogSize *int64 `json:"BackupLogSize,omitempty" xml:"BackupLogSize,omitempty"`
	// The size of the backup data. Unit: MB.
	BackupSize *int64 `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	// The disk capacity of the instance.
	DbInstanceStorage *int64 `json:"DbInstanceStorage,omitempty" xml:"DbInstanceStorage,omitempty"`
	// The name of the proxy instance.
	DbProxyInstanceName *string `json:"DbProxyInstanceName,omitempty" xml:"DbProxyInstanceName,omitempty"`
	// The total storage used. The value is the sum of the DataSize and LogSize values. Unit: bytes. The value -1 indicates that no data files or log files are stored.
	DiskUsed *int64 `json:"DiskUsed,omitempty" xml:"DiskUsed,omitempty"`
	// The storage type of the instance.
	InstanceStorageType *string `json:"InstanceStorageType,omitempty" xml:"InstanceStorageType,omitempty"`
	// The rule for the IP address whitelist of the instance.
	RdsEcsSecurityGroupRel []*DescribeResourceDetailsResponseBodyRdsEcsSecurityGroupRel `json:"RdsEcsSecurityGroupRel,omitempty" xml:"RdsEcsSecurityGroupRel,omitempty" type:"Repeated"`
	// The region ID.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The IP address whitelist of the instance. For more information, see [Configure IP address whitelists](~~43185~~). If the returned IP address whitelist contains more than one entry, these entries are separated with commas (,). Each entry is unique and up to 1,000 entries are returned. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as 10.10.XX.XX.
	// *   CIDR blocks, such as 10.10.XX.XX/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.
	//
	// If this parameter is not specified, the default IP address whitelist is used.
	SecurityIPList *string `json:"SecurityIPList,omitempty" xml:"SecurityIPList,omitempty"`
	// The vSwitch ID.
	//
	// >  The vSwitch must belong to the same zone as the instance.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (DescribeResourceDetailsResponseBody) GoString added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetBackupDataSize added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetBackupLogSize added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetBackupSize added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetDbInstanceStorage added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetDbProxyInstanceName added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetDiskUsed added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetInstanceStorageType added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetRdsEcsSecurityGroupRel added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetRegion added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetRequestId added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetResourceGroupId added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetSecurityIPList added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetVSwitchId added in v3.3.0

func (*DescribeResourceDetailsResponseBody) SetVpcId added in v3.3.0

func (DescribeResourceDetailsResponseBody) String added in v3.3.0

type DescribeResourceDetailsResponseBodyRdsEcsSecurityGroupRel added in v3.3.0

type DescribeResourceDetailsResponseBodyRdsEcsSecurityGroupRel struct {
	// The name of the security group.
	SecurityGroupName *string `json:"SecurityGroupName,omitempty" xml:"SecurityGroupName,omitempty"`
}

func (DescribeResourceDetailsResponseBodyRdsEcsSecurityGroupRel) GoString added in v3.3.0

func (*DescribeResourceDetailsResponseBodyRdsEcsSecurityGroupRel) SetSecurityGroupName added in v3.3.0

func (DescribeResourceDetailsResponseBodyRdsEcsSecurityGroupRel) String added in v3.3.0

type DescribeResourceUsageRequest

type DescribeResourceUsageRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeResourceUsageRequest) GoString

func (s DescribeResourceUsageRequest) GoString() string

func (*DescribeResourceUsageRequest) SetDBInstanceId

func (*DescribeResourceUsageRequest) SetOwnerAccount

func (*DescribeResourceUsageRequest) SetOwnerId

func (*DescribeResourceUsageRequest) SetResourceGroupId

func (*DescribeResourceUsageRequest) SetResourceOwnerAccount

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

func (*DescribeResourceUsageRequest) SetResourceOwnerId

func (DescribeResourceUsageRequest) String

type DescribeResourceUsageResponse

type DescribeResourceUsageResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeResourceUsageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeResourceUsageResponse) GoString

func (*DescribeResourceUsageResponse) SetBody

func (*DescribeResourceUsageResponse) SetHeaders

func (*DescribeResourceUsageResponse) SetStatusCode

func (DescribeResourceUsageResponse) String

type DescribeResourceUsageResponseBody

type DescribeResourceUsageResponseBody struct {
	// The storage that is occupied by archived backup files on the instance. Unit: bytes.
	ArchiveBackupSize *int64 `json:"ArchiveBackupSize,omitempty" xml:"ArchiveBackupSize,omitempty"`
	// The storage that is occupied by data backup files, excluding archived backup files, on the instance. Unit: bytes.
	BackupDataSize *int64 `json:"BackupDataSize,omitempty" xml:"BackupDataSize,omitempty"`
	// The storage that is occupied by log backup files, excluding archived backup files, on the instance. Unit: bytes.
	BackupLogSize *int64 `json:"BackupLogSize,omitempty" xml:"BackupLogSize,omitempty"`
	// The size of data backup files that are stored in Object Storage Service (OSS) buckets. Unit: bytes. The value 0 indicates no data backup files are stored in OSS buckets.
	BackupOssDataSize *int64 `json:"BackupOssDataSize,omitempty" xml:"BackupOssDataSize,omitempty"`
	// The size of log backup files that are stored in OSS buckets. Unit: bytes. The value 0 indicates no log backup files are stored in OSS buckets.
	BackupOssLogSize *int64 `json:"BackupOssLogSize,omitempty" xml:"BackupOssLogSize,omitempty"`
	// The storage that is used to store backup files. Unit: bytes. The value -1 indicates that no backup files are stored.
	BackupSize *int64 `json:"BackupSize,omitempty" xml:"BackupSize,omitempty"`
	// The storage that is used to store cold backup files. Unit: bytes. The value -1 indicates that no cold backup files are stored.
	ColdBackupSize *int64 `json:"ColdBackupSize,omitempty" xml:"ColdBackupSize,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage that is used to store data files. Unit: bytes. The value -1 indicates that no data files are stored.
	DataSize *int64 `json:"DataSize,omitempty" xml:"DataSize,omitempty"`
	// The total storage that is occupied by data files and log files on the instance. Unit: bytes. The value -1 indicates that no data files or log files are stored on the instance.
	DiskUsed *int64 `json:"DiskUsed,omitempty" xml:"DiskUsed,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The storage that is used to store log files. Unit: bytes. The value -1 indicates that no log files are stored.
	LogSize *int64 `json:"LogSize,omitempty" xml:"LogSize,omitempty"`
	// The backup storage for which you must pay. The system provides a free quota on backup storage. You must pay for the backup storage that exceeds the free quota. Unit: bytes.
	PaidBackupSize *int64 `json:"PaidBackupSize,omitempty" xml:"PaidBackupSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The storage that is occupied to execute SQL statements on the instance. Unit: bytes. The value -1 indicates that no SQL statements are executed.
	SQLSize *int64 `json:"SQLSize,omitempty" xml:"SQLSize,omitempty"`
}

func (DescribeResourceUsageResponseBody) GoString

func (*DescribeResourceUsageResponseBody) SetArchiveBackupSize

func (*DescribeResourceUsageResponseBody) SetBackupDataSize

func (*DescribeResourceUsageResponseBody) SetBackupLogSize

func (*DescribeResourceUsageResponseBody) SetBackupOssDataSize

func (*DescribeResourceUsageResponseBody) SetBackupOssLogSize

func (*DescribeResourceUsageResponseBody) SetBackupSize

func (*DescribeResourceUsageResponseBody) SetColdBackupSize

func (*DescribeResourceUsageResponseBody) SetDBInstanceId

func (*DescribeResourceUsageResponseBody) SetDataSize

func (*DescribeResourceUsageResponseBody) SetDiskUsed

func (*DescribeResourceUsageResponseBody) SetEngine

func (*DescribeResourceUsageResponseBody) SetLogSize

func (*DescribeResourceUsageResponseBody) SetPaidBackupSize

func (*DescribeResourceUsageResponseBody) SetRequestId

func (*DescribeResourceUsageResponseBody) SetSQLSize

func (DescribeResourceUsageResponseBody) String

type DescribeSQLCollectorPolicyRequest

type DescribeSQLCollectorPolicyRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeSQLCollectorPolicyRequest) GoString

func (*DescribeSQLCollectorPolicyRequest) SetClientToken

func (*DescribeSQLCollectorPolicyRequest) SetDBInstanceId

func (*DescribeSQLCollectorPolicyRequest) SetOwnerAccount

func (*DescribeSQLCollectorPolicyRequest) SetOwnerId

func (*DescribeSQLCollectorPolicyRequest) SetResourceGroupId

func (*DescribeSQLCollectorPolicyRequest) SetResourceOwnerAccount

func (*DescribeSQLCollectorPolicyRequest) SetResourceOwnerId

func (DescribeSQLCollectorPolicyRequest) String

type DescribeSQLCollectorPolicyResponse

type DescribeSQLCollectorPolicyResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSQLCollectorPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSQLCollectorPolicyResponse) GoString

func (*DescribeSQLCollectorPolicyResponse) SetHeaders

func (*DescribeSQLCollectorPolicyResponse) SetStatusCode

func (DescribeSQLCollectorPolicyResponse) String

type DescribeSQLCollectorPolicyResponseBody

type DescribeSQLCollectorPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The status of the SQL Explorer (SQL Audit) feature. Valid values:
	//
	// *   **Enable**
	// *   **Disabled**
	SQLCollectorStatus *string `json:"SQLCollectorStatus,omitempty" xml:"SQLCollectorStatus,omitempty"`
	// A reserved parameter.
	StoragePeriod *int32 `json:"StoragePeriod,omitempty" xml:"StoragePeriod,omitempty"`
}

func (DescribeSQLCollectorPolicyResponseBody) GoString

func (*DescribeSQLCollectorPolicyResponseBody) SetRequestId

func (*DescribeSQLCollectorPolicyResponseBody) SetSQLCollectorStatus

func (*DescribeSQLCollectorPolicyResponseBody) SetStoragePeriod

func (DescribeSQLCollectorPolicyResponseBody) String

type DescribeSQLCollectorRetentionRequest

type DescribeSQLCollectorRetentionRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (DescribeSQLCollectorRetentionRequest) GoString

func (*DescribeSQLCollectorRetentionRequest) SetDBInstanceId

func (*DescribeSQLCollectorRetentionRequest) SetOwnerAccount

func (*DescribeSQLCollectorRetentionRequest) SetOwnerId

func (*DescribeSQLCollectorRetentionRequest) SetResourceGroupId

func (*DescribeSQLCollectorRetentionRequest) SetResourceOwnerAccount

func (*DescribeSQLCollectorRetentionRequest) SetResourceOwnerId

func (*DescribeSQLCollectorRetentionRequest) SetSecurityToken

func (DescribeSQLCollectorRetentionRequest) String

type DescribeSQLCollectorRetentionResponse

type DescribeSQLCollectorRetentionResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSQLCollectorRetentionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSQLCollectorRetentionResponse) GoString

func (*DescribeSQLCollectorRetentionResponse) SetHeaders

func (*DescribeSQLCollectorRetentionResponse) SetStatusCode

func (DescribeSQLCollectorRetentionResponse) String

type DescribeSQLCollectorRetentionResponseBody

type DescribeSQLCollectorRetentionResponseBody struct {
	// The retention period of the log files that are generated by the SQL Explorer feature. Valid values:
	//
	// *   **30:** 30 days
	// *   **180:** 180 days
	// *   **365**: one year
	// *   **1095**: three years
	// *   **1825**: five years
	//
	// >  The retention period of the log files that are generated by the SQL Explorer feature on ApsaraDB RDS for PostgreSQL instances and ApsaraDB RDS for SQL Server instances is fixed as 30 days.
	ConfigValue *string `json:"ConfigValue,omitempty" xml:"ConfigValue,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSQLCollectorRetentionResponseBody) GoString

func (*DescribeSQLCollectorRetentionResponseBody) SetConfigValue

func (*DescribeSQLCollectorRetentionResponseBody) SetRequestId

func (DescribeSQLCollectorRetentionResponseBody) String

type DescribeSQLLogFilesRequest

type DescribeSQLLogFilesRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the audit log file.
	FileName     *string `json:"FileName,omitempty" xml:"FileName,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: **1 to 100000**. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid value: **30 to 200**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeSQLLogFilesRequest) GoString

func (s DescribeSQLLogFilesRequest) GoString() string

func (*DescribeSQLLogFilesRequest) SetDBInstanceId

func (*DescribeSQLLogFilesRequest) SetFileName

func (*DescribeSQLLogFilesRequest) SetOwnerAccount

func (*DescribeSQLLogFilesRequest) SetOwnerId

func (*DescribeSQLLogFilesRequest) SetPageNumber

func (*DescribeSQLLogFilesRequest) SetPageSize

func (*DescribeSQLLogFilesRequest) SetResourceOwnerAccount

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

func (*DescribeSQLLogFilesRequest) SetResourceOwnerId

func (DescribeSQLLogFilesRequest) String

type DescribeSQLLogFilesResponse

type DescribeSQLLogFilesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSQLLogFilesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSQLLogFilesResponse) GoString

func (s DescribeSQLLogFilesResponse) GoString() string

func (*DescribeSQLLogFilesResponse) SetBody

func (*DescribeSQLLogFilesResponse) SetHeaders

func (*DescribeSQLLogFilesResponse) SetStatusCode

func (DescribeSQLLogFilesResponse) String

type DescribeSQLLogFilesResponseBody

type DescribeSQLLogFilesResponseBody struct {
	// An array that consists of the returned audit log files.
	Items *DescribeSQLLogFilesResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSQLLogFilesResponseBody) GoString

func (*DescribeSQLLogFilesResponseBody) SetPageNumber

func (*DescribeSQLLogFilesResponseBody) SetPageRecordCount

func (*DescribeSQLLogFilesResponseBody) SetRequestId

func (*DescribeSQLLogFilesResponseBody) SetTotalRecordCount

func (DescribeSQLLogFilesResponseBody) String

type DescribeSQLLogFilesResponseBodyItems

type DescribeSQLLogFilesResponseBodyItems struct {
	LogFile []*DescribeSQLLogFilesResponseBodyItemsLogFile `json:"LogFile,omitempty" xml:"LogFile,omitempty" type:"Repeated"`
}

func (DescribeSQLLogFilesResponseBodyItems) GoString

func (DescribeSQLLogFilesResponseBodyItems) String

type DescribeSQLLogFilesResponseBodyItemsLogFile

type DescribeSQLLogFilesResponseBodyItemsLogFile struct {
	// The name of the file.
	FileID *string `json:"FileID,omitempty" xml:"FileID,omitempty"`
	// The download URL of the file. If the audit log file cannot be downloaded, this parameter is null.
	LogDownloadURL *string `json:"LogDownloadURL,omitempty" xml:"LogDownloadURL,omitempty"`
	// The time at which the last SQL statement recorded in the audit log file 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.
	LogEndTime *string `json:"LogEndTime,omitempty" xml:"LogEndTime,omitempty"`
	// The size of the audit log file. Unit: bytes.
	LogSize *string `json:"LogSize,omitempty" xml:"LogSize,omitempty"`
	// The time at which the first SQL statement recorded in the audit log file 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.
	LogStartTime *string `json:"LogStartTime,omitempty" xml:"LogStartTime,omitempty"`
	// The status of the audit log file. Valid values:
	//
	// *   **Success**
	// *   **Failed**
	// *   **Generating**
	LogStatus *string `json:"LogStatus,omitempty" xml:"LogStatus,omitempty"`
}

func (DescribeSQLLogFilesResponseBodyItemsLogFile) GoString

func (*DescribeSQLLogFilesResponseBodyItemsLogFile) SetFileID

func (*DescribeSQLLogFilesResponseBodyItemsLogFile) SetLogDownloadURL

func (*DescribeSQLLogFilesResponseBodyItemsLogFile) SetLogEndTime

func (*DescribeSQLLogFilesResponseBodyItemsLogFile) SetLogSize

func (*DescribeSQLLogFilesResponseBodyItemsLogFile) SetLogStartTime

func (*DescribeSQLLogFilesResponseBodyItemsLogFile) SetLogStatus

func (DescribeSQLLogFilesResponseBodyItemsLogFile) String

type DescribeSQLLogRecordsRequest

type DescribeSQLLogRecordsRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database. You can enter only one database name. If you specify this parameter, this operation returns the logs that are generated only for the specified database. If you do not specify this parameter, this operation returns the logs that are generated for all databases on the instance.
	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. The time span between the start time and the end time must be less than 15 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 UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Specifies whether to generate an SQL audit log file or return SQL audit log entries. Valid values:
	//
	// *   **File**: If you set this parameter to File, this operation generates an SQL audit log file and returns only common response parameters. After you call this operation, you must call the [DescribeSQLLogFiles](~~26295~~) operation to obtain the download URL of the SQL audit log file.
	// *   **Stream** (default): If you set this parameter to Stream, this operation returns SQL audit log entries.
	//
	// > If you set this parameter to **File**, only ApsaraDB RDS for MySQL instances that use local disks and ApsaraDB RDS for SQL Server instances are supported, and a maximum of 1 million log entries are returned.
	Form         *string `json:"Form,omitempty" xml:"Form,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30** to **100**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The keyword that is used for the query.
	//
	// *   When you call this operation and set the **Form** parameter to **File** to generate an audit file, you cannot filter log entries by keyword.
	// *   You can specify up to 10 keywords. The keywords are evaluated by using the **AND** operator. Separate multiple keywords with spaces.
	// *   If a field name in the specified SQL statement is enclosed in backquotes (\`) and you want to use the field name as a keyword, you must enter the backquotes (\`) as part of the field name. For example, if the field name is \`id\`, enter \`id\` instead of id.
	//
	// >  After you enter a keyword, the system matches the keyword based on the **Database**, **User**, and **QueryKeywords** parameters. The parameters are evaluated by using the **OR** operator.
	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 unique ID of the SQL statement.
	SQLId *int64 `json:"SQLId,omitempty" xml:"SQLId,omitempty"`
	// The beginning of the time range to query. You can query data in the last 15 days before the current date. 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The username of the account. You can enter only one username. If you specify this parameter, this operation returns the logs that are generated only for the specified account. If you do not specify this parameter, this operation returns the logs that are generated for all accounts on the instance.
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (DescribeSQLLogRecordsRequest) GoString

func (s DescribeSQLLogRecordsRequest) GoString() string

func (*DescribeSQLLogRecordsRequest) SetClientToken

func (*DescribeSQLLogRecordsRequest) SetDBInstanceId

func (*DescribeSQLLogRecordsRequest) SetDatabase

func (*DescribeSQLLogRecordsRequest) SetEndTime

func (*DescribeSQLLogRecordsRequest) SetForm

func (*DescribeSQLLogRecordsRequest) SetOwnerAccount

func (*DescribeSQLLogRecordsRequest) SetOwnerId

func (*DescribeSQLLogRecordsRequest) SetPageNumber

func (*DescribeSQLLogRecordsRequest) SetPageSize

func (*DescribeSQLLogRecordsRequest) SetQueryKeywords

func (*DescribeSQLLogRecordsRequest) SetResourceOwnerAccount

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

func (*DescribeSQLLogRecordsRequest) SetResourceOwnerId

func (*DescribeSQLLogRecordsRequest) SetSQLId

func (*DescribeSQLLogRecordsRequest) SetStartTime

func (*DescribeSQLLogRecordsRequest) SetUser

func (DescribeSQLLogRecordsRequest) String

type DescribeSQLLogRecordsResponse

type DescribeSQLLogRecordsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSQLLogRecordsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSQLLogRecordsResponse) GoString

func (*DescribeSQLLogRecordsResponse) SetBody

func (*DescribeSQLLogRecordsResponse) SetHeaders

func (*DescribeSQLLogRecordsResponse) SetStatusCode

func (DescribeSQLLogRecordsResponse) String

type DescribeSQLLogRecordsResponseBody

type DescribeSQLLogRecordsResponseBody struct {
	// The details about each SQL audit log entry.
	Items *DescribeSQLLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of SQL audit log entries on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int64 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSQLLogRecordsResponseBody) GoString

func (*DescribeSQLLogRecordsResponseBody) SetPageNumber

func (*DescribeSQLLogRecordsResponseBody) SetPageRecordCount

func (*DescribeSQLLogRecordsResponseBody) SetRequestId

func (*DescribeSQLLogRecordsResponseBody) SetTotalRecordCount

func (DescribeSQLLogRecordsResponseBody) String

type DescribeSQLLogRecordsResponseBodyItems

type DescribeSQLLogRecordsResponseBodyItems struct {
	SQLRecord []*DescribeSQLLogRecordsResponseBodyItemsSQLRecord `json:"SQLRecord,omitempty" xml:"SQLRecord,omitempty" type:"Repeated"`
}

func (DescribeSQLLogRecordsResponseBodyItems) GoString

func (DescribeSQLLogRecordsResponseBodyItems) String

type DescribeSQLLogRecordsResponseBodyItemsSQLRecord

type DescribeSQLLogRecordsResponseBodyItemsSQLRecord struct {
	// The username of the account that is recorded in the SQL audit log entry.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The database name.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The time at which the SQL 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.
	ExecuteTime *string `json:"ExecuteTime,omitempty" xml:"ExecuteTime,omitempty"`
	// The IP address of the client that is connected to the instance.
	HostAddress *string `json:"HostAddress,omitempty" xml:"HostAddress,omitempty"`
	// The number of SQL audit log entries that are returned.
	ReturnRowCounts *int64 `json:"ReturnRowCounts,omitempty" xml:"ReturnRowCounts,omitempty"`
	// The SQL statement.
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
	// The thread ID.
	ThreadID *string `json:"ThreadID,omitempty" xml:"ThreadID,omitempty"`
	// The execution duration of the SQL statement. Unit: microseconds.
	TotalExecutionTimes *int64 `json:"TotalExecutionTimes,omitempty" xml:"TotalExecutionTimes,omitempty"`
}

func (DescribeSQLLogRecordsResponseBodyItemsSQLRecord) GoString

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetAccountName

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetDBName

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetExecuteTime

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetHostAddress

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetReturnRowCounts

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetSQLText

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetThreadID

func (*DescribeSQLLogRecordsResponseBodyItemsSQLRecord) SetTotalExecutionTimes

func (DescribeSQLLogRecordsResponseBodyItemsSQLRecord) String

type DescribeSQLLogReportListRequest

type DescribeSQLLogReportListRequest struct {
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the IDs of instances.
	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:ss*Z format. The time must be in UTC.
	//
	// >  The end time must be later than the start time.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any **non-zero** positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSQLLogReportListRequest) GoString

func (*DescribeSQLLogReportListRequest) SetDBInstanceId

func (*DescribeSQLLogReportListRequest) SetEndTime

func (*DescribeSQLLogReportListRequest) SetOwnerAccount

func (*DescribeSQLLogReportListRequest) SetOwnerId

func (*DescribeSQLLogReportListRequest) SetPageNumber

func (*DescribeSQLLogReportListRequest) SetPageSize

func (*DescribeSQLLogReportListRequest) SetResourceOwnerAccount

func (*DescribeSQLLogReportListRequest) SetResourceOwnerId

func (*DescribeSQLLogReportListRequest) SetStartTime

func (DescribeSQLLogReportListRequest) String

type DescribeSQLLogReportListResponse

type DescribeSQLLogReportListResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSQLLogReportListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSQLLogReportListResponse) GoString

func (*DescribeSQLLogReportListResponse) SetHeaders

func (*DescribeSQLLogReportListResponse) SetStatusCode

func (DescribeSQLLogReportListResponse) String

type DescribeSQLLogReportListResponseBody

type DescribeSQLLogReportListResponseBody struct {
	// An array that consists of SQL log reports.
	Items *DescribeSQLLogReportListResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of reports on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of records returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSQLLogReportListResponseBody) GoString

func (*DescribeSQLLogReportListResponseBody) SetPageNumber

func (*DescribeSQLLogReportListResponseBody) SetPageRecordCount

func (*DescribeSQLLogReportListResponseBody) SetRequestId

func (*DescribeSQLLogReportListResponseBody) SetTotalRecordCount

func (DescribeSQLLogReportListResponseBody) String

type DescribeSQLLogReportListResponseBodyItems

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

func (DescribeSQLLogReportListResponseBodyItems) GoString

func (DescribeSQLLogReportListResponseBodyItems) String

type DescribeSQLLogReportListResponseBodyItemsItem

type DescribeSQLLogReportListResponseBodyItemsItem struct {
	// An array that consists of SQL statements executed with the highest latency.
	LatencyTopNItems *DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItems `json:"LatencyTopNItems,omitempty" xml:"LatencyTopNItems,omitempty" type:"Struct"`
	// An array that consists of SQL statements executed the most frequently.
	QPSTopNItems *DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems `json:"QPSTopNItems,omitempty" xml:"QPSTopNItems,omitempty" type:"Struct"`
	// The time when the report was generated. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	ReportTime *string `json:"ReportTime,omitempty" xml:"ReportTime,omitempty"`
}

func (DescribeSQLLogReportListResponseBodyItemsItem) GoString

func (*DescribeSQLLogReportListResponseBodyItemsItem) SetReportTime

func (DescribeSQLLogReportListResponseBodyItemsItem) String

type DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItems

type DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItems struct {
	LatencyTopNItem []*DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem `json:"LatencyTopNItem,omitempty" xml:"LatencyTopNItem,omitempty" type:"Repeated"`
}

func (DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItems) GoString

func (DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItems) String

type DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem

type DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem struct {
	// The average time that is required to execute the SQL statement. Unit: milliseconds.
	AvgLatency *int64 `json:"AvgLatency,omitempty" xml:"AvgLatency,omitempty"`
	// The number of times that the SQL statement is executed.
	SQLExecuteTimes *int64 `json:"SQLExecuteTimes,omitempty" xml:"SQLExecuteTimes,omitempty"`
	// The SQL statement returned.
	//
	// >  Only the first 128 characters of the SQL statement are returned. In addition, only the SQL statements that take more than 100 ms to execute are returned.
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
}

func (DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem) GoString

func (*DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem) SetAvgLatency

func (*DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem) SetSQLExecuteTimes

func (*DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem) SetSQLText

func (DescribeSQLLogReportListResponseBodyItemsItemLatencyTopNItemsLatencyTopNItem) String

type DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems

type DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems struct {
	QPSTopNItem []*DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem `json:"QPSTopNItem,omitempty" xml:"QPSTopNItem,omitempty" type:"Repeated"`
}

func (DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems) GoString

func (DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems) String

type DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem

type DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem struct {
	// The number of times that the SQL statement is executed.
	SQLExecuteTimes *int64 `json:"SQLExecuteTimes,omitempty" xml:"SQLExecuteTimes,omitempty"`
	// The SQL statement returned.
	//
	// >  Only the first 128 characters of the SQL statement are returned. In addition, only the SQL statements that take more than 5 ms to execute are returned.
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
}

func (DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem) GoString

func (*DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem) SetSQLExecuteTimes

func (*DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem) SetSQLText

func (DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItemsQPSTopNItem) String

type DescribeSecretsRequest

type DescribeSecretsRequest struct {
	// The language of the text within the response. Valid values:
	//
	// *   **zh-CN**: Chinese
	// *   **en-US**: English
	//
	// > The default value is **en-US**.
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The database engine of the database.
	//
	// > Only MySQL is supported.
	Engine       *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer.
	//
	// > The default value is 1.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID. You can call the DescribeDBInstanceAttribute operation to query the region ID.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeSecretsRequest) GoString

func (s DescribeSecretsRequest) GoString() string

func (*DescribeSecretsRequest) SetAcceptLanguage

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

func (*DescribeSecretsRequest) SetClientToken

func (*DescribeSecretsRequest) SetDbInstanceId

func (s *DescribeSecretsRequest) SetDbInstanceId(v string) *DescribeSecretsRequest

func (*DescribeSecretsRequest) SetEngine

func (*DescribeSecretsRequest) SetOwnerAccount

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

func (*DescribeSecretsRequest) SetOwnerId

func (*DescribeSecretsRequest) SetPageNumber

func (*DescribeSecretsRequest) SetPageSize

func (*DescribeSecretsRequest) SetRegionId

func (*DescribeSecretsRequest) SetResourceOwnerAccount

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

func (*DescribeSecretsRequest) SetResourceOwnerId

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

func (DescribeSecretsRequest) String

func (s DescribeSecretsRequest) String() string

type DescribeSecretsResponse

type DescribeSecretsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSecretsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSecretsResponse) GoString

func (s DescribeSecretsResponse) GoString() string

func (*DescribeSecretsResponse) SetBody

func (*DescribeSecretsResponse) SetHeaders

func (*DescribeSecretsResponse) SetStatusCode

func (DescribeSecretsResponse) String

func (s DescribeSecretsResponse) String() string

type DescribeSecretsResponseBody

type DescribeSecretsResponseBody struct {
	// The page number.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The details of the credential.
	Secrets []*DescribeSecretsResponseBodySecrets `json:"Secrets,omitempty" xml:"Secrets,omitempty" type:"Repeated"`
}

func (DescribeSecretsResponseBody) GoString

func (s DescribeSecretsResponseBody) GoString() string

func (*DescribeSecretsResponseBody) SetPageNumber

func (*DescribeSecretsResponseBody) SetPageSize

func (*DescribeSecretsResponseBody) SetRequestId

func (*DescribeSecretsResponseBody) SetSecrets

func (DescribeSecretsResponseBody) String

type DescribeSecretsResponseBodySecrets

type DescribeSecretsResponseBodySecrets struct {
	// The ID of the Alibaba Cloud account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The description of the credential.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the credential for the created Data API account.
	SecretArn *string `json:"SecretArn,omitempty" xml:"SecretArn,omitempty"`
	// The name of the credential.
	SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"`
	// The username that is used to access the database.
	Username *string `json:"Username,omitempty" xml:"Username,omitempty"`
}

func (DescribeSecretsResponseBodySecrets) GoString

func (*DescribeSecretsResponseBodySecrets) SetAccountId

func (*DescribeSecretsResponseBodySecrets) SetDescription

func (*DescribeSecretsResponseBodySecrets) SetRegionId

func (*DescribeSecretsResponseBodySecrets) SetSecretArn

func (*DescribeSecretsResponseBodySecrets) SetSecretName

func (*DescribeSecretsResponseBodySecrets) SetUsername

func (DescribeSecretsResponseBodySecrets) String

type DescribeSecurityGroupConfigurationRequest

type DescribeSecurityGroupConfigurationRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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) 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" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSecurityGroupConfigurationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSecurityGroupConfigurationResponse) GoString

func (*DescribeSecurityGroupConfigurationResponse) SetHeaders

func (*DescribeSecurityGroupConfigurationResponse) SetStatusCode

func (DescribeSecurityGroupConfigurationResponse) String

type DescribeSecurityGroupConfigurationResponseBody

type DescribeSecurityGroupConfigurationResponseBody struct {
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The information about the ECS security group.
	Items *DescribeSecurityGroupConfigurationResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponseBody) GoString

func (*DescribeSecurityGroupConfigurationResponseBody) SetDBInstanceName

func (*DescribeSecurityGroupConfigurationResponseBody) SetRequestId

func (DescribeSecurityGroupConfigurationResponseBody) String

type DescribeSecurityGroupConfigurationResponseBodyItems

type DescribeSecurityGroupConfigurationResponseBodyItems struct {
	EcsSecurityGroupRelation []*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation `json:"EcsSecurityGroupRelation,omitempty" xml:"EcsSecurityGroupRelation,omitempty" type:"Repeated"`
}

func (DescribeSecurityGroupConfigurationResponseBodyItems) GoString

func (DescribeSecurityGroupConfigurationResponseBodyItems) String

type DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation

type DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation struct {
	// The network type of the ECS security group. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the ECS security group.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// The security group name.
	SecurityGroupName *string `json:"SecurityGroupName,omitempty" xml:"SecurityGroupName,omitempty"`
}

func (DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) GoString

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetNetworkType

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetRegionId

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetSecurityGroupId

func (*DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetSecurityGroupName added in v3.0.4

func (DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) String

type DescribeSlotsRequest added in v3.0.5

type DescribeSlotsRequest 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 token is unique among different requests. The token can contain only ASCII characters.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can leave this parameter empty.
	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 (DescribeSlotsRequest) GoString added in v3.0.5

func (s DescribeSlotsRequest) GoString() string

func (*DescribeSlotsRequest) SetClientToken added in v3.0.5

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

func (*DescribeSlotsRequest) SetDBInstanceId added in v3.0.5

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

func (*DescribeSlotsRequest) SetOwnerAccount added in v3.0.5

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

func (*DescribeSlotsRequest) SetOwnerId added in v3.0.5

func (*DescribeSlotsRequest) SetResourceGroupId added in v3.0.5

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

func (*DescribeSlotsRequest) SetResourceOwnerAccount added in v3.0.5

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

func (*DescribeSlotsRequest) SetResourceOwnerId added in v3.0.5

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

func (DescribeSlotsRequest) String added in v3.0.5

func (s DescribeSlotsRequest) String() string

type DescribeSlotsResponse added in v3.0.5

type DescribeSlotsResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSlotsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSlotsResponse) GoString added in v3.0.5

func (s DescribeSlotsResponse) GoString() string

func (*DescribeSlotsResponse) SetBody added in v3.0.5

func (*DescribeSlotsResponse) SetHeaders added in v3.0.5

func (*DescribeSlotsResponse) SetStatusCode added in v3.0.5

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

func (DescribeSlotsResponse) String added in v3.0.5

func (s DescribeSlotsResponse) String() string

type DescribeSlotsResponseBody added in v3.0.5

type DescribeSlotsResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the replication slot.
	Slots []*DescribeSlotsResponseBodySlots `json:"Slots,omitempty" xml:"Slots,omitempty" type:"Repeated"`
}

func (DescribeSlotsResponseBody) GoString added in v3.0.5

func (s DescribeSlotsResponseBody) GoString() string

func (*DescribeSlotsResponseBody) SetRequestId added in v3.0.5

func (*DescribeSlotsResponseBody) SetSlots added in v3.0.5

func (DescribeSlotsResponseBody) String added in v3.0.5

func (s DescribeSlotsResponseBody) String() string

type DescribeSlotsResponseBodySlots added in v3.0.5

type DescribeSlotsResponseBodySlots struct {
	// The name of the database in which the replication slot resides.
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The extension used by the replication slot.
	Plugin *string `json:"Plugin,omitempty" xml:"Plugin,omitempty"`
	// The replication slot name.
	SlotName *string `json:"SlotName,omitempty" xml:"SlotName,omitempty"`
	// The replication slot status. Valid values:
	//
	// *   ACTIVE
	// *   INACTIVE
	SlotStatus *string `json:"SlotStatus,omitempty" xml:"SlotStatus,omitempty"`
	// The replication slot type. Valid values:
	//
	// *   physical
	// *   logical
	SlotType *string `json:"SlotType,omitempty" xml:"SlotType,omitempty"`
	// The latency of the logical subscription on the subscriber node that corresponds to the current replication slot. Unit: seconds.
	SubReplayLag *string `json:"SubReplayLag,omitempty" xml:"SubReplayLag,omitempty"`
	// Indicates whether the replication slot is a temporary replication slot. Valid values:
	//
	// *   true
	// *   false
	Temporary *string `json:"Temporary,omitempty" xml:"Temporary,omitempty"`
	// The number of logs accumulated in the replication slot.
	WalDelay *string `json:"WalDelay,omitempty" xml:"WalDelay,omitempty"`
}

func (DescribeSlotsResponseBodySlots) GoString added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetDatabase added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetPlugin added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetSlotName added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetSlotStatus added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetSlotType added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetSubReplayLag added in v3.1.0

func (*DescribeSlotsResponseBodySlots) SetTemporary added in v3.0.5

func (*DescribeSlotsResponseBodySlots) SetWalDelay added in v3.0.5

func (DescribeSlotsResponseBodySlots) String added in v3.0.5

type DescribeSlowLogRecordsRequest

type DescribeSlowLogRecordsRequest struct {
	// The ID of the instance. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	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-ddTHH:mm:ssZ* format. The time must be in UTC.**
	//
	// > The end time must be later than the start time.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the node.
	//
	// > This parameter is available only for instances that run RDS Cluster Edition. You can specify this parameter to query the logs of a specified node. If this parameter is not specified, the logs of the primary node are returned by default.
	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 page number. Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid value: **30 to 200**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The unique ID of the SQL statement. The ID is used to obtain the slow query logs of the SQL statement.
	SQLHASH *string `json:"SQLHASH,omitempty" xml:"SQLHASH,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.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSlowLogRecordsRequest) GoString

func (*DescribeSlowLogRecordsRequest) SetDBInstanceId

func (*DescribeSlowLogRecordsRequest) SetDBName

func (*DescribeSlowLogRecordsRequest) SetEndTime

func (*DescribeSlowLogRecordsRequest) SetNodeId added in v3.0.5

func (*DescribeSlowLogRecordsRequest) SetOwnerAccount

func (*DescribeSlowLogRecordsRequest) SetOwnerId

func (*DescribeSlowLogRecordsRequest) SetPageNumber

func (*DescribeSlowLogRecordsRequest) SetPageSize

func (*DescribeSlowLogRecordsRequest) SetResourceOwnerAccount

func (*DescribeSlowLogRecordsRequest) SetResourceOwnerId

func (*DescribeSlowLogRecordsRequest) SetSQLHASH

func (*DescribeSlowLogRecordsRequest) SetStartTime

func (DescribeSlowLogRecordsRequest) String

type DescribeSlowLogRecordsResponse

type DescribeSlowLogRecordsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSlowLogRecordsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSlowLogRecordsResponse) GoString

func (*DescribeSlowLogRecordsResponse) SetHeaders

func (*DescribeSlowLogRecordsResponse) SetStatusCode

func (DescribeSlowLogRecordsResponse) String

type DescribeSlowLogRecordsResponseBody

type DescribeSlowLogRecordsResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of the database engine.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// An array that consists of the information about each slow log.
	Items *DescribeSlowLogRecordsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of SQL log reports on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSlowLogRecordsResponseBody) GoString

func (*DescribeSlowLogRecordsResponseBody) SetDBInstanceId

func (*DescribeSlowLogRecordsResponseBody) SetEngine

func (*DescribeSlowLogRecordsResponseBody) SetPageNumber

func (*DescribeSlowLogRecordsResponseBody) SetPageRecordCount

func (*DescribeSlowLogRecordsResponseBody) SetRequestId

func (*DescribeSlowLogRecordsResponseBody) SetTotalRecordCount

func (DescribeSlowLogRecordsResponseBody) String

type DescribeSlowLogRecordsResponseBodyItems

type DescribeSlowLogRecordsResponseBodyItems struct {
	SQLSlowRecord []*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord `json:"SQLSlowRecord,omitempty" xml:"SQLSlowRecord,omitempty" type:"Repeated"`
}

func (DescribeSlowLogRecordsResponseBodyItems) GoString

func (DescribeSlowLogRecordsResponseBodyItems) String

type DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord

type DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord struct {
	// The name of the application that is connected to the instance.
	//
	// > This parameter is returned only for instances that run SQL Server.
	ApplicationName *string `json:"ApplicationName,omitempty" xml:"ApplicationName,omitempty"`
	// The hostname of the client.
	//
	// > This parameter is returned only for instances that run SQL Server.
	ClientHostName *string `json:"ClientHostName,omitempty" xml:"ClientHostName,omitempty"`
	// The duration during which the SQL statement is processed by the CPU. Unit: milliseconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	CpuTime *int64 `json:"CpuTime,omitempty" xml:"CpuTime,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The time when the execution of the SQL statement started. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitempty" xml:"ExecutionStartTime,omitempty"`
	// The name and IP address of the client that is connected to the database.
	HostAddress *string `json:"HostAddress,omitempty" xml:"HostAddress,omitempty"`
	// The number of rows that are affected by the last SQL statement.
	//
	// > This parameter is returned only for instances that run SQL Server.
	LastRowsAffectedCount *int64 `json:"LastRowsAffectedCount,omitempty" xml:"LastRowsAffectedCount,omitempty"`
	// The lock duration of the query. Unit: seconds.
	LockTimes *int64 `json:"LockTimes,omitempty" xml:"LockTimes,omitempty"`
	// The number of logical reads.
	//
	// > This parameter is returned only for instances that run SQL Server.
	LogicalIORead *int64 `json:"LogicalIORead,omitempty" xml:"LogicalIORead,omitempty"`
	// The number of parsed rows.
	ParseRowCounts *int64 `json:"ParseRowCounts,omitempty" xml:"ParseRowCounts,omitempty"`
	// The number of physical reads.
	//
	// > This parameter is returned only for instances that run SQL Server.
	PhysicalIORead *int64 `json:"PhysicalIORead,omitempty" xml:"PhysicalIORead,omitempty"`
	// The execution duration of the query. Unit: milliseconds.
	QueryTimeMS *int64 `json:"QueryTimeMS,omitempty" xml:"QueryTimeMS,omitempty"`
	// The execution duration of the query. Unit: seconds.
	QueryTimes *int64 `json:"QueryTimes,omitempty" xml:"QueryTimes,omitempty"`
	// The number of rows returned.
	ReturnRowCounts *int64 `json:"ReturnRowCounts,omitempty" xml:"ReturnRowCounts,omitempty"`
	// The number of affected rows.
	//
	// > This parameter is returned only for instances that run SQL Server.
	RowsAffectedCount *int64 `json:"RowsAffectedCount,omitempty" xml:"RowsAffectedCount,omitempty"`
	// The unique ID of the SQL statement.
	SQLHash *string `json:"SQLHash,omitempty" xml:"SQLHash,omitempty"`
	// The details of the SQL statement.
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
	// The name of the user.
	//
	// > This parameter is returned only for instances that run SQL Server.
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
	// The number of I/O writes.
	//
	// > This parameter is returned only for instances that run SQL Server.
	WriteIOCount *int64 `json:"WriteIOCount,omitempty" xml:"WriteIOCount,omitempty"`
}

func (DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) GoString

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetApplicationName

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetClientHostName

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetCpuTime

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetDBName

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetExecutionStartTime

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetHostAddress

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetLastRowsAffectedCount

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetLockTimes

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetLogicalIORead

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetParseRowCounts

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetPhysicalIORead

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetQueryTimeMS

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetQueryTimes

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetReturnRowCounts

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetRowsAffectedCount

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetSQLHash

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetSQLText

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetUserName

func (*DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) SetWriteIOCount

func (DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord) String

type DescribeSlowLogsRequest

type DescribeSlowLogsRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The end of the time range to query. The end time must be later than the start time. The time span between the start time and the end time cannot exceed 31 days. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*Z format. The time must be in UTC.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Valid values: any non-zero positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30** to **100**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The dimension based on which the system sorts the entries to return. Valid values:
	//
	// *   **TotalExecutionCounts**: The system sorts the entries to return based on the number of times that SQL statements are executed.
	// *   **TotalQueryTimes**: The system sorts the entries to return based on the total execution duration.
	// *   **TotalLogicalReads**: The system sorts the entries to return based on the total number of logical reads.
	// *   **TotalPhysicalReads**: The system sorts the entries to return based on the total number of physical reads.
	//
	// > This parameter is supported only for instances that run SQL Server 2008 R2.
	SortKey *string `json:"SortKey,omitempty" xml:"SortKey,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSlowLogsRequest) GoString

func (s DescribeSlowLogsRequest) GoString() string

func (*DescribeSlowLogsRequest) SetDBInstanceId

func (*DescribeSlowLogsRequest) SetDBName

func (*DescribeSlowLogsRequest) SetEndTime

func (*DescribeSlowLogsRequest) SetOwnerAccount

func (*DescribeSlowLogsRequest) SetOwnerId

func (*DescribeSlowLogsRequest) SetPageNumber

func (*DescribeSlowLogsRequest) SetPageSize

func (*DescribeSlowLogsRequest) SetResourceOwnerAccount

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

func (*DescribeSlowLogsRequest) SetResourceOwnerId

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

func (*DescribeSlowLogsRequest) SetSortKey

func (*DescribeSlowLogsRequest) SetStartTime

func (DescribeSlowLogsRequest) String

func (s DescribeSlowLogsRequest) String() string

type DescribeSlowLogsResponse

type DescribeSlowLogsResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSlowLogsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSlowLogsResponse) GoString

func (s DescribeSlowLogsResponse) GoString() string

func (*DescribeSlowLogsResponse) SetBody

func (*DescribeSlowLogsResponse) SetHeaders

func (*DescribeSlowLogsResponse) SetStatusCode

func (DescribeSlowLogsResponse) String

func (s DescribeSlowLogsResponse) String() string

type DescribeSlowLogsResponseBody

type DescribeSlowLogsResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The end date of the query.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// An array that consists of the information about each slow query log.
	Items *DescribeSlowLogsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The number of the page returned.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of SQL statements that are returned on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The start date of the query.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The total number of entries that are returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeSlowLogsResponseBody) GoString

func (s DescribeSlowLogsResponseBody) GoString() string

func (*DescribeSlowLogsResponseBody) SetDBInstanceId

func (*DescribeSlowLogsResponseBody) SetEndTime

func (*DescribeSlowLogsResponseBody) SetEngine

func (*DescribeSlowLogsResponseBody) SetItems

func (*DescribeSlowLogsResponseBody) SetPageNumber

func (*DescribeSlowLogsResponseBody) SetPageRecordCount

func (*DescribeSlowLogsResponseBody) SetRequestId

func (*DescribeSlowLogsResponseBody) SetStartTime

func (*DescribeSlowLogsResponseBody) SetTotalRecordCount

func (DescribeSlowLogsResponseBody) String

type DescribeSlowLogsResponseBodyItems

type DescribeSlowLogsResponseBodyItems struct {
	SQLSlowLog []*DescribeSlowLogsResponseBodyItemsSQLSlowLog `json:"SQLSlowLog,omitempty" xml:"SQLSlowLog,omitempty" type:"Repeated"`
}

func (DescribeSlowLogsResponseBodyItems) GoString

func (DescribeSlowLogsResponseBodyItems) String

type DescribeSlowLogsResponseBodyItemsSQLSlowLog

type DescribeSlowLogsResponseBodyItemsSQLSlowLog struct {
	// The average execution duration per SQL statement in the query. Unit: seconds.
	//
	// **
	//
	// ****
	AvgExecutionTime *int64 `json:"AvgExecutionTime,omitempty" xml:"AvgExecutionTime,omitempty"`
	// The average number of I/O writes per SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	AvgIOWriteCounts *int64 `json:"AvgIOWriteCounts,omitempty" xml:"AvgIOWriteCounts,omitempty"`
	// The average number of rows that were affected by the last SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	AvgLastRowsAffectedCounts *int64 `json:"AvgLastRowsAffectedCounts,omitempty" xml:"AvgLastRowsAffectedCounts,omitempty"`
	// The average number of logical reads per SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	AvgLogicalReadCounts *int64 `json:"AvgLogicalReadCounts,omitempty" xml:"AvgLogicalReadCounts,omitempty"`
	// The average number of physical reads per SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	AvgPhysicalReadCounts *int64 `json:"AvgPhysicalReadCounts,omitempty" xml:"AvgPhysicalReadCounts,omitempty"`
	// The average number of rows that were affected per SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	AvgRowsAffectedCounts *int64 `json:"AvgRowsAffectedCounts,omitempty" xml:"AvgRowsAffectedCounts,omitempty"`
	// The date when the data was generated.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The name of the database.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The longest execution duration of a specific SQL statement in the query. Unit: seconds.
	MaxExecutionTime *int64 `json:"MaxExecutionTime,omitempty" xml:"MaxExecutionTime,omitempty"`
	// The longest execution duration of a specific SQL statement in the query. Unit: milliseconds.
	MaxExecutionTimeMS *int64 `json:"MaxExecutionTimeMS,omitempty" xml:"MaxExecutionTimeMS,omitempty"`
	// The largest number of I/O writes that were performed by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MaxIOWriteCounts *int64 `json:"MaxIOWriteCounts,omitempty" xml:"MaxIOWriteCounts,omitempty"`
	// The largest number of rows that were affected by the last SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MaxLastRowsAffectedCounts *int64 `json:"MaxLastRowsAffectedCounts,omitempty" xml:"MaxLastRowsAffectedCounts,omitempty"`
	// The longest lock duration that was caused by a specific SQL statement in the query. Unit: seconds.
	MaxLockTime *int64 `json:"MaxLockTime,omitempty" xml:"MaxLockTime,omitempty"`
	// The longest lock duration that was caused by a specific SQL statement in the query. Unit: milliseconds.
	MaxLockTimeMS *int64 `json:"MaxLockTimeMS,omitempty" xml:"MaxLockTimeMS,omitempty"`
	// The largest number of logical reads that were performed by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MaxLogicalReadCounts *int64 `json:"MaxLogicalReadCounts,omitempty" xml:"MaxLogicalReadCounts,omitempty"`
	// The largest number of physical reads that were performed by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MaxPhysicalReadCounts *int64 `json:"MaxPhysicalReadCounts,omitempty" xml:"MaxPhysicalReadCounts,omitempty"`
	// The largest number of rows that were affected by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MaxRowsAffectedCounts *int64 `json:"MaxRowsAffectedCounts,omitempty" xml:"MaxRowsAffectedCounts,omitempty"`
	// The smallest number of I/O writes that were performed by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MinIOWriteCounts *int64 `json:"MinIOWriteCounts,omitempty" xml:"MinIOWriteCounts,omitempty"`
	// The smallest number of rows that were affected by the last SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MinLastRowsAffectedCounts *int64 `json:"MinLastRowsAffectedCounts,omitempty" xml:"MinLastRowsAffectedCounts,omitempty"`
	// The smallest number of logical reads that were performed by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MinLogicalReadCounts *int64 `json:"MinLogicalReadCounts,omitempty" xml:"MinLogicalReadCounts,omitempty"`
	// The smallest number of physical reads that were performed by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MinPhysicalReadCounts *int64 `json:"MinPhysicalReadCounts,omitempty" xml:"MinPhysicalReadCounts,omitempty"`
	// The smallest number of rows that were affected by a specific SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	MinRowsAffectedCounts *int64 `json:"MinRowsAffectedCounts,omitempty" xml:"MinRowsAffectedCounts,omitempty"`
	// The total number of SQL statements that were executed in the query. This parameter is returned only for instances that run MySQL.
	MySQLTotalExecutionCounts *int64 `json:"MySQLTotalExecutionCounts,omitempty" xml:"MySQLTotalExecutionCounts,omitempty"`
	// The total execution duration of all SQL statements in the query. Unit: seconds. This parameter is returned only for instances that run MySQL.
	MySQLTotalExecutionTimes *int64 `json:"MySQLTotalExecutionTimes,omitempty" xml:"MySQLTotalExecutionTimes,omitempty"`
	// The largest number of rows that were parsed by a specific SQL statement in the query.
	ParseMaxRowCount *int64 `json:"ParseMaxRowCount,omitempty" xml:"ParseMaxRowCount,omitempty"`
	// The total number of rows that were parsed by all SQL statements in the query.
	ParseTotalRowCounts *int64 `json:"ParseTotalRowCounts,omitempty" xml:"ParseTotalRowCounts,omitempty"`
	// The date on which the data report was generated.
	ReportTime *string `json:"ReportTime,omitempty" xml:"ReportTime,omitempty"`
	// The largest number of rows that were returned by a specific SQL statement in the query.
	ReturnMaxRowCount *int64 `json:"ReturnMaxRowCount,omitempty" xml:"ReturnMaxRowCount,omitempty"`
	// The total number of rows that were returned by all SQL statements in the query.
	ReturnTotalRowCounts *int64 `json:"ReturnTotalRowCounts,omitempty" xml:"ReturnTotalRowCounts,omitempty"`
	// The unique ID of the SQL statement. The ID is used to obtain the slow query logs of the SQL statement.
	SQLHASH *string `json:"SQLHASH,omitempty" xml:"SQLHASH,omitempty"`
	// The ID of the SQL statement in the statistical template of slow query logs. This parameter is replaced by the **SQLHASH** parameter.
	SQLIdStr *string `json:"SQLIdStr,omitempty" xml:"SQLIdStr,omitempty"`
	// The average amount of CPU time per SQL statement in the query. Unit: seconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	SQLServerAvgCpuTime *int64 `json:"SQLServerAvgCpuTime,omitempty" xml:"SQLServerAvgCpuTime,omitempty"`
	// The average execution duration per SQL statement in the query. Unit: seconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	SQLServerAvgExecutionTime *int64 `json:"SQLServerAvgExecutionTime,omitempty" xml:"SQLServerAvgExecutionTime,omitempty"`
	// The largest amount of CPU time that was used by a specific SQL statement in the query. Unit: seconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	SQLServerMaxCpuTime *int64 `json:"SQLServerMaxCpuTime,omitempty" xml:"SQLServerMaxCpuTime,omitempty"`
	// The smallest amount of CPU time that was used by a specific SQL statement. Unit: seconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	SQLServerMinCpuTime *int64 `json:"SQLServerMinCpuTime,omitempty" xml:"SQLServerMinCpuTime,omitempty"`
	// The smallest execution duration of a specific SQL statement in the query. Unit: seconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	SQLServerMinExecutionTime *int64 `json:"SQLServerMinExecutionTime,omitempty" xml:"SQLServerMinExecutionTime,omitempty"`
	// The total amount of CPU time that was used by all SQL statements in the query. Unit: seconds.
	//
	// > This parameter is returned only for instances that run SQL Server.
	SQLServerTotalCpuTime *int64 `json:"SQLServerTotalCpuTime,omitempty" xml:"SQLServerTotalCpuTime,omitempty"`
	// The total number of SQL statements that were executed in the query. This parameter is returned only for instances that run SQL Server.
	SQLServerTotalExecutionCounts *int64 `json:"SQLServerTotalExecutionCounts,omitempty" xml:"SQLServerTotalExecutionCounts,omitempty"`
	// The total execution duration of all SQL statements in the query. This parameter is returned only for instances that run SQL Server. Unit: milliseconds.
	SQLServerTotalExecutionTimes *int64 `json:"SQLServerTotalExecutionTimes,omitempty" xml:"SQLServerTotalExecutionTimes,omitempty"`
	// The SQL statement that was executed in the query.
	SQLText *string `json:"SQLText,omitempty" xml:"SQLText,omitempty"`
	// The ID of the slow query log summary.
	SlowLogId *int64 `json:"SlowLogId,omitempty" xml:"SlowLogId,omitempty"`
	// The total number of I/O writes that were performed by all SQL statements in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	TotalIOWriteCounts *int64 `json:"TotalIOWriteCounts,omitempty" xml:"TotalIOWriteCounts,omitempty"`
	// The total number of rows that were affected by the last SQL statement in the query.
	//
	// > This parameter is returned only for instances that run SQL Server.
	TotalLastRowsAffectedCounts *int64 `json:"TotalLastRowsAffectedCounts,omitempty" xml:"TotalLastRowsAffectedCounts,omitempty"`
	// The total lock duration that was caused by all SQL statements in the query. Unit: seconds.
	TotalLockTimes *int64 `json:"TotalLockTimes,omitempty" xml:"TotalLockTimes,omitempty"`
	// The total number of logical reads that were performed by all SQL statements in the query.
	TotalLogicalReadCounts *int64 `json:"TotalLogicalReadCounts,omitempty" xml:"TotalLogicalReadCounts,omitempty"`
	// The total number of physical reads that were performed by all SQL statements in the query .
	TotalPhysicalReadCounts *int64 `json:"TotalPhysicalReadCounts,omitempty" xml:"TotalPhysicalReadCounts,omitempty"`
	// The total number of rows that were affected by all SQL statements in the query.
	TotalRowsAffectedCounts *int64 `json:"TotalRowsAffectedCounts,omitempty" xml:"TotalRowsAffectedCounts,omitempty"`
}

func (DescribeSlowLogsResponseBodyItemsSQLSlowLog) GoString

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetAvgExecutionTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetAvgIOWriteCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetAvgLastRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetAvgLogicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetAvgPhysicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetAvgRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetCreateTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetDBName

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxExecutionTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxExecutionTimeMS added in v3.0.5

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxIOWriteCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxLastRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxLockTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxLockTimeMS added in v3.0.5

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxLogicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxPhysicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMaxRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMinIOWriteCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMinLastRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMinLogicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMinPhysicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMinRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMySQLTotalExecutionCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetMySQLTotalExecutionTimes

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetParseMaxRowCount

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetParseTotalRowCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetReportTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetReturnMaxRowCount

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetReturnTotalRowCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLHASH

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLIdStr

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerAvgCpuTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerAvgExecutionTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerMaxCpuTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerMinCpuTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerMinExecutionTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerTotalCpuTime

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerTotalExecutionCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLServerTotalExecutionTimes

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSQLText

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetSlowLogId

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetTotalIOWriteCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetTotalLastRowsAffectedCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetTotalLockTimes

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetTotalLogicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetTotalPhysicalReadCounts

func (*DescribeSlowLogsResponseBodyItemsSQLSlowLog) SetTotalRowsAffectedCounts

func (DescribeSlowLogsResponseBodyItemsSQLSlowLog) String

type DescribeSupportOnlineResizeDiskRequest added in v3.0.4

type DescribeSupportOnlineResizeDiskRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
}

func (DescribeSupportOnlineResizeDiskRequest) GoString added in v3.0.4

func (*DescribeSupportOnlineResizeDiskRequest) SetDBInstanceId added in v3.0.4

func (*DescribeSupportOnlineResizeDiskRequest) SetOwnerAccount added in v3.0.4

func (DescribeSupportOnlineResizeDiskRequest) String added in v3.0.4

type DescribeSupportOnlineResizeDiskResponse added in v3.0.4

type DescribeSupportOnlineResizeDiskResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeSupportOnlineResizeDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeSupportOnlineResizeDiskResponse) GoString added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponse) SetBody added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponse) SetHeaders added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponse) SetStatusCode added in v3.0.4

func (DescribeSupportOnlineResizeDiskResponse) String added in v3.0.4

type DescribeSupportOnlineResizeDiskResponseBody added in v3.0.4

type DescribeSupportOnlineResizeDiskResponseBody struct {
	// The response code returned.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The response result set.
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// The response code.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribeSupportOnlineResizeDiskResponseBody) GoString added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponseBody) SetCode added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponseBody) SetData added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponseBody) SetMessage added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponseBody) SetRequestId added in v3.0.4

func (*DescribeSupportOnlineResizeDiskResponseBody) SetSuccess added in v3.0.4

func (DescribeSupportOnlineResizeDiskResponseBody) String added in v3.0.4

type DescribeTagsRequest

type DescribeTagsRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	//
	// >  If you specify this parameter, all tags that are added to this instance are queried, and other filter conditions becomes invalid.
	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. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The type of resource. Set the value to INSTANCE.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag that you want to query. The value of the parameter consists of TagKey and TagValue. Format: `{"TagKey":"TagValue"}`.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// The ID of the proxy mode.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (DescribeTagsRequest) GoString

func (s DescribeTagsRequest) GoString() string

func (*DescribeTagsRequest) SetClientToken

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

func (*DescribeTagsRequest) SetDBInstanceId

func (s *DescribeTagsRequest) SetDBInstanceId(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) SetProxyId

func (*DescribeTagsRequest) SetRegionId

func (s *DescribeTagsRequest) SetRegionId(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) SetTags

func (DescribeTagsRequest) String

func (s DescribeTagsRequest) String() string

type DescribeTagsResponse

type DescribeTagsResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeTagsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 tags that are added to the instance.
	Items *DescribeTagsResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeTagsResponseBody) GoString

func (s DescribeTagsResponseBody) GoString() string

func (*DescribeTagsResponseBody) SetItems

func (*DescribeTagsResponseBody) SetRequestId

func (DescribeTagsResponseBody) String

func (s DescribeTagsResponseBody) String() string

type DescribeTagsResponseBodyItems

type DescribeTagsResponseBodyItems struct {
	TagInfos []*DescribeTagsResponseBodyItemsTagInfos `json:"TagInfos,omitempty" xml:"TagInfos,omitempty" type:"Repeated"`
}

func (DescribeTagsResponseBodyItems) GoString

func (*DescribeTagsResponseBodyItems) SetTagInfos

func (DescribeTagsResponseBodyItems) String

type DescribeTagsResponseBodyItemsTagInfos

type DescribeTagsResponseBodyItemsTagInfos struct {
	// The IDs of the instances to which the tag is added.
	DBInstanceIds *DescribeTagsResponseBodyItemsTagInfosDBInstanceIds `json:"DBInstanceIds,omitempty" xml:"DBInstanceIds,omitempty" type:"Struct"`
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeTagsResponseBodyItemsTagInfos) GoString

func (*DescribeTagsResponseBodyItemsTagInfos) SetTagKey

func (*DescribeTagsResponseBodyItemsTagInfos) SetTagValue

func (DescribeTagsResponseBodyItemsTagInfos) String

type DescribeTagsResponseBodyItemsTagInfosDBInstanceIds

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

func (DescribeTagsResponseBodyItemsTagInfosDBInstanceIds) GoString

func (*DescribeTagsResponseBodyItemsTagInfosDBInstanceIds) SetDBInstanceIds

func (DescribeTagsResponseBodyItemsTagInfosDBInstanceIds) String

type DescribeTasksRequest

type DescribeTasksRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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*Z format. The time must be in UTC.
	EndTime      *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Valid values: any non-zero positive integer. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **30 to 100**. Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The status of the task. This parameter is invalid.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The operation that is used by the task.
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
}

func (DescribeTasksRequest) GoString

func (s DescribeTasksRequest) GoString() string

func (*DescribeTasksRequest) SetDBInstanceId

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

func (*DescribeTasksRequest) SetEndTime

func (*DescribeTasksRequest) SetOwnerAccount

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

func (*DescribeTasksRequest) SetOwnerId

func (*DescribeTasksRequest) SetPageNumber

func (s *DescribeTasksRequest) SetPageNumber(v int32) *DescribeTasksRequest

func (*DescribeTasksRequest) SetPageSize

func (s *DescribeTasksRequest) SetPageSize(v int32) *DescribeTasksRequest

func (*DescribeTasksRequest) SetResourceOwnerAccount

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

func (*DescribeTasksRequest) SetResourceOwnerId

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

func (*DescribeTasksRequest) SetStartTime

func (s *DescribeTasksRequest) SetStartTime(v string) *DescribeTasksRequest

func (*DescribeTasksRequest) SetStatus

func (*DescribeTasksRequest) SetTaskAction

func (s *DescribeTasksRequest) SetTaskAction(v string) *DescribeTasksRequest

func (DescribeTasksRequest) String

func (s DescribeTasksRequest) String() string

type DescribeTasksResponse

type DescribeTasksResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeTasksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeTasksResponse) GoString

func (s DescribeTasksResponse) GoString() string

func (*DescribeTasksResponse) SetBody

func (*DescribeTasksResponse) SetHeaders

func (*DescribeTasksResponse) SetStatusCode

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

func (DescribeTasksResponse) String

func (s DescribeTasksResponse) String() string

type DescribeTasksResponseBody

type DescribeTasksResponseBody struct {
	// The details of the task execution.
	Items *DescribeTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries on the current page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeTasksResponseBody) GoString

func (s DescribeTasksResponseBody) GoString() string

func (*DescribeTasksResponseBody) SetItems

func (*DescribeTasksResponseBody) SetPageNumber

func (*DescribeTasksResponseBody) SetPageRecordCount

func (s *DescribeTasksResponseBody) SetPageRecordCount(v int32) *DescribeTasksResponseBody

func (*DescribeTasksResponseBody) SetRequestId

func (*DescribeTasksResponseBody) SetTotalRecordCount

func (s *DescribeTasksResponseBody) SetTotalRecordCount(v int32) *DescribeTasksResponseBody

func (DescribeTasksResponseBody) String

func (s DescribeTasksResponseBody) String() string

type DescribeTasksResponseBodyItems

type DescribeTasksResponseBodyItems struct {
	TaskProgressInfo []*DescribeTasksResponseBodyItemsTaskProgressInfo `json:"TaskProgressInfo,omitempty" xml:"TaskProgressInfo,omitempty" type:"Repeated"`
}

func (DescribeTasksResponseBodyItems) GoString

func (DescribeTasksResponseBodyItems) String

type DescribeTasksResponseBodyItemsTaskProgressInfo

type DescribeTasksResponseBodyItemsTaskProgressInfo struct {
	// The start time of the task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC .
	BeginTime *string `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The name of the subtask.
	CurrentStepName *string `json:"CurrentStepName,omitempty" xml:"CurrentStepName,omitempty"`
	// The name of the database. If the task involves a database, the database name is returned.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The estimated end time of the task.
	//
	// > In most cases, this parameter is empty.
	ExpectedFinishTime *string `json:"ExpectedFinishTime,omitempty" xml:"ExpectedFinishTime,omitempty"`
	// The end time of the task. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time is displayed in UTC.
	FinishTime *string `json:"FinishTime,omitempty" xml:"FinishTime,omitempty"`
	// The progress of the task in percentage.
	Progress *string `json:"Progress,omitempty" xml:"Progress,omitempty"`
	// The description of the task progress.
	//
	// > If no progress description is provided for the task, this parameter is empty.
	ProgressInfo *string `json:"ProgressInfo,omitempty" xml:"ProgressInfo,omitempty"`
	// The estimated remaining time of the task. Unit: seconds.
	//
	// >  If the task is not running, this parameter is not returned or the returned value is **0**.
	Remain *int32 `json:"Remain,omitempty" xml:"Remain,omitempty"`
	// The status of the task.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The progress of the subtask. For example, a value of `1/4` indicates that the task consists of four subtasks and the first subtask is in progress.
	StepProgressInfo *string `json:"StepProgressInfo,omitempty" xml:"StepProgressInfo,omitempty"`
	// The details of the subtasks.
	StepsInfo *string `json:"StepsInfo,omitempty" xml:"StepsInfo,omitempty"`
	// The operation that is used by the task, such as **CreateDBInstance**.
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
	// The error code that is returned when an error occurs.
	//
	// > This parameter is returned only when an error occurs.
	TaskErrorCode *string `json:"TaskErrorCode,omitempty" xml:"TaskErrorCode,omitempty"`
	// The error message that is returned when an error occurs.
	//
	// >  This parameter is returned only when an error occurs.
	TaskErrorMessage *string `json:"TaskErrorMessage,omitempty" xml:"TaskErrorMessage,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DescribeTasksResponseBodyItemsTaskProgressInfo) GoString

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetBeginTime

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetCurrentStepName

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetDBName

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetExpectedFinishTime

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetFinishTime

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetProgress

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetProgressInfo

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetRemain

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetStatus

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetStepProgressInfo

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetStepsInfo

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetTaskAction

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetTaskErrorCode

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetTaskErrorMessage

func (*DescribeTasksResponseBodyItemsTaskProgressInfo) SetTaskId

func (DescribeTasksResponseBodyItemsTaskProgressInfo) String

type DescribeUpgradeMajorVersionPrecheckTaskRequest

type DescribeUpgradeMajorVersionPrecheckTaskRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return in the upgrade check report.
	//
	// Valid values: any non-zero positive integer. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page of the upgrade check report.
	//
	// Valid values:
	//
	// *   30 (This is the default value.)
	// *   50
	// *   100
	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 new major engine version of the instance. The new major engine version must be later than the original major engine version.
	//
	// For example, if the original major engine version is PostgreSQL 9.4, the new major engine version can be PostgreSQL 10, PostgreSQL 11, PostgreSQL 12, or PostgreSQL 13.
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
	// The ID of the upgrade check task. You can obtain the ID of the upgrade check task from the **TaskId** parameter that is returned from the call of the [UpgradeDBInstanceMajorVersionPrecheck](~~330050~~) operation.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DescribeUpgradeMajorVersionPrecheckTaskRequest) GoString

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetDBInstanceId

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetOwnerAccount

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetOwnerId

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetPageNumber

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetPageSize

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetResourceOwnerAccount

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetResourceOwnerId

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetTargetMajorVersion

func (*DescribeUpgradeMajorVersionPrecheckTaskRequest) SetTaskId

func (DescribeUpgradeMajorVersionPrecheckTaskRequest) String

type DescribeUpgradeMajorVersionPrecheckTaskResponse

type DescribeUpgradeMajorVersionPrecheckTaskResponse struct {
	Headers    map[string]*string                                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeUpgradeMajorVersionPrecheckTaskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeUpgradeMajorVersionPrecheckTaskResponse) GoString

func (*DescribeUpgradeMajorVersionPrecheckTaskResponse) SetHeaders

func (*DescribeUpgradeMajorVersionPrecheckTaskResponse) SetStatusCode

func (DescribeUpgradeMajorVersionPrecheckTaskResponse) String

type DescribeUpgradeMajorVersionPrecheckTaskResponseBody

type DescribeUpgradeMajorVersionPrecheckTaskResponseBody struct {
	// An array that consists of the attributes in the upgrade check report.
	Items []*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries in the upgrade check report.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeUpgradeMajorVersionPrecheckTaskResponseBody) GoString

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBody) SetPageNumber

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBody) SetPageRecordCount

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBody) SetRequestId

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBody) SetTotalRecordCount

func (DescribeUpgradeMajorVersionPrecheckTaskResponseBody) String

type DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems

type DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems struct {
	// The time at which the upgrade check was performed.
	//
	// The value of this parameter is a timestamp that follows the UNIX time format. Unit: milliseconds.
	CheckTime *string `json:"CheckTime,omitempty" xml:"CheckTime,omitempty"`
	// The content of the upgrade check report.
	Detail *string `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The expiration time of the upgrade check report.
	//
	// The value of this parameter is a timestamp that follows the UNIX time format. Unit: milliseconds.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The result of the upgrade check.
	//
	// Valid values:
	//
	// *   Success
	// *   Fail
	//
	// >  If the check result is **Fail**, you must check the value of the **Detail** parameter to obtain the information about the errors that occurred. After you handle the errors, you can try again. For more information about how to handle common errors, see [Introduction to the check report for a major engine version upgrade to an ApsaraDB RDS for PostgreSQL instance](~~218391~~).
	Result *string `json:"Result,omitempty" xml:"Result,omitempty"`
	// The original major engine version of the instance.
	SourceMajorVersion *string `json:"SourceMajorVersion,omitempty" xml:"SourceMajorVersion,omitempty"`
	// The new major engine version of the instance.
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
	// The ID of the upgrade check task.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) GoString

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetCheckTime

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetDetail

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetEffectiveTime

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetResult

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetSourceMajorVersion

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetTargetMajorVersion

func (*DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) SetTaskId

func (DescribeUpgradeMajorVersionPrecheckTaskResponseBodyItems) String

type DescribeUpgradeMajorVersionTasksRequest

type DescribeUpgradeMajorVersionTasksRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number.
	//
	// Pages start from 1.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// Valid values: **30** to **100**.
	//
	// Default value: **30**.
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The major engine version of the new instance. Valid values:
	//
	// *   **10.0**
	// *   **11.0**
	// *   **12.0**
	// *   **13.0**
	// *   **14.0**
	// *   **15.0**
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (DescribeUpgradeMajorVersionTasksRequest) GoString

func (*DescribeUpgradeMajorVersionTasksRequest) SetDBInstanceId

func (*DescribeUpgradeMajorVersionTasksRequest) SetOwnerAccount

func (*DescribeUpgradeMajorVersionTasksRequest) SetOwnerId

func (*DescribeUpgradeMajorVersionTasksRequest) SetPageNumber

func (*DescribeUpgradeMajorVersionTasksRequest) SetPageSize

func (*DescribeUpgradeMajorVersionTasksRequest) SetResourceOwnerAccount

func (*DescribeUpgradeMajorVersionTasksRequest) SetResourceOwnerId

func (*DescribeUpgradeMajorVersionTasksRequest) SetTargetMajorVersion

func (*DescribeUpgradeMajorVersionTasksRequest) SetTaskId

func (DescribeUpgradeMajorVersionTasksRequest) String

type DescribeUpgradeMajorVersionTasksResponse

type DescribeUpgradeMajorVersionTasksResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeUpgradeMajorVersionTasksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeUpgradeMajorVersionTasksResponse) GoString

func (*DescribeUpgradeMajorVersionTasksResponse) SetHeaders

func (*DescribeUpgradeMajorVersionTasksResponse) SetStatusCode

func (DescribeUpgradeMajorVersionTasksResponse) String

type DescribeUpgradeMajorVersionTasksResponseBody

type DescribeUpgradeMajorVersionTasksResponseBody struct {
	// The tasks for major engine version upgrades.
	Items []*DescribeUpgradeMajorVersionTasksResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageRecordCount *int32 `json:"PageRecordCount,omitempty" xml:"PageRecordCount,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (DescribeUpgradeMajorVersionTasksResponseBody) GoString

func (*DescribeUpgradeMajorVersionTasksResponseBody) SetPageNumber

func (*DescribeUpgradeMajorVersionTasksResponseBody) SetPageRecordCount

func (*DescribeUpgradeMajorVersionTasksResponseBody) SetRequestId

func (*DescribeUpgradeMajorVersionTasksResponseBody) SetTotalRecordCount

func (DescribeUpgradeMajorVersionTasksResponseBody) String

type DescribeUpgradeMajorVersionTasksResponseBodyItems

type DescribeUpgradeMajorVersionTasksResponseBodyItems struct {
	// The time when the system collects the statistics.
	//
	// Valid values:
	//
	// *   **After**: The system collects the statistics after a switchover.
	// *   **Before**: The system collects the statistics before a switchover.
	CollectStatMode *string `json:"CollectStatMode,omitempty" xml:"CollectStatMode,omitempty"`
	// The details of the task.
	Detail *string `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The end time of the task.
	//
	// This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. Unit: milliseconds.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The status of the task.
	//
	// *   **Success**: The task is successful.
	// *   **Failed**: The task failed.
	// *   **Running**: The task is in the phase in which data is being migrated to a new instance.
	Result *string `json:"Result,omitempty" xml:"Result,omitempty"`
	// The ID of the original instance.
	SourceInsName *string `json:"SourceInsName,omitempty" xml:"SourceInsName,omitempty"`
	// The major engine version of the original instance.
	SourceMajorVersion *string `json:"SourceMajorVersion,omitempty" xml:"SourceMajorVersion,omitempty"`
	// The start time of the task.
	//
	// This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. Unit: milliseconds.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The time at which your workloads are switched over from the original instance to the new instance.
	//
	// This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. Unit: milliseconds.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The ID of the new instance.
	TargetInsName *string `json:"TargetInsName,omitempty" xml:"TargetInsName,omitempty"`
	// The major engine version of the new instance. Valid values:
	//
	// *   **10.0**
	// *   **11.0**
	// *   **12.0**
	// *   **13.0**
	// *   **14.0**
	// *   **15.0**
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
	// The task ID.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The upgrade mode.
	//
	// Valid values:
	//
	// *   **clone**: The system does not migrate data to the new instance and does not switch your workloads over to the new instance.
	// *   **switch**: The system migrates data to the new instance and switches your workloads over to the new instance.
	UpgradeMode *string `json:"UpgradeMode,omitempty" xml:"UpgradeMode,omitempty"`
}

func (DescribeUpgradeMajorVersionTasksResponseBodyItems) GoString

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetCollectStatMode

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetDetail

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetEndTime

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetResult

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetSourceInsName

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetSourceMajorVersion

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetStartTime

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetSwitchTime

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetTargetInsName

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetTargetMajorVersion

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetTaskId

func (*DescribeUpgradeMajorVersionTasksResponseBodyItems) SetUpgradeMode

func (DescribeUpgradeMajorVersionTasksResponseBodyItems) String

type DescribeVSwitchesRequest

type DescribeVSwitchesRequest struct {
	// The dedicated cluster ID. You can call the DescribeDedicatedHostGroups operation to query the dedicated cluster ID. If you specify this parameter, the details of all vSwitches in the VPC to which the dedicated cluster belongs are returned.
	//
	// >  You must specify this parameter or the **VpcId** parameter.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the page to return. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values: **1 to 50**. Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the vSwitch. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The ID of the VPC to which the vSwitch belongs.
	//
	// > You must configure this parameter or **DedicatedHostGroupId**.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// The zone ID of the vSwitch. You can call the DescribeAvailableZones operation to query the zone ID. If you specify this parameter, the query results are filtered based on the value of this parameter and only the details of the vSwitch that is deployed in the specified zone is returned.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeVSwitchesRequest) GoString

func (s DescribeVSwitchesRequest) GoString() string

func (*DescribeVSwitchesRequest) SetDedicatedHostGroupId

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

func (*DescribeVSwitchesRequest) SetOwnerAccount

func (*DescribeVSwitchesRequest) SetOwnerId

func (*DescribeVSwitchesRequest) SetPageNumber

func (*DescribeVSwitchesRequest) SetPageSize

func (*DescribeVSwitchesRequest) SetRegionId

func (*DescribeVSwitchesRequest) SetResourceGroupId

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

func (*DescribeVSwitchesRequest) SetResourceOwnerAccount

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

func (*DescribeVSwitchesRequest) SetResourceOwnerId

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

func (*DescribeVSwitchesRequest) SetSecurityToken

func (*DescribeVSwitchesRequest) SetVpcId

func (*DescribeVSwitchesRequest) SetZoneId

func (DescribeVSwitchesRequest) String

func (s DescribeVSwitchesRequest) String() string

type DescribeVSwitchesResponse

type DescribeVSwitchesResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeVSwitchesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeVSwitchesResponse) GoString

func (s DescribeVSwitchesResponse) GoString() string

func (*DescribeVSwitchesResponse) SetBody

func (*DescribeVSwitchesResponse) SetHeaders

func (*DescribeVSwitchesResponse) SetStatusCode

func (DescribeVSwitchesResponse) String

func (s DescribeVSwitchesResponse) String() string

type DescribeVSwitchesResponseBody

type DescribeVSwitchesResponseBody struct {
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on each page. The value of this parameter is the same as the value of the **PageSize** parameter in the request parameters.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	// The information about the vSwitches.
	VSwitchs []*DescribeVSwitchesResponseBodyVSwitchs `json:"VSwitchs,omitempty" xml:"VSwitchs,omitempty" type:"Repeated"`
}

func (DescribeVSwitchesResponseBody) GoString

func (*DescribeVSwitchesResponseBody) SetPageNumber

func (*DescribeVSwitchesResponseBody) SetPageSize

func (*DescribeVSwitchesResponseBody) SetRequestId

func (*DescribeVSwitchesResponseBody) SetTotalCount

func (*DescribeVSwitchesResponseBody) SetVSwitchs

func (DescribeVSwitchesResponseBody) String

type DescribeVSwitchesResponseBodyVSwitchs

type DescribeVSwitchesResponseBodyVSwitchs struct {
	// The number of available IP addresses in the vSwitch.
	AvailableIpAddressCount *string `json:"AvailableIpAddressCount,omitempty" xml:"AvailableIpAddressCount,omitempty"`
	// The CIDR block of the vSwitch.
	CidrBlock *string `json:"CidrBlock,omitempty" xml:"CidrBlock,omitempty"`
	// The description of the vSwitch.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the vSwitch is the default vSwitch. Valid values:
	//
	// *   **true**
	// *   **false**
	IsDefault *bool `json:"IsDefault,omitempty" xml:"IsDefault,omitempty"`
	// The ID of the zone to which the vSwitch belongs.
	IzNo *string `json:"IzNo,omitempty" xml:"IzNo,omitempty"`
	// The status of the vSwitch. Valid values:
	//
	// *   **Pending**: The vSwitch is being configured.
	// *   **Available**: The vSwitch is available.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The vSwitch ID.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The vSwitch name.
	VSwitchName *string `json:"VSwitchName,omitempty" xml:"VSwitchName,omitempty"`
}

func (DescribeVSwitchesResponseBodyVSwitchs) GoString

func (*DescribeVSwitchesResponseBodyVSwitchs) SetAvailableIpAddressCount added in v3.0.5

func (*DescribeVSwitchesResponseBodyVSwitchs) SetCidrBlock

func (*DescribeVSwitchesResponseBodyVSwitchs) SetDescription

func (*DescribeVSwitchesResponseBodyVSwitchs) SetIsDefault

func (*DescribeVSwitchesResponseBodyVSwitchs) SetIzNo

func (*DescribeVSwitchesResponseBodyVSwitchs) SetStatus

func (*DescribeVSwitchesResponseBodyVSwitchs) SetVSwitchId

func (*DescribeVSwitchesResponseBodyVSwitchs) SetVSwitchName

func (DescribeVSwitchesResponseBodyVSwitchs) String

type DescribeWhitelistTemplateLinkedInstanceRequest added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceRequest struct {
	// 资源组ID,可以为空。
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the whitelist template. You can call the DescribeAllWhitelistTemplate operation to obtain the ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeWhitelistTemplateLinkedInstanceRequest) GoString added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceRequest) SetResourceGroupId added in v3.1.0

func (*DescribeWhitelistTemplateLinkedInstanceRequest) SetResourceOwnerAccount added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceRequest) SetResourceOwnerId added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceRequest) SetTemplateId added in v3.0.29

func (DescribeWhitelistTemplateLinkedInstanceRequest) String added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceResponse added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceResponse struct {
	Headers    map[string]*string                                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeWhitelistTemplateLinkedInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeWhitelistTemplateLinkedInstanceResponse) GoString added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponse) SetHeaders added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponse) SetStatusCode added in v3.0.29

func (DescribeWhitelistTemplateLinkedInstanceResponse) String added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceResponseBody added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceResponseBody struct {
	// The response code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *DescribeWhitelistTemplateLinkedInstanceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The returned message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribeWhitelistTemplateLinkedInstanceResponseBody) GoString added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBody) SetCode added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBody) SetHttpStatusCode added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBody) SetMessage added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBody) SetRequestId added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBody) SetSuccess added in v3.0.29

func (DescribeWhitelistTemplateLinkedInstanceResponseBody) String added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceResponseBodyData added in v3.0.29

type DescribeWhitelistTemplateLinkedInstanceResponseBodyData struct {
	// The information about the instance.
	InsName []*string `json:"InsName,omitempty" xml:"InsName,omitempty" type:"Repeated"`
	// The ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeWhitelistTemplateLinkedInstanceResponseBodyData) GoString added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBodyData) SetInsName added in v3.0.29

func (*DescribeWhitelistTemplateLinkedInstanceResponseBodyData) SetTemplateId added in v3.0.29

func (DescribeWhitelistTemplateLinkedInstanceResponseBodyData) String added in v3.0.29

type DescribeWhitelistTemplateRequest added in v3.0.29

type DescribeWhitelistTemplateRequest struct {
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the whitelist template. You can call the [DescribeAllWhitelistTemplate](~~2412075~~) operation to obtain the ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeWhitelistTemplateRequest) GoString added in v3.0.29

func (*DescribeWhitelistTemplateRequest) SetResourceGroupId added in v3.1.0

func (*DescribeWhitelistTemplateRequest) SetResourceOwnerAccount added in v3.0.29

func (*DescribeWhitelistTemplateRequest) SetResourceOwnerId added in v3.0.29

func (*DescribeWhitelistTemplateRequest) SetTemplateId added in v3.0.29

func (DescribeWhitelistTemplateRequest) String added in v3.0.29

type DescribeWhitelistTemplateResponse added in v3.0.29

type DescribeWhitelistTemplateResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeWhitelistTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeWhitelistTemplateResponse) GoString added in v3.0.29

func (*DescribeWhitelistTemplateResponse) SetBody added in v3.0.29

func (*DescribeWhitelistTemplateResponse) SetHeaders added in v3.0.29

func (*DescribeWhitelistTemplateResponse) SetStatusCode added in v3.0.29

func (DescribeWhitelistTemplateResponse) String added in v3.0.29

type DescribeWhitelistTemplateResponseBody added in v3.0.29

type DescribeWhitelistTemplateResponseBody struct {
	// The response code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *DescribeWhitelistTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The response parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DescribeWhitelistTemplateResponseBody) GoString added in v3.0.29

func (*DescribeWhitelistTemplateResponseBody) SetCode added in v3.0.29

func (*DescribeWhitelistTemplateResponseBody) SetData added in v3.0.29

func (*DescribeWhitelistTemplateResponseBody) SetHttpStatusCode added in v3.0.29

func (*DescribeWhitelistTemplateResponseBody) SetMessage added in v3.0.29

func (*DescribeWhitelistTemplateResponseBody) SetRequestId added in v3.0.29

func (*DescribeWhitelistTemplateResponseBody) SetSuccess added in v3.0.29

func (DescribeWhitelistTemplateResponseBody) String added in v3.0.29

type DescribeWhitelistTemplateResponseBodyData added in v3.0.29

type DescribeWhitelistTemplateResponseBodyData struct {
	// The information about the IP whitelist template.
	Template *DescribeWhitelistTemplateResponseBodyDataTemplate `json:"Template,omitempty" xml:"Template,omitempty" type:"Struct"`
}

func (DescribeWhitelistTemplateResponseBodyData) GoString added in v3.0.29

func (*DescribeWhitelistTemplateResponseBodyData) SetTemplate added in v3.0.29

func (DescribeWhitelistTemplateResponseBodyData) String added in v3.0.29

type DescribeWhitelistTemplateResponseBodyDataTemplate added in v3.0.29

type DescribeWhitelistTemplateResponseBodyDataTemplate struct {
	// The primary key of the data table.
	Id *int32 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The IP addresses.
	Ips *string `json:"Ips,omitempty" xml:"Ips,omitempty"`
	// The ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the IP whitelist template.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The user ID.
	UserId *int32 `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (DescribeWhitelistTemplateResponseBodyDataTemplate) GoString added in v3.0.29

func (*DescribeWhitelistTemplateResponseBodyDataTemplate) SetId added in v3.0.29

func (*DescribeWhitelistTemplateResponseBodyDataTemplate) SetIps added in v3.0.29

func (*DescribeWhitelistTemplateResponseBodyDataTemplate) SetTemplateId added in v3.0.29

func (*DescribeWhitelistTemplateResponseBodyDataTemplate) SetTemplateName added in v3.0.29

func (*DescribeWhitelistTemplateResponseBodyDataTemplate) SetUserId added in v3.0.29

func (DescribeWhitelistTemplateResponseBodyDataTemplate) String added in v3.0.29

type DestroyDBInstanceRequest

type DestroyDBInstanceRequest 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 only contain ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DestroyDBInstanceRequest) GoString

func (s DestroyDBInstanceRequest) GoString() string

func (*DestroyDBInstanceRequest) SetClientToken

func (*DestroyDBInstanceRequest) SetDBInstanceId

func (*DestroyDBInstanceRequest) SetOwnerAccount

func (*DestroyDBInstanceRequest) SetOwnerId

func (*DestroyDBInstanceRequest) SetResourceOwnerAccount

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

func (*DestroyDBInstanceRequest) SetResourceOwnerId

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

func (DestroyDBInstanceRequest) String

func (s DestroyDBInstanceRequest) String() string

type DestroyDBInstanceResponse

type DestroyDBInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DestroyDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DestroyDBInstanceResponse) GoString

func (s DestroyDBInstanceResponse) GoString() string

func (*DestroyDBInstanceResponse) SetBody

func (*DestroyDBInstanceResponse) SetHeaders

func (*DestroyDBInstanceResponse) SetStatusCode

func (DestroyDBInstanceResponse) String

func (s DestroyDBInstanceResponse) String() string

type DestroyDBInstanceResponseBody

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

func (DestroyDBInstanceResponseBody) GoString

func (*DestroyDBInstanceResponseBody) SetRequestId

func (DestroyDBInstanceResponseBody) String

type DetachGadInstanceMemberRequest

type DetachGadInstanceMemberRequest struct {
	// The ID of the global active database cluster.
	GadInstanceName *string `json:"GadInstanceName,omitempty" xml:"GadInstanceName,omitempty"`
	// The ID of the instance that serves as the unit node you want to remove. You can call the DescribeGadInstances query the instance ID.
	MemberInstanceName *string `json:"MemberInstanceName,omitempty" xml:"MemberInstanceName,omitempty"`
	// The region ID of the central node. You can call the DescribeGadInstances operation to query the region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DetachGadInstanceMemberRequest) GoString

func (*DetachGadInstanceMemberRequest) SetGadInstanceName

func (*DetachGadInstanceMemberRequest) SetMemberInstanceName

func (*DetachGadInstanceMemberRequest) SetRegionId

func (*DetachGadInstanceMemberRequest) SetResourceGroupId added in v3.0.214

func (DetachGadInstanceMemberRequest) String

type DetachGadInstanceMemberResponse

type DetachGadInstanceMemberResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DetachGadInstanceMemberResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DetachGadInstanceMemberResponse) GoString

func (*DetachGadInstanceMemberResponse) SetHeaders

func (*DetachGadInstanceMemberResponse) SetStatusCode

func (DetachGadInstanceMemberResponse) String

type DetachGadInstanceMemberResponseBody

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

func (DetachGadInstanceMemberResponseBody) GoString

func (*DetachGadInstanceMemberResponseBody) SetRequestId

func (DetachGadInstanceMemberResponseBody) String

type DetachWhitelistTemplateToInstanceRequest added in v3.0.29

type DetachWhitelistTemplateToInstanceRequest struct {
	// The instance name.
	InsName *string `json:"InsName,omitempty" xml:"InsName,omitempty"`
	// The resource group ID. For more information about resource groups, see Resource groups.
	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 whitelist template. You can call the DescribeAllWhitelistTemplate operation to obtain the ID of the whitelist template.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DetachWhitelistTemplateToInstanceRequest) GoString added in v3.0.29

func (*DetachWhitelistTemplateToInstanceRequest) SetInsName added in v3.0.29

func (*DetachWhitelistTemplateToInstanceRequest) SetResourceGroupId added in v3.1.0

func (*DetachWhitelistTemplateToInstanceRequest) SetResourceOwnerAccount added in v3.0.29

func (*DetachWhitelistTemplateToInstanceRequest) SetResourceOwnerId added in v3.0.29

func (*DetachWhitelistTemplateToInstanceRequest) SetTemplateId added in v3.0.29

func (DetachWhitelistTemplateToInstanceRequest) String added in v3.0.29

type DetachWhitelistTemplateToInstanceResponse added in v3.0.29

type DetachWhitelistTemplateToInstanceResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DetachWhitelistTemplateToInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DetachWhitelistTemplateToInstanceResponse) GoString added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponse) SetBody added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponse) SetHeaders added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponse) SetStatusCode added in v3.0.29

func (DetachWhitelistTemplateToInstanceResponse) String added in v3.0.29

type DetachWhitelistTemplateToInstanceResponseBody added in v3.0.29

type DetachWhitelistTemplateToInstanceResponseBody struct {
	// The response code. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *DetachWhitelistTemplateToInstanceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The response parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DetachWhitelistTemplateToInstanceResponseBody) GoString added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBody) SetCode added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBody) SetData added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBody) SetHttpStatusCode added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBody) SetMessage added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBody) SetRequestId added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBody) SetSuccess added in v3.0.29

func (DetachWhitelistTemplateToInstanceResponseBody) String added in v3.0.29

type DetachWhitelistTemplateToInstanceResponseBodyData added in v3.0.29

type DetachWhitelistTemplateToInstanceResponseBodyData struct {
	// The status code returned. Valid values:
	//
	// *   **ok**: The request is successful.
	// *   **error**: The request fails.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DetachWhitelistTemplateToInstanceResponseBodyData) GoString added in v3.0.29

func (*DetachWhitelistTemplateToInstanceResponseBodyData) SetStatus added in v3.0.29

func (DetachWhitelistTemplateToInstanceResponseBodyData) String added in v3.0.29

type EvaluateLocalExtendDiskRequest added in v3.3.0

type EvaluateLocalExtendDiskRequest struct {
	// The instance name.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The new storage capacity. Unit: GB.
	Storage *int32 `json:"Storage,omitempty" xml:"Storage,omitempty"`
}

func (EvaluateLocalExtendDiskRequest) GoString added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetDBInstanceName added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetOwnerId added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetRegionId added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetResourceGroupId added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetResourceOwnerAccount added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetResourceOwnerId added in v3.3.0

func (*EvaluateLocalExtendDiskRequest) SetStorage added in v3.3.0

func (EvaluateLocalExtendDiskRequest) String added in v3.3.0

type EvaluateLocalExtendDiskResponse added in v3.3.0

type EvaluateLocalExtendDiskResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *EvaluateLocalExtendDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (EvaluateLocalExtendDiskResponse) GoString added in v3.3.0

func (*EvaluateLocalExtendDiskResponse) SetBody added in v3.3.0

func (*EvaluateLocalExtendDiskResponse) SetHeaders added in v3.3.0

func (*EvaluateLocalExtendDiskResponse) SetStatusCode added in v3.3.0

func (EvaluateLocalExtendDiskResponse) String added in v3.3.0

type EvaluateLocalExtendDiskResponseBody added in v3.3.0

type EvaluateLocalExtendDiskResponseBody struct {
	// Indicates whether the instance is available. Valid values: true and false.
	Available *string `json:"Available,omitempty" xml:"Available,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The data transfer type supported by the instance.
	DBInstanceTransType *string `json:"DBInstanceTransType,omitempty" xml:"DBInstanceTransType,omitempty"`
	// The maximum value of the local disk. Unit: GB.
	LocalUpgradeDiskLimit *int64 `json:"LocalUpgradeDiskLimit,omitempty" xml:"LocalUpgradeDiskLimit,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EvaluateLocalExtendDiskResponseBody) GoString added in v3.3.0

func (*EvaluateLocalExtendDiskResponseBody) SetAvailable added in v3.3.0

func (*EvaluateLocalExtendDiskResponseBody) SetDBInstanceId added in v3.3.0

func (*EvaluateLocalExtendDiskResponseBody) SetDBInstanceTransType added in v3.3.0

func (*EvaluateLocalExtendDiskResponseBody) SetLocalUpgradeDiskLimit added in v3.3.0

func (*EvaluateLocalExtendDiskResponseBody) SetRequestId added in v3.3.0

func (EvaluateLocalExtendDiskResponseBody) String added in v3.3.0

type GetDBInstanceTopologyRequest

type GetDBInstanceTopologyRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (GetDBInstanceTopologyRequest) GoString

func (s GetDBInstanceTopologyRequest) GoString() string

func (*GetDBInstanceTopologyRequest) SetDBInstanceId

func (*GetDBInstanceTopologyRequest) SetOwnerId added in v3.1.0

func (*GetDBInstanceTopologyRequest) SetResourceOwnerId added in v3.1.0

func (GetDBInstanceTopologyRequest) String

type GetDBInstanceTopologyResponse

type GetDBInstanceTopologyResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetDBInstanceTopologyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetDBInstanceTopologyResponse) GoString

func (*GetDBInstanceTopologyResponse) SetBody

func (*GetDBInstanceTopologyResponse) SetHeaders

func (*GetDBInstanceTopologyResponse) SetStatusCode

func (GetDBInstanceTopologyResponse) String

type GetDBInstanceTopologyResponseBody

type GetDBInstanceTopologyResponseBody struct {
	// An internal parameter. You can ignore this parameter.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The details about the topology.
	Data *GetDBInstanceTopologyResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// An internal parameter. You can ignore this parameter.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetDBInstanceTopologyResponseBody) GoString

func (*GetDBInstanceTopologyResponseBody) SetCode

func (*GetDBInstanceTopologyResponseBody) SetMessage

func (*GetDBInstanceTopologyResponseBody) SetRequestId

func (GetDBInstanceTopologyResponseBody) String

type GetDBInstanceTopologyResponseBodyData

type GetDBInstanceTopologyResponseBodyData struct {
	// The network connection information of the instance.
	Connections []*GetDBInstanceTopologyResponseBodyDataConnections `json:"Connections,omitempty" xml:"Connections,omitempty" type:"Repeated"`
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The queried nodes.
	Nodes []*GetDBInstanceTopologyResponseBodyDataNodes `json:"Nodes,omitempty" xml:"Nodes,omitempty" type:"Repeated"`
}

func (GetDBInstanceTopologyResponseBodyData) GoString

func (*GetDBInstanceTopologyResponseBodyData) SetDBInstanceName

func (GetDBInstanceTopologyResponseBodyData) String

type GetDBInstanceTopologyResponseBodyDataConnections

type GetDBInstanceTopologyResponseBodyDataConnections struct {
	// The endpoint that is used to connect to the database instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The network type of the endpoint. Valid values:
	//
	// *   **vpc**
	// *   **public**
	NetType *string `json:"NetType,omitempty" xml:"NetType,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (GetDBInstanceTopologyResponseBodyDataConnections) GoString

func (*GetDBInstanceTopologyResponseBodyDataConnections) SetConnectionString

func (*GetDBInstanceTopologyResponseBodyDataConnections) SetDBInstanceName

func (*GetDBInstanceTopologyResponseBodyDataConnections) SetNetType

func (*GetDBInstanceTopologyResponseBodyDataConnections) SetZoneId

func (GetDBInstanceTopologyResponseBodyDataConnections) String

type GetDBInstanceTopologyResponseBodyDataNodes

type GetDBInstanceTopologyResponseBodyDataNodes struct {
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The ID of the dedicated cluster.
	//
	// > : If the instance does not reside in the specified dedicated cluster, no value is returned.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The host ID of the instance in the dedicated cluster.
	//
	// > : If the instance does not reside in the specified dedicated cluster, no value is returned.
	DedicatedHostId *string `json:"DedicatedHostId,omitempty" xml:"DedicatedHostId,omitempty"`
	// The ID of the instance.
	//
	// > : The value \*\*-1\*\* is returned for an instance that does not reside in a dedicated cluster.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The type of the node. The following result is returned:
	//
	// *   **Master**: a primary node
	// *   **Slave**: a secondary node
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// The zone ID of the instance.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (GetDBInstanceTopologyResponseBodyDataNodes) GoString

func (*GetDBInstanceTopologyResponseBodyDataNodes) SetDBInstanceName

func (*GetDBInstanceTopologyResponseBodyDataNodes) SetDedicatedHostGroupId

func (*GetDBInstanceTopologyResponseBodyDataNodes) SetDedicatedHostId

func (*GetDBInstanceTopologyResponseBodyDataNodes) SetNodeId

func (*GetDBInstanceTopologyResponseBodyDataNodes) SetRole

func (*GetDBInstanceTopologyResponseBodyDataNodes) SetZoneId

func (GetDBInstanceTopologyResponseBodyDataNodes) String

type GetDbProxyInstanceSslRequest

type GetDbProxyInstanceSslRequest struct {
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (GetDbProxyInstanceSslRequest) GoString

func (s GetDbProxyInstanceSslRequest) GoString() string

func (*GetDbProxyInstanceSslRequest) SetDBProxyEngineType

func (*GetDbProxyInstanceSslRequest) SetDbInstanceId

func (*GetDbProxyInstanceSslRequest) SetRegionId

func (GetDbProxyInstanceSslRequest) String

type GetDbProxyInstanceSslResponse

type GetDbProxyInstanceSslResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetDbProxyInstanceSslResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetDbProxyInstanceSslResponse) GoString

func (*GetDbProxyInstanceSslResponse) SetBody

func (*GetDbProxyInstanceSslResponse) SetHeaders

func (*GetDbProxyInstanceSslResponse) SetStatusCode

func (GetDbProxyInstanceSslResponse) String

type GetDbProxyInstanceSslResponseBody

type GetDbProxyInstanceSslResponseBody struct {
	// An array that consists of SSL encryption settings.
	DbProxyCertListItems *GetDbProxyInstanceSslResponseBodyDbProxyCertListItems `json:"DbProxyCertListItems,omitempty" xml:"DbProxyCertListItems,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetDbProxyInstanceSslResponseBody) GoString

func (*GetDbProxyInstanceSslResponseBody) SetRequestId

func (GetDbProxyInstanceSslResponseBody) String

type GetDbProxyInstanceSslResponseBodyDbProxyCertListItems

type GetDbProxyInstanceSslResponseBodyDbProxyCertListItems struct {
	DbProxyCertListItems []*GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems `json:"DbProxyCertListItems,omitempty" xml:"DbProxyCertListItems,omitempty" type:"Repeated"`
}

func (GetDbProxyInstanceSslResponseBodyDbProxyCertListItems) GoString

func (GetDbProxyInstanceSslResponseBodyDbProxyCertListItems) String

type GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems

type GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems struct {
	// The dedicated proxy endpoint for which SSL encryption is enabled.
	CertCommonName *string `json:"CertCommonName,omitempty" xml:"CertCommonName,omitempty"`
	// The instance ID.
	DbInstanceName *string `json:"DbInstanceName,omitempty" xml:"DbInstanceName,omitempty"`
	// The ID of the dedicated proxy endpoint.
	EndpointName *string `json:"EndpointName,omitempty" xml:"EndpointName,omitempty"`
	// The default identifier of the dedicated proxy endpoint. The value is fixed as **RWSplit**.
	EndpointType *string `json:"EndpointType,omitempty" xml:"EndpointType,omitempty"`
	// The time at which the certificate expires.
	SslExpiredTime *string `json:"SslExpiredTime,omitempty" xml:"SslExpiredTime,omitempty"`
}

func (GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) GoString

func (*GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) SetCertCommonName

func (*GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) SetDbInstanceName

func (*GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) SetEndpointName

func (*GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) SetEndpointType

func (*GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) SetSslExpiredTime

func (GetDbProxyInstanceSslResponseBodyDbProxyCertListItemsDbProxyCertListItems) String

type GrantAccountPrivilegeRequest

type GrantAccountPrivilegeRequest struct {
	// The username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The permissions that you want to grant to the account. The number of permissions must be the same as the number of databases that you specify for the DBName parameter. You can specify this parameter based on your business requirements. Valid values:
	//
	// *   **ReadWrite**: read and write permissions
	// *   **ReadOnly**: read-only permissions
	// *   **DDLOnly**: DDL-only permissions
	// *   **DMLOnly**: DML-only permissions
	// *   **DBOwner**: database owner permissions
	//
	// >
	//
	// *   If the instance runs MySQL or MariaDB, you can set this parameter to **ReadWrite**, **ReadOnly**, **DDLOnly**, or **DMLOnly**.
	//
	// *   If the instance runs SQL Server, you can set this parameter to **ReadWrite**, **ReadOnly**, or **DBOwner**.
	// *   If the instance runs PostgreSQL and uses cloud disks, you can set this parameter to **DBOwner**.
	AccountPrivilege *string `json:"AccountPrivilege,omitempty" xml:"AccountPrivilege,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database on which you want to grant permissions. Separate multiple database names with commas (,).
	DBName          *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (GrantAccountPrivilegeRequest) GoString

func (s GrantAccountPrivilegeRequest) GoString() string

func (*GrantAccountPrivilegeRequest) SetAccountName

func (*GrantAccountPrivilegeRequest) SetAccountPrivilege

func (*GrantAccountPrivilegeRequest) SetDBInstanceId

func (*GrantAccountPrivilegeRequest) SetDBName

func (*GrantAccountPrivilegeRequest) SetResourceOwnerId

func (GrantAccountPrivilegeRequest) String

type GrantAccountPrivilegeResponse

type GrantAccountPrivilegeResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GrantAccountPrivilegeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GrantAccountPrivilegeResponse) GoString

func (*GrantAccountPrivilegeResponse) SetBody

func (*GrantAccountPrivilegeResponse) SetHeaders

func (*GrantAccountPrivilegeResponse) SetStatusCode

func (GrantAccountPrivilegeResponse) String

type GrantAccountPrivilegeResponseBody

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

func (GrantAccountPrivilegeResponseBody) GoString

func (*GrantAccountPrivilegeResponseBody) SetRequestId

func (GrantAccountPrivilegeResponseBody) String

type GrantOperatorPermissionRequest

type GrantOperatorPermissionRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The expiration time of the permissions. 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.
	ExpiredTime  *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The permissions that you want to grant to the service account. Valid values:
	//
	// *   **Control**: the configuration permissions, which allow you to view and modify configurations of the instance.
	// *   **Data**: the data permissions, which allow you to view schemas, indexes, and SQL statements of the instance.
	Privileges           *string `json:"Privileges,omitempty" xml:"Privileges,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (GrantOperatorPermissionRequest) GoString

func (*GrantOperatorPermissionRequest) SetDBInstanceId

func (*GrantOperatorPermissionRequest) SetExpiredTime

func (*GrantOperatorPermissionRequest) SetOwnerAccount

func (*GrantOperatorPermissionRequest) SetOwnerId

func (*GrantOperatorPermissionRequest) SetPrivileges

func (*GrantOperatorPermissionRequest) SetResourceOwnerAccount

func (*GrantOperatorPermissionRequest) SetResourceOwnerId

func (GrantOperatorPermissionRequest) String

type GrantOperatorPermissionResponse

type GrantOperatorPermissionResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GrantOperatorPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GrantOperatorPermissionResponse) GoString

func (*GrantOperatorPermissionResponse) SetHeaders

func (*GrantOperatorPermissionResponse) SetStatusCode

func (GrantOperatorPermissionResponse) String

type GrantOperatorPermissionResponseBody

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

func (GrantOperatorPermissionResponseBody) GoString

func (*GrantOperatorPermissionResponseBody) SetRequestId

func (GrantOperatorPermissionResponseBody) String

type ImportDatabaseBetweenInstancesRequest

type ImportDatabaseBetweenInstancesRequest struct {
	// The names of the source and destination databases. The value of this parameter is a JSON string.
	//
	// > If the source and destination instances run SQL Server, the value of this parameter consists of one or more key-value pairs. In each key-value pair, the key specifies the name of the source database, and the value specifies the name of the destination database. A source database can have a different name from the destination database. For example, `{"DBNames":{"srcdb":"destdb","srcdb2":"destmydb2"}}` indicates that srcdb is migrated to destdb and srcdb2 is migrated to destmydb2. The names of source databases cannot be the same, and the names of destination databases cannot be the same.
	DBInfo *string `json:"DBInfo,omitempty" xml:"DBInfo,omitempty"`
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the source instance, which cannot be the same as the ID of the destination instance.
	SourceDBInstanceId *string `json:"SourceDBInstanceId,omitempty" xml:"SourceDBInstanceId,omitempty"`
}

func (ImportDatabaseBetweenInstancesRequest) GoString

func (*ImportDatabaseBetweenInstancesRequest) SetDBInfo

func (*ImportDatabaseBetweenInstancesRequest) SetDBInstanceId

func (*ImportDatabaseBetweenInstancesRequest) SetOwnerAccount

func (*ImportDatabaseBetweenInstancesRequest) SetOwnerId

func (*ImportDatabaseBetweenInstancesRequest) SetResourceOwnerAccount

func (*ImportDatabaseBetweenInstancesRequest) SetResourceOwnerId

func (*ImportDatabaseBetweenInstancesRequest) SetSourceDBInstanceId

func (ImportDatabaseBetweenInstancesRequest) String

type ImportDatabaseBetweenInstancesResponse

type ImportDatabaseBetweenInstancesResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImportDatabaseBetweenInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImportDatabaseBetweenInstancesResponse) GoString

func (*ImportDatabaseBetweenInstancesResponse) SetHeaders

func (*ImportDatabaseBetweenInstancesResponse) SetStatusCode

func (ImportDatabaseBetweenInstancesResponse) String

type ImportDatabaseBetweenInstancesResponseBody

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

func (ImportDatabaseBetweenInstancesResponseBody) GoString

func (*ImportDatabaseBetweenInstancesResponseBody) SetImportId

func (*ImportDatabaseBetweenInstancesResponseBody) SetRequestId

func (ImportDatabaseBetweenInstancesResponseBody) String

type ImportUserBackupFileRequest

type ImportUserBackupFileRequest struct {
	// A JSON array that consists of the information about the full backup file stored as an object in an OSS bucket. Example: `{"Bucket":"test", "Object":"test/test_db_employees.xb","Location":"ap-southeast-1"}`
	//
	// The JSON array contains the following fields:
	//
	// *   **Bucket**: The name of the OSS bucket in which the full backup file is stored as an object. You can call the [GetBucket](~~31965~~) operation to query the name of the bucket.
	// *   **Object**: The path of the full backup file that is stored as an object in the OSS bucket. You can call the [GetObject](~~31980~~) operation to query the path of the object.
	// *   **Location**: The ID of the region in which the OSS bucket is located. You can call the [GetBucketLocation](~~31967~~) operation to query the region of the bucket.
	BackupFile *string `json:"BackupFile,omitempty" xml:"BackupFile,omitempty"`
	// The region ID of the OSS bucket where the full backup file of the self-managed MySQL database is located. You can call the DescribeRegions operation to query the most recent region list.
	BucketRegion *string `json:"BucketRegion,omitempty" xml:"BucketRegion,omitempty"`
	// The description of the full backup file.
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	// The version of the database engine that is run on the self-managed MySQL database and ApsaraDB RDS for MySQL instance. Set the value to **5.7**.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.
	//
	// > *   The value of this parameter is the ID of the region in which you want to create the instance.
	// > *   The value of this parameter must be consistent with the value of **BucketRegion**.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The amount of storage that is required to restore the data of the full backup file. Unit: GB.
	//
	// > *   The default value of this parameter is 5 times the size of the full backup file.
	// > *   The minimum value of this parameter is 20.
	RestoreSize *int32 `json:"RestoreSize,omitempty" xml:"RestoreSize,omitempty"`
	// The retention period of the full backup file. Unit: days. Valid values: any **non-zero** positive integer.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
	// The zone ID. You can call the DescribeRegions operation to query the zone ID.
	//
	// > *   If you specify this parameter, the system creates a snapshot in single-digit seconds, which greatly reduces the time that is required to import the full backup file.
	// > *   When you call the CreateDBInstance operation to create an instance by using the full backup file, the instance is created in the zone that you specify for this parameter.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ImportUserBackupFileRequest) GoString

func (s ImportUserBackupFileRequest) GoString() string

func (*ImportUserBackupFileRequest) SetBackupFile

func (*ImportUserBackupFileRequest) SetBucketRegion

func (*ImportUserBackupFileRequest) SetComment

func (*ImportUserBackupFileRequest) SetEngineVersion

func (*ImportUserBackupFileRequest) SetOwnerId

func (*ImportUserBackupFileRequest) SetRegionId

func (*ImportUserBackupFileRequest) SetResourceGroupId added in v3.0.214

func (*ImportUserBackupFileRequest) SetResourceOwnerAccount

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

func (*ImportUserBackupFileRequest) SetResourceOwnerId

func (*ImportUserBackupFileRequest) SetRestoreSize

func (*ImportUserBackupFileRequest) SetRetention

func (*ImportUserBackupFileRequest) SetZoneId

func (ImportUserBackupFileRequest) String

type ImportUserBackupFileResponse

type ImportUserBackupFileResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImportUserBackupFileResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImportUserBackupFileResponse) GoString

func (s ImportUserBackupFileResponse) GoString() string

func (*ImportUserBackupFileResponse) SetBody

func (*ImportUserBackupFileResponse) SetHeaders

func (*ImportUserBackupFileResponse) SetStatusCode

func (ImportUserBackupFileResponse) String

type ImportUserBackupFileResponseBody

type ImportUserBackupFileResponseBody struct {
	// The ID of the full backup file.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the full backup file is successfully imported into the instance. If the full backup file is successfully imported, **true** is returned. Otherwise, an error message is returned.
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ImportUserBackupFileResponseBody) GoString

func (*ImportUserBackupFileResponseBody) SetBackupId

func (*ImportUserBackupFileResponseBody) SetRequestId

func (*ImportUserBackupFileResponseBody) SetStatus

func (ImportUserBackupFileResponseBody) String

type ListClassesRequest

type ListClassesRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code of the instances.
	//
	// *   **bards_intl**: The instances are pay-as-you-go primary instances.
	// *   **rds_intl**: The instances are subscription primary instances.
	// *   **rords_intl**: The instances are pay-as-you-go read-only instances.
	// *   **rds_rordspre_public_intl**: The instances are subscription read-only instances.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	//
	// >  If you set the **CommodityCode** parameter to the commodity code of read-only instances, you must specify this parameter.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The type of order that you want to query. Valid values:
	//
	// *   **BUY**: specifies the query orders that are used to purchase instances.
	// *   **UPGRADE**: specifies the query orders that are used to change the specifications of instances.
	// *   **RENEW**: specifies the query orders that are used to renew instances.
	// *   **CONVERT**: specifies the query orders that are used to change the billing methods of instances.
	OrderType *string `json:"OrderType,omitempty" xml:"OrderType,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	//
	// >  If you are using an Alibaba Cloud account on the International site (alibabacloud.com), you must specify this parameter.
	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 (ListClassesRequest) GoString

func (s ListClassesRequest) GoString() string

func (*ListClassesRequest) SetClientToken

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

func (*ListClassesRequest) SetCommodityCode

func (s *ListClassesRequest) SetCommodityCode(v string) *ListClassesRequest

func (*ListClassesRequest) SetDBInstanceId

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

func (*ListClassesRequest) SetOrderType

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

func (*ListClassesRequest) SetOwnerId

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

func (*ListClassesRequest) SetRegionId

func (s *ListClassesRequest) SetRegionId(v string) *ListClassesRequest

func (*ListClassesRequest) SetResourceOwnerAccount

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

func (*ListClassesRequest) SetResourceOwnerId

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

func (ListClassesRequest) String

func (s ListClassesRequest) String() string

type ListClassesResponse

type ListClassesResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListClassesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListClassesResponse) GoString

func (s ListClassesResponse) GoString() string

func (*ListClassesResponse) SetBody

func (*ListClassesResponse) SetHeaders

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

func (*ListClassesResponse) SetStatusCode

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

func (ListClassesResponse) String

func (s ListClassesResponse) String() string

type ListClassesResponseBody

type ListClassesResponseBody struct {
	// The list of instance specifications.
	Items []*ListClassesResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Repeated"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListClassesResponseBody) GoString

func (s ListClassesResponseBody) GoString() string

func (*ListClassesResponseBody) SetItems

func (*ListClassesResponseBody) SetRegionId

func (*ListClassesResponseBody) SetRequestId

func (ListClassesResponseBody) String

func (s ListClassesResponseBody) String() string

type ListClassesResponseBodyItems

type ListClassesResponseBodyItems struct {
	// The code of the instance type. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~) and [Read-only ApsaraDB RDS instance types](~~145759~~).
	ClassCode *string `json:"ClassCode,omitempty" xml:"ClassCode,omitempty"`
	// The instance family. For more information, see [Overview of instance families](~~57184~~).
	ClassGroup *string `json:"ClassGroup,omitempty" xml:"ClassGroup,omitempty"`
	// The number of CPU cores that are supported by the instance type. Unit: cores.
	Cpu *string `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// The size of the encrypted memory that is supported by the security-enhanced instance type. Unit: GB.
	EncryptedMemory *string `json:"EncryptedMemory,omitempty" xml:"EncryptedMemory,omitempty"`
	// The architecture of the instance type. Valid values:
	//
	// *   If the architecture of the instance type is **x86**, an empty string is returned by default.
	// *   If the architecture of the instance type is **ARM**, **arm** is returned.
	InstructionSetArch *string `json:"InstructionSetArch,omitempty" xml:"InstructionSetArch,omitempty"`
	// The maximum number of connections that are supported by the instance type. Unit: connections.
	MaxConnections *string `json:"MaxConnections,omitempty" xml:"MaxConnections,omitempty"`
	// The maximum I/O bandwidth that is supported by the instance type. Unit: Mbit/s.
	MaxIOMBPS *string `json:"MaxIOMBPS,omitempty" xml:"MaxIOMBPS,omitempty"`
	// The maximum input/output operations per second (IOPS) that is supported by the instance type. Unit: operations per second.
	MaxIOPS *string `json:"MaxIOPS,omitempty" xml:"MaxIOPS,omitempty"`
	// The memory size that is supported by the instance type. Unit: GB.
	MemoryClass *string `json:"MemoryClass,omitempty" xml:"MemoryClass,omitempty"`
	// The fee that you must pay for the instance type.
	//
	// *   Unit: cents (USD).
	//
	// >
	//
	// *   If you set **CommodityCode** to a value that indicates the pay-as-you-go billing method, the ReferencePrice parameter specifies the hourly fee that you must pay.
	//
	// *   If you set **CommodityCode** to a value that indicates the subscription billing method, the ReferencePrice parameter specifies the monthly fee that you must pay.
	ReferencePrice *string `json:"ReferencePrice,omitempty" xml:"ReferencePrice,omitempty"`
}

func (ListClassesResponseBodyItems) GoString

func (s ListClassesResponseBodyItems) GoString() string

func (*ListClassesResponseBodyItems) SetClassCode

func (*ListClassesResponseBodyItems) SetClassGroup

func (*ListClassesResponseBodyItems) SetCpu

func (*ListClassesResponseBodyItems) SetEncryptedMemory

func (*ListClassesResponseBodyItems) SetInstructionSetArch

func (*ListClassesResponseBodyItems) SetMaxConnections

func (*ListClassesResponseBodyItems) SetMaxIOMBPS

func (*ListClassesResponseBodyItems) SetMaxIOPS

func (*ListClassesResponseBodyItems) SetMemoryClass

func (*ListClassesResponseBodyItems) SetReferencePrice

func (ListClassesResponseBodyItems) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The token required to obtain more results. This parameter is not required in the first query. If a query does not return all results, you can specify the token returned from the previous query for the next query to obtain more results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The instance ID. You can specify a maximum of **50** instance IDs.****
	//
	// >  You must specify at least one of the **ResourceId** and **Key** parameters.
	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 type of the resource. Set the value to **INSTANCE**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag list.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetNextToken

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 tag key. You can query N tag keys at a time. Valid values of N: **1** to **20**. The value cannot be an empty string.
	//
	// >  You must specify at least one of the **ResourceId** and **Key** parameters.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value that is associated with the specified tag key. You can specify N tag values at a time. Valid values of N: **1** to **20**. The value can be an empty string.
	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" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 {
	// You must specify the token that is obtained from the previous query as the value of NextToken.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of queried instances and tags.
	TagResources *ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Struct"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	TagResource []*ListTagResourcesResponseBodyTagResourcesTagResource `json:"TagResource,omitempty" xml:"TagResource,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (ListTagResourcesResponseBodyTagResources) String

type ListTagResourcesResponseBodyTagResourcesTagResource

type ListTagResourcesResponseBodyTagResourcesTagResource struct {
	// The instance ID.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The resource type. The value `ALIYUN::RDS::INSTANCE` indicates ApsaraDB RDS instances.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value that is associated with the specified tag key.
	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 ListUserBackupFilesRequest

type ListUserBackupFilesRequest struct {
	// The ID of the full backup file.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The description of the full backup file.
	//
	// > The system implements a fuzzy match based on the value of this parameter.
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	// The URL from which you can download the full backup file that is stored as an object in an Object Storage Service (OSS) bucket. For more information about how to obtain the URL, see [Obtain the access URL after you upload objects](~~39607~~).
	OssUrl  *string `json:"OssUrl,omitempty" xml:"OssUrl,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the [DescribeDBInstanceAttribute](~~610394~~) to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The status of the full backup file. Valid values:
	//
	// *   **Importing**: The full backup file is being imported.
	// *   **Failed**: The full backup file fails to be imported.
	// *   **CheckSucccess**: The full backup file passes the check.
	// *   **BackupSuccess**: The full backup file is imported.
	// *   **Deleted**: The full backup file is deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tag that is added to the full backup file.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
}

func (ListUserBackupFilesRequest) GoString

func (s ListUserBackupFilesRequest) GoString() string

func (*ListUserBackupFilesRequest) SetBackupId

func (*ListUserBackupFilesRequest) SetComment

func (*ListUserBackupFilesRequest) SetOssUrl

func (*ListUserBackupFilesRequest) SetOwnerId

func (*ListUserBackupFilesRequest) SetRegionId

func (*ListUserBackupFilesRequest) SetResourceGroupId added in v3.0.214

func (*ListUserBackupFilesRequest) SetResourceOwnerAccount

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

func (*ListUserBackupFilesRequest) SetResourceOwnerId

func (*ListUserBackupFilesRequest) SetStatus

func (*ListUserBackupFilesRequest) SetTags

func (ListUserBackupFilesRequest) String

type ListUserBackupFilesResponse

type ListUserBackupFilesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListUserBackupFilesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListUserBackupFilesResponse) GoString

func (s ListUserBackupFilesResponse) GoString() string

func (*ListUserBackupFilesResponse) SetBody

func (*ListUserBackupFilesResponse) SetHeaders

func (*ListUserBackupFilesResponse) SetStatusCode

func (ListUserBackupFilesResponse) String

type ListUserBackupFilesResponseBody

type ListUserBackupFilesResponseBody struct {
	// The information about the full backup files.
	Records []*ListUserBackupFilesResponseBodyRecords `json:"Records,omitempty" xml:"Records,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListUserBackupFilesResponseBody) GoString

func (*ListUserBackupFilesResponseBody) SetRequestId

func (ListUserBackupFilesResponseBody) String

type ListUserBackupFilesResponseBodyRecords

type ListUserBackupFilesResponseBodyRecords struct {
	// The ID of the full backup file.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The information about the binary log file that contains incremental data. If incremental data is generated during the full backup, this parameter is returned.
	BinlogInfo *string `json:"BinlogInfo,omitempty" xml:"BinlogInfo,omitempty"`
	// The description of the full backup file.
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	// The time when the system started to import the full backup file. The value is a UNIX timestamp. Unit: milliseconds.
	CreationTime *string `json:"CreationTime,omitempty" xml:"CreationTime,omitempty"`
	// The database engine of the instance.
	Engine *string `json:"Engine,omitempty" xml:"Engine,omitempty"`
	// The database engine version.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The time when the full backup file is successfully imported. The value is a UNIX timestamp. Unit: milliseconds.
	FinishTime *string `json:"FinishTime,omitempty" xml:"FinishTime,omitempty"`
	// The time when the full backup file is successfully imported. The value is a UNIX timestamp. Unit: milliseconds.
	ModificationTime *string `json:"ModificationTime,omitempty" xml:"ModificationTime,omitempty"`
	// The name of the OSS bucket in which the full backup file is stored as an object.
	OssBucket *string `json:"OssBucket,omitempty" xml:"OssBucket,omitempty"`
	// The metadata of the full backup file. For more information, see [Manage object metadata](~~31859~~).
	OssFileMetaData *string `json:"OssFileMetaData,omitempty" xml:"OssFileMetaData,omitempty"`
	// The name of the full backup file that is stored as an object in an OSS bucket.
	OssFileName *string `json:"OssFileName,omitempty" xml:"OssFileName,omitempty"`
	// The path of the full backup file that is stored as an object in an OSS bucket.
	OssFilePath *string `json:"OssFilePath,omitempty" xml:"OssFilePath,omitempty"`
	// The size of the full backup file that is stored as an object in an OSS bucket. Unit: KB.
	OssFileSize *int64 `json:"OssFileSize,omitempty" xml:"OssFileSize,omitempty"`
	// The URL to download the full backup file from the OSS bucket.
	OssUrl *string `json:"OssUrl,omitempty" xml:"OssUrl,omitempty"`
	// The reason why the full backup file failed to be imported.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The amount of storage that is required to restore the data of the full backup file. Unit: GB.
	RestoreSize *string `json:"RestoreSize,omitempty" xml:"RestoreSize,omitempty"`
	// The retention period of the full backup file. Unit: days.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
	// The status of the full backup file. Valid values:
	//
	// *   **Importing**: The full backup file is being imported.
	// *   **Failed**: The full backup file fails to be imported.
	// *   **CheckSucccess**: The full backup file passes the check.
	// *   **BackupSuccess**: The full backup file is imported.
	// *   **Deleted**: The full backup file is deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The zone ID of the full backup file.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ListUserBackupFilesResponseBodyRecords) GoString

func (*ListUserBackupFilesResponseBodyRecords) SetBackupId

func (*ListUserBackupFilesResponseBodyRecords) SetBinlogInfo

func (*ListUserBackupFilesResponseBodyRecords) SetComment

func (*ListUserBackupFilesResponseBodyRecords) SetCreationTime

func (*ListUserBackupFilesResponseBodyRecords) SetEngine

func (*ListUserBackupFilesResponseBodyRecords) SetEngineVersion

func (*ListUserBackupFilesResponseBodyRecords) SetFinishTime

func (*ListUserBackupFilesResponseBodyRecords) SetModificationTime

func (*ListUserBackupFilesResponseBodyRecords) SetOssBucket

func (*ListUserBackupFilesResponseBodyRecords) SetOssFileMetaData

func (*ListUserBackupFilesResponseBodyRecords) SetOssFileName

func (*ListUserBackupFilesResponseBodyRecords) SetOssFilePath

func (*ListUserBackupFilesResponseBodyRecords) SetOssFileSize

func (*ListUserBackupFilesResponseBodyRecords) SetOssUrl

func (*ListUserBackupFilesResponseBodyRecords) SetReason

func (*ListUserBackupFilesResponseBodyRecords) SetRestoreSize

func (*ListUserBackupFilesResponseBodyRecords) SetRetention

func (*ListUserBackupFilesResponseBodyRecords) SetStatus

func (*ListUserBackupFilesResponseBodyRecords) SetZoneId

func (ListUserBackupFilesResponseBodyRecords) String

type LockAccountRequest

type LockAccountRequest struct {
	// The account that you want to lock. You can lock only a single account at a time.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (LockAccountRequest) GoString

func (s LockAccountRequest) GoString() string

func (*LockAccountRequest) SetAccountName

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

func (*LockAccountRequest) SetDBInstanceId

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

func (*LockAccountRequest) SetOwnerId

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

func (*LockAccountRequest) SetResourceOwnerAccount

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

func (*LockAccountRequest) SetResourceOwnerId

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

func (LockAccountRequest) String

func (s LockAccountRequest) String() string

type LockAccountResponse

type LockAccountResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *LockAccountResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (LockAccountResponse) GoString

func (s LockAccountResponse) GoString() string

func (*LockAccountResponse) SetBody

func (*LockAccountResponse) SetHeaders

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

func (*LockAccountResponse) SetStatusCode

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

func (LockAccountResponse) String

func (s LockAccountResponse) String() string

type LockAccountResponseBody

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

func (LockAccountResponseBody) GoString

func (s LockAccountResponseBody) GoString() string

func (*LockAccountResponseBody) SetRequestId

func (LockAccountResponseBody) String

func (s LockAccountResponseBody) String() string

type MigrateConnectionToOtherZoneRequest

type MigrateConnectionToOtherZoneRequest struct {
	// The endpoint of the instance. The endpoint is specified when you create the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the zone.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (MigrateConnectionToOtherZoneRequest) GoString

func (*MigrateConnectionToOtherZoneRequest) SetConnectionString

func (*MigrateConnectionToOtherZoneRequest) SetDBInstanceId

func (*MigrateConnectionToOtherZoneRequest) SetOwnerId added in v3.1.0

func (*MigrateConnectionToOtherZoneRequest) SetResourceOwnerId added in v3.1.0

func (*MigrateConnectionToOtherZoneRequest) SetZoneId

func (MigrateConnectionToOtherZoneRequest) String

type MigrateConnectionToOtherZoneResponse

type MigrateConnectionToOtherZoneResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MigrateConnectionToOtherZoneResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (MigrateConnectionToOtherZoneResponse) GoString

func (*MigrateConnectionToOtherZoneResponse) SetHeaders

func (*MigrateConnectionToOtherZoneResponse) SetStatusCode

func (MigrateConnectionToOtherZoneResponse) String

type MigrateConnectionToOtherZoneResponseBody

type MigrateConnectionToOtherZoneResponseBody struct {
	// The error code.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The error message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (MigrateConnectionToOtherZoneResponseBody) GoString

func (*MigrateConnectionToOtherZoneResponseBody) SetCode

func (*MigrateConnectionToOtherZoneResponseBody) SetMessage

func (*MigrateConnectionToOtherZoneResponseBody) SetRequestId

func (MigrateConnectionToOtherZoneResponseBody) String

type MigrateDBInstanceRequest

type MigrateDBInstanceRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The dedicated cluster ID. You can call the DescribeDedicatedHostGroups operation to query the dedicated cluster ID.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The time when you want the system to start the migration. Valid values:
	//
	// *   **Immediately**: The system immediately starts the migration. This is the default value.
	// *   **MaintainTime**: The system starts the migration during the specified maintenance window.
	// *   **Specified**: The system starts the migration at the specified point in time.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time when you want the system to start the migration. 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 must be specified when you set **EffectiveTime** to **Specified**.
	SpecifiedTime *string `json:"SpecifiedTime,omitempty" xml:"SpecifiedTime,omitempty"`
	// The ID of the host to which you want to migrate the primary instance. You can call the DescribeDedicatedHosts operation to query the host ID.
	TargetDedicatedHostIdForMaster *string `json:"TargetDedicatedHostIdForMaster,omitempty" xml:"TargetDedicatedHostIdForMaster,omitempty"`
	// The ID of the host to which you want to migrate the secondary instance. You can call the DescribeDedicatedHosts operation to query the host ID.
	TargetDedicatedHostIdForSlave *string `json:"TargetDedicatedHostIdForSlave,omitempty" xml:"TargetDedicatedHostIdForSlave,omitempty"`
	// The zone ID of the secondary instance.
	ZoneIdForFollower *string `json:"ZoneIdForFollower,omitempty" xml:"ZoneIdForFollower,omitempty"`
	// The zone ID of the logger instance.
	ZoneIdForLog *string `json:"ZoneIdForLog,omitempty" xml:"ZoneIdForLog,omitempty"`
}

func (MigrateDBInstanceRequest) GoString

func (s MigrateDBInstanceRequest) GoString() string

func (*MigrateDBInstanceRequest) SetDBInstanceId

func (*MigrateDBInstanceRequest) SetDedicatedHostGroupId

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

func (*MigrateDBInstanceRequest) SetEffectiveTime

func (*MigrateDBInstanceRequest) SetOwnerId

func (*MigrateDBInstanceRequest) SetRegionId

func (*MigrateDBInstanceRequest) SetResourceOwnerAccount

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

func (*MigrateDBInstanceRequest) SetResourceOwnerId

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

func (*MigrateDBInstanceRequest) SetSpecifiedTime

func (*MigrateDBInstanceRequest) SetTargetDedicatedHostIdForMaster

func (s *MigrateDBInstanceRequest) SetTargetDedicatedHostIdForMaster(v string) *MigrateDBInstanceRequest

func (*MigrateDBInstanceRequest) SetTargetDedicatedHostIdForSlave

func (s *MigrateDBInstanceRequest) SetTargetDedicatedHostIdForSlave(v string) *MigrateDBInstanceRequest

func (*MigrateDBInstanceRequest) SetZoneIdForFollower

func (s *MigrateDBInstanceRequest) SetZoneIdForFollower(v string) *MigrateDBInstanceRequest

func (*MigrateDBInstanceRequest) SetZoneIdForLog

func (MigrateDBInstanceRequest) String

func (s MigrateDBInstanceRequest) String() string

type MigrateDBInstanceResponse

type MigrateDBInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MigrateDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (MigrateDBInstanceResponse) GoString

func (s MigrateDBInstanceResponse) GoString() string

func (*MigrateDBInstanceResponse) SetBody

func (*MigrateDBInstanceResponse) SetHeaders

func (*MigrateDBInstanceResponse) SetStatusCode

func (MigrateDBInstanceResponse) String

func (s MigrateDBInstanceResponse) String() string

type MigrateDBInstanceResponseBody

type MigrateDBInstanceResponseBody struct {
	// The serial number of the task in the migration task queue. When the serial number becomes 0, the system starts the migration.
	MigrationId *int32 `json:"MigrationId,omitempty" xml:"MigrationId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (MigrateDBInstanceResponseBody) GoString

func (*MigrateDBInstanceResponseBody) SetMigrationId

func (*MigrateDBInstanceResponseBody) SetRequestId

func (*MigrateDBInstanceResponseBody) SetTaskId

func (MigrateDBInstanceResponseBody) String

type MigrateSecurityIPModeRequest

type MigrateSecurityIPModeRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (MigrateSecurityIPModeRequest) GoString

func (s MigrateSecurityIPModeRequest) GoString() string

func (*MigrateSecurityIPModeRequest) SetDBInstanceId

func (*MigrateSecurityIPModeRequest) SetOwnerId

func (*MigrateSecurityIPModeRequest) SetResourceOwnerAccount

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

func (*MigrateSecurityIPModeRequest) SetResourceOwnerId

func (MigrateSecurityIPModeRequest) String

type MigrateSecurityIPModeResponse

type MigrateSecurityIPModeResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MigrateSecurityIPModeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (MigrateSecurityIPModeResponse) GoString

func (*MigrateSecurityIPModeResponse) SetBody

func (*MigrateSecurityIPModeResponse) SetHeaders

func (*MigrateSecurityIPModeResponse) SetStatusCode

func (MigrateSecurityIPModeResponse) String

type MigrateSecurityIPModeResponseBody

type MigrateSecurityIPModeResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The whitelist mode after the change, which is the enhanced whitelist mode.
	//
	// Valid values:
	//
	// *   safety
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     enhanced whitelist mode
	//
	//     <!-- -->
	SecurityIPMode *string `json:"SecurityIPMode,omitempty" xml:"SecurityIPMode,omitempty"`
}

func (MigrateSecurityIPModeResponseBody) GoString

func (*MigrateSecurityIPModeResponseBody) SetDBInstanceId

func (*MigrateSecurityIPModeResponseBody) SetRequestId

func (*MigrateSecurityIPModeResponseBody) SetSecurityIPMode

func (MigrateSecurityIPModeResponseBody) String

type MigrateToOtherZoneRequest

type MigrateToOtherZoneRequest struct {
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition
	// *   **HighAvailability**: RDS High-availability Edition
	// *   **AlwaysOn**: SQL Server on RDS Cluster Edition
	// *   **cluster**: MySQL on RDS Cluster Edition
	// *   **Finance**: RDS Enterprise Edition
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The new instance type of the instance. You can change the instance type of the instance. You cannot change the storage type of the instance. If you set **IsModifySpec** to **true**, you must specify at least one of DBInstanceClass and **DBInstanceStorage**.
	//
	// For more information about instance types, see [Primary ApsaraDB RDS for MySQL instance types](~~276975~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new storage capacity of the instance. If you set **IsModifySpec** to **true**, you must specify at least one of DBInstanceStorage and **DBInstanceClass**.
	//
	// Unit: GB. The available storage capacity range varies based on the instance type of the instance. For more information, see [Primary ApsaraDB RDS for MySQL instance types](~~276975~~).
	DBInstanceStorage *int64 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The time when you want the change to take effect. Valid values:
	//
	// *   **Immediately** (default): The change immediately takes effect.
	// *   **MaintainTime**: The change takes effect during the maintenance window. For more information, see ModifyDBInstanceMaintainTime.
	// *   **ScheduleTime**: The change takes effect at the point in time that you specify.
	//
	// >  If you set this parameter to **ScheduleTime**, you must specify the **SwitchTime** parameter.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// Specifies whether to change the specifications of the instance during the cross-zone migration. Valid values:
	//
	// *   **true**: You want to change the specifications of the instance during the cross-zone migration. If you set this parameter to **true**, you must specify at least one of **DBInstanceClass** and **DBInstanceStorage**.
	// *   **false** (default): You do not want to change the specifications of the instance during the cross-zone migration.
	//
	// > This parameter applies only to instances that run MySQL.
	IsModifySpec         *string `json:"IsModifySpec,omitempty" xml:"IsModifySpec,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 migration 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.
	//
	// > This parameter is used with **EffectiveTime**. You must specify this parameter only when **EffectiveTime** is set to **ScheduleTime**.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The ID of the virtual private cloud (VPC). Do not change the VPC of the instance when you migrate the instance across zones.
	//
	// *   This parameter must be specified when the instance resides in a VPC.
	// *   If the instance runs SQL Server, you can change the VPC of the instance.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID.
	//
	// *   This parameter must be specified when the instance resides in a VPC. You can call the DescribeVSwitches operation to query existing vSwitches.
	// *   If the instance runs PostgreSQL or SQL Server and a secondary zone is specified for the instance, you can specify multiple vSwitch IDs, each of which corresponds to a zone. Separate the vSwitch IDs with commas (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the destination zone. You can call the DescribeRegions operation to query the most recent region list.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The secondary zone 1 of the instance.
	//
	// >  This parameter must be configured if the instance runs RDS editions other than RDS Basic Edition.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// The secondary zone 2 of the instance.
	//
	// >  You can specify this parameter only for instances that run RDS Enterprise Edition.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (MigrateToOtherZoneRequest) GoString

func (s MigrateToOtherZoneRequest) GoString() string

func (*MigrateToOtherZoneRequest) SetCategory

func (*MigrateToOtherZoneRequest) SetDBInstanceClass

func (*MigrateToOtherZoneRequest) SetDBInstanceId

func (*MigrateToOtherZoneRequest) SetDBInstanceStorage

func (s *MigrateToOtherZoneRequest) SetDBInstanceStorage(v int64) *MigrateToOtherZoneRequest

func (*MigrateToOtherZoneRequest) SetEffectiveTime

func (*MigrateToOtherZoneRequest) SetIsModifySpec

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

func (*MigrateToOtherZoneRequest) SetVPCId

func (*MigrateToOtherZoneRequest) SetVSwitchId

func (*MigrateToOtherZoneRequest) SetZoneId

func (*MigrateToOtherZoneRequest) SetZoneIdSlave1

func (*MigrateToOtherZoneRequest) SetZoneIdSlave2

func (MigrateToOtherZoneRequest) String

func (s MigrateToOtherZoneRequest) String() string

type MigrateToOtherZoneResponse

type MigrateToOtherZoneResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MigrateToOtherZoneResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order. This parameter is returned only when the instance runs MySQL.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (MigrateToOtherZoneResponseBody) GoString

func (*MigrateToOtherZoneResponseBody) SetDBInstanceId

func (*MigrateToOtherZoneResponseBody) SetOrderId

func (*MigrateToOtherZoneResponseBody) SetRequestId

func (MigrateToOtherZoneResponseBody) String

type ModifyADInfoRequest

type ModifyADInfoRequest struct {
	// The account of the AD domain.
	ADAccountName *string `json:"ADAccountName,omitempty" xml:"ADAccountName,omitempty"`
	// The DNS information about the AD domain.
	ADDNS *string `json:"ADDNS,omitempty" xml:"ADDNS,omitempty"`
	// The password for the account of the AD domain.
	ADPassword *string `json:"ADPassword,omitempty" xml:"ADPassword,omitempty"`
	// The IP address of the AD domain.
	ADServerIpAddress *string `json:"ADServerIpAddress,omitempty" xml:"ADServerIpAddress,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyADInfoRequest) GoString

func (s ModifyADInfoRequest) GoString() string

func (*ModifyADInfoRequest) SetADAccountName

func (s *ModifyADInfoRequest) SetADAccountName(v string) *ModifyADInfoRequest

func (*ModifyADInfoRequest) SetADDNS

func (*ModifyADInfoRequest) SetADPassword

func (s *ModifyADInfoRequest) SetADPassword(v string) *ModifyADInfoRequest

func (*ModifyADInfoRequest) SetADServerIpAddress

func (s *ModifyADInfoRequest) SetADServerIpAddress(v string) *ModifyADInfoRequest

func (*ModifyADInfoRequest) SetClientToken

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

func (*ModifyADInfoRequest) SetDBInstanceId

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

func (*ModifyADInfoRequest) SetOwnerId

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

func (*ModifyADInfoRequest) SetRegionId

func (s *ModifyADInfoRequest) SetRegionId(v string) *ModifyADInfoRequest

func (*ModifyADInfoRequest) SetResourceOwnerAccount

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

func (*ModifyADInfoRequest) SetResourceOwnerId

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

func (ModifyADInfoRequest) String

func (s ModifyADInfoRequest) String() string

type ModifyADInfoResponse

type ModifyADInfoResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyADInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyADInfoResponse) GoString

func (s ModifyADInfoResponse) GoString() string

func (*ModifyADInfoResponse) SetBody

func (*ModifyADInfoResponse) SetHeaders

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

func (*ModifyADInfoResponse) SetStatusCode

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

func (ModifyADInfoResponse) String

func (s ModifyADInfoResponse) String() string

type ModifyADInfoResponseBody

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

func (ModifyADInfoResponseBody) GoString

func (s ModifyADInfoResponseBody) GoString() string

func (*ModifyADInfoResponseBody) SetRequestId

func (ModifyADInfoResponseBody) String

func (s ModifyADInfoResponseBody) String() string

type ModifyAccountDescriptionRequest

type ModifyAccountDescriptionRequest struct {
	// The description of the account. The value must be 2 to 256 characters in length. The value can contain letters, digits, underscores (\_), and hyphens (-), and must start with a letter.
	//
	// >  The description cannot start with http:// or https://.
	AccountDescription *string `json:"AccountDescription,omitempty" xml:"AccountDescription,omitempty"`
	// The username of the account. You can call the DescribeAccounts operation to obtain the username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

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" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyAccountDescriptionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyAccountDescriptionResponse) GoString

func (*ModifyAccountDescriptionResponse) SetHeaders

func (*ModifyAccountDescriptionResponse) SetStatusCode

func (ModifyAccountDescriptionResponse) String

type ModifyAccountDescriptionResponseBody

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

func (ModifyAccountDescriptionResponseBody) GoString

func (*ModifyAccountDescriptionResponseBody) SetRequestId

func (ModifyAccountDescriptionResponseBody) String

type ModifyActionEventPolicyRequest

type ModifyActionEventPolicyRequest struct {
	// Specifies whether to enable the event history feature. Valid values: **True | False**.
	EnableEventLog *string `json:"EnableEventLog,omitempty" xml:"EnableEventLog,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region for which you want to enable the event history feature. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyActionEventPolicyRequest) GoString

func (*ModifyActionEventPolicyRequest) SetEnableEventLog

func (*ModifyActionEventPolicyRequest) SetOwnerId

func (*ModifyActionEventPolicyRequest) SetRegionId

func (*ModifyActionEventPolicyRequest) SetResourceOwnerAccount

func (*ModifyActionEventPolicyRequest) SetResourceOwnerId

func (ModifyActionEventPolicyRequest) String

type ModifyActionEventPolicyResponse

type ModifyActionEventPolicyResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyActionEventPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyActionEventPolicyResponse) GoString

func (*ModifyActionEventPolicyResponse) SetHeaders

func (*ModifyActionEventPolicyResponse) SetStatusCode

func (ModifyActionEventPolicyResponse) String

type ModifyActionEventPolicyResponseBody

type ModifyActionEventPolicyResponseBody struct {
	// Indicates whether the event history feature is enabled.
	EnableEventLog *string `json:"EnableEventLog,omitempty" xml:"EnableEventLog,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyActionEventPolicyResponseBody) GoString

func (*ModifyActionEventPolicyResponseBody) SetEnableEventLog

func (*ModifyActionEventPolicyResponseBody) SetRegionId

func (*ModifyActionEventPolicyResponseBody) SetRequestId

func (ModifyActionEventPolicyResponseBody) String

type ModifyActiveOperationTasksRequest added in v3.0.4

type ModifyActiveOperationTasksRequest struct {
	// The ID of the O\&M task. Separate multiple IDs with commas (,).
	//
	// > You can call the DescribeActiveOperationTask operation to query the IDs of O\&M tasks.
	Ids *string `json:"Ids,omitempty" xml:"Ids,omitempty"`
	// Specifies whether to immediately start scheduling. The value 0 indicates that scheduling is not immediately started. This is the default value. The value 1 indicates that scheduling is immediately started. If you set this parameter to 0, SwitchTime takes effect. If you set this parameter to 1, SwitchTimer does not take effect. In this case, the start time of the task is set to the current time, and the system determines the switching time based on the start time.
	//
	// > Immediate scheduling indicates that the task enters the preparation state instead of the immediate switchover. After the preparation is complete, the switchover is performed. You can call the DescribeActiveOperationTasks operation to obtain the period of time for preparation. The period of time for preparation is returned in PrepareInterva.
	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"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The scheduled switching time that you want to specify. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	//
	// > The time that you specify cannot be later than the deadline for performing the O\&M task. You can call DescribeActiveOperationTasks to query the deadlines of O\&M tasks. The deadline of a task is returned in Deadline.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
}

func (ModifyActiveOperationTasksRequest) GoString added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetIds added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetImmediateStart added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetOwnerAccount added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetOwnerId added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetResourceOwnerAccount added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetResourceOwnerId added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetSecurityToken added in v3.0.4

func (*ModifyActiveOperationTasksRequest) SetSwitchTime added in v3.0.4

func (ModifyActiveOperationTasksRequest) String added in v3.0.4

type ModifyActiveOperationTasksResponse added in v3.0.4

type ModifyActiveOperationTasksResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyActiveOperationTasksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyActiveOperationTasksResponse) GoString added in v3.0.4

func (*ModifyActiveOperationTasksResponse) SetBody added in v3.0.4

func (*ModifyActiveOperationTasksResponse) SetHeaders added in v3.0.4

func (*ModifyActiveOperationTasksResponse) SetStatusCode added in v3.0.4

func (ModifyActiveOperationTasksResponse) String added in v3.0.4

type ModifyActiveOperationTasksResponseBody added in v3.0.4

type ModifyActiveOperationTasksResponseBody struct {
	// The ID of the O\&M task. IDs are separated by commas (,).
	Ids *string `json:"Ids,omitempty" xml:"Ids,omitempty"`
	// The ID of the region.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyActiveOperationTasksResponseBody) GoString added in v3.0.4

func (*ModifyActiveOperationTasksResponseBody) SetIds added in v3.0.4

func (*ModifyActiveOperationTasksResponseBody) SetRequestId added in v3.0.4

func (ModifyActiveOperationTasksResponseBody) String added in v3.0.4

type ModifyBackupPolicyRequest

type ModifyBackupPolicyRequest struct {
	// The number of archived backup files that are retained. Default value: **1**. Valid values:
	//
	// *   Valid values when **ArchiveBackupKeepPolicy** is set to **ByMonth**: **1** to **31**.
	// *   Valid values when **ArchiveBackupKeepPolicy** is set to **ByWeek**: **1** to **7**.
	//
	// >
	//
	// *   You do not need to specify this parameter when **ArchiveBackupKeepPolicy** is set to **KeepAll**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	ArchiveBackupKeepCount *int32 `json:"ArchiveBackupKeepCount,omitempty" xml:"ArchiveBackupKeepCount,omitempty"`
	// The retention period of archived backup files. The number of archived backup files that can be retained within the specified retention period is specified by **ArchiveBackupKeepCount**. Default value: **0**. Valid values:
	//
	// *   **ByMonth**
	// *   **ByWeek**
	// *   **KeepAll**
	//
	// > This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	ArchiveBackupKeepPolicy *string `json:"ArchiveBackupKeepPolicy,omitempty" xml:"ArchiveBackupKeepPolicy,omitempty"`
	// The number of days for which the archived backup is retained. The default value **0** specifies that the backup archiving feature is disabled. Valid values: **30** to **1095**.
	//
	// > This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	ArchiveBackupRetentionPeriod *string `json:"ArchiveBackupRetentionPeriod,omitempty" xml:"ArchiveBackupRetentionPeriod,omitempty"`
	// The frequency at which you want to perform a snapshot backup on the instance. Valid values:
	//
	// *   **-1**: No backup frequencies are specified.
	// *   **30**: A snapshot backup is performed every 30 minutes.
	// *   **60**: A snapshot backup is performed every 60 minutes.
	// *   **120**: A snapshot backup is performed every 120 minutes.
	// *   **240**: A snapshot backup is performed every 240 minutes.
	// *   **480**: A snapshot backup is performed every 480 minutes.
	//
	// >
	//
	// *   You can configure a backup policy by using this parameter and the **PreferredBackupPeriod** parameter. For example, if you set **PreferredBackupPeriod** to Saturday,Sunday and BackupInterval to \*\*-1\*\*, a snapshot backup is performed on every Saturday and Sunday.
	//
	// *   If the instance runs PostgreSQL, BackupInterval is supported only when the instance is equipped with cloud disks.
	//
	// *   If the instance runs SQL Server, BackupInterval is supported only when the snapshot backup feature is enabled for the instance. For more information, see [Enable snapshot backups for an ApsaraDB RDS for SQL Server instance](~~211143~~).
	//
	// *   If **Category** is set to **Flash**, BackupInterval is invalid.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	BackupInterval *string `json:"BackupInterval,omitempty" xml:"BackupInterval,omitempty"`
	// Specifies whether to enable the log backup feature. Valid values:
	//
	// *   **Enable**: enables the feature.
	// *   **Disabled**: disables the feature.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **DataBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	BackupLog *string `json:"BackupLog,omitempty" xml:"BackupLog,omitempty"`
	// The backup method of the instance. Valid values:
	//
	// *   **Physical**: physical backup
	// *   **Snapshot**: snapshot backup
	//
	// Default value: **Physical**.
	//
	// >
	//
	// *   This parameter takes effect only on instances that run SQL Server with cloud disks.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	BackupMethod *string `json:"BackupMethod,omitempty" xml:"BackupMethod,omitempty"`
	// The type of the backup. Valid values:
	//
	// *   **DataBackupPolicy**: data backup
	// *   **LogBackupPolicy**: log backup
	BackupPolicyMode *string `json:"BackupPolicyMode,omitempty" xml:"BackupPolicyMode,omitempty"`
	// Specifies whether the backup settings of a secondary instance are configured. Valid values:
	//
	// *   **1**: secondary instance preferred
	// *   **2**: primary instance preferred
	//
	// >
	//
	// *   This parameter is suitable only for instances that run SQL Server on RDS Cluster Edition.
	//
	// *   This parameter takes effect only when **BackupMethod** is set to **Physical**. If **BackupMethod** is set to **Snapshot**, backups are forcefully performed on the primary instance that runs SQL Server on RDS Cluster Edition.
	BackupPriority *int32 `json:"BackupPriority,omitempty" xml:"BackupPriority,omitempty"`
	// The number of days for which you want to retain data backup files. Valid values: **7 to 730**.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **DataBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	BackupRetentionPeriod *string `json:"BackupRetentionPeriod,omitempty" xml:"BackupRetentionPeriod,omitempty"`
	// Specifies whether to enable the single-digit second backup feature. Valid values:
	//
	// *   **Flash**: enables the feature.
	// *   **Standard**: disables the feature.
	//
	// > This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The format that is used to compress backup data. Valid values:
	//
	// *   **0**: Backups are not compressed.
	// *   **1**: The zlib tool is used to compress backups into .tar.gz files.
	// *   **2**: The zlib tool is used to compress backups in parallel.
	// *   **4**: The QuickLZ tool is used to compress backups into .xb.gz files. This compression format is supported for instances that run MySQL 5.6 or MySQL 5.7. Backups in this compression format can be used to restore individual databases and tables. For more information, see [Restore individual databases and tables of an ApsaraDB RDS for MySQL instance](~~103175~~).
	// *   **8**: The QuickLZ tool is used to compress backups into .xb.gz files. This compression format is supported only for instances that run MySQL 8.0. Backups in this compression format cannot be used to restore individual databases and tables.
	//
	// > This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	CompressType *string `json:"CompressType,omitempty" xml:"CompressType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies whether to enable the log backup feature. Valid values:
	//
	// *   **True** or **1**: enables the feature.
	// *   **False** or **0**: disables the feature.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **LogBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **LogBackupPolicy**.
	EnableBackupLog *string `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// Specifies whether to enable incremental backup. Valid values:
	//
	// *   **false** (default): disables the feature.
	// *   **true**: enables the feature.
	//
	// >
	//
	// *   This parameter takes effect only on instances that run SQL Server with cloud disks.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	EnableIncrementDataBackup *bool `json:"EnableIncrementDataBackup,omitempty" xml:"EnableIncrementDataBackup,omitempty"`
	// Specifies whether to forcefully delete log backup files from the instance when the storage usage of the instance exceeds 80% or the amount of remaining storage on the instance is less than 5 GB. Valid values: **Enable and Disable**. You can retain the default value.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **LogBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **LogBackupPolicy**.
	HighSpaceUsageProtection *string `json:"HighSpaceUsageProtection,omitempty" xml:"HighSpaceUsageProtection,omitempty"`
	// The number of hours for which you want to retain log backup files on the instance. Valid values: **0 to 168**. The value 0 specifies that log backup files are not retained on the instance. The value 168 is calculated based on the following formula: 7 × 24.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **LogBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **LogBackupPolicy**.
	LocalLogRetentionHours *string `json:"LocalLogRetentionHours,omitempty" xml:"LocalLogRetentionHours,omitempty"`
	// The maximum storage usage that is allowed for log backup files on the instance. If the storage usage for log backup files on the instance exceeds the value of this parameter, the system deletes earlier log backup files until the storage usage falls below the value of this parameter. Valid values:**0 to 50**. You can retain the default value.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **LogBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **LogBackupPolicy**.
	LocalLogRetentionSpace *string `json:"LocalLogRetentionSpace,omitempty" xml:"LocalLogRetentionSpace,omitempty"`
	// The frequency at which you want to back up the logs of the instance. Valid values:
	//
	// *   **LogInterval**: A log backup is performed every 30 minutes.
	// *   The default value is the same as the data backup frequency.
	//
	// >
	//
	// *   The value **LogInterval** is supported only for instances that run SQL Server.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	LogBackupFrequency *string `json:"LogBackupFrequency,omitempty" xml:"LogBackupFrequency,omitempty"`
	// The number of binary log files that you want to retain on the instance. Default value: **60**. Valid values: **6** to **100**.
	//
	// >
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **LogBackupPolicy**.
	//
	// *   If the instance runs MySQL, you can set this parameter to \*\*-1\*\*. The value -1 specifies that no limits are imposed on the number of binary log files retained on the instance.
	LogBackupLocalRetentionNumber *int32 `json:"LogBackupLocalRetentionNumber,omitempty" xml:"LogBackupLocalRetentionNumber,omitempty"`
	// The number of days for which the log backup is retained. Valid values: **7 to 730**. The log backup retention period cannot be longer than the data backup retention period.
	//
	// >
	//
	// *   If you enable the log backup feature, you can specify the log backup retention period. This parameter is supported for instances that run MySQL and PostgreSQL.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy** or **LogBackupPolicy**.
	LogBackupRetentionPeriod *string `json:"LogBackupRetentionPeriod,omitempty" xml:"LogBackupRetentionPeriod,omitempty"`
	OwnerAccount             *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId                  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The backup cycle. Specify at least two days of the week and separate the days with commas (,). Valid values:
	//
	// *   **Monday**
	// *   **Tuesday**
	// *   **Wednesday**
	// *   **Thursday**
	// *   **Friday**
	// *   **Saturday**
	// *   **Sunday**
	//
	// >
	//
	// *   You can configure a backup policy by using this parameter and the **BackupInterval** parameter. For example, if you set this parameter to Saturday,Sunday and the **BackupInterval** parameter to 30, a backup is performed every 30 minutes on every Saturday and Sunday.
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **DataBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	PreferredBackupPeriod *string `json:"PreferredBackupPeriod,omitempty" xml:"PreferredBackupPeriod,omitempty"`
	// The time at which you want to perform a backup. Specify the time in the ISO 8601 standard in the *HH:mm*Z-*HH:mm*Z format. The time must be in UTC.
	//
	// >
	//
	// *   This parameter must be specified when **BackupPolicyMode** is set to **DataBackupPolicy**.
	//
	// *   This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	PreferredBackupTime *string `json:"PreferredBackupTime,omitempty" xml:"PreferredBackupTime,omitempty"`
	// The policy that is used to retain archived backup files if the instance is released. Default value: None. Valid values:
	//
	// *   **None**: No archived backup files are retained.
	// *   **Lastest**: Only the last archived backup file is retained.
	// *   **All**: All archived backup files are retained.
	//
	// > This parameter takes effect only when **BackupPolicyMode** is set to **DataBackupPolicy**.
	ReleasedKeepPolicy   *string `json:"ReleasedKeepPolicy,omitempty" xml:"ReleasedKeepPolicy,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyBackupPolicyRequest) GoString

func (s ModifyBackupPolicyRequest) GoString() string

func (*ModifyBackupPolicyRequest) SetArchiveBackupKeepCount

func (s *ModifyBackupPolicyRequest) SetArchiveBackupKeepCount(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetArchiveBackupKeepPolicy

func (s *ModifyBackupPolicyRequest) SetArchiveBackupKeepPolicy(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetArchiveBackupRetentionPeriod

func (s *ModifyBackupPolicyRequest) SetArchiveBackupRetentionPeriod(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetBackupInterval

func (*ModifyBackupPolicyRequest) SetBackupLog

func (*ModifyBackupPolicyRequest) SetBackupMethod

func (*ModifyBackupPolicyRequest) SetBackupPolicyMode

func (s *ModifyBackupPolicyRequest) SetBackupPolicyMode(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetBackupPriority added in v3.0.8

func (*ModifyBackupPolicyRequest) SetBackupRetentionPeriod

func (s *ModifyBackupPolicyRequest) SetBackupRetentionPeriod(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetCategory

func (*ModifyBackupPolicyRequest) SetCompressType

func (*ModifyBackupPolicyRequest) SetDBInstanceId

func (*ModifyBackupPolicyRequest) SetEnableBackupLog

func (*ModifyBackupPolicyRequest) SetEnableIncrementDataBackup

func (s *ModifyBackupPolicyRequest) SetEnableIncrementDataBackup(v bool) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetHighSpaceUsageProtection

func (s *ModifyBackupPolicyRequest) SetHighSpaceUsageProtection(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetLocalLogRetentionHours

func (s *ModifyBackupPolicyRequest) SetLocalLogRetentionHours(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetLocalLogRetentionSpace

func (s *ModifyBackupPolicyRequest) SetLocalLogRetentionSpace(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetLogBackupFrequency

func (s *ModifyBackupPolicyRequest) SetLogBackupFrequency(v string) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetLogBackupLocalRetentionNumber

func (s *ModifyBackupPolicyRequest) SetLogBackupLocalRetentionNumber(v int32) *ModifyBackupPolicyRequest

func (*ModifyBackupPolicyRequest) SetLogBackupRetentionPeriod

func (s *ModifyBackupPolicyRequest) SetLogBackupRetentionPeriod(v string) *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) SetReleasedKeepPolicy

func (s *ModifyBackupPolicyRequest) SetReleasedKeepPolicy(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) String

func (s ModifyBackupPolicyRequest) String() string

type ModifyBackupPolicyResponse

type ModifyBackupPolicyResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyBackupPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 method that is used to compress backups. Valid values:
	//
	// *   **0:** Backups are not compressed.
	// *   **1**: Backups are compressed by using the zlib tool.
	// *   **2**: Backups are compressed in parallel by using the zlib tool.
	// *   **4**: Backups are compressed by using the QuickLZ tool and can be used to restore individual databases and tables.
	// *   **8**: Backups are compressed by using the QuickLZ tool but cannot be used to restore individual databases or tables. This value is supported only for instances that run MySQL 8.0.
	CompressType *string `json:"CompressType,omitempty" xml:"CompressType,omitempty"`
	// The instance ID.
	DBInstanceID *string `json:"DBInstanceID,omitempty" xml:"DBInstanceID,omitempty"`
	// Indicates whether the log backup feature is enabled. Valid values:
	//
	// *   **1**: The feature is enabled.
	// *   **0**: The feature is disabled.
	EnableBackupLog *string `json:"EnableBackupLog,omitempty" xml:"EnableBackupLog,omitempty"`
	// Specifies whether to forcefully delete log backup files from the instance when the storage usage of the instance exceeds 80% or the amount of remaining storage on the instance is less than 5 GB.
	HighSpaceUsageProtection *string `json:"HighSpaceUsageProtection,omitempty" xml:"HighSpaceUsageProtection,omitempty"`
	// The number of hours for which log backup files are retained on the instance.
	LocalLogRetentionHours *int32 `json:"LocalLogRetentionHours,omitempty" xml:"LocalLogRetentionHours,omitempty"`
	// The maximum storage usage that is allowed for log backup files on the instance.
	LocalLogRetentionSpace *string `json:"LocalLogRetentionSpace,omitempty" xml:"LocalLogRetentionSpace,omitempty"`
	// The number of binary log files on the instance.
	LogBackupLocalRetentionNumber *int32 `json:"LogBackupLocalRetentionNumber,omitempty" xml:"LogBackupLocalRetentionNumber,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyBackupPolicyResponseBody) GoString

func (*ModifyBackupPolicyResponseBody) SetCompressType

func (*ModifyBackupPolicyResponseBody) SetDBInstanceID

func (*ModifyBackupPolicyResponseBody) SetEnableBackupLog

func (*ModifyBackupPolicyResponseBody) SetHighSpaceUsageProtection

func (s *ModifyBackupPolicyResponseBody) SetHighSpaceUsageProtection(v string) *ModifyBackupPolicyResponseBody

func (*ModifyBackupPolicyResponseBody) SetLocalLogRetentionHours

func (s *ModifyBackupPolicyResponseBody) SetLocalLogRetentionHours(v int32) *ModifyBackupPolicyResponseBody

func (*ModifyBackupPolicyResponseBody) SetLocalLogRetentionSpace

func (s *ModifyBackupPolicyResponseBody) SetLocalLogRetentionSpace(v string) *ModifyBackupPolicyResponseBody

func (*ModifyBackupPolicyResponseBody) SetLogBackupLocalRetentionNumber

func (s *ModifyBackupPolicyResponseBody) SetLogBackupLocalRetentionNumber(v int32) *ModifyBackupPolicyResponseBody

func (*ModifyBackupPolicyResponseBody) SetRequestId

func (ModifyBackupPolicyResponseBody) String

type ModifyCollationTimeZoneRequest

type ModifyCollationTimeZoneRequest struct {
	// The character set collation of the instance. Valid values:
	//
	// *   **Latin1\_General_CI_AS**
	// *   **Latin1\_General_CS_AS**
	// *   **SQL_Latin1\_General_CP1\_CI_AS**
	// *   **SQL_Latin1\_General_CP1\_CS_AS**
	// *   **Chinese_PRC_CS_AS**
	// *   **Chinese_PRC_BIN**
	// *   **Chinese_PRC_CI_AS**
	// *   **Japanese_CI_AS**
	// *   **Japanese_CS_AS**
	// *   **Chinese_Taiwan_Stroke_CI_AS**
	// *   **Chinese_Taiwan_Stroke_CS_AS**
	//
	// By default, the system does not modify the character set collation of the instance.
	//
	// > You must specify one of the **Collation** and **Timezone** parameters.
	Collation *string `json:"Collation,omitempty" xml:"Collation,omitempty"`
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 time zone of the instance. By default, the system does not modify the time zone.
	//
	// > You must specify one of the **Collation** and **Timezone** parameters.
	Timezone *string `json:"Timezone,omitempty" xml:"Timezone,omitempty"`
}

func (ModifyCollationTimeZoneRequest) GoString

func (*ModifyCollationTimeZoneRequest) SetCollation

func (*ModifyCollationTimeZoneRequest) SetDBInstanceId

func (*ModifyCollationTimeZoneRequest) SetOwnerId

func (*ModifyCollationTimeZoneRequest) SetResourceOwnerAccount

func (*ModifyCollationTimeZoneRequest) SetResourceOwnerId

func (*ModifyCollationTimeZoneRequest) SetTimezone

func (ModifyCollationTimeZoneRequest) String

type ModifyCollationTimeZoneResponse

type ModifyCollationTimeZoneResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyCollationTimeZoneResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyCollationTimeZoneResponse) GoString

func (*ModifyCollationTimeZoneResponse) SetHeaders

func (*ModifyCollationTimeZoneResponse) SetStatusCode

func (ModifyCollationTimeZoneResponse) String

type ModifyCollationTimeZoneResponseBody

type ModifyCollationTimeZoneResponseBody struct {
	// The character set collation of the instance.
	Collation *string `json:"Collation,omitempty" xml:"Collation,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The time zone of the instance.
	Timezone *string `json:"Timezone,omitempty" xml:"Timezone,omitempty"`
}

func (ModifyCollationTimeZoneResponseBody) GoString

func (*ModifyCollationTimeZoneResponseBody) SetCollation

func (*ModifyCollationTimeZoneResponseBody) SetDBInstanceId

func (*ModifyCollationTimeZoneResponseBody) SetRequestId

func (*ModifyCollationTimeZoneResponseBody) SetTaskId

func (*ModifyCollationTimeZoneResponseBody) SetTimezone

func (ModifyCollationTimeZoneResponseBody) String

type ModifyCustinsResourceRequest added in v3.3.0

type ModifyCustinsResourceRequest struct {
	// The deadline for the modification.
	AdjustDeadline *string `json:"AdjustDeadline,omitempty" xml:"AdjustDeadline,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The increase rate in percentage.
	IncreaseRatio   *string `json:"IncreaseRatio,omitempty" xml:"IncreaseRatio,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The resource type.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The original value. This parameter must be specified when the **ResourceType** parameter is set to **instance**.
	RestoreOriginalSpecification *string `json:"RestoreOriginalSpecification,omitempty" xml:"RestoreOriginalSpecification,omitempty"`
	// The target value. This parameter is available only if you set the ScalingRuleType parameter to TargetTrackingScalingRule or PredictiveScalingRule. The value must be greater than 0 and can contain up to three decimal places.
	TargetValue *int32 `json:"TargetValue,omitempty" xml:"TargetValue,omitempty"`
}

func (ModifyCustinsResourceRequest) GoString added in v3.3.0

func (s ModifyCustinsResourceRequest) GoString() string

func (*ModifyCustinsResourceRequest) SetAdjustDeadline added in v3.3.0

func (*ModifyCustinsResourceRequest) SetDBInstanceId added in v3.3.0

func (*ModifyCustinsResourceRequest) SetIncreaseRatio added in v3.3.0

func (*ModifyCustinsResourceRequest) SetResourceOwnerId added in v3.3.0

func (*ModifyCustinsResourceRequest) SetResourceType added in v3.3.0

func (*ModifyCustinsResourceRequest) SetRestoreOriginalSpecification added in v3.3.0

func (s *ModifyCustinsResourceRequest) SetRestoreOriginalSpecification(v string) *ModifyCustinsResourceRequest

func (*ModifyCustinsResourceRequest) SetTargetValue added in v3.3.0

func (ModifyCustinsResourceRequest) String added in v3.3.0

type ModifyCustinsResourceResponse added in v3.3.0

type ModifyCustinsResourceResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyCustinsResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyCustinsResourceResponse) GoString added in v3.3.0

func (*ModifyCustinsResourceResponse) SetBody added in v3.3.0

func (*ModifyCustinsResourceResponse) SetHeaders added in v3.3.0

func (*ModifyCustinsResourceResponse) SetStatusCode added in v3.3.0

func (ModifyCustinsResourceResponse) String added in v3.3.0

type ModifyCustinsResourceResponseBody added in v3.3.0

type ModifyCustinsResourceResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyCustinsResourceResponseBody) GoString added in v3.3.0

func (*ModifyCustinsResourceResponseBody) SetRequestId added in v3.3.0

func (*ModifyCustinsResourceResponseBody) SetTaskId added in v3.3.0

func (ModifyCustinsResourceResponseBody) String added in v3.3.0

type ModifyDBDescriptionRequest

type ModifyDBDescriptionRequest struct {
	// The description of the database.
	DBDescription *string `json:"DBDescription,omitempty" xml:"DBDescription,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database.
	DBName               *string `json:"DBName,omitempty" xml:"DBName,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 (ModifyDBDescriptionRequest) GoString

func (s ModifyDBDescriptionRequest) GoString() string

func (*ModifyDBDescriptionRequest) SetDBDescription

func (*ModifyDBDescriptionRequest) SetDBInstanceId

func (*ModifyDBDescriptionRequest) SetDBName

func (*ModifyDBDescriptionRequest) SetOwnerAccount

func (*ModifyDBDescriptionRequest) SetOwnerId

func (*ModifyDBDescriptionRequest) SetResourceOwnerAccount

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

func (*ModifyDBDescriptionRequest) SetResourceOwnerId

func (ModifyDBDescriptionRequest) String

type ModifyDBDescriptionResponse

type ModifyDBDescriptionResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBDescriptionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBDescriptionResponse) GoString

func (s ModifyDBDescriptionResponse) GoString() string

func (*ModifyDBDescriptionResponse) SetBody

func (*ModifyDBDescriptionResponse) SetHeaders

func (*ModifyDBDescriptionResponse) SetStatusCode

func (ModifyDBDescriptionResponse) String

type ModifyDBDescriptionResponseBody

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

func (ModifyDBDescriptionResponseBody) GoString

func (*ModifyDBDescriptionResponseBody) SetRequestId

func (ModifyDBDescriptionResponseBody) String

type ModifyDBInstanceAutoUpgradeMinorVersionRequest

type ModifyDBInstanceAutoUpgradeMinorVersionRequest struct {
	// The method that is used to update the minor engine version of the instance. Valid values:
	//
	// *   **Auto:** automatic update.
	// *   **Manual**: manual update. ApsaraDB RDS automatically updates the current minor engine version of the instance only when the current minor engine version is phased out.
	AutoUpgradeMinorVersion *string `json:"AutoUpgradeMinorVersion,omitempty" xml:"AutoUpgradeMinorVersion,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (ModifyDBInstanceAutoUpgradeMinorVersionRequest) GoString

func (*ModifyDBInstanceAutoUpgradeMinorVersionRequest) SetAutoUpgradeMinorVersion

func (*ModifyDBInstanceAutoUpgradeMinorVersionRequest) SetClientToken

func (*ModifyDBInstanceAutoUpgradeMinorVersionRequest) SetDBInstanceId

func (*ModifyDBInstanceAutoUpgradeMinorVersionRequest) SetOwnerId

func (*ModifyDBInstanceAutoUpgradeMinorVersionRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceAutoUpgradeMinorVersionRequest) SetResourceOwnerId

func (ModifyDBInstanceAutoUpgradeMinorVersionRequest) String

type ModifyDBInstanceAutoUpgradeMinorVersionResponse

type ModifyDBInstanceAutoUpgradeMinorVersionResponse struct {
	Headers    map[string]*string                                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceAutoUpgradeMinorVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceAutoUpgradeMinorVersionResponse) GoString

func (*ModifyDBInstanceAutoUpgradeMinorVersionResponse) SetHeaders

func (*ModifyDBInstanceAutoUpgradeMinorVersionResponse) SetStatusCode

func (ModifyDBInstanceAutoUpgradeMinorVersionResponse) String

type ModifyDBInstanceAutoUpgradeMinorVersionResponseBody

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

func (ModifyDBInstanceAutoUpgradeMinorVersionResponseBody) GoString

func (*ModifyDBInstanceAutoUpgradeMinorVersionResponseBody) SetRequestId

func (ModifyDBInstanceAutoUpgradeMinorVersionResponseBody) String

type ModifyDBInstanceConfigRequest added in v3.0.9

type ModifyDBInstanceConfigRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The name of the configuration item that you want to modify.
	//
	// *   **pgbouncer**
	ConfigName *string `json:"ConfigName,omitempty" xml:"ConfigName,omitempty"`
	// The value of the configuration item that you want to modify.
	//
	// *   **true**
	// *   **false**
	ConfigValue *string `json:"ConfigValue,omitempty" xml:"ConfigValue,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute to obtain the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceConfigRequest) GoString added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetClientToken added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetConfigName added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetConfigValue added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetDBInstanceId added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetOwnerAccount added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetOwnerId added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetResourceGroupId added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetResourceOwnerAccount added in v3.0.9

func (*ModifyDBInstanceConfigRequest) SetResourceOwnerId added in v3.0.9

func (ModifyDBInstanceConfigRequest) String added in v3.0.9

type ModifyDBInstanceConfigResponse added in v3.0.9

type ModifyDBInstanceConfigResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceConfigResponse) GoString added in v3.0.9

func (*ModifyDBInstanceConfigResponse) SetBody added in v3.0.9

func (*ModifyDBInstanceConfigResponse) SetHeaders added in v3.0.9

func (*ModifyDBInstanceConfigResponse) SetStatusCode added in v3.0.9

func (ModifyDBInstanceConfigResponse) String added in v3.0.9

type ModifyDBInstanceConfigResponseBody added in v3.0.9

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

func (ModifyDBInstanceConfigResponseBody) GoString added in v3.0.9

func (*ModifyDBInstanceConfigResponseBody) SetRequestId added in v3.0.9

func (ModifyDBInstanceConfigResponseBody) String added in v3.0.9

type ModifyDBInstanceConnectionModeRequest

type ModifyDBInstanceConnectionModeRequest struct {
	// The connection mode of the instance. Valid values:
	//
	// *   **Standard**: standard mode
	// *   **Safe**: database proxy mode
	//
	// The system automatically assigns a connection mode to the instance.
	//
	// >  SQL Server 2012, SQL Server 2016, and SQL Server 2017 support only the standard mode.
	ConnectionMode *string `json:"ConnectionMode,omitempty" xml:"ConnectionMode,omitempty"`
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceConnectionModeRequest) GoString

func (*ModifyDBInstanceConnectionModeRequest) SetConnectionMode

func (*ModifyDBInstanceConnectionModeRequest) SetDBInstanceId

func (*ModifyDBInstanceConnectionModeRequest) SetOwnerAccount

func (*ModifyDBInstanceConnectionModeRequest) SetOwnerId

func (*ModifyDBInstanceConnectionModeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceConnectionModeRequest) SetResourceOwnerId

func (ModifyDBInstanceConnectionModeRequest) String

type ModifyDBInstanceConnectionModeResponse

type ModifyDBInstanceConnectionModeResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceConnectionModeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceConnectionModeResponse) GoString

func (*ModifyDBInstanceConnectionModeResponse) SetHeaders

func (*ModifyDBInstanceConnectionModeResponse) SetStatusCode

func (ModifyDBInstanceConnectionModeResponse) String

type ModifyDBInstanceConnectionModeResponseBody

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

func (ModifyDBInstanceConnectionModeResponseBody) GoString

func (*ModifyDBInstanceConnectionModeResponseBody) SetRequestId

func (ModifyDBInstanceConnectionModeResponseBody) String

type ModifyDBInstanceConnectionStringRequest

type ModifyDBInstanceConnectionStringRequest struct {
	// The Tabular Data Stream (TDS) port of the instance for which Babelfish is enabled.
	//
	// > This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](~~428613~~).
	BabelfishPort *string `json:"BabelfishPort,omitempty" xml:"BabelfishPort,omitempty"`
	// The prefix of the endpoint after the change. Only the prefix of the value of **CurrentConnectionString** can be changed.
	//
	// > The value must be 8 to 64 characters in length and can contain letters, digits, and hyphens (-). The value cannot contain any of the following special characters: ! # % ^ & \* = + | {} ; : \" " ,<> / ?
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The endpoint of the instance. It can be an internal endpoint, a public endpoint, or a classic network endpoint in hybrid access mode.
	//
	// > The read/write splitting endpoint cannot be changed.
	CurrentConnectionString *string `json:"CurrentConnectionString,omitempty" xml:"CurrentConnectionString,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the dedicated cluster to which the instance belongs. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
	GeneralGroupName *string `json:"GeneralGroupName,omitempty" xml:"GeneralGroupName,omitempty"`
	OwnerAccount     *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId          *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The PgBouncer port.
	//
	// > This parameter is suitable only for ApsaraDB RDS for PostgreSQL instances. If you enable PgBouncer for your instance, you can change the PgBouncer port of the instance.
	PGBouncerPort *string `json:"PGBouncerPort,omitempty" xml:"PGBouncerPort,omitempty"`
	// The port number after the change.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceConnectionStringRequest) GoString

func (*ModifyDBInstanceConnectionStringRequest) SetBabelfishPort

func (*ModifyDBInstanceConnectionStringRequest) SetConnectionStringPrefix

func (*ModifyDBInstanceConnectionStringRequest) SetCurrentConnectionString

func (*ModifyDBInstanceConnectionStringRequest) SetDBInstanceId

func (*ModifyDBInstanceConnectionStringRequest) SetGeneralGroupName

func (*ModifyDBInstanceConnectionStringRequest) SetOwnerAccount

func (*ModifyDBInstanceConnectionStringRequest) SetOwnerId

func (*ModifyDBInstanceConnectionStringRequest) SetPGBouncerPort added in v3.0.7

func (*ModifyDBInstanceConnectionStringRequest) SetPort

func (*ModifyDBInstanceConnectionStringRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceConnectionStringRequest) SetResourceOwnerId

func (ModifyDBInstanceConnectionStringRequest) String

type ModifyDBInstanceConnectionStringResponse

type ModifyDBInstanceConnectionStringResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceConnectionStringResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceConnectionStringResponse) GoString

func (*ModifyDBInstanceConnectionStringResponse) SetHeaders

func (*ModifyDBInstanceConnectionStringResponse) SetStatusCode

func (ModifyDBInstanceConnectionStringResponse) String

type ModifyDBInstanceConnectionStringResponseBody

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

func (ModifyDBInstanceConnectionStringResponseBody) GoString

func (*ModifyDBInstanceConnectionStringResponseBody) SetRequestId

func (ModifyDBInstanceConnectionStringResponseBody) String

type ModifyDBInstanceDelayedReplicationTimeRequest

type ModifyDBInstanceDelayedReplicationTimeRequest struct {
	// The instance ID. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The replication latency of the read-only instance. Unit: seconds.
	ReadSQLReplicationTime *string `json:"ReadSQLReplicationTime,omitempty" xml:"ReadSQLReplicationTime,omitempty"`
	ResourceOwnerAccount   *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId        *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceDelayedReplicationTimeRequest) GoString

func (*ModifyDBInstanceDelayedReplicationTimeRequest) SetDBInstanceId

func (*ModifyDBInstanceDelayedReplicationTimeRequest) SetOwnerId

func (*ModifyDBInstanceDelayedReplicationTimeRequest) SetReadSQLReplicationTime

func (*ModifyDBInstanceDelayedReplicationTimeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceDelayedReplicationTimeRequest) SetResourceOwnerId

func (ModifyDBInstanceDelayedReplicationTimeRequest) String

type ModifyDBInstanceDelayedReplicationTimeResponse

type ModifyDBInstanceDelayedReplicationTimeResponse struct {
	Headers    map[string]*string                                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceDelayedReplicationTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceDelayedReplicationTimeResponse) GoString

func (*ModifyDBInstanceDelayedReplicationTimeResponse) SetHeaders

func (*ModifyDBInstanceDelayedReplicationTimeResponse) SetStatusCode

func (ModifyDBInstanceDelayedReplicationTimeResponse) String

type ModifyDBInstanceDelayedReplicationTimeResponseBody

type ModifyDBInstanceDelayedReplicationTimeResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The replication latency of the read-only instance. Unit: seconds.
	ReadSQLReplicationTime *string `json:"ReadSQLReplicationTime,omitempty" xml:"ReadSQLReplicationTime,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyDBInstanceDelayedReplicationTimeResponseBody) GoString

func (*ModifyDBInstanceDelayedReplicationTimeResponseBody) SetDBInstanceId

func (*ModifyDBInstanceDelayedReplicationTimeResponseBody) SetReadSQLReplicationTime

func (*ModifyDBInstanceDelayedReplicationTimeResponseBody) SetRequestId

func (*ModifyDBInstanceDelayedReplicationTimeResponseBody) SetTaskId

func (ModifyDBInstanceDelayedReplicationTimeResponseBody) String

type ModifyDBInstanceDeletionProtectionRequest

type ModifyDBInstanceDeletionProtectionRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies whether to enable the release protection feature for the read-only instance. Valid values:
	//
	// *   **true**
	// *   **false**
	DeletionProtection   *bool   `json:"DeletionProtection,omitempty" xml:"DeletionProtection,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 (ModifyDBInstanceDeletionProtectionRequest) GoString

func (*ModifyDBInstanceDeletionProtectionRequest) SetClientToken

func (*ModifyDBInstanceDeletionProtectionRequest) SetDBInstanceId

func (*ModifyDBInstanceDeletionProtectionRequest) SetDeletionProtection

func (*ModifyDBInstanceDeletionProtectionRequest) SetOwnerAccount

func (*ModifyDBInstanceDeletionProtectionRequest) SetOwnerId

func (*ModifyDBInstanceDeletionProtectionRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceDeletionProtectionRequest) SetResourceOwnerId

func (ModifyDBInstanceDeletionProtectionRequest) String

type ModifyDBInstanceDeletionProtectionResponse

type ModifyDBInstanceDeletionProtectionResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceDeletionProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceDeletionProtectionResponse) GoString

func (*ModifyDBInstanceDeletionProtectionResponse) SetHeaders

func (*ModifyDBInstanceDeletionProtectionResponse) SetStatusCode

func (ModifyDBInstanceDeletionProtectionResponse) String

type ModifyDBInstanceDeletionProtectionResponseBody

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

func (ModifyDBInstanceDeletionProtectionResponseBody) GoString

func (*ModifyDBInstanceDeletionProtectionResponseBody) SetRequestId

func (ModifyDBInstanceDeletionProtectionResponseBody) String

type ModifyDBInstanceDescriptionRequest

type ModifyDBInstanceDescriptionRequest struct {
	// The name of the instance.
	//
	// > The name must be 2 to 64 characters in length.
	DBInstanceDescription *string `json:"DBInstanceDescription,omitempty" xml:"DBInstanceDescription,omitempty"`
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceDescriptionRequest) GoString

func (*ModifyDBInstanceDescriptionRequest) SetDBInstanceDescription

func (*ModifyDBInstanceDescriptionRequest) SetDBInstanceId

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" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceDescriptionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceDescriptionResponse) GoString

func (*ModifyDBInstanceDescriptionResponse) SetHeaders

func (*ModifyDBInstanceDescriptionResponse) SetStatusCode

func (ModifyDBInstanceDescriptionResponse) String

type ModifyDBInstanceDescriptionResponseBody

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

func (ModifyDBInstanceDescriptionResponseBody) GoString

func (*ModifyDBInstanceDescriptionResponseBody) SetRequestId

func (ModifyDBInstanceDescriptionResponseBody) String

type ModifyDBInstanceEndpointAddressRequest added in v3.0.3

type ModifyDBInstanceEndpointAddressRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The endpoint that you want to modify. The endpoint can be a public endpoint or an internal endpoint.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The prefix of the new endpoint. You can modify only the prefix of the endpoint that is specified by the ConnectionString parameter.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The endpoint ID of the instance. You can call the [DescribeDBInstanceEndpoints](~~610488~~) operation to query the endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The port number of the new endpoint.
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The IP address of the internal endpoint.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	ResourceOwnerId  *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The vSwitch ID of the internal endpoint.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The VPC ID of the internal endpoint.
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ModifyDBInstanceEndpointAddressRequest) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetClientToken added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetConnectionString added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetConnectionStringPrefix added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetDBInstanceEndpointId added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetDBInstanceId added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetPort added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetPrivateIpAddress added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetResourceOwnerId added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetVSwitchId added in v3.0.3

func (*ModifyDBInstanceEndpointAddressRequest) SetVpcId added in v3.0.3

func (ModifyDBInstanceEndpointAddressRequest) String added in v3.0.3

type ModifyDBInstanceEndpointAddressResponse added in v3.0.3

type ModifyDBInstanceEndpointAddressResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceEndpointAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceEndpointAddressResponse) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponse) SetBody added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponse) SetHeaders added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponse) SetStatusCode added in v3.0.3

func (ModifyDBInstanceEndpointAddressResponse) String added in v3.0.3

type ModifyDBInstanceEndpointAddressResponseBody added in v3.0.3

type ModifyDBInstanceEndpointAddressResponseBody struct {
	// The data returned.
	Data *ModifyDBInstanceEndpointAddressResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceEndpointAddressResponseBody) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponseBody) SetData added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponseBody) SetRequestId added in v3.0.3

func (ModifyDBInstanceEndpointAddressResponseBody) String added in v3.0.3

type ModifyDBInstanceEndpointAddressResponseBodyData added in v3.0.3

type ModifyDBInstanceEndpointAddressResponseBodyData struct {
	// The endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (ModifyDBInstanceEndpointAddressResponseBodyData) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponseBodyData) SetDBInstanceEndpointId added in v3.0.3

func (*ModifyDBInstanceEndpointAddressResponseBodyData) SetDBInstanceName added in v3.0.3

func (ModifyDBInstanceEndpointAddressResponseBodyData) String added in v3.0.3

type ModifyDBInstanceEndpointRequest added in v3.0.3

type ModifyDBInstanceEndpointRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The user-defined description of the endpoint.
	DBInstanceEndpointDescription *string `json:"DBInstanceEndpointDescription,omitempty" xml:"DBInstanceEndpointDescription,omitempty"`
	// The endpoint ID of the instance. You can call the [DescribeDBInstanceEndpoints](~~610488~~) operation to query the endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The information about the node that is configured for the endpoint.
	NodeItems       []*ModifyDBInstanceEndpointRequestNodeItems `json:"NodeItems,omitempty" xml:"NodeItems,omitempty" type:"Repeated"`
	ResourceOwnerId *int64                                      `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceEndpointRequest) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointRequest) SetClientToken added in v3.0.3

func (*ModifyDBInstanceEndpointRequest) SetDBInstanceEndpointDescription added in v3.0.3

func (s *ModifyDBInstanceEndpointRequest) SetDBInstanceEndpointDescription(v string) *ModifyDBInstanceEndpointRequest

func (*ModifyDBInstanceEndpointRequest) SetDBInstanceEndpointId added in v3.0.3

func (*ModifyDBInstanceEndpointRequest) SetDBInstanceId added in v3.0.3

func (*ModifyDBInstanceEndpointRequest) SetNodeItems added in v3.0.3

func (*ModifyDBInstanceEndpointRequest) SetResourceOwnerId added in v3.0.3

func (ModifyDBInstanceEndpointRequest) String added in v3.0.3

type ModifyDBInstanceEndpointRequestNodeItems added in v3.0.3

type ModifyDBInstanceEndpointRequestNodeItems struct {
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node ID.
	//
	// You can use one of the following methods to query the ID of the node:
	//
	// *   Log on to the ApsaraDB RDS console, go to the instance details page, and then view the ID of the node in the instance topology section.
	// *   Call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the ID of the node.
	NodeId *string `json:"NodeId,omitempty" xml:"NodeId,omitempty"`
	// The weight of the node. Read requests are distributed based on the weight.
	//
	// Valid values: 0 to 100.
	Weight *int64 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ModifyDBInstanceEndpointRequestNodeItems) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointRequestNodeItems) SetDBInstanceId added in v3.0.3

func (*ModifyDBInstanceEndpointRequestNodeItems) SetNodeId added in v3.0.3

func (*ModifyDBInstanceEndpointRequestNodeItems) SetWeight added in v3.0.3

func (ModifyDBInstanceEndpointRequestNodeItems) String added in v3.0.3

type ModifyDBInstanceEndpointResponse added in v3.0.3

type ModifyDBInstanceEndpointResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceEndpointResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceEndpointResponse) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointResponse) SetBody added in v3.0.3

func (*ModifyDBInstanceEndpointResponse) SetHeaders added in v3.0.3

func (*ModifyDBInstanceEndpointResponse) SetStatusCode added in v3.0.3

func (ModifyDBInstanceEndpointResponse) String added in v3.0.3

type ModifyDBInstanceEndpointResponseBody added in v3.0.3

type ModifyDBInstanceEndpointResponseBody struct {
	// The returned data.
	Data *ModifyDBInstanceEndpointResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceEndpointResponseBody) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointResponseBody) SetData added in v3.0.3

func (*ModifyDBInstanceEndpointResponseBody) SetRequestId added in v3.0.3

func (ModifyDBInstanceEndpointResponseBody) String added in v3.0.3

type ModifyDBInstanceEndpointResponseBodyData added in v3.0.3

type ModifyDBInstanceEndpointResponseBodyData struct {
	// The endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
}

func (ModifyDBInstanceEndpointResponseBodyData) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointResponseBodyData) SetDBInstanceEndpointId added in v3.0.3

func (*ModifyDBInstanceEndpointResponseBodyData) SetDBInstanceName added in v3.0.3

func (ModifyDBInstanceEndpointResponseBodyData) String added in v3.0.3

type ModifyDBInstanceEndpointShrinkRequest added in v3.0.3

type ModifyDBInstanceEndpointShrinkRequest 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 token is unique among different requests.
	//
	// The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The user-defined description of the endpoint.
	DBInstanceEndpointDescription *string `json:"DBInstanceEndpointDescription,omitempty" xml:"DBInstanceEndpointDescription,omitempty"`
	// The endpoint ID of the instance. You can call the [DescribeDBInstanceEndpoints](~~610488~~) operation to query the endpoint ID of the instance.
	DBInstanceEndpointId *string `json:"DBInstanceEndpointId,omitempty" xml:"DBInstanceEndpointId,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The information about the node that is configured for the endpoint.
	NodeItemsShrink *string `json:"NodeItems,omitempty" xml:"NodeItems,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceEndpointShrinkRequest) GoString added in v3.0.3

func (*ModifyDBInstanceEndpointShrinkRequest) SetClientToken added in v3.0.3

func (*ModifyDBInstanceEndpointShrinkRequest) SetDBInstanceEndpointDescription added in v3.0.3

func (*ModifyDBInstanceEndpointShrinkRequest) SetDBInstanceEndpointId added in v3.0.3

func (*ModifyDBInstanceEndpointShrinkRequest) SetDBInstanceId added in v3.0.3

func (*ModifyDBInstanceEndpointShrinkRequest) SetNodeItemsShrink added in v3.0.3

func (*ModifyDBInstanceEndpointShrinkRequest) SetResourceOwnerId added in v3.0.3

func (ModifyDBInstanceEndpointShrinkRequest) String added in v3.0.3

type ModifyDBInstanceHAConfigRequest

type ModifyDBInstanceHAConfigRequest struct {
	// The ID of the instance.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The HA mode of the instance.
	//
	// *   RPO: Data consistency is preferred. The instance ensures data reliability to minimize data losses. If you have high requirements on data consistency, select this mode.
	// *   RTO: Service availability is preferred. The instance restores the database service at the earliest opportunity to ensure service availability. If you have high requirements for service availability, select this mode.
	HAMode               *string `json:"HAMode,omitempty" xml:"HAMode,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 data replication mode of the instance. For more information, see [Data replication mode](~~96055~~).
	//
	// *   Semi-sync: the semi-synchronous mode.
	// *   Sync: the synchronous mode.
	// *   gAsyncg: the asynchronous mode.
	// *   Mgr: the MySQL group replication (MGR) mode. This mode is available only for the China site (aliyun.com).
	//
	// > This parameter is not supported for instances that run SQL Server 2017 on RDS Cluster Edition.
	SyncMode *string `json:"SyncMode,omitempty" xml:"SyncMode,omitempty"`
}

func (ModifyDBInstanceHAConfigRequest) GoString

func (*ModifyDBInstanceHAConfigRequest) SetDbInstanceId

func (*ModifyDBInstanceHAConfigRequest) SetHAMode

func (*ModifyDBInstanceHAConfigRequest) SetOwnerAccount

func (*ModifyDBInstanceHAConfigRequest) SetOwnerId

func (*ModifyDBInstanceHAConfigRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceHAConfigRequest) SetResourceOwnerId

func (*ModifyDBInstanceHAConfigRequest) SetSyncMode

func (ModifyDBInstanceHAConfigRequest) String

type ModifyDBInstanceHAConfigResponse

type ModifyDBInstanceHAConfigResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceHAConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceHAConfigResponse) GoString

func (*ModifyDBInstanceHAConfigResponse) SetHeaders

func (*ModifyDBInstanceHAConfigResponse) SetStatusCode

func (ModifyDBInstanceHAConfigResponse) String

type ModifyDBInstanceHAConfigResponseBody

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

func (ModifyDBInstanceHAConfigResponseBody) GoString

func (*ModifyDBInstanceHAConfigResponseBody) SetRequestId

func (ModifyDBInstanceHAConfigResponseBody) String

type ModifyDBInstanceMaintainTimeRequest

type ModifyDBInstanceMaintainTimeRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The maintenance window of the instance. Specify the time in the *HH:mm*Z-*HH:mm*Z format. The time must be in UTC.
	MaintainTime         *string `json:"MaintainTime,omitempty" xml:"MaintainTime,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) SetClientToken

func (*ModifyDBInstanceMaintainTimeRequest) SetDBInstanceId

func (*ModifyDBInstanceMaintainTimeRequest) SetMaintainTime

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" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceMaintainTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceMaintainTimeResponse) GoString

func (*ModifyDBInstanceMaintainTimeResponse) SetHeaders

func (*ModifyDBInstanceMaintainTimeResponse) SetStatusCode

func (ModifyDBInstanceMaintainTimeResponse) String

type ModifyDBInstanceMaintainTimeResponseBody

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

func (ModifyDBInstanceMaintainTimeResponseBody) GoString

func (*ModifyDBInstanceMaintainTimeResponseBody) SetRequestId

func (ModifyDBInstanceMaintainTimeResponseBody) String

type ModifyDBInstanceMetricsRequest

type ModifyDBInstanceMetricsRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The keys of the Enhanced Monitoring metrics that you want to display for the instance. You can enter a maximum of 30 metric keys. If you enter multiple metric keys, you must separate the metric keys with commas (,).
	//
	// You can call the DescribeAvailableMetrics operation to query the keys of metrics.
	MetricsConfig   *string `json:"MetricsConfig,omitempty" xml:"MetricsConfig,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The application scope of this modification. Valid values:
	//
	// *   **instance**: This modification is applied only to the current instance.
	// *   **region**: This modification is applied to all ApsaraDB RDS for PostgreSQL instances that are equipped with the same type of storage media as the current instance in the region to which the current instance belongs. For example, if the current instance is equipped with cloud disks, this modification is applied to all ApsaraDB RDS for PostgreSQL instances that are equipped with cloud disks in the region to which the current instance belongs.
	Scope *string `json:"Scope,omitempty" xml:"Scope,omitempty"`
}

func (ModifyDBInstanceMetricsRequest) GoString

func (*ModifyDBInstanceMetricsRequest) SetDBInstanceName

func (*ModifyDBInstanceMetricsRequest) SetMetricsConfig

func (*ModifyDBInstanceMetricsRequest) SetResourceOwnerId

func (*ModifyDBInstanceMetricsRequest) SetScope

func (ModifyDBInstanceMetricsRequest) String

type ModifyDBInstanceMetricsResponse

type ModifyDBInstanceMetricsResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceMetricsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceMetricsResponse) GoString

func (*ModifyDBInstanceMetricsResponse) SetHeaders

func (*ModifyDBInstanceMetricsResponse) SetStatusCode

func (ModifyDBInstanceMetricsResponse) String

type ModifyDBInstanceMetricsResponseBody

type ModifyDBInstanceMetricsResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The application scope of this modification. Valid values:
	//
	// *   **instance**: This modification is applied only to the current instance.
	// *   **region**: This modification is applied to all ApsaraDB RDS for PostgreSQL instances that are equipped with the same type of storage media as the current instance in the region to which the current instance belongs.
	Scope *string `json:"Scope,omitempty" xml:"Scope,omitempty"`
}

func (ModifyDBInstanceMetricsResponseBody) GoString

func (*ModifyDBInstanceMetricsResponseBody) SetDBInstanceId

func (*ModifyDBInstanceMetricsResponseBody) SetRequestId

func (*ModifyDBInstanceMetricsResponseBody) SetScope

func (ModifyDBInstanceMetricsResponseBody) String

type ModifyDBInstanceMonitorRequest

type ModifyDBInstanceMonitorRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The monitoring frequency that you want to use. Valid values:
	//
	// *   **5**
	// *   **10**
	// *   **60**
	// *   **300**
	//
	// Unit: seconds.
	Period               *string `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceMonitorRequest) GoString

func (*ModifyDBInstanceMonitorRequest) SetClientToken

func (*ModifyDBInstanceMonitorRequest) SetDBInstanceId

func (*ModifyDBInstanceMonitorRequest) SetOwnerAccount

func (*ModifyDBInstanceMonitorRequest) SetOwnerId

func (*ModifyDBInstanceMonitorRequest) SetPeriod

func (*ModifyDBInstanceMonitorRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceMonitorRequest) SetResourceOwnerId

func (ModifyDBInstanceMonitorRequest) String

type ModifyDBInstanceMonitorResponse

type ModifyDBInstanceMonitorResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceMonitorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceMonitorResponse) GoString

func (*ModifyDBInstanceMonitorResponse) SetHeaders

func (*ModifyDBInstanceMonitorResponse) SetStatusCode

func (ModifyDBInstanceMonitorResponse) String

type ModifyDBInstanceMonitorResponseBody

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

func (ModifyDBInstanceMonitorResponseBody) GoString

func (*ModifyDBInstanceMonitorResponseBody) SetRequestId

func (ModifyDBInstanceMonitorResponseBody) String

type ModifyDBInstanceNetworkExpireTimeRequest

type ModifyDBInstanceNetworkExpireTimeRequest struct {
	// The retention days of the classic network endpoint. Valid values: **1 to 120**. Unit: days.
	ClassicExpiredDays *int32 `json:"ClassicExpiredDays,omitempty" xml:"ClassicExpiredDays,omitempty"`
	// The classic network endpoint whose expiration time you want to extend. Two types of classic network endpoints are supported:
	//
	// *   The internal endpoint of the classic network.
	// *   The read/write splitting endpoint of the classic network.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceNetworkExpireTimeRequest) GoString

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetClassicExpiredDays

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetConnectionString

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetDBInstanceId

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetOwnerAccount

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetOwnerId

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceNetworkExpireTimeRequest) SetResourceOwnerId

func (ModifyDBInstanceNetworkExpireTimeRequest) String

type ModifyDBInstanceNetworkExpireTimeResponse

type ModifyDBInstanceNetworkExpireTimeResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceNetworkExpireTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceNetworkExpireTimeResponse) GoString

func (*ModifyDBInstanceNetworkExpireTimeResponse) SetHeaders

func (*ModifyDBInstanceNetworkExpireTimeResponse) SetStatusCode

func (ModifyDBInstanceNetworkExpireTimeResponse) String

type ModifyDBInstanceNetworkExpireTimeResponseBody

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

func (ModifyDBInstanceNetworkExpireTimeResponseBody) GoString

func (*ModifyDBInstanceNetworkExpireTimeResponseBody) SetRequestId

func (ModifyDBInstanceNetworkExpireTimeResponseBody) String

type ModifyDBInstanceNetworkTypeRequest

type ModifyDBInstanceNetworkTypeRequest struct {
	// The number of days for which you want to retain the classic network endpoint. Valid values: **1 to 120**. Default value: **7**.
	//
	// > If you set the **RetainClassic** parameter to **True**, you must also specify this parameter.
	ClassicExpiredDays *string `json:"ClassicExpiredDays,omitempty" xml:"ClassicExpiredDays,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type after the modification. Set the value to **VPC**.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	OwnerAccount        *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId             *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The internal IP address of the instance. The internal IP address must be within the CIDR block supported by the specified vSwitch. The system automatically assigns a private IP address to an instance based on the values of **VPCId** and **VSwitchId**.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The number of days for which you want to retain the read/write splitting endpoint of the classic network type. Valid values: **1 to 120**. Default value: **7**.
	//
	// >  This parameter takes effect only when a read/write splitting endpoint of the classic network type exists and the **RetainClassic** parameter is set to **True**.
	ReadWriteSplittingClassicExpiredDays *int32 `json:"ReadWriteSplittingClassicExpiredDays,omitempty" xml:"ReadWriteSplittingClassicExpiredDays,omitempty"`
	// The internal IP address that corresponds to the read/write splitting endpoint of the instance. The internal IP address must be within the CIDR block supported by the specified vSwitch. The system automatically assigns a private IP address to an instance based on the values of **VPCId** and **VSwitchId**.
	//
	// >  This parameter is valid when a read/write splitting endpoint of the classic network type exists.
	ReadWriteSplittingPrivateIpAddress *string `json:"ReadWriteSplittingPrivateIpAddress,omitempty" xml:"ReadWriteSplittingPrivateIpAddress,omitempty"`
	ResourceOwnerAccount               *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId                    *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to retain the classic network endpoint. Valid values:
	//
	// *   **True**: retains the classic network endpoint.
	// *   **False** (default): does not retain the classic network endpoint.
	RetainClassic *string `json:"RetainClassic,omitempty" xml:"RetainClassic,omitempty"`
	// The VPC ID.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The ID of the vSwitch. This parameter is required if the **VPCId** parameter is specified.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (ModifyDBInstanceNetworkTypeRequest) GoString

func (*ModifyDBInstanceNetworkTypeRequest) SetClassicExpiredDays

func (*ModifyDBInstanceNetworkTypeRequest) SetDBInstanceId

func (*ModifyDBInstanceNetworkTypeRequest) SetInstanceNetworkType

func (*ModifyDBInstanceNetworkTypeRequest) SetOwnerAccount

func (*ModifyDBInstanceNetworkTypeRequest) SetOwnerId

func (*ModifyDBInstanceNetworkTypeRequest) SetPrivateIpAddress

func (*ModifyDBInstanceNetworkTypeRequest) SetReadWriteSplittingClassicExpiredDays

func (s *ModifyDBInstanceNetworkTypeRequest) SetReadWriteSplittingClassicExpiredDays(v int32) *ModifyDBInstanceNetworkTypeRequest

func (*ModifyDBInstanceNetworkTypeRequest) SetReadWriteSplittingPrivateIpAddress

func (s *ModifyDBInstanceNetworkTypeRequest) SetReadWriteSplittingPrivateIpAddress(v string) *ModifyDBInstanceNetworkTypeRequest

func (*ModifyDBInstanceNetworkTypeRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceNetworkTypeRequest) SetResourceOwnerId

func (*ModifyDBInstanceNetworkTypeRequest) SetRetainClassic

func (*ModifyDBInstanceNetworkTypeRequest) SetVPCId

func (*ModifyDBInstanceNetworkTypeRequest) SetVSwitchId

func (ModifyDBInstanceNetworkTypeRequest) String

type ModifyDBInstanceNetworkTypeResponse

type ModifyDBInstanceNetworkTypeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceNetworkTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceNetworkTypeResponse) GoString

func (*ModifyDBInstanceNetworkTypeResponse) SetHeaders

func (*ModifyDBInstanceNetworkTypeResponse) SetStatusCode

func (ModifyDBInstanceNetworkTypeResponse) String

type ModifyDBInstanceNetworkTypeResponseBody

type ModifyDBInstanceNetworkTypeResponseBody struct {
	// The endpoint that is used to connect to the instance.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyDBInstanceNetworkTypeResponseBody) GoString

func (*ModifyDBInstanceNetworkTypeResponseBody) SetConnectionString

func (*ModifyDBInstanceNetworkTypeResponseBody) SetRequestId

func (*ModifyDBInstanceNetworkTypeResponseBody) SetTaskId

func (ModifyDBInstanceNetworkTypeResponseBody) String

type ModifyDBInstancePayTypeRequest

type ModifyDBInstancePayTypeRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The billing method of the instance. The value is fixed as **Prepaid**, which indicates the subscription billing method.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The renewal cycle of the instance.
	//
	// *   **Year**
	// *   **Month**
	Period          *string `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The subscription duration of the instance. Valid values:
	//
	// *   If you set the **Period** parameter to **Year**, the value of the **UsedTime** parameter ranges from 1 to 5.
	// *   If you set the **Period** parameter to **Month**, the value of the **UsedTime** parameter ranges from 1 to 11.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
}

func (ModifyDBInstancePayTypeRequest) GoString

func (*ModifyDBInstancePayTypeRequest) SetDBInstanceId

func (*ModifyDBInstancePayTypeRequest) SetPayType

func (*ModifyDBInstancePayTypeRequest) SetPeriod

func (*ModifyDBInstancePayTypeRequest) SetResourceOwnerId

func (*ModifyDBInstancePayTypeRequest) SetUsedTime

func (ModifyDBInstancePayTypeRequest) String

type ModifyDBInstancePayTypeResponse

type ModifyDBInstancePayTypeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstancePayTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstancePayTypeResponse) GoString

func (*ModifyDBInstancePayTypeResponse) SetHeaders

func (*ModifyDBInstancePayTypeResponse) SetStatusCode

func (ModifyDBInstancePayTypeResponse) String

type ModifyDBInstancePayTypeResponseBody

type ModifyDBInstancePayTypeResponseBody struct {
	// The order ID.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
}

func (ModifyDBInstancePayTypeResponseBody) GoString

func (*ModifyDBInstancePayTypeResponseBody) SetOrderId

func (ModifyDBInstancePayTypeResponseBody) String

type ModifyDBInstanceProxyConfigurationRequest

type ModifyDBInstanceProxyConfigurationRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The key of the **configuration item** for the database proxy. Valid values:
	//
	// *   **TransparentSwitch**: transparent switchover
	// *   **PersistentConnections**: short-lived connection optimization
	// *   **AttacksProtection**: brute-force attack protection
	ProxyConfigurationKey *string `json:"ProxyConfigurationKey,omitempty" xml:"ProxyConfigurationKey,omitempty"`
	// The features and status of the database proxy:
	//
	// *   **TransparentSwitch**: transparent switchover. Valid values:
	//
	//     *   **Enable**: The feature is enabled. This is the default value.
	//     *   **Disable**: The feature is disabled.
	//
	// *   **PersistentConnections**: short-lived connection optimization. Valid values:
	//
	//     *   **Enable**: The feature is enabled.
	//     *   **Disable**: The feature is disabled. This is the default value.
	//
	// *   **AttacksProtection**: brute-force attack protection. Valid values:
	//
	//     *   **Enable**: The feature is enabled.
	//     *   **Disable**: The feature is disabled. This is the default value.
	//
	// Format: {"Feature 1":"Status 1","Feature 2":"Status 2"...}
	ProxyConfigurationValue *string `json:"ProxyConfigurationValue,omitempty" xml:"ProxyConfigurationValue,omitempty"`
	ResourceOwnerAccount    *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId         *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBInstanceProxyConfigurationRequest) GoString

func (*ModifyDBInstanceProxyConfigurationRequest) SetDBInstanceId

func (*ModifyDBInstanceProxyConfigurationRequest) SetOwnerId

func (*ModifyDBInstanceProxyConfigurationRequest) SetProxyConfigurationKey

func (*ModifyDBInstanceProxyConfigurationRequest) SetProxyConfigurationValue

func (*ModifyDBInstanceProxyConfigurationRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceProxyConfigurationRequest) SetResourceOwnerId

func (ModifyDBInstanceProxyConfigurationRequest) String

type ModifyDBInstanceProxyConfigurationResponse

type ModifyDBInstanceProxyConfigurationResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceProxyConfigurationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBInstanceProxyConfigurationResponse) GoString

func (*ModifyDBInstanceProxyConfigurationResponse) SetHeaders

func (*ModifyDBInstanceProxyConfigurationResponse) SetStatusCode

func (ModifyDBInstanceProxyConfigurationResponse) String

type ModifyDBInstanceProxyConfigurationResponseBody

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

func (ModifyDBInstanceProxyConfigurationResponseBody) GoString

func (*ModifyDBInstanceProxyConfigurationResponseBody) SetRequestId

func (ModifyDBInstanceProxyConfigurationResponseBody) String

type ModifyDBInstanceSSLRequest

type ModifyDBInstanceSSLRequest struct {
	// The method that is used to verify the identities of clients. This parameter is supported only when the instance runs PostgreSQL with cloud disks. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
	//
	// *   **cert**
	// *   **perfer**
	// *   **verify-ca**
	// *   **verify-full** (supported only when the instance runs PostgreSQL 12 or later)
	ACL *string `json:"ACL,omitempty" xml:"ACL,omitempty"`
	// The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disks. If you set SSLEnabled to **1**, the default value of this parameter is **aliyun**. Valid values:
	//
	// *   **aliyun**: a cloud certificate
	// *   **custom**: a custom certificate
	CAType *string `json:"CAType,omitempty" xml:"CAType,omitempty"`
	// The public key of the CA that issues client certificates. This parameter is supported only when the instance runs PostgreSQL with cloud disks. This parameter must be specified when ClientCAEbabled is set to **1**.
	ClientCACert *string `json:"ClientCACert,omitempty" xml:"ClientCACert,omitempty"`
	// Specifies whether to enable the public key of the CA that issues client certificates. This parameter is supported only when the instance runs PostgreSQL with cloud disks. Valid values:
	//
	// *   **1**: enables the public key.
	// *   **0**: disables the public key.
	ClientCAEnabled *int32 `json:"ClientCAEnabled,omitempty" xml:"ClientCAEnabled,omitempty"`
	// The CRL that contains revoked client certificates. This parameter is supported only when the instance runs PostgreSQL with cloud disks. This parameter must be specified when ClientCrlEnabled is set to **1**.
	ClientCertRevocationList *string `json:"ClientCertRevocationList,omitempty" xml:"ClientCertRevocationList,omitempty"`
	// Specifies whether to enable a certificate revocation list (CRL) that contains revoked client certificates. This parameter is supported only when the instance runs PostgreSQL with cloud disks. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
	//
	// *   **1**: enables the CRL.
	// *   **0**: disables the CRL.
	ClientCrlEnabled *int32 `json:"ClientCrlEnabled,omitempty" xml:"ClientCrlEnabled,omitempty"`
	// The internal or public endpoint for which the server certificate needs to be created or updated.
	ConnectionString *string `json:"ConnectionString,omitempty" xml:"ConnectionString,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The method that is used to verify the replication permission. This parameter is supported only when the instance runs PostgreSQL with cloud disks. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
	//
	// *   **cert**
	// *   **perfer**
	// *   **verify-ca**
	// *   **verify-full** (supported only when the instance runs PostgreSQL 12 or later)
	ReplicationACL       *string `json:"ReplicationACL,omitempty" xml:"ReplicationACL,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to enable or disable the SSL encryption feature. Valid values:
	//
	// *   **1**: enables the feature.
	// *   **0**: disables the feature.
	SSLEnabled *int32 `json:"SSLEnabled,omitempty" xml:"SSLEnabled,omitempty"`
	// The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disks. This parameter must be specified when CAType is set to **custom**.
	ServerCert *string `json:"ServerCert,omitempty" xml:"ServerCert,omitempty"`
	// The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with cloud disks. This parameter must be specified when CAType is set to **custom**.
	ServerKey *string `json:"ServerKey,omitempty" xml:"ServerKey,omitempty"`
}

func (ModifyDBInstanceSSLRequest) GoString

func (s ModifyDBInstanceSSLRequest) GoString() string

func (*ModifyDBInstanceSSLRequest) SetACL

func (*ModifyDBInstanceSSLRequest) SetCAType

func (*ModifyDBInstanceSSLRequest) SetClientCACert

func (*ModifyDBInstanceSSLRequest) SetClientCAEnabled

func (*ModifyDBInstanceSSLRequest) SetClientCertRevocationList

func (s *ModifyDBInstanceSSLRequest) SetClientCertRevocationList(v string) *ModifyDBInstanceSSLRequest

func (*ModifyDBInstanceSSLRequest) SetClientCrlEnabled

func (s *ModifyDBInstanceSSLRequest) SetClientCrlEnabled(v int32) *ModifyDBInstanceSSLRequest

func (*ModifyDBInstanceSSLRequest) SetConnectionString

func (*ModifyDBInstanceSSLRequest) SetDBInstanceId

func (*ModifyDBInstanceSSLRequest) SetOwnerAccount

func (*ModifyDBInstanceSSLRequest) SetOwnerId

func (*ModifyDBInstanceSSLRequest) SetReplicationACL

func (*ModifyDBInstanceSSLRequest) SetResourceOwnerAccount

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

func (*ModifyDBInstanceSSLRequest) SetResourceOwnerId

func (*ModifyDBInstanceSSLRequest) SetSSLEnabled

func (*ModifyDBInstanceSSLRequest) SetServerCert

func (*ModifyDBInstanceSSLRequest) SetServerKey

func (ModifyDBInstanceSSLRequest) String

type ModifyDBInstanceSSLResponse

type ModifyDBInstanceSSLResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceSSLResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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.
	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 use vouchers to offset fees. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	AutoUseCoupon *bool `json:"AutoUseCoupon,omitempty" xml:"AutoUseCoupon,omitempty"`
	// An invalid parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   Regular RDS instance
	//
	//     *   **Basic**: RDS Basic Edition
	//     *   **HighAvailability**: RDS High-availability Edition
	//     *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server
	//     *   **Cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	//
	// *   Serverless instance
	//
	//     *   **serverless_basic**: RDS Basic Edition. This edition is available only for serverless instances that run MySQL and PostgreSQL.
	//     *   **serverless_standard**: RDS High-availability Edition for ApsaraDB RDS for MySQL.
	//     *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server.
	//
	// > If you set the **EngineVersion** parameter to an SQL Server version number, you must also specify this parameter.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The new instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can also call the [DescribeAvailableClasses](~~610393~~) operation to query the instance types that are supported by an instance.
	//
	// - You must specify at least one of DBInstanceClass and **DBInstanceStorage**.
	// - You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the current instance type of the instance.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new storage capacity of the instance. Unit: GB. You can increase the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can call the [DescribeAvailableClasses](~~610393~~) operation to query the storage capacity range that is supported by the new instance type.
	//
	// *   You must specify at least one of the DBInstanceStorage and **DBInstanceClass** parameters.
	// *   You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the current storage capacity of the instance.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD.
	// *   **cloud_ssd**: standard SSD. This storage type is not recommended and is unavailable in some Alibaba Cloud regions.
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1).
	// *   **cloud_essd2**: ESSDs of PL2.
	// *   **cloud_essd3**: ESSD of PL3.
	//
	// To change the storage type, take note of the following items:
	//
	// If the instance runs PostgreSQL, you can upgrade the storage type of the instance from standard SSD to ESSD. However, you cannot downgrade the storage type of the instance from ESSD to standard SSD. ESSDs provide the following PLs: PL1, PL2, and PL3. You can upgrade or downgrade the storage type between ESSD of PL1, ESSD of PL2, and ESSD of PL3. For more information, see [Configuration items](~~96750~~).
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The type of change that you want to perform on the instance. Valid values:
	//
	// *   **Up** (default): upgrades a subscription instance, or upgrades or downgrades a pay-as-you-go instance.
	// *   **Down**: downgrades a subscription instance.
	// *   **TempUpgrade**: performs auto scaling on a subscription instance that runs SQL Server. This value is required for auto scaling.
	// *   **Serverless**: modifies the auto scaling settings of a serverless instance. This value is required if you want to modify the auto scaling settings of a serverless instance.
	//
	// >  If you specify only **DBInstanceStorageType**, you can leave Direction empty. For example, if you want to change only the storage type of the instance from standard SSD to ESSD, you do not need to specify Direction.
	Direction *string `json:"Direction,omitempty" xml:"Direction,omitempty"`
	// The time when you want the change to take effect. Valid values:
	//
	// *   **Immediate**: This is the default value.
	// *   **MaintainTime**: The effective time is within the maintenance window. For more information, see [ModifyDBInstanceMaintainTime](~~610402~~).
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The database engine version of the instance.
	//
	// *   Regular instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2008r2**, **08r2\_ent_ha**, **2012**, **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2014\_std_ha**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_std_ha**, **2017\_ent**, **2019\_std_ha**, and **2019\_ent**
	//     *   Valid values if you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	//     *   Valid value if you set Engine to MariaDB: **10.3**
	//
	// *   Serverless instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.7** and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2016\_std_sl**, **2017\_std_sl**, and **2019\_std_sl**
	//     *   Valid value if you set Engine to PostgreSQL: **14.0**
	//
	// > ApsaraDB RDS for MariaDB does not support serverless instances.
	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 billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	// *   **Serverless**: serverless. This value is not supported for instances that run MariaDB. If you set the value to Serverless, you must specify the scaling range of computing resources, configure the automatic start and stop feature, and configure auto scaling policies for your serverless instance. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](~~411291~~), [Overview of serverless ApsaraDB RDS for SQL Server instances](~~604344~~), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](~~607742~~).
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The serverless instance on which you want to perform the specification change.
	ServerlessConfiguration *ModifyDBInstanceSpecRequestServerlessConfiguration `json:"ServerlessConfiguration,omitempty" xml:"ServerlessConfiguration,omitempty" type:"Struct"`
	// A deprecated parameter. You do not need to specify this parameter.
	SourceBiz *string `json:"SourceBiz,omitempty" xml:"SourceBiz,omitempty"`
	// The response parameters.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The number of the minor version.
	//
	// This parameter is required only for instances that run PostgreSQL. If the minor engine version does not support changing the instance type, you must specify the minor engine version to update the minor engine version when you change the instance type.
	//
	// Format: `rds_postgres_<Major engine version>00_<Minor engine version>`. Example: `rds_postgres_1200_20200830`.
	//
	// >  For more information about minor engine versions, see [Release notes for AliPG](~~126002~~).
	TargetMinorVersion *string `json:"TargetMinorVersion,omitempty" xml:"TargetMinorVersion,omitempty"`
	// The ID of the order.
	UsedTime *int64 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition.
	// *   **HighAvailability**: RDS High-availability Edition.
	// *   **AlwaysOn**: RDS Cluster Edition for SQL Server.
	// *   **Finance**: RDS Enterprise Edition. This edition is available only on the China site (aliyun.com).
	//
	// > If you set **EngineVersion** to an SQL Server version number, you must also specify this parameter.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ModifyDBInstanceSpecRequest) GoString

func (s ModifyDBInstanceSpecRequest) GoString() string

func (*ModifyDBInstanceSpecRequest) SetAutoUseCoupon added in v3.0.15

func (*ModifyDBInstanceSpecRequest) SetBurstingEnabled added in v3.0.5

func (*ModifyDBInstanceSpecRequest) SetCategory

func (*ModifyDBInstanceSpecRequest) SetDBInstanceClass

func (*ModifyDBInstanceSpecRequest) SetDBInstanceId

func (*ModifyDBInstanceSpecRequest) SetDBInstanceStorage

func (*ModifyDBInstanceSpecRequest) SetDBInstanceStorageType

func (s *ModifyDBInstanceSpecRequest) SetDBInstanceStorageType(v string) *ModifyDBInstanceSpecRequest

func (*ModifyDBInstanceSpecRequest) SetDedicatedHostGroupId

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

func (*ModifyDBInstanceSpecRequest) SetDirection

func (*ModifyDBInstanceSpecRequest) SetEffectiveTime

func (*ModifyDBInstanceSpecRequest) SetEngineVersion

func (*ModifyDBInstanceSpecRequest) SetOwnerAccount

func (*ModifyDBInstanceSpecRequest) SetOwnerId

func (*ModifyDBInstanceSpecRequest) SetPayType

func (*ModifyDBInstanceSpecRequest) SetResourceGroupId

func (*ModifyDBInstanceSpecRequest) SetResourceOwnerAccount

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

func (*ModifyDBInstanceSpecRequest) SetResourceOwnerId

func (*ModifyDBInstanceSpecRequest) SetSourceBiz

func (*ModifyDBInstanceSpecRequest) SetSwitchTime

func (*ModifyDBInstanceSpecRequest) SetTargetMinorVersion added in v3.0.215

func (s *ModifyDBInstanceSpecRequest) SetTargetMinorVersion(v string) *ModifyDBInstanceSpecRequest

func (*ModifyDBInstanceSpecRequest) SetUsedTime

func (*ModifyDBInstanceSpecRequest) SetZoneId

func (ModifyDBInstanceSpecRequest) String

type ModifyDBInstanceSpecRequestServerlessConfiguration

type ModifyDBInstanceSpecRequestServerlessConfiguration struct {
	// Specifies whether to enable the automatic start and stop feature for the serverless instance. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	//
	// >  This parameter is required only for serverless instances that run MySQL and PostgreSQL. After the automatic start and stop feature is enabled, if no connections to the instance are established within 10 minutes, the instance is suspended. After a connection to the instance is established, the instance is resumed.
	AutoPause *bool `json:"AutoPause,omitempty" xml:"AutoPause,omitempty"`
	// The maximum number of RDS Capacity Units (RCUs). Valid values:
	//
	// *   Serverless ApsaraDB RDS for MySQL instances: **1 to 8**
	// *   Serverless ApsaraDB RDS for SQL Server instances: **2 to 8**
	// *   Serverless ApsaraDB RDS for PostgreSQL instances: **1 to 12**
	//
	// >  The value of this parameter must be greater than or equal to the value of **MinCapacity** and can be specified only to an **integer**.
	MaxCapacity *float64 `json:"MaxCapacity,omitempty" xml:"MaxCapacity,omitempty"`
	// The minimum number of RCUs. Valid values:
	//
	// *   Serverless ApsaraDB RDS for MySQL instances: **0.5 to 8**.
	// *   Serverless ApsaraDB RDS for SQL Server instances: **2 to 8**. Only integers are supported.
	// *   Serverless ApsaraDB RDS for PostgreSQL instances: **0.5 to 12**.
	//
	// >  The value of this parameter must be less than or equal to the value of **MaxCapacity**.
	MinCapacity *float64 `json:"MinCapacity,omitempty" xml:"MinCapacity,omitempty"`
	// Specifies whether to enable the forced scaling feature for the serverless instance.
	//
	// *   **true**
	// *   **false** (default)
	//
	// > *   This parameter is required only for serverless instances that run MySQL and PostgreSQL. If you set this parameter to true, a transient connection that lasts approximately 1 minute occurs during forced scaling. Process with caution.
	// > *   The RCU scaling for a serverless instance immediately takes effect. In some cases, such as the execution of large transactions, the scaling does not immediately take effect. In this case, you can enable this feature to forcefully scale the RCUs of the instance.
	SwitchForce *bool `json:"SwitchForce,omitempty" xml:"SwitchForce,omitempty"`
}

func (ModifyDBInstanceSpecRequestServerlessConfiguration) GoString

func (*ModifyDBInstanceSpecRequestServerlessConfiguration) SetAutoPause

func (*ModifyDBInstanceSpecRequestServerlessConfiguration) SetMaxCapacity

func (*ModifyDBInstanceSpecRequestServerlessConfiguration) SetMinCapacity

func (*ModifyDBInstanceSpecRequestServerlessConfiguration) SetSwitchForce

func (ModifyDBInstanceSpecRequestServerlessConfiguration) String

type ModifyDBInstanceSpecResponse

type ModifyDBInstanceSpecResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceSpecResponseBody) GoString

func (*ModifyDBInstanceSpecResponseBody) SetDBInstanceId

func (*ModifyDBInstanceSpecResponseBody) SetOrderId

func (*ModifyDBInstanceSpecResponseBody) SetRequestId

func (ModifyDBInstanceSpecResponseBody) String

type ModifyDBInstanceSpecShrinkRequest

type ModifyDBInstanceSpecShrinkRequest struct {
	// Specifies whether to use vouchers to offset fees. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	AutoUseCoupon *bool `json:"AutoUseCoupon,omitempty" xml:"AutoUseCoupon,omitempty"`
	// An invalid parameter. You do not need to specify this parameter.
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   Regular RDS instance
	//
	//     *   **Basic**: RDS Basic Edition
	//     *   **HighAvailability**: RDS High-availability Edition
	//     *   **AlwaysOn**: RDS Cluster Edition for ApsaraDB RDS for SQL Server
	//     *   **Cluster**: RDS Cluster Edition for ApsaraDB RDS for MySQL.
	//
	// *   Serverless instance
	//
	//     *   **serverless_basic**: RDS Basic Edition. This edition is available only for serverless instances that run MySQL and PostgreSQL.
	//     *   **serverless_standard**: RDS High-availability Edition for ApsaraDB RDS for MySQL.
	//     *   **serverless_ha**: RDS High-availability Edition for ApsaraDB RDS for SQL Server.
	//
	// > If you set the **EngineVersion** parameter to an SQL Server version number, you must also specify this parameter.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The new instance type of the instance. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can also call the [DescribeAvailableClasses](~~610393~~) operation to query the instance types that are supported by an instance.
	//
	// - You must specify at least one of DBInstanceClass and **DBInstanceStorage**.
	// - You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the current instance type of the instance.
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new storage capacity of the instance. Unit: GB. You can increase the storage capacity in increments of 5 GB. For more information, see [Primary ApsaraDB RDS instance types](~~26312~~). You can call the [DescribeAvailableClasses](~~610393~~) operation to query the storage capacity range that is supported by the new instance type.
	//
	// *   You must specify at least one of the DBInstanceStorage and **DBInstanceClass** parameters.
	// *   You can call the [DescribeDBInstanceAttribute](~~610394~~) operation to query the current storage capacity of the instance.
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **local_ssd**: local SSD.
	// *   **cloud_ssd**: standard SSD. This storage type is not recommended and is unavailable in some Alibaba Cloud regions.
	// *   **cloud_essd**: enhanced SSD (ESSD) of performance level 1 (PL1).
	// *   **cloud_essd2**: ESSDs of PL2.
	// *   **cloud_essd3**: ESSD of PL3.
	//
	// To change the storage type, take note of the following items:
	//
	// If the instance runs PostgreSQL, you can upgrade the storage type of the instance from standard SSD to ESSD. However, you cannot downgrade the storage type of the instance from ESSD to standard SSD. ESSDs provide the following PLs: PL1, PL2, and PL3. You can upgrade or downgrade the storage type between ESSD of PL1, ESSD of PL2, and ESSD of PL3. For more information, see [Configuration items](~~96750~~).
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The ID of the dedicated cluster.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The type of change that you want to perform on the instance. Valid values:
	//
	// *   **Up** (default): upgrades a subscription instance, or upgrades or downgrades a pay-as-you-go instance.
	// *   **Down**: downgrades a subscription instance.
	// *   **TempUpgrade**: performs auto scaling on a subscription instance that runs SQL Server. This value is required for auto scaling.
	// *   **Serverless**: modifies the auto scaling settings of a serverless instance. This value is required if you want to modify the auto scaling settings of a serverless instance.
	//
	// >  If you specify only **DBInstanceStorageType**, you can leave Direction empty. For example, if you want to change only the storage type of the instance from standard SSD to ESSD, you do not need to specify Direction.
	Direction *string `json:"Direction,omitempty" xml:"Direction,omitempty"`
	// The time when you want the change to take effect. Valid values:
	//
	// *   **Immediate**: This is the default value.
	// *   **MaintainTime**: The effective time is within the maintenance window. For more information, see [ModifyDBInstanceMaintainTime](~~610402~~).
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The database engine version of the instance.
	//
	// *   Regular instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.5**, **5.6**, **5.7**, and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2008r2**, **08r2\_ent_ha**, **2012**, **2012\_ent_ha**, **2012\_std_ha**, **2012\_web**, **2014\_std_ha**, **2016\_ent_ha**, **2016\_std_ha**, **2016\_web**, **2017\_std_ha**, **2017\_ent**, **2019\_std_ha**, and **2019\_ent**
	//     *   Valid values if you set Engine to PostgreSQL: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
	//     *   Valid value if you set Engine to MariaDB: **10.3**
	//
	// *   Serverless instance
	//
	//     *   Valid values if you set Engine to MySQL: **5.7** and **8.0**
	//     *   Valid values if you set Engine to SQLServer: **2016\_std_sl**, **2017\_std_sl**, and **2019\_std_sl**
	//     *   Valid value if you set Engine to PostgreSQL: **14.0**
	//
	// > ApsaraDB RDS for MariaDB does not support serverless instances.
	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 billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go.
	// *   **Prepaid**: subscription.
	// *   **Serverless**: serverless. This value is not supported for instances that run MariaDB. If you set the value to Serverless, you must specify the scaling range of computing resources, configure the automatic start and stop feature, and configure auto scaling policies for your serverless instance. For more information, see [Overview of serverless ApsaraDB RDS for MySQL instances](~~411291~~), [Overview of serverless ApsaraDB RDS for SQL Server instances](~~604344~~), and [Overview of serverless ApsaraDB RDS for PostgreSQL instances](~~607742~~).
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The serverless instance on which you want to perform the specification change.
	ServerlessConfigurationShrink *string `json:"ServerlessConfiguration,omitempty" xml:"ServerlessConfiguration,omitempty"`
	// A deprecated parameter. You do not need to specify this parameter.
	SourceBiz *string `json:"SourceBiz,omitempty" xml:"SourceBiz,omitempty"`
	// The response parameters.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The number of the minor version.
	//
	// This parameter is required only for instances that run PostgreSQL. If the minor engine version does not support changing the instance type, you must specify the minor engine version to update the minor engine version when you change the instance type.
	//
	// Format: `rds_postgres_<Major engine version>00_<Minor engine version>`. Example: `rds_postgres_1200_20200830`.
	//
	// >  For more information about minor engine versions, see [Release notes for AliPG](~~126002~~).
	TargetMinorVersion *string `json:"TargetMinorVersion,omitempty" xml:"TargetMinorVersion,omitempty"`
	// The ID of the order.
	UsedTime *int64 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The RDS edition of the instance. Valid values:
	//
	// *   **Basic**: RDS Basic Edition.
	// *   **HighAvailability**: RDS High-availability Edition.
	// *   **AlwaysOn**: RDS Cluster Edition for SQL Server.
	// *   **Finance**: RDS Enterprise Edition. This edition is available only on the China site (aliyun.com).
	//
	// > If you set **EngineVersion** to an SQL Server version number, you must also specify this parameter.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (ModifyDBInstanceSpecShrinkRequest) GoString

func (*ModifyDBInstanceSpecShrinkRequest) SetAutoUseCoupon added in v3.0.15

func (*ModifyDBInstanceSpecShrinkRequest) SetBurstingEnabled added in v3.0.5

func (*ModifyDBInstanceSpecShrinkRequest) SetCategory

func (*ModifyDBInstanceSpecShrinkRequest) SetDBInstanceClass

func (*ModifyDBInstanceSpecShrinkRequest) SetDBInstanceId

func (*ModifyDBInstanceSpecShrinkRequest) SetDBInstanceStorage

func (*ModifyDBInstanceSpecShrinkRequest) SetDBInstanceStorageType

func (*ModifyDBInstanceSpecShrinkRequest) SetDedicatedHostGroupId

func (*ModifyDBInstanceSpecShrinkRequest) SetDirection

func (*ModifyDBInstanceSpecShrinkRequest) SetEffectiveTime

func (*ModifyDBInstanceSpecShrinkRequest) SetEngineVersion

func (*ModifyDBInstanceSpecShrinkRequest) SetOwnerAccount

func (*ModifyDBInstanceSpecShrinkRequest) SetOwnerId

func (*ModifyDBInstanceSpecShrinkRequest) SetPayType

func (*ModifyDBInstanceSpecShrinkRequest) SetResourceGroupId

func (*ModifyDBInstanceSpecShrinkRequest) SetResourceOwnerAccount

func (*ModifyDBInstanceSpecShrinkRequest) SetResourceOwnerId

func (*ModifyDBInstanceSpecShrinkRequest) SetServerlessConfigurationShrink

func (s *ModifyDBInstanceSpecShrinkRequest) SetServerlessConfigurationShrink(v string) *ModifyDBInstanceSpecShrinkRequest

func (*ModifyDBInstanceSpecShrinkRequest) SetSourceBiz

func (*ModifyDBInstanceSpecShrinkRequest) SetSwitchTime

func (*ModifyDBInstanceSpecShrinkRequest) SetTargetMinorVersion added in v3.0.215

func (*ModifyDBInstanceSpecShrinkRequest) SetUsedTime

func (*ModifyDBInstanceSpecShrinkRequest) SetZoneId

func (ModifyDBInstanceSpecShrinkRequest) String

type ModifyDBInstanceTDERequest

type ModifyDBInstanceTDERequest struct {
	// The file that contains the certificate.\
	// Format:
	//
	// *   Public endpoint: `oss-<The ID of the region>.aliyuncs.com:<The name of the bucket>:<The name of the certificate file>` (The file name contains the extension.)
	// *   Internal endpoint: `oss-<The ID of the region>-internal.aliyuncs.com:<The name of the bucket>:<The name of the certificate file>` (The file name contains the extension.)
	//
	// >
	//
	// *   This parameter is available when the instance runs SQL Server 2019 SE or an Enterprise Edition of SQL Server.
	//
	// *   You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	Certificate *string `json:"Certificate,omitempty" xml:"Certificate,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database for which you want to enable TDE. You can specify up to 50 database names in a single request. If you specify multiple database names, separate the database names with commas (,).
	//
	// > This parameter is available and must be specified only when the instance runs SQL Server 2019 SE or an Enterprise Edition of SQL Server.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The ID of the custom key.
	//
	// > This parameter is available when the instance runs MySQL or PostgreSQL.
	EncryptionKey *string `json:"EncryptionKey,omitempty" xml:"EncryptionKey,omitempty"`
	// Specifies whether to replace the key. Valid values:
	//
	// *   **true**: replaces the key.
	// *   **false**: does not replace the key.
	//
	// Default value: **false**
	//
	// > This parameter is available only when the instance runs PostgreSQL.
	IsRotate     *bool   `json:"IsRotate,omitempty" xml:"IsRotate,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The password of the certificate.
	//
	// > This parameter is available when the instance runs SQL Server 2019 SE or an Enterprise Edition of SQL Server.
	PassWord *string `json:"PassWord,omitempty" xml:"PassWord,omitempty"`
	// The file that contains the private key of the certificate.\
	// Format:
	//
	// *   Public endpoint: `oss-<The ID of the region>.aliyuncs.com:<The name of the bucket>:<The name of the file that contains the private key>` (The file name contains the extension.)
	// *   Internal endpoint: `oss-<The ID of the region>-internal.aliyuncs.com:<The name of the bucket>:<The name of the file that contains the private key>` (The file name contains the extension.)
	//
	// >
	//
	// *   This parameter is available when the instance runs SQL Server 2019 SE or an Enterprise Edition of SQL Server.
	//
	// *   You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	PrivateKey           *string `json:"PrivateKey,omitempty" xml:"PrivateKey,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 RAM role. A RAM role is a virtual identity that you can create within your Alibaba Cloud account. For more information, see [RAM role overview](~~93689~~).
	//
	// > This parameter is available when the instance runs MySQL or PostgreSQL.
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// The status of TDE. Valid values:
	//
	// *   **Enabled**
	// *   **Disabled**
	TDEStatus *string `json:"TDEStatus,omitempty" xml:"TDEStatus,omitempty"`
}

func (ModifyDBInstanceTDERequest) GoString

func (s ModifyDBInstanceTDERequest) GoString() string

func (*ModifyDBInstanceTDERequest) SetCertificate

func (*ModifyDBInstanceTDERequest) SetDBInstanceId

func (*ModifyDBInstanceTDERequest) SetDBName

func (*ModifyDBInstanceTDERequest) SetEncryptionKey

func (*ModifyDBInstanceTDERequest) SetIsRotate added in v3.0.3

func (*ModifyDBInstanceTDERequest) SetOwnerAccount

func (*ModifyDBInstanceTDERequest) SetOwnerId

func (*ModifyDBInstanceTDERequest) SetPassWord

func (*ModifyDBInstanceTDERequest) SetPrivateKey

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" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBInstanceTDEResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDBInstanceTDEResponseBody) GoString

func (*ModifyDBInstanceTDEResponseBody) SetRequestId

func (ModifyDBInstanceTDEResponseBody) String

type ModifyDBNodeRequest added in v3.2.0

type ModifyDBNodeRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. Make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to pay for the order.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new storage capacity of the instance. Unit: GB For more information, see [Instance types](~~26312~~).
	DBInstanceStorage *string `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **cloud_essd**: performance level 1 (PL1) enhanced SSD (ESSD)
	// *   **cloud_essd2**: PL2 ESSD
	// *   **cloud_essd3**: PL3 ESSD
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The information about the node.
	//
	// >  This parameter is supported for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition.
	DBNode []*ModifyDBNodeRequestDBNode `json:"DBNode,omitempty" xml:"DBNode,omitempty" type:"Repeated"`
	// Specifies whether to perform a dry run. Valid values: Valid values:
	//
	// *   **true**: performs a dry run and does not perform the actual request. The system checks items such as the request parameters, request format, service limits, and available resources.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// Effective time, value:
	// - Immediate (default value): takes effect immediately.
	// - MaintainTime: Effective within the operational time period, please refer to ModifyDBInstanceMaintainTime.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	OwnerAccount  *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Specifies whether to asynchronously perform the operation. Valid values:
	//
	// *   **true** (default): sends only the order. The operation is asynchronously performed.
	// *   **false**: sends the request. After the request passes the check, the operation is directly performed.
	//
	// >  The default value is true, which indicates that the change operation is asynchronously performed. If you set this parameter to false, the change operation is simultaneously performed. This prolongs the response time of the operation.
	ProduceAsync         *bool   `json:"ProduceAsync,omitempty" xml:"ProduceAsync,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBNodeRequest) GoString added in v3.2.0

func (s ModifyDBNodeRequest) GoString() string

func (*ModifyDBNodeRequest) SetAutoPay added in v3.2.0

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

func (*ModifyDBNodeRequest) SetClientToken added in v3.2.0

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

func (*ModifyDBNodeRequest) SetDBInstanceId added in v3.2.0

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

func (*ModifyDBNodeRequest) SetDBInstanceStorage added in v3.2.0

func (s *ModifyDBNodeRequest) SetDBInstanceStorage(v string) *ModifyDBNodeRequest

func (*ModifyDBNodeRequest) SetDBInstanceStorageType added in v3.2.0

func (s *ModifyDBNodeRequest) SetDBInstanceStorageType(v string) *ModifyDBNodeRequest

func (*ModifyDBNodeRequest) SetDBNode added in v3.2.0

func (*ModifyDBNodeRequest) SetDryRun added in v3.2.0

func (s *ModifyDBNodeRequest) SetDryRun(v bool) *ModifyDBNodeRequest

func (*ModifyDBNodeRequest) SetEffectiveTime added in v3.3.5

func (s *ModifyDBNodeRequest) SetEffectiveTime(v string) *ModifyDBNodeRequest

func (*ModifyDBNodeRequest) SetOwnerAccount added in v3.2.0

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

func (*ModifyDBNodeRequest) SetOwnerId added in v3.2.0

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

func (*ModifyDBNodeRequest) SetProduceAsync added in v3.2.0

func (s *ModifyDBNodeRequest) SetProduceAsync(v bool) *ModifyDBNodeRequest

func (*ModifyDBNodeRequest) SetResourceOwnerAccount added in v3.2.0

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

func (*ModifyDBNodeRequest) SetResourceOwnerId added in v3.2.0

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

func (ModifyDBNodeRequest) String added in v3.2.0

func (s ModifyDBNodeRequest) String() string

type ModifyDBNodeRequestDBNode added in v3.2.0

type ModifyDBNodeRequestDBNode struct {
	// The instance type of the node.
	ClassCode *string `json:"classCode,omitempty" xml:"classCode,omitempty"`
	// The node ID.
	NodeId *string `json:"nodeId,omitempty" xml:"nodeId,omitempty"`
}

func (ModifyDBNodeRequestDBNode) GoString added in v3.2.0

func (s ModifyDBNodeRequestDBNode) GoString() string

func (*ModifyDBNodeRequestDBNode) SetClassCode added in v3.2.0

func (*ModifyDBNodeRequestDBNode) SetNodeId added in v3.2.0

func (ModifyDBNodeRequestDBNode) String added in v3.2.0

func (s ModifyDBNodeRequestDBNode) String() string

type ModifyDBNodeResponse added in v3.2.0

type ModifyDBNodeResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBNodeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBNodeResponse) GoString added in v3.2.0

func (s ModifyDBNodeResponse) GoString() string

func (*ModifyDBNodeResponse) SetBody added in v3.2.0

func (*ModifyDBNodeResponse) SetHeaders added in v3.2.0

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

func (*ModifyDBNodeResponse) SetStatusCode added in v3.2.0

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

func (ModifyDBNodeResponse) String added in v3.2.0

func (s ModifyDBNodeResponse) String() string

type ModifyDBNodeResponseBody added in v3.2.0

type ModifyDBNodeResponseBody struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// *   **true**: The request was successful.
	// *   **false**: The request failed.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ModifyDBNodeResponseBody) GoString added in v3.2.0

func (s ModifyDBNodeResponseBody) GoString() string

func (*ModifyDBNodeResponseBody) SetDBInstanceId added in v3.2.0

func (*ModifyDBNodeResponseBody) SetOrderId added in v3.2.0

func (*ModifyDBNodeResponseBody) SetRequestId added in v3.2.0

func (*ModifyDBNodeResponseBody) SetSuccess added in v3.2.0

func (ModifyDBNodeResponseBody) String added in v3.2.0

func (s ModifyDBNodeResponseBody) String() string

type ModifyDBNodeShrinkRequest added in v3.2.0

type ModifyDBNodeShrinkRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. Make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to pay for the order.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The client token that is used to ensure the idempotence of the request.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The new storage capacity of the instance. Unit: GB For more information, see [Instance types](~~26312~~).
	DBInstanceStorage *string `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the instance. Valid values:
	//
	// *   **cloud_essd**: performance level 1 (PL1) enhanced SSD (ESSD)
	// *   **cloud_essd2**: PL2 ESSD
	// *   **cloud_essd3**: PL3 ESSD
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The information about the node.
	//
	// >  This parameter is supported for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition.
	DBNodeShrink *string `json:"DBNode,omitempty" xml:"DBNode,omitempty"`
	// Specifies whether to perform a dry run. Valid values: Valid values:
	//
	// *   **true**: performs a dry run and does not perform the actual request. The system checks items such as the request parameters, request format, service limits, and available resources.
	// *   **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
	DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	// Effective time, value:
	// - Immediate (default value): takes effect immediately.
	// - MaintainTime: Effective within the operational time period, please refer to ModifyDBInstanceMaintainTime.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	OwnerAccount  *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Specifies whether to asynchronously perform the operation. Valid values:
	//
	// *   **true** (default): sends only the order. The operation is asynchronously performed.
	// *   **false**: sends the request. After the request passes the check, the operation is directly performed.
	//
	// >  The default value is true, which indicates that the change operation is asynchronously performed. If you set this parameter to false, the change operation is simultaneously performed. This prolongs the response time of the operation.
	ProduceAsync         *bool   `json:"ProduceAsync,omitempty" xml:"ProduceAsync,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBNodeShrinkRequest) GoString added in v3.2.0

func (s ModifyDBNodeShrinkRequest) GoString() string

func (*ModifyDBNodeShrinkRequest) SetAutoPay added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetClientToken added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetDBInstanceId added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetDBInstanceStorage added in v3.2.0

func (s *ModifyDBNodeShrinkRequest) SetDBInstanceStorage(v string) *ModifyDBNodeShrinkRequest

func (*ModifyDBNodeShrinkRequest) SetDBInstanceStorageType added in v3.2.0

func (s *ModifyDBNodeShrinkRequest) SetDBInstanceStorageType(v string) *ModifyDBNodeShrinkRequest

func (*ModifyDBNodeShrinkRequest) SetDBNodeShrink added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetDryRun added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetEffectiveTime added in v3.3.5

func (*ModifyDBNodeShrinkRequest) SetOwnerAccount added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetOwnerId added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetProduceAsync added in v3.2.0

func (*ModifyDBNodeShrinkRequest) SetResourceOwnerAccount added in v3.2.0

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

func (*ModifyDBNodeShrinkRequest) SetResourceOwnerId added in v3.2.0

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

func (ModifyDBNodeShrinkRequest) String added in v3.2.0

func (s ModifyDBNodeShrinkRequest) String() string

type ModifyDBProxyEndpointAddressRequest

type ModifyDBProxyEndpointAddressRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the proxy endpoint. Valid values:
	//
	// *   **Public**: Internet
	// *   **VPC**: virtual private cloud (VPC)
	// *   **Classic**: classic network
	//
	// If the instance runs MySQL, the default value of this parameter is **Classic**.
	//
	// > If the instance runs PostgreSQL, you must set this parameter to **Public** or **VPC**.
	DBProxyConnectStringNetType *string `json:"DBProxyConnectStringNetType,omitempty" xml:"DBProxyConnectStringNetType,omitempty"`
	// The ID of the dedicated proxy endpoint. You can call the DescribeDBProxyEndpoint operation to query the ID of the proxy endpoint.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The new prefix of the proxy endpoint. Enter a prefix.
	//
	// > You must specify at least one of the **DBProxyNewConnectString** and **DBProxyNewConnectStringPort** parameters.
	DBProxyNewConnectString *string `json:"DBProxyNewConnectString,omitempty" xml:"DBProxyNewConnectString,omitempty"`
	// The port number that is associated with the proxy endpoint. Enter a port number.
	//
	// > You must specify at least one of the **DBProxyNewConnectString** and **DBProxyNewConnectStringPort** parameters.
	DBProxyNewConnectStringPort *string `json:"DBProxyNewConnectStringPort,omitempty" xml:"DBProxyNewConnectStringPort,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 (ModifyDBProxyEndpointAddressRequest) GoString

func (*ModifyDBProxyEndpointAddressRequest) SetDBInstanceId

func (*ModifyDBProxyEndpointAddressRequest) SetDBProxyConnectStringNetType

func (*ModifyDBProxyEndpointAddressRequest) SetDBProxyEndpointId

func (*ModifyDBProxyEndpointAddressRequest) SetDBProxyEngineType

func (*ModifyDBProxyEndpointAddressRequest) SetDBProxyNewConnectString

func (*ModifyDBProxyEndpointAddressRequest) SetDBProxyNewConnectStringPort

func (*ModifyDBProxyEndpointAddressRequest) SetOwnerId

func (*ModifyDBProxyEndpointAddressRequest) SetResourceOwnerAccount

func (*ModifyDBProxyEndpointAddressRequest) SetResourceOwnerId

func (ModifyDBProxyEndpointAddressRequest) String

type ModifyDBProxyEndpointAddressResponse

type ModifyDBProxyEndpointAddressResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBProxyEndpointAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBProxyEndpointAddressResponse) GoString

func (*ModifyDBProxyEndpointAddressResponse) SetHeaders

func (*ModifyDBProxyEndpointAddressResponse) SetStatusCode

func (ModifyDBProxyEndpointAddressResponse) String

type ModifyDBProxyEndpointAddressResponseBody

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

func (ModifyDBProxyEndpointAddressResponseBody) GoString

func (*ModifyDBProxyEndpointAddressResponseBody) SetRequestId

func (ModifyDBProxyEndpointAddressResponseBody) String

type ModifyDBProxyEndpointRequest

type ModifyDBProxyEndpointRequest struct {
	// The features that you want to enable for the proxy endpoint. If you specify more than one feature, separate the features with semicolons (;). Format: `Feature 1:Status;Feature 2:Status;...`. Do not add a semicolon (;) at the end of the last value.
	//
	// Valid feature values:
	//
	// *   **ReadWriteSpliting**: read/write splitting
	// *   **ConnectionPersist**: connection pooling
	// *   **TransactionReadSqlRouteOptimizeStatus**: transaction splitting
	//
	// Valid status values:
	//
	// *   **1**: enabled
	// *   **0**: disabled
	//
	// > If the instance runs PostgreSQL, you can enable only the read/write splitting feature, which is specified by **ReadWriteSpliting**.
	ConfigDBProxyFeatures *string `json:"ConfigDBProxyFeatures,omitempty" xml:"ConfigDBProxyFeatures,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The proxy endpoint ID. You can call the DescribeDBProxyEndpoint operation to query the proxy endpoint ID.
	//
	// >
	//
	// *   If the instance runs MySQL and you set **DbEndpointOperator** to **Delete** or **Modify**, you must specify DBProxyEndpointId.
	//
	// *   If the instance runs PostgreSQL and you set **DbEndpointOperator** to **Delete**, **Modify**, or **Create**, you must specify DBProxyEndpointId.
	DBProxyEndpointId *string `json:"DBProxyEndpointId,omitempty" xml:"DBProxyEndpointId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The description of the proxy terminal.
	DbEndpointAliases *string `json:"DbEndpointAliases,omitempty" xml:"DbEndpointAliases,omitempty"`
	// The type of operation that you want to perform. Valid values:
	//
	// *   **Modify**: Modify a proxy terminal. This is the default value.
	// *   **Create**: Create a proxy terminal.
	// *   **Delete**: Delete a proxy terminal.
	DbEndpointOperator *string `json:"DbEndpointOperator,omitempty" xml:"DbEndpointOperator,omitempty"`
	// The read and write attributes of the proxy terminal. Valid values:
	//
	// *   **ReadWrite**: The proxy terminal connects to the primary instance and can receive both read and write requests.
	// *   **ReadOnly**: The proxy terminal does not connect to the primary instance and can receive only read requests. This is the default value.
	//
	// > *   If you set **DbEndpointOperator** to **Create**, you must also specify DbEndpointReadWriteMode.
	// > *   If the instance runs MySQL and you change the value of this parameter from **ReadWrite** to **ReadOnly**, the transaction splitting feature is disabled.
	DbEndpointReadWriteMode *string `json:"DbEndpointReadWriteMode,omitempty" xml:"DbEndpointReadWriteMode,omitempty"`
	// The type of the proxy terminal. This is a reserved parameter. You do not need to specify this parameter.
	DbEndpointType *string `json:"DbEndpointType,omitempty" xml:"DbEndpointType,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The policy that is used to allocate read weights. Valid values:
	//
	// *   **Standard**: The system automatically allocates read weights to the instance and its read-only instances based on the specifications of the instances.
	// *   **Custom**: You must manually allocate read weights to the instance and its read-only instances.
	//
	// > You must specify this parameter only when the read/write splitting feature is enabled. For more information about the permission allocation policy, see [Modify the latency threshold and read weights of ApsaraDB RDS for MySQL instances](~~96076~~) and [Enable and configure the database proxy feature for an ApsaraDB RDS for PostgreSQL instance](~~418272~~).
	ReadOnlyInstanceDistributionType *string `json:"ReadOnlyInstanceDistributionType,omitempty" xml:"ReadOnlyInstanceDistributionType,omitempty"`
	// The latency threshold that is allowed for read/write splitting. If the latency on a read-only instance exceeds the threshold that you specified, the system no longer forwards read requests to the read-only instance. Unit: seconds If you do not specify this parameter, the original value of this parameter is retained. Valid values: **0** to **3600**. Default value: **30**.
	//
	// > You must specify this parameter only when the read/write splitting feature is enabled.
	ReadOnlyInstanceMaxDelayTime *string `json:"ReadOnlyInstanceMaxDelayTime,omitempty" xml:"ReadOnlyInstanceMaxDelayTime,omitempty"`
	// The read weights of the instance and its read-only instances. A read weight must be a multiple of 100 and cannot exceed 10000. Formats:
	//
	// *   Standard instance: `{"ID of the primary instance":"Weight","ID of the read-only instance":"Weight"...}`
	//
	//     Example: `{"rm-uf6wjk5****":"500","rr-tfhfgk5xxx":"200"...}`
	//
	// *   Instance on RDS Cluster Edition: `{"ID of the read-only instance":"Weight","DBClusterNode":{"ID of the primary node":"Weight","ID of the secondary node":"Weight","ID of the secondary node":"Weight"...}}`
	//
	//     Example: `{"rr-tfhfgk5****":"200","DBClusterNode":{"rn-2z****":"0","rn-2z****":"400","rn-2z****":"400"...}}`
	//
	//     **
	//
	//     **Note** **DBClusterNode** is required if the instance runs RDS Cluster Edition. The DBClusterNode parameter includes information about **IDs** and **weights** of the primary and secondary nodes..
	ReadOnlyInstanceWeight *string `json:"ReadOnlyInstanceWeight,omitempty" xml:"ReadOnlyInstanceWeight,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBProxyEndpointRequest) GoString

func (s ModifyDBProxyEndpointRequest) GoString() string

func (*ModifyDBProxyEndpointRequest) SetConfigDBProxyFeatures

func (s *ModifyDBProxyEndpointRequest) SetConfigDBProxyFeatures(v string) *ModifyDBProxyEndpointRequest

func (*ModifyDBProxyEndpointRequest) SetDBInstanceId

func (*ModifyDBProxyEndpointRequest) SetDBProxyEndpointId

func (*ModifyDBProxyEndpointRequest) SetDBProxyEngineType

func (*ModifyDBProxyEndpointRequest) SetDbEndpointAliases

func (*ModifyDBProxyEndpointRequest) SetDbEndpointOperator

func (*ModifyDBProxyEndpointRequest) SetDbEndpointReadWriteMode

func (s *ModifyDBProxyEndpointRequest) SetDbEndpointReadWriteMode(v string) *ModifyDBProxyEndpointRequest

func (*ModifyDBProxyEndpointRequest) SetDbEndpointType

func (*ModifyDBProxyEndpointRequest) SetOwnerId

func (*ModifyDBProxyEndpointRequest) SetReadOnlyInstanceDistributionType

func (s *ModifyDBProxyEndpointRequest) SetReadOnlyInstanceDistributionType(v string) *ModifyDBProxyEndpointRequest

func (*ModifyDBProxyEndpointRequest) SetReadOnlyInstanceMaxDelayTime

func (s *ModifyDBProxyEndpointRequest) SetReadOnlyInstanceMaxDelayTime(v string) *ModifyDBProxyEndpointRequest

func (*ModifyDBProxyEndpointRequest) SetReadOnlyInstanceWeight

func (s *ModifyDBProxyEndpointRequest) SetReadOnlyInstanceWeight(v string) *ModifyDBProxyEndpointRequest

func (*ModifyDBProxyEndpointRequest) SetRegionId

func (*ModifyDBProxyEndpointRequest) SetResourceOwnerAccount

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

func (*ModifyDBProxyEndpointRequest) SetResourceOwnerId

func (ModifyDBProxyEndpointRequest) String

type ModifyDBProxyEndpointResponse

type ModifyDBProxyEndpointResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBProxyEndpointResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBProxyEndpointResponse) GoString

func (*ModifyDBProxyEndpointResponse) SetBody

func (*ModifyDBProxyEndpointResponse) SetHeaders

func (*ModifyDBProxyEndpointResponse) SetStatusCode

func (ModifyDBProxyEndpointResponse) String

type ModifyDBProxyEndpointResponseBody

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

func (ModifyDBProxyEndpointResponseBody) GoString

func (*ModifyDBProxyEndpointResponseBody) SetRequestId

func (ModifyDBProxyEndpointResponseBody) String

type ModifyDBProxyInstanceRequest

type ModifyDBProxyInstanceRequest struct {
	// The ID of the instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An internal parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The number of proxy instances that are enabled. If the value of this parameter is 0, the database proxy feature is disabled for the instance. Valid values: **1** to **60**.
	//
	// >  The capability of the database proxy to process requests increases with the number of proxy instances that are enabled. You can monitor the load on the instance and specify an appropriate number of proxy instances based on the load monitoring data.
	DBProxyInstanceNum *string `json:"DBProxyInstanceNum,omitempty" xml:"DBProxyInstanceNum,omitempty"`
	// The type of database proxy that is enabled for the instance. Set the value to **DedicatedProxy**.
	DBProxyInstanceType *string `json:"DBProxyInstanceType,omitempty" xml:"DBProxyInstanceType,omitempty"`
	// The point in time at which you want to apply the new database proxy settings. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// >  If you set the **EffectiveTime** parameter to **SpecificTime**, you must specify the EffectiveSpecificTime parameter.
	EffectiveSpecificTime *string `json:"EffectiveSpecificTime,omitempty" xml:"EffectiveSpecificTime,omitempty"`
	// The time when you want to apply the new database proxy settings. Valid values:
	//
	// *   **Immediate**: ApsaraDB RDS immediately applies the new settings.
	// *   **MaintainTime**: ApsaraDB RDS applies the new settings during the maintenance window that you specified. For more information, see [Modify the maintenance window](~~26249~~).
	// *   **SpecificTime**: ApsaraDB RDS applies the new settings at a specified point in time.
	//
	// Default value: **MaintainTime**.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region where the instance resides. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyDBProxyInstanceRequest) GoString

func (s ModifyDBProxyInstanceRequest) GoString() string

func (*ModifyDBProxyInstanceRequest) SetDBInstanceId

func (*ModifyDBProxyInstanceRequest) SetDBProxyEngineType

func (*ModifyDBProxyInstanceRequest) SetDBProxyInstanceNum

func (*ModifyDBProxyInstanceRequest) SetDBProxyInstanceType

func (*ModifyDBProxyInstanceRequest) SetEffectiveSpecificTime

func (s *ModifyDBProxyInstanceRequest) SetEffectiveSpecificTime(v string) *ModifyDBProxyInstanceRequest

func (*ModifyDBProxyInstanceRequest) SetEffectiveTime

func (*ModifyDBProxyInstanceRequest) SetOwnerId

func (*ModifyDBProxyInstanceRequest) SetRegionId

func (*ModifyDBProxyInstanceRequest) SetResourceOwnerAccount

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

func (*ModifyDBProxyInstanceRequest) SetResourceOwnerId

func (ModifyDBProxyInstanceRequest) String

type ModifyDBProxyInstanceResponse

type ModifyDBProxyInstanceResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBProxyInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBProxyInstanceResponse) GoString

func (*ModifyDBProxyInstanceResponse) SetBody

func (*ModifyDBProxyInstanceResponse) SetHeaders

func (*ModifyDBProxyInstanceResponse) SetStatusCode

func (ModifyDBProxyInstanceResponse) String

type ModifyDBProxyInstanceResponseBody

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

func (ModifyDBProxyInstanceResponseBody) GoString

func (*ModifyDBProxyInstanceResponseBody) SetRequestId

func (ModifyDBProxyInstanceResponseBody) String

type ModifyDBProxyRequest

type ModifyDBProxyRequest struct {
	// Specifies whether to enable or disable the database proxy feature. Valid values:
	//
	// *   **Startup**: enables the database proxy feature.
	// *   **Shutdown**: disables the database proxy feature.
	ConfigDBProxyService *string `json:"ConfigDBProxyService,omitempty" xml:"ConfigDBProxyService,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The number of proxy instances that are enabled. Valid values: **1** to **16**. Default value: **1**.
	//
	// >  The capability of the database proxy to process requests increases with the number of proxy instances that are enabled. You can monitor the load on the instance and specify an appropriate number of proxy instances based on the load monitoring data.
	DBProxyInstanceNum *string `json:"DBProxyInstanceNum,omitempty" xml:"DBProxyInstanceNum,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyInstanceType *string `json:"DBProxyInstanceType,omitempty" xml:"DBProxyInstanceType,omitempty"`
	// The network type of the instance. Set the value to **VPC**.
	//
	// > This parameter is required if you enable the database proxy feature for an ApsaraDB RDS for MySQL instance that uses cloud disks or an ApsaraDB RDS for PostgreSQL instance.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	OwnerId             *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The ID of the virtual private cloud (VPC) to which the instance belongs. You can call the DescribeDBInstanceAttribute operation to query the VPC ID.
	//
	// >  This parameter is required if you enable the database proxy feature for an ApsaraDB RDS for MySQL instance that uses cloud disks or an ApsaraDB RDS for PostgreSQL instance.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the instance. You can call the DescribeDBInstanceAttribute operation to query the vSwitch ID.
	//
	// >  This parameter is required if you enable the database proxy feature for an ApsaraDB RDS for MySQL instance that uses cloud disks or an ApsaraDB RDS for PostgreSQL instance.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (ModifyDBProxyRequest) GoString

func (s ModifyDBProxyRequest) GoString() string

func (*ModifyDBProxyRequest) SetConfigDBProxyService

func (s *ModifyDBProxyRequest) SetConfigDBProxyService(v string) *ModifyDBProxyRequest

func (*ModifyDBProxyRequest) SetDBInstanceId

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

func (*ModifyDBProxyRequest) SetDBProxyEngineType

func (s *ModifyDBProxyRequest) SetDBProxyEngineType(v string) *ModifyDBProxyRequest

func (*ModifyDBProxyRequest) SetDBProxyInstanceNum

func (s *ModifyDBProxyRequest) SetDBProxyInstanceNum(v string) *ModifyDBProxyRequest

func (*ModifyDBProxyRequest) SetDBProxyInstanceType added in v3.3.6

func (s *ModifyDBProxyRequest) SetDBProxyInstanceType(v string) *ModifyDBProxyRequest

func (*ModifyDBProxyRequest) SetInstanceNetworkType

func (s *ModifyDBProxyRequest) SetInstanceNetworkType(v string) *ModifyDBProxyRequest

func (*ModifyDBProxyRequest) SetOwnerId

func (*ModifyDBProxyRequest) SetRegionId

func (*ModifyDBProxyRequest) SetResourceGroupId

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

func (*ModifyDBProxyRequest) SetResourceOwnerAccount

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

func (*ModifyDBProxyRequest) SetResourceOwnerId

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

func (*ModifyDBProxyRequest) SetVPCId

func (*ModifyDBProxyRequest) SetVSwitchId

func (s *ModifyDBProxyRequest) SetVSwitchId(v string) *ModifyDBProxyRequest

func (ModifyDBProxyRequest) String

func (s ModifyDBProxyRequest) String() string

type ModifyDBProxyResponse

type ModifyDBProxyResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDBProxyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDBProxyResponse) GoString

func (s ModifyDBProxyResponse) GoString() string

func (*ModifyDBProxyResponse) SetBody

func (*ModifyDBProxyResponse) SetHeaders

func (*ModifyDBProxyResponse) SetStatusCode

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

func (ModifyDBProxyResponse) String

func (s ModifyDBProxyResponse) String() string

type ModifyDBProxyResponseBody

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

func (ModifyDBProxyResponseBody) GoString

func (s ModifyDBProxyResponseBody) GoString() string

func (*ModifyDBProxyResponseBody) SetRequestId

func (ModifyDBProxyResponseBody) String

func (s ModifyDBProxyResponseBody) String() string

type ModifyDTCSecurityIpHostsForSQLServerRequest

type ModifyDTCSecurityIpHostsForSQLServerRequest struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The IP address of the ECS instance and the hostname of the Windows computer. Format: IP address,Hostname. Multiple values are separated with semicolons (;).
	//
	// >  For more information about how to query the computer hostname, see [Configure a distributed transaction whitelist](~~124321~~).
	SecurityIpHosts *string `json:"SecurityIpHosts,omitempty" xml:"SecurityIpHosts,omitempty"`
	SecurityToken   *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// The name of the whitelist.
	WhiteListGroupName *string `json:"WhiteListGroupName,omitempty" xml:"WhiteListGroupName,omitempty"`
}

func (ModifyDTCSecurityIpHostsForSQLServerRequest) GoString

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetDBInstanceId

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetOwnerAccount

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetOwnerId

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetRegionId

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetResourceOwnerAccount

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetResourceOwnerId

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetSecurityIpHosts

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetSecurityToken

func (*ModifyDTCSecurityIpHostsForSQLServerRequest) SetWhiteListGroupName

func (ModifyDTCSecurityIpHostsForSQLServerRequest) String

type ModifyDTCSecurityIpHostsForSQLServerResponse

type ModifyDTCSecurityIpHostsForSQLServerResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDTCSecurityIpHostsForSQLServerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDTCSecurityIpHostsForSQLServerResponse) GoString

func (*ModifyDTCSecurityIpHostsForSQLServerResponse) SetHeaders

func (*ModifyDTCSecurityIpHostsForSQLServerResponse) SetStatusCode

func (ModifyDTCSecurityIpHostsForSQLServerResponse) String

type ModifyDTCSecurityIpHostsForSQLServerResponseBody

type ModifyDTCSecurityIpHostsForSQLServerResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The result of the whitelist configuration. Valid values:
	//
	// *   **Success**
	// *   **Fail**
	DTCSetResult *string `json:"DTCSetResult,omitempty" xml:"DTCSetResult,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyDTCSecurityIpHostsForSQLServerResponseBody) GoString

func (*ModifyDTCSecurityIpHostsForSQLServerResponseBody) SetDBInstanceId

func (*ModifyDTCSecurityIpHostsForSQLServerResponseBody) SetDTCSetResult

func (*ModifyDTCSecurityIpHostsForSQLServerResponseBody) SetRequestId

func (*ModifyDTCSecurityIpHostsForSQLServerResponseBody) SetTaskId

func (ModifyDTCSecurityIpHostsForSQLServerResponseBody) String

type ModifyDasInstanceConfigRequest

type ModifyDasInstanceConfigRequest 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 enable automatic storage expansion. Valid values:
	//
	// *   **Enable**
	// *   **Disable**
	StorageAutoScale *string `json:"StorageAutoScale,omitempty" xml:"StorageAutoScale,omitempty"`
	// The threshold in percentage based on which an automatic storage expansion is triggered. If the available storage reaches the threshold, ApsaraDB RDS increases the storage capacity of the instance. Valid values:
	//
	// *   **10**
	// *   **20**
	// *   **30**
	// *   **40**
	// *   **50**
	//
	// >  If you set the StorageAutoScale parameter to **Enable**, you must specify this parameter.
	StorageThreshold *int32 `json:"StorageThreshold,omitempty" xml:"StorageThreshold,omitempty"`
	// The maximum storage capacity that is allowed for an automatic storage expansion. The value of this parameter must be greater than or equal to the current storage capacity of the RDS instance.
	//
	// *   If the RDS instance uses ESSDs, the maximum value of this parameter can be set to 32000 GB.
	// *   If the RDS instance uses standard SSDs, the maximum value of this parameter can be set to 6000 GB.
	//
	// >  If you set the **StorageAutoScale** parameter to **Enable**, you must specify this parameter.
	StorageUpperBound *int32 `json:"StorageUpperBound,omitempty" xml:"StorageUpperBound,omitempty"`
}

func (ModifyDasInstanceConfigRequest) GoString

func (*ModifyDasInstanceConfigRequest) SetClientToken

func (*ModifyDasInstanceConfigRequest) SetDBInstanceId

func (*ModifyDasInstanceConfigRequest) SetOwnerId

func (*ModifyDasInstanceConfigRequest) SetResourceOwnerAccount

func (*ModifyDasInstanceConfigRequest) SetResourceOwnerId

func (*ModifyDasInstanceConfigRequest) SetStorageAutoScale

func (*ModifyDasInstanceConfigRequest) SetStorageThreshold

func (*ModifyDasInstanceConfigRequest) SetStorageUpperBound

func (ModifyDasInstanceConfigRequest) String

type ModifyDasInstanceConfigResponse

type ModifyDasInstanceConfigResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDasInstanceConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDasInstanceConfigResponse) GoString

func (*ModifyDasInstanceConfigResponse) SetHeaders

func (*ModifyDasInstanceConfigResponse) SetStatusCode

func (ModifyDasInstanceConfigResponse) String

type ModifyDasInstanceConfigResponseBody

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

func (ModifyDasInstanceConfigResponseBody) GoString

func (*ModifyDasInstanceConfigResponseBody) SetRequestId

func (ModifyDasInstanceConfigResponseBody) String

type ModifyDatabaseConfigRequest added in v3.1.0

type ModifyDatabaseConfigRequest struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database name.
	//
	// >  You can specify only one database name.
	DBName *string `json:"DBName,omitempty" xml:"DBName,omitempty"`
	// The name of the database property that you want to modify.
	DatabasePropertyName *string `json:"DatabasePropertyName,omitempty" xml:"DatabasePropertyName,omitempty"`
	// The value of the database property that you want to modify.
	DatabasePropertyValue *string `json:"DatabasePropertyValue,omitempty" xml:"DatabasePropertyValue,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 (ModifyDatabaseConfigRequest) GoString added in v3.1.0

func (s ModifyDatabaseConfigRequest) GoString() string

func (*ModifyDatabaseConfigRequest) SetDBInstanceId added in v3.1.0

func (*ModifyDatabaseConfigRequest) SetDBName added in v3.1.0

func (*ModifyDatabaseConfigRequest) SetDatabasePropertyName added in v3.1.0

func (s *ModifyDatabaseConfigRequest) SetDatabasePropertyName(v string) *ModifyDatabaseConfigRequest

func (*ModifyDatabaseConfigRequest) SetDatabasePropertyValue added in v3.1.0

func (s *ModifyDatabaseConfigRequest) SetDatabasePropertyValue(v string) *ModifyDatabaseConfigRequest

func (*ModifyDatabaseConfigRequest) SetOwnerAccount added in v3.1.0

func (*ModifyDatabaseConfigRequest) SetOwnerId added in v3.1.0

func (*ModifyDatabaseConfigRequest) SetResourceOwnerAccount added in v3.1.0

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

func (*ModifyDatabaseConfigRequest) SetResourceOwnerId added in v3.1.0

func (ModifyDatabaseConfigRequest) String added in v3.1.0

type ModifyDatabaseConfigResponse added in v3.1.0

type ModifyDatabaseConfigResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDatabaseConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDatabaseConfigResponse) GoString added in v3.1.0

func (s ModifyDatabaseConfigResponse) GoString() string

func (*ModifyDatabaseConfigResponse) SetBody added in v3.1.0

func (*ModifyDatabaseConfigResponse) SetHeaders added in v3.1.0

func (*ModifyDatabaseConfigResponse) SetStatusCode added in v3.1.0

func (ModifyDatabaseConfigResponse) String added in v3.1.0

type ModifyDatabaseConfigResponseBody added in v3.1.0

type ModifyDatabaseConfigResponseBody struct {
	// The code.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The message returned.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDatabaseConfigResponseBody) GoString added in v3.1.0

func (*ModifyDatabaseConfigResponseBody) SetCode added in v3.1.0

func (*ModifyDatabaseConfigResponseBody) SetMessage added in v3.1.0

func (*ModifyDatabaseConfigResponseBody) SetRequestId added in v3.1.0

func (ModifyDatabaseConfigResponseBody) String added in v3.1.0

type ModifyDbProxyInstanceSslRequest

type ModifyDbProxyInstanceSslRequest struct {
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DbInstanceId *string `json:"DbInstanceId,omitempty" xml:"DbInstanceId,omitempty"`
	// The dedicated proxy endpoint of the instance.
	DbProxyConnectString *string `json:"DbProxyConnectString,omitempty" xml:"DbProxyConnectString,omitempty"`
	// The ID of the proxy endpoint. You can call the DescribeDBProxyEndpoint operation to query the ID of the proxy endpoint.
	DbProxyEndpointId *string `json:"DbProxyEndpointId,omitempty" xml:"DbProxyEndpointId,omitempty"`
	// The SSL configuration setting that you want to apply on the instance. Valid values:
	//
	// *   0: disables SSL encryption.
	// *   1: enables SSL encryption or modifies the endpoint that requires SSL encryption.
	// *   2: updates the validity period of the SSL certificate.
	//
	// > This setting causes your instance to restart. Proceed with caution.
	DbProxySslEnabled *string `json:"DbProxySslEnabled,omitempty" xml:"DbProxySslEnabled,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ModifyDbProxyInstanceSslRequest) GoString

func (*ModifyDbProxyInstanceSslRequest) SetDBProxyEngineType

func (*ModifyDbProxyInstanceSslRequest) SetDbInstanceId

func (*ModifyDbProxyInstanceSslRequest) SetDbProxyConnectString

func (*ModifyDbProxyInstanceSslRequest) SetDbProxyEndpointId

func (*ModifyDbProxyInstanceSslRequest) SetDbProxySslEnabled

func (*ModifyDbProxyInstanceSslRequest) SetRegionId

func (ModifyDbProxyInstanceSslRequest) String

type ModifyDbProxyInstanceSslResponse

type ModifyDbProxyInstanceSslResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDbProxyInstanceSslResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDbProxyInstanceSslResponse) GoString

func (*ModifyDbProxyInstanceSslResponse) SetHeaders

func (*ModifyDbProxyInstanceSslResponse) SetStatusCode

func (ModifyDbProxyInstanceSslResponse) String

type ModifyDbProxyInstanceSslResponseBody

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

func (ModifyDbProxyInstanceSslResponseBody) GoString

func (*ModifyDbProxyInstanceSslResponseBody) SetRequestId

func (ModifyDbProxyInstanceSslResponseBody) String

type ModifyEventInfoRequest added in v3.4.0

type ModifyEventInfoRequest struct {
	// Action params.
	ActionParams *string `json:"ActionParams,omitempty" xml:"ActionParams,omitempty"`
	// Event action.
	EventAction *string `json:"EventAction,omitempty" xml:"EventAction,omitempty"`
	// The event ID.
	EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId      *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	SecurityToken *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifyEventInfoRequest) GoString added in v3.4.0

func (s ModifyEventInfoRequest) GoString() string

func (*ModifyEventInfoRequest) SetActionParams added in v3.4.0

func (s *ModifyEventInfoRequest) SetActionParams(v string) *ModifyEventInfoRequest

func (*ModifyEventInfoRequest) SetEventAction added in v3.4.0

func (*ModifyEventInfoRequest) SetEventId added in v3.4.0

func (*ModifyEventInfoRequest) SetRegionId added in v3.4.0

func (*ModifyEventInfoRequest) SetSecurityToken added in v3.4.0

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

func (ModifyEventInfoRequest) String added in v3.4.0

func (s ModifyEventInfoRequest) String() string

type ModifyEventInfoResponse added in v3.4.0

type ModifyEventInfoResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyEventInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyEventInfoResponse) GoString added in v3.4.0

func (s ModifyEventInfoResponse) GoString() string

func (*ModifyEventInfoResponse) SetBody added in v3.4.0

func (*ModifyEventInfoResponse) SetHeaders added in v3.4.0

func (*ModifyEventInfoResponse) SetStatusCode added in v3.4.0

func (ModifyEventInfoResponse) String added in v3.4.0

func (s ModifyEventInfoResponse) String() string

type ModifyEventInfoResponseBody added in v3.4.0

type ModifyEventInfoResponseBody struct {
	// The error code returned.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// Error eventId.
	ErrorEventId *string `json:"ErrorEventId,omitempty" xml:"ErrorEventId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of devices that were created.
	SuccessCount *int32 `json:"SuccessCount,omitempty" xml:"SuccessCount,omitempty"`
	// Success eventId.
	SuccessEventId *string `json:"SuccessEventId,omitempty" xml:"SuccessEventId,omitempty"`
}

func (ModifyEventInfoResponseBody) GoString added in v3.4.0

func (s ModifyEventInfoResponseBody) GoString() string

func (*ModifyEventInfoResponseBody) SetErrorCode added in v3.4.0

func (*ModifyEventInfoResponseBody) SetErrorEventId added in v3.4.0

func (*ModifyEventInfoResponseBody) SetRequestId added in v3.4.0

func (*ModifyEventInfoResponseBody) SetSuccessCount added in v3.4.0

func (*ModifyEventInfoResponseBody) SetSuccessEventId added in v3.4.0

func (ModifyEventInfoResponseBody) String added in v3.4.0

type ModifyHADiagnoseConfigRequest

type ModifyHADiagnoseConfigRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The availability check method of the instance. Valid values:
	//
	// *   **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
	// *   **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
	TcpConnectionType *string `json:"TcpConnectionType,omitempty" xml:"TcpConnectionType,omitempty"`
}

func (ModifyHADiagnoseConfigRequest) GoString

func (*ModifyHADiagnoseConfigRequest) SetDBInstanceId

func (*ModifyHADiagnoseConfigRequest) SetOwnerId

func (*ModifyHADiagnoseConfigRequest) SetRegionId

func (*ModifyHADiagnoseConfigRequest) SetResourceOwnerAccount

func (*ModifyHADiagnoseConfigRequest) SetResourceOwnerId

func (*ModifyHADiagnoseConfigRequest) SetTcpConnectionType

func (ModifyHADiagnoseConfigRequest) String

type ModifyHADiagnoseConfigResponse

type ModifyHADiagnoseConfigResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyHADiagnoseConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyHADiagnoseConfigResponse) GoString

func (*ModifyHADiagnoseConfigResponse) SetHeaders

func (*ModifyHADiagnoseConfigResponse) SetStatusCode

func (ModifyHADiagnoseConfigResponse) String

type ModifyHADiagnoseConfigResponseBody

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

func (ModifyHADiagnoseConfigResponseBody) GoString

func (*ModifyHADiagnoseConfigResponseBody) SetRequestId

func (ModifyHADiagnoseConfigResponseBody) String

type ModifyHASwitchConfigRequest

type ModifyHASwitchConfigRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The mode of the automatic primary/secondary switchover feature. Valid values:
	//
	// *   **Auto**: The automatic primary/secondary switchover feature is enabled. The system automatically switches your workloads over from the instance to its secondary instance in the event of a fault.
	// *   **Manual**: The automatic primary/secondary switchover feature is disabled. You must manually switch your workloads over from the instance to its secondary instance in the event of a fault.
	//
	// Default value: **Auto**.
	//
	// >  If you set this parameter to **Manual**, you must specify the **ManualHATime** parameter.
	HAConfig *string `json:"HAConfig,omitempty" xml:"HAConfig,omitempty"`
	// The time to disable the automatic primary/secondary switchover feature. The time can range from the current time to 23:59:59 seven days later. 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 takes effect only when you set the **HAConfig** parameter to **Manual**.
	ManualHATime *string `json:"ManualHATime,omitempty" xml:"ManualHATime,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyHASwitchConfigRequest) GoString

func (s ModifyHASwitchConfigRequest) GoString() string

func (*ModifyHASwitchConfigRequest) SetDBInstanceId

func (*ModifyHASwitchConfigRequest) SetHAConfig

func (*ModifyHASwitchConfigRequest) SetManualHATime

func (*ModifyHASwitchConfigRequest) SetOwnerId

func (*ModifyHASwitchConfigRequest) SetRegionId

func (*ModifyHASwitchConfigRequest) SetResourceOwnerAccount

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

func (*ModifyHASwitchConfigRequest) SetResourceOwnerId

func (ModifyHASwitchConfigRequest) String

type ModifyHASwitchConfigResponse

type ModifyHASwitchConfigResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyHASwitchConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyHASwitchConfigResponse) GoString

func (s ModifyHASwitchConfigResponse) GoString() string

func (*ModifyHASwitchConfigResponse) SetBody

func (*ModifyHASwitchConfigResponse) SetHeaders

func (*ModifyHASwitchConfigResponse) SetStatusCode

func (ModifyHASwitchConfigResponse) String

type ModifyHASwitchConfigResponseBody

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

func (ModifyHASwitchConfigResponseBody) GoString

func (*ModifyHASwitchConfigResponseBody) SetRequestId

func (ModifyHASwitchConfigResponseBody) String

type ModifyInstanceAutoRenewalAttributeRequest

type ModifyInstanceAutoRenewalAttributeRequest struct {
	// Specifies whether to enable or disable auto-renewal. Valid values: **True and False**.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The number of months for auto-renewal. Valid values: **1 to 12**.
	//
	// >  You must specify this parameter if you set the** AutoRenew **parameter to** True**.
	Duration     *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the instance. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyInstanceAutoRenewalAttributeRequest) GoString

func (*ModifyInstanceAutoRenewalAttributeRequest) SetAutoRenew

func (*ModifyInstanceAutoRenewalAttributeRequest) SetClientToken

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" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyInstanceAutoRenewalAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyInstanceAutoRenewalAttributeResponse) GoString

func (*ModifyInstanceAutoRenewalAttributeResponse) SetHeaders

func (*ModifyInstanceAutoRenewalAttributeResponse) SetStatusCode

func (ModifyInstanceAutoRenewalAttributeResponse) String

type ModifyInstanceAutoRenewalAttributeResponseBody

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

func (ModifyInstanceAutoRenewalAttributeResponseBody) GoString

func (*ModifyInstanceAutoRenewalAttributeResponseBody) SetRequestId

func (ModifyInstanceAutoRenewalAttributeResponseBody) String

type ModifyInstanceCrossBackupPolicyRequest

type ModifyInstanceCrossBackupPolicyRequest struct {
	// Specifies whether to enable the cross-region backup feature on the instance. This parameter specifies whether you can back up data and logs. Valid values:
	//
	// *   **0**: disables the feature.
	// *   **1:** enables the feature.
	//
	// > Before you enable the cross-region backup feature, you must configure the CrossBackupRegion parameter.
	BackupEnabled *string `json:"BackupEnabled,omitempty" xml:"BackupEnabled,omitempty"`
	// The ID of the region in which the cross-region backup files of the instance are stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The policy that is used to save the cross-region backup files of the instance. Set the value to **1**. The value 1 specifies that all cross-region backup files are saved.
	CrossBackupType *string `json:"CrossBackupType,omitempty" xml:"CrossBackupType,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies whether to enable the cross-region log backup feature on the instance. Valid values:
	//
	// *   **0**: disables the feature.
	// *   **1:** enables the feature.
	//
	// > You can enable the cross-region log backup feature only when the cross-region backup feature is enabled.
	LogBackupEnabled *string `json:"LogBackupEnabled,omitempty" xml:"LogBackupEnabled,omitempty"`
	OwnerId          *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the source instance. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The policy that is used to retain the cross-region backup files of the instance. Set the value to 1. The value **1** specifies that the cross-region backup files of the instance are retained based on the specified retention period.
	RetentType *int32 `json:"RetentType,omitempty" xml:"RetentType,omitempty"`
	// The number of days for which the cross-region backup files of the instance are retained. Valid values: **7 to 1825**.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
}

func (ModifyInstanceCrossBackupPolicyRequest) GoString

func (*ModifyInstanceCrossBackupPolicyRequest) SetBackupEnabled

func (*ModifyInstanceCrossBackupPolicyRequest) SetCrossBackupRegion

func (*ModifyInstanceCrossBackupPolicyRequest) SetCrossBackupType

func (*ModifyInstanceCrossBackupPolicyRequest) SetDBInstanceId

func (*ModifyInstanceCrossBackupPolicyRequest) SetLogBackupEnabled

func (*ModifyInstanceCrossBackupPolicyRequest) SetOwnerId

func (*ModifyInstanceCrossBackupPolicyRequest) SetRegionId

func (*ModifyInstanceCrossBackupPolicyRequest) SetResourceOwnerAccount

func (*ModifyInstanceCrossBackupPolicyRequest) SetResourceOwnerId

func (*ModifyInstanceCrossBackupPolicyRequest) SetRetentType

func (*ModifyInstanceCrossBackupPolicyRequest) SetRetention

func (ModifyInstanceCrossBackupPolicyRequest) String

type ModifyInstanceCrossBackupPolicyResponse

type ModifyInstanceCrossBackupPolicyResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyInstanceCrossBackupPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyInstanceCrossBackupPolicyResponse) GoString

func (*ModifyInstanceCrossBackupPolicyResponse) SetHeaders

func (*ModifyInstanceCrossBackupPolicyResponse) SetStatusCode

func (ModifyInstanceCrossBackupPolicyResponse) String

type ModifyInstanceCrossBackupPolicyResponseBody

type ModifyInstanceCrossBackupPolicyResponseBody struct {
	// The status of the cross-region backup feature on the instance. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	BackupEnabled *string `json:"BackupEnabled,omitempty" xml:"BackupEnabled,omitempty"`
	// The ID of the region in which the cross-region backup files of the instance are stored.
	CrossBackupRegion *string `json:"CrossBackupRegion,omitempty" xml:"CrossBackupRegion,omitempty"`
	// The policy that is used to save the cross-region backup files of the instance. Default value: **1**. The value 1 indicates that all cross-region backup files are saved.
	CrossBackupType *string `json:"CrossBackupType,omitempty" xml:"CrossBackupType,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The status of the cross-region log backup feature on the instance. Valid values:
	//
	// *   **Disable**
	// *   **Enable**
	LogBackupEnabled *string `json:"LogBackupEnabled,omitempty" xml:"LogBackupEnabled,omitempty"`
	// The region ID of the source instance. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The policy that is used to retain the cross-region backup files of the instance. Default value: **1**. The value 1 indicates that the cross-region backup files of the instance are retained based on the specified retention period.
	RetentType *int32 `json:"RetentType,omitempty" xml:"RetentType,omitempty"`
	// The number of days for which the cross-region backup files of the instance are retained. Valid values: **7 to 1825**.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
}

func (ModifyInstanceCrossBackupPolicyResponseBody) GoString

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetBackupEnabled

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetCrossBackupRegion

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetCrossBackupType

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetDBInstanceId

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetLogBackupEnabled

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetRegionId

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetRequestId

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetRetentType

func (*ModifyInstanceCrossBackupPolicyResponseBody) SetRetention

func (ModifyInstanceCrossBackupPolicyResponseBody) String

type ModifyPGHbaConfigRequest

type ModifyPGHbaConfigRequest struct {
	// A reserved parameter. You do not need to specify this parameter.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// An array that consists of the details of the AD domain services.
	HbaItem []*ModifyPGHbaConfigRequestHbaItem `json:"HbaItem,omitempty" xml:"HbaItem,omitempty" type:"Repeated"`
	// The method that you use to modify the pg_hba.conf file. Valid values:
	//
	// *   **add**: adds one or more records. If you use this method, make sure that the value of the PriorityId parameter for each new record is different from the value of the PriorityId parameter for any existing record.
	// *   **delete**: deletes one or more records. If you use this method, the record that corresponds to the specified value of the **PriorityId** parameter is deleted from the pg_hba.conf file.
	// *   **modify**: modifies one or more records. If you use this method, the record that corresponds to the specified value of the **PriorityId** parameter is modified.
	// *   **update**: overwrites the existing configuration in the pg_hba.conf file by using the new configuration.
	OpsType              *string `json:"OpsType,omitempty" xml:"OpsType,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 (ModifyPGHbaConfigRequest) GoString

func (s ModifyPGHbaConfigRequest) GoString() string

func (*ModifyPGHbaConfigRequest) SetClientToken

func (*ModifyPGHbaConfigRequest) SetDBInstanceId

func (*ModifyPGHbaConfigRequest) SetHbaItem

func (*ModifyPGHbaConfigRequest) SetOpsType

func (*ModifyPGHbaConfigRequest) SetOwnerAccount

func (*ModifyPGHbaConfigRequest) SetOwnerId

func (*ModifyPGHbaConfigRequest) SetResourceOwnerAccount

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

func (*ModifyPGHbaConfigRequest) SetResourceOwnerId

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

func (ModifyPGHbaConfigRequest) String

func (s ModifyPGHbaConfigRequest) String() string

type ModifyPGHbaConfigRequestHbaItem

type ModifyPGHbaConfigRequestHbaItem struct {
	// The IP addresses from which the specified users can access the specified databases. If you set this parameter to 0.0.0.0/0, the specified users are allowed to access the specified databases from all IP addresses.
	Address *string `json:"Address,omitempty" xml:"Address,omitempty"`
	// The name of the database. If you set this parameter to all, the specified users are allowed to access all databases on the instance.
	//
	// If you specify multiple entries, separate the entries with commas (,).
	Database *string `json:"Database,omitempty" xml:"Database,omitempty"`
	// The mask of the IP address. If the value of the **Address** parameter is an IP address, you can use this parameter to specify the mask of the IP address.
	Mask *string `json:"Mask,omitempty" xml:"Mask,omitempty"`
	// The authentication method. Valid values:
	//
	// *   **trust**
	// *   **reject**
	// *   **scram-sha-256**
	// *   **md5**
	// *   **password**
	// *   **gss**
	// *   **sspi**
	// *   **ldap**
	// *   **radius**
	// *   **cert**
	// *   **pam**
	Method *string `json:"Method,omitempty" xml:"Method,omitempty"`
	// The options of the authentication method. In this topic, LDAP is used as an example. You must configure this parameter. For more information, see [Authentication Methods](https://www.postgresql.org/docs/11/auth-methods.html).
	Option *string `json:"Option,omitempty" xml:"Option,omitempty"`
	// The priority of the record. If you set this parameter to 0, the record has the highest priority. Valid values: 0 to 10000.
	//
	// This parameter is used to identify each record. When you add a record, the value of the PriorityId parameter for the new record must be different from the value of the PriorityId parameter of any existing record. When you modify or delete a record, you must also modify or delete the value of the PriorityId parameter for this record.
	PriorityId *int32 `json:"PriorityId,omitempty" xml:"PriorityId,omitempty"`
	// The connection type.
	//
	// Valid values:
	//
	// *   **host**: The record matches TCP/IP connections, including SSL connections and non-SSL connections.
	// *   **hostssl**: The record matches only TCP/IP connections that are established over SSL.
	// *   **hostnossl**: The record matches only TCP/IP connections that are not established over SSL connections.
	//
	// >  You can set this parameter to hostssl only when SSL encryption is enabled for the instance. For more information, see Configure SSL encryption for an ApsaraDB RDS for PostgreSQL instance.[](~~229518~~)
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The user who is allowed to access the specified databases. You must specify the user that is used to log on to the RDS instance. If you specify multiple entries, separate the entries with commas (,).
	User *string `json:"User,omitempty" xml:"User,omitempty"`
}

func (ModifyPGHbaConfigRequestHbaItem) GoString

func (*ModifyPGHbaConfigRequestHbaItem) SetAddress

func (*ModifyPGHbaConfigRequestHbaItem) SetDatabase

func (*ModifyPGHbaConfigRequestHbaItem) SetMask

func (*ModifyPGHbaConfigRequestHbaItem) SetMethod

func (*ModifyPGHbaConfigRequestHbaItem) SetOption

func (*ModifyPGHbaConfigRequestHbaItem) SetPriorityId

func (*ModifyPGHbaConfigRequestHbaItem) SetType

func (*ModifyPGHbaConfigRequestHbaItem) SetUser

func (ModifyPGHbaConfigRequestHbaItem) String

type ModifyPGHbaConfigResponse

type ModifyPGHbaConfigResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyPGHbaConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyPGHbaConfigResponse) GoString

func (s ModifyPGHbaConfigResponse) GoString() string

func (*ModifyPGHbaConfigResponse) SetBody

func (*ModifyPGHbaConfigResponse) SetHeaders

func (*ModifyPGHbaConfigResponse) SetStatusCode

func (ModifyPGHbaConfigResponse) String

func (s ModifyPGHbaConfigResponse) String() string

type ModifyPGHbaConfigResponseBody

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

func (ModifyPGHbaConfigResponseBody) GoString

func (*ModifyPGHbaConfigResponseBody) SetRequestId

func (ModifyPGHbaConfigResponseBody) String

type ModifyParameterGroupRequest

type ModifyParameterGroupRequest struct {
	// The modification mode of the parameter template. Valid values:
	//
	// *   **Collectivity** (default): adds new parameters or modifies parameters in the original parameter template.
	//
	// > If ModifyMode is set to Collectivity, the system adds the value of **Parameters** to the parameter template or modifies the corresponding parameters in the parameter template. Other parameters in the original parameter template are not affected.
	//
	// *   **Individual**: overwrites original parameters.
	//
	// > If ModifyMode is set to Individual, the system uses the value of **Parameters** to overwrite the original parameter in the parameter template.
	ModifyMode *string `json:"ModifyMode,omitempty" xml:"ModifyMode,omitempty"`
	OwnerId    *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The new description of the parameter template. The description can be up to 200 characters in length.
	//
	// > If you do not specify this parameter, the original description of the parameter template is retained.
	ParameterGroupDesc *string `json:"ParameterGroupDesc,omitempty" xml:"ParameterGroupDesc,omitempty"`
	// The parameter template ID. You can call the DescribeParameterGroups operation to query the parameter template ID.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The parameter template name.
	//
	// *   The name can contain letters, digits, periods (.), and underscores (\_). It must start with a letter.
	// *   It can be 8 to 64 characters in length.
	//
	// > If you do not specify this parameter, the original name of the parameter template is retained.
	ParameterGroupName *string `json:"ParameterGroupName,omitempty" xml:"ParameterGroupName,omitempty"`
	// A JSON string that consists of parameters and their values in the parameter template. Format: {"Parameter 1":"Value of Parameter 1","Parameter 2":"Value of Parameter 2"...}. For more information about the parameters that can be modified, see [Modify the parameters of an ApsaraDB RDS for MySQL instance](~~96063~~) or [Modify the parameters of an ApsaraDB RDS for PostgreSQL instance](~~96751~~).
	//
	// >
	//
	// *   If **ModifyMode** is set to **Individual** and this parameter is specified, the new parameters overwrite the parameters in the original parameter template.
	//
	// *   If you set **ModifyMode** to **Collectivity** and specify this parameter, the new parameters are added to the original parameter template, or the parameters in the original parameter template are modified.
	// *   If you do not specify this parameter, the parameters in the original parameter template remain unchanged.
	Parameters *string `json:"Parameters,omitempty" xml:"Parameters,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	//
	// >  The region of a parameter template cannot be changed. You can call the CloneParameterGroup operation to replicate a parameter template to a specific region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyParameterGroupRequest) GoString

func (s ModifyParameterGroupRequest) GoString() string

func (*ModifyParameterGroupRequest) SetModifyMode

func (*ModifyParameterGroupRequest) SetOwnerId

func (*ModifyParameterGroupRequest) SetParameterGroupDesc

func (s *ModifyParameterGroupRequest) SetParameterGroupDesc(v string) *ModifyParameterGroupRequest

func (*ModifyParameterGroupRequest) SetParameterGroupId

func (*ModifyParameterGroupRequest) SetParameterGroupName

func (s *ModifyParameterGroupRequest) SetParameterGroupName(v string) *ModifyParameterGroupRequest

func (*ModifyParameterGroupRequest) SetParameters

func (*ModifyParameterGroupRequest) SetRegionId

func (*ModifyParameterGroupRequest) SetResourceGroupId added in v3.0.214

func (*ModifyParameterGroupRequest) SetResourceOwnerAccount

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

func (*ModifyParameterGroupRequest) SetResourceOwnerId

func (ModifyParameterGroupRequest) String

type ModifyParameterGroupResponse

type ModifyParameterGroupResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyParameterGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyParameterGroupResponse) GoString

func (s ModifyParameterGroupResponse) GoString() string

func (*ModifyParameterGroupResponse) SetBody

func (*ModifyParameterGroupResponse) SetHeaders

func (*ModifyParameterGroupResponse) SetStatusCode

func (ModifyParameterGroupResponse) String

type ModifyParameterGroupResponseBody

type ModifyParameterGroupResponseBody struct {
	// The parameter template ID.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyParameterGroupResponseBody) GoString

func (*ModifyParameterGroupResponseBody) SetParameterGroupId

func (*ModifyParameterGroupResponseBody) SetRequestId

func (ModifyParameterGroupResponseBody) String

type ModifyParameterRequest

type ModifyParameterRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies whether to restart the instance for a new parameter value to take effect. Valid values:
	//
	// *   **true**: The system forcefully restarts the instance. If a new parameter value takes effect only after the instance restarts, you must set this parameter to true. Otherwise, the new parameter value cannot take effect.
	// *   **false**: The system does not forcefully restart the instance.
	//
	// Default value: **false**.
	Forcerestart *bool   `json:"Forcerestart,omitempty" xml:"Forcerestart,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The parameter template ID.
	//
	// >
	//
	// *   If you specify this parameter, you do not need to specify **Parameters**.
	//
	// *   If the parameter template can be applied only after the instance is restarted, you must specify **Forcerestart**.
	ParameterGroupId *string `json:"ParameterGroupId,omitempty" xml:"ParameterGroupId,omitempty"`
	// The JSON strings of parameters and their values. All the parameter values are of the string type. Format: {"Parameter name 1":"Parameter value 1","Parameter name 2":"Parameter value 2"...}. You can call the DescribeParameterTemplates operation to query parameter names and values.
	//
	// >  If you specify this parameter, you do not need to specify **ParameterGroupId**.
	Parameters           *string `json:"Parameters,omitempty" xml:"Parameters,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The time at which the modification takes effect. 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 time must be later than the time at which you call this operation.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The time at which the modification takes effect. Valid values:
	//
	// *   **Immediately**: immediately modifies the parameter. This is the default value.
	// *   **MaintainTime**: modifies the parameter during the maintenance window of the instance. You can call the ModifyDBInstanceMaintainTime operation to change the maintenance window.
	// *   **ScheduleTime**: modifies the parameter at the point in time that you specify. If you specify this value, you must also specify **SwitchTime**.
	SwitchTimeMode *string `json:"SwitchTimeMode,omitempty" xml:"SwitchTimeMode,omitempty"`
}

func (ModifyParameterRequest) GoString

func (s ModifyParameterRequest) GoString() string

func (*ModifyParameterRequest) SetClientToken

func (*ModifyParameterRequest) SetDBInstanceId

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

func (*ModifyParameterRequest) SetForcerestart

func (s *ModifyParameterRequest) SetForcerestart(v bool) *ModifyParameterRequest

func (*ModifyParameterRequest) SetOwnerAccount

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

func (*ModifyParameterRequest) SetOwnerId

func (*ModifyParameterRequest) SetParameterGroupId

func (s *ModifyParameterRequest) SetParameterGroupId(v string) *ModifyParameterRequest

func (*ModifyParameterRequest) SetParameters

func (*ModifyParameterRequest) SetResourceOwnerAccount

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

func (*ModifyParameterRequest) SetResourceOwnerId

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

func (*ModifyParameterRequest) SetSwitchTime

func (*ModifyParameterRequest) SetSwitchTimeMode

func (s *ModifyParameterRequest) SetSwitchTimeMode(v string) *ModifyParameterRequest

func (ModifyParameterRequest) String

func (s ModifyParameterRequest) String() string

type ModifyParameterResponse

type ModifyParameterResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyParameterResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyParameterResponse) GoString

func (s ModifyParameterResponse) GoString() string

func (*ModifyParameterResponse) SetBody

func (*ModifyParameterResponse) SetHeaders

func (*ModifyParameterResponse) SetStatusCode

func (ModifyParameterResponse) String

func (s ModifyParameterResponse) String() string

type ModifyParameterResponseBody

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

func (ModifyParameterResponseBody) GoString

func (s ModifyParameterResponseBody) GoString() string

func (*ModifyParameterResponseBody) SetRequestId

func (ModifyParameterResponseBody) String

type ModifyReadWriteSplittingConnectionRequest

type ModifyReadWriteSplittingConnectionRequest struct {
	// The prefix of the read/write splitting endpoint. The prefix must be unique. It can be up to 30 characters in length and can contain lowercase letters and hyphens (-). It must start with a lowercase letter.
	//
	// > The default prefix consists of the name of the primary instance followed by the letters rw.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The ID of the primary instance. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The method that is used to assign read weights. Valid values:
	//
	// *   **Standard**: The system automatically assigns read weights to the primary and read-only instances based on the specifications of these instances.
	// *   **Custom**: You must manually assign a read weight to each instance.
	//
	// > You must specify at least one of **MaxDelayTime** and **DistributionType**.
	DistributionType *string `json:"DistributionType,omitempty" xml:"DistributionType,omitempty"`
	// The latency threshold that is allowed by the read/write splitting link. Unit: seconds. If the latency on a read-only instance exceeds the specified threshold, the system no longer routes read requests to the read-only instance. If you do not specify this parameter, the default value of this parameter is retained.
	//
	// > *   If the primary instance runs SQL Server 2017 on RDS Cluster Edition, the **MaxDelayTime** parameter is not supported.
	// > *   You must specify at least one of **MaxDelayTime** and **DistributionType**.
	MaxDelayTime *string `json:"MaxDelayTime,omitempty" xml:"MaxDelayTime,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The port that is associated with the read/write splitting endpoint.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The read weights of the primary instance and its read-only instances. A read weight must be a multiple of 100 and cannot exceed 10,000.
	//
	// *   For ApsaraDB RDS instances, the value of this parameter is in the following format: `{"<ID of the read-only instance >":<Weight>,"master":<Weight>,"slave":<Weight>}`.
	// *   For ApsaraDB MyBase instances, the value of this parameter is in the following format: `[{"instanceName":"<ID of the primary instance>","weight":<Weight>,"role":"master"},{"instanceName":"<ID of the primary instance>","weight":<Weight>,"role":"slave"},{"instanceName":"<ID of the read-only instance>","weight":<Weight>,"role":"master"}]`
	//
	// >
	//
	// *   This parameter must be specified when **DistributionType** is set to **Custom**.
	//
	// *   If **DistributionType** is set to **Standard**, this parameter is invalid.
	Weight *string `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ModifyReadWriteSplittingConnectionRequest) GoString

func (*ModifyReadWriteSplittingConnectionRequest) SetConnectionStringPrefix

func (*ModifyReadWriteSplittingConnectionRequest) SetDBInstanceId

func (*ModifyReadWriteSplittingConnectionRequest) SetDistributionType

func (*ModifyReadWriteSplittingConnectionRequest) SetMaxDelayTime

func (*ModifyReadWriteSplittingConnectionRequest) SetOwnerAccount

func (*ModifyReadWriteSplittingConnectionRequest) SetOwnerId

func (*ModifyReadWriteSplittingConnectionRequest) SetPort

func (*ModifyReadWriteSplittingConnectionRequest) SetResourceOwnerAccount

func (*ModifyReadWriteSplittingConnectionRequest) SetResourceOwnerId

func (*ModifyReadWriteSplittingConnectionRequest) SetWeight

func (ModifyReadWriteSplittingConnectionRequest) String

type ModifyReadWriteSplittingConnectionResponse

type ModifyReadWriteSplittingConnectionResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyReadWriteSplittingConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyReadWriteSplittingConnectionResponse) GoString

func (*ModifyReadWriteSplittingConnectionResponse) SetHeaders

func (*ModifyReadWriteSplittingConnectionResponse) SetStatusCode

func (ModifyReadWriteSplittingConnectionResponse) String

type ModifyReadWriteSplittingConnectionResponseBody

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

func (ModifyReadWriteSplittingConnectionResponseBody) GoString

func (*ModifyReadWriteSplittingConnectionResponseBody) SetRequestId

func (ModifyReadWriteSplittingConnectionResponseBody) String

type ModifyReadonlyInstanceDelayReplicationTimeRequest

type ModifyReadonlyInstanceDelayReplicationTimeRequest struct {
	// The ID of the read-only instance. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The replication latency of the data replication. Unit: seconds.
	ReadSQLReplicationTime *string `json:"ReadSQLReplicationTime,omitempty" xml:"ReadSQLReplicationTime,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyReadonlyInstanceDelayReplicationTimeRequest) GoString

func (*ModifyReadonlyInstanceDelayReplicationTimeRequest) SetDBInstanceId

func (*ModifyReadonlyInstanceDelayReplicationTimeRequest) SetOwnerId

func (*ModifyReadonlyInstanceDelayReplicationTimeRequest) SetReadSQLReplicationTime

func (*ModifyReadonlyInstanceDelayReplicationTimeRequest) SetResourceGroupId added in v3.0.214

func (*ModifyReadonlyInstanceDelayReplicationTimeRequest) SetResourceOwnerAccount

func (*ModifyReadonlyInstanceDelayReplicationTimeRequest) SetResourceOwnerId

func (ModifyReadonlyInstanceDelayReplicationTimeRequest) String

type ModifyReadonlyInstanceDelayReplicationTimeResponse

type ModifyReadonlyInstanceDelayReplicationTimeResponse struct {
	Headers    map[string]*string                                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyReadonlyInstanceDelayReplicationTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyReadonlyInstanceDelayReplicationTimeResponse) GoString

func (*ModifyReadonlyInstanceDelayReplicationTimeResponse) SetHeaders

func (*ModifyReadonlyInstanceDelayReplicationTimeResponse) SetStatusCode

func (ModifyReadonlyInstanceDelayReplicationTimeResponse) String

type ModifyReadonlyInstanceDelayReplicationTimeResponseBody

type ModifyReadonlyInstanceDelayReplicationTimeResponseBody struct {
	// The ID of the read-only instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The latency at which to replicate data from the primary instance to the read-only instance. Unit: seconds.
	ReadSQLReplicationTime *string `json:"ReadSQLReplicationTime,omitempty" xml:"ReadSQLReplicationTime,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyReadonlyInstanceDelayReplicationTimeResponseBody) GoString

func (*ModifyReadonlyInstanceDelayReplicationTimeResponseBody) SetDBInstanceId

func (*ModifyReadonlyInstanceDelayReplicationTimeResponseBody) SetReadSQLReplicationTime

func (*ModifyReadonlyInstanceDelayReplicationTimeResponseBody) SetRequestId

func (*ModifyReadonlyInstanceDelayReplicationTimeResponseBody) SetTaskId

func (ModifyReadonlyInstanceDelayReplicationTimeResponseBody) String

type ModifyResourceGroupRequest

type ModifyResourceGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can call the ListResourceGroups operation to obtain the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ModifyResourceGroupRequest) GoString

func (s ModifyResourceGroupRequest) GoString() string

func (*ModifyResourceGroupRequest) SetClientToken

func (*ModifyResourceGroupRequest) SetDBInstanceId

func (*ModifyResourceGroupRequest) SetOwnerAccount

func (*ModifyResourceGroupRequest) SetOwnerId

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" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyResourceGroupResponseBody) GoString

func (*ModifyResourceGroupResponseBody) SetRequestId

func (ModifyResourceGroupResponseBody) String

type ModifySQLCollectorPolicyRequest

type ModifySQLCollectorPolicyRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can call theDescribeDBInstanceAttribute operation to query the most recent region list.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether to enable the SQL Explorer (SQL Audit) feature. Valid values:
	//
	// *   **Enable**
	// *   **Disabled**
	SQLCollectorStatus *string `json:"SQLCollectorStatus,omitempty" xml:"SQLCollectorStatus,omitempty"`
}

func (ModifySQLCollectorPolicyRequest) GoString

func (*ModifySQLCollectorPolicyRequest) SetDBInstanceId

func (*ModifySQLCollectorPolicyRequest) SetOwnerAccount

func (*ModifySQLCollectorPolicyRequest) SetOwnerId

func (*ModifySQLCollectorPolicyRequest) SetResourceGroupId

func (*ModifySQLCollectorPolicyRequest) SetResourceOwnerAccount

func (*ModifySQLCollectorPolicyRequest) SetResourceOwnerId

func (*ModifySQLCollectorPolicyRequest) SetSQLCollectorStatus

func (ModifySQLCollectorPolicyRequest) String

type ModifySQLCollectorPolicyResponse

type ModifySQLCollectorPolicyResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifySQLCollectorPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifySQLCollectorPolicyResponse) GoString

func (*ModifySQLCollectorPolicyResponse) SetHeaders

func (*ModifySQLCollectorPolicyResponse) SetStatusCode

func (ModifySQLCollectorPolicyResponse) String

type ModifySQLCollectorPolicyResponseBody

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

func (ModifySQLCollectorPolicyResponseBody) GoString

func (*ModifySQLCollectorPolicyResponseBody) SetRequestId

func (ModifySQLCollectorPolicyResponseBody) String

type ModifySQLCollectorRetentionRequest

type ModifySQLCollectorRetentionRequest struct {
	// The log retention period that is allowed by the SQL Explorer feature on the instance. Valid values:
	//
	// *   30: 30 days
	// *   180: 180 days
	// *   365: one year
	// *   1095: three years
	// *   1825: five years
	ConfigValue *string `json:"ConfigValue,omitempty" xml:"ConfigValue,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to obtain the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
}

func (ModifySQLCollectorRetentionRequest) GoString

func (*ModifySQLCollectorRetentionRequest) SetConfigValue

func (*ModifySQLCollectorRetentionRequest) SetDBInstanceId

func (*ModifySQLCollectorRetentionRequest) SetOwnerAccount

func (*ModifySQLCollectorRetentionRequest) SetOwnerId

func (*ModifySQLCollectorRetentionRequest) SetResourceGroupId

func (*ModifySQLCollectorRetentionRequest) SetResourceOwnerAccount

func (*ModifySQLCollectorRetentionRequest) SetResourceOwnerId

func (*ModifySQLCollectorRetentionRequest) SetSecurityToken

func (ModifySQLCollectorRetentionRequest) String

type ModifySQLCollectorRetentionResponse

type ModifySQLCollectorRetentionResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifySQLCollectorRetentionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifySQLCollectorRetentionResponse) GoString

func (*ModifySQLCollectorRetentionResponse) SetHeaders

func (*ModifySQLCollectorRetentionResponse) SetStatusCode

func (ModifySQLCollectorRetentionResponse) String

type ModifySQLCollectorRetentionResponseBody

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

func (ModifySQLCollectorRetentionResponseBody) GoString

func (*ModifySQLCollectorRetentionResponseBody) SetRequestId

func (ModifySQLCollectorRetentionResponseBody) String

type ModifySecurityGroupConfigurationRequest

type ModifySecurityGroupConfigurationRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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. Each instance can be added to up to three security groups. Separate the security group IDs with commas (,). To delete an ECS security group for the instance, leave this parameter empty. You can call the DescribeSecurityGroups operation to query the ID of the ECS security group.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
}

func (ModifySecurityGroupConfigurationRequest) GoString

func (*ModifySecurityGroupConfigurationRequest) SetDBInstanceId

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" require:"true"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifySecurityGroupConfigurationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifySecurityGroupConfigurationResponse) GoString

func (*ModifySecurityGroupConfigurationResponse) SetHeaders

func (*ModifySecurityGroupConfigurationResponse) SetStatusCode

func (ModifySecurityGroupConfigurationResponse) String

type ModifySecurityGroupConfigurationResponseBody

type ModifySecurityGroupConfigurationResponseBody struct {
	// The instance ID.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// An array that consists of information about the ECS security group.
	Items *ModifySecurityGroupConfigurationResponseBodyItems `json:"Items,omitempty" xml:"Items,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifySecurityGroupConfigurationResponseBody) GoString

func (*ModifySecurityGroupConfigurationResponseBody) SetDBInstanceName

func (*ModifySecurityGroupConfigurationResponseBody) SetRequestId

func (ModifySecurityGroupConfigurationResponseBody) String

type ModifySecurityGroupConfigurationResponseBodyItems

type ModifySecurityGroupConfigurationResponseBodyItems struct {
	EcsSecurityGroupRelation []*ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation `json:"EcsSecurityGroupRelation,omitempty" xml:"EcsSecurityGroupRelation,omitempty" type:"Repeated"`
}

func (ModifySecurityGroupConfigurationResponseBodyItems) GoString

func (ModifySecurityGroupConfigurationResponseBodyItems) String

type ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation

type ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation struct {
	// The network type of the ECS security group. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the ECS security group.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
}

func (ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) GoString

func (*ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetNetworkType

func (*ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetRegionId

func (*ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) SetSecurityGroupId

func (ModifySecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation) String

type ModifySecurityIpsRequest

type ModifySecurityIpsRequest struct {
	// The attribute of the IP address whitelist. By default, this parameter is empty.
	//
	// > The IP address whitelists that have the hidden attribute are not displayed in the ApsaraDB RDS console. These IP address whitelists are used to access Alibaba Cloud services, such as Data Transmission Service (DTS).
	DBInstanceIPArrayAttribute *string `json:"DBInstanceIPArrayAttribute,omitempty" xml:"DBInstanceIPArrayAttribute,omitempty"`
	// The name of the IP address whitelist that you want to modify. Default value: **Default**.
	//
	// > A maximum of 200 IP address whitelists can be configured for each instance.
	DBInstanceIPArrayName *string `json:"DBInstanceIPArrayName,omitempty" xml:"DBInstanceIPArrayName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The read-only instances to which you want to synchronize the IP address whitelist.
	//
	// *   This parameter applies only to ApsaraDB RDS for PostgreSQL instances.
	// *   If the instance is attached with a read-only instance, you can use this parameter to synchronize the IP address whitelist to the read-only instance. If the instance is attached with multiple read-only instances, separate the read-only instances with commas (,).
	// *   If the instance is not attached with a read-only instance, leave this parameter empty.
	FreshWhiteListReadins *string `json:"FreshWhiteListReadins,omitempty" xml:"FreshWhiteListReadins,omitempty"`
	// The method that is used to modify the whitelist. Valid values:
	//
	// *   **Cover**: Use the IP addresses and CIDR blocks that are specified in the **SecurityIps** parameter to overwrite the existing IP addresses and CIDR blocks in the IP address whitelist.
	// *   **Append**: Add the IP addresses and CIDR blocks that are specified in the **SecurityIps** parameter to the IP address whitelist.
	// *   **Delete**: Delete the IP addresses and CIDR blocks that are specified in the **SecurityIps** parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
	//
	// Default value: **Cover**.
	ModifyMode      *string `json:"ModifyMode,omitempty" xml:"ModifyMode,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The type of the IP addresses in the IP address whitelist. Set the value to IPv4. IPv6 is not supported.
	SecurityIPType *string `json:"SecurityIPType,omitempty" xml:"SecurityIPType,omitempty"`
	// The IP addresses in an IP address whitelist. Separate multiple IP addresses with commas (,). Each IP address in the IP address whitelist must be unique. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as 10.23.XX.XX.
	// *   CIDR blocks, such as 10.23.XX.XX/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.
	//
	// > A maximum of 1,000 IP addresses or CIDR blocks can be added for each instance. If you want to add a large number of IP addresses, we recommend that you merge them into CIDR blocks, such as 10.23.XX.XX/24.
	SecurityIps *string `json:"SecurityIps,omitempty" xml:"SecurityIps,omitempty"`
	// The network type of the IP address whitelist. Valid values:
	//
	// *   **Classic**: classic network in enhanced whitelist mode
	// *   **VPC**: virtual private cloud (VPC) in enhanced whitelist mode
	// *   **MIX**: standard whitelist mode
	//
	// Default value: **MIX**.
	//
	// > In standard whitelist mode, IP addresses and CIDR blocks are added only to the default IP address whitelist. In enhanced whitelist mode, IP addresses and CIDR blocks are added to the IP address whitelists of the classic network type and the VPC network type.
	WhitelistNetworkType *string `json:"WhitelistNetworkType,omitempty" xml:"WhitelistNetworkType,omitempty"`
}

func (ModifySecurityIpsRequest) GoString

func (s ModifySecurityIpsRequest) GoString() string

func (*ModifySecurityIpsRequest) SetDBInstanceIPArrayAttribute

func (s *ModifySecurityIpsRequest) SetDBInstanceIPArrayAttribute(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetDBInstanceIPArrayName

func (s *ModifySecurityIpsRequest) SetDBInstanceIPArrayName(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetDBInstanceId

func (*ModifySecurityIpsRequest) SetFreshWhiteListReadins

func (s *ModifySecurityIpsRequest) SetFreshWhiteListReadins(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetModifyMode

func (*ModifySecurityIpsRequest) SetResourceOwnerId

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

func (*ModifySecurityIpsRequest) SetSecurityIPType

func (s *ModifySecurityIpsRequest) SetSecurityIPType(v string) *ModifySecurityIpsRequest

func (*ModifySecurityIpsRequest) SetSecurityIps

func (*ModifySecurityIpsRequest) SetWhitelistNetworkType

func (s *ModifySecurityIpsRequest) SetWhitelistNetworkType(v string) *ModifySecurityIpsRequest

func (ModifySecurityIpsRequest) String

func (s ModifySecurityIpsRequest) String() string

type ModifySecurityIpsResponse

type ModifySecurityIpsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifySecurityIpsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifySecurityIpsResponse) GoString

func (s ModifySecurityIpsResponse) GoString() string

func (*ModifySecurityIpsResponse) SetBody

func (*ModifySecurityIpsResponse) SetHeaders

func (*ModifySecurityIpsResponse) SetStatusCode

func (ModifySecurityIpsResponse) String

func (s ModifySecurityIpsResponse) String() string

type ModifySecurityIpsResponseBody

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

func (ModifySecurityIpsResponseBody) GoString

func (*ModifySecurityIpsResponseBody) SetRequestId

func (*ModifySecurityIpsResponseBody) SetTaskId

func (ModifySecurityIpsResponseBody) String

type ModifyTaskInfoRequest added in v3.4.0

type ModifyTaskInfoRequest struct {
	// Action params.
	ActionParams *string `json:"ActionParams,omitempty" xml:"ActionParams,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *int64  `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	SecurityToken        *string `json:"SecurityToken,omitempty" xml:"SecurityToken,omitempty"`
	// Step name.
	StepName *string `json:"StepName,omitempty" xml:"StepName,omitempty"`
	// The name of the operation that generates the task. Valid values:
	//
	// *   ImportImage
	// *   ExportImage
	// *   RedeployInstance
	// *   ModifyDiskSpec
	TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (ModifyTaskInfoRequest) GoString added in v3.4.0

func (s ModifyTaskInfoRequest) GoString() string

func (*ModifyTaskInfoRequest) SetActionParams added in v3.4.0

func (s *ModifyTaskInfoRequest) SetActionParams(v string) *ModifyTaskInfoRequest

func (*ModifyTaskInfoRequest) SetRegionId added in v3.4.0

func (*ModifyTaskInfoRequest) SetResourceOwnerAccount added in v3.4.0

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

func (*ModifyTaskInfoRequest) SetResourceOwnerId added in v3.4.0

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

func (*ModifyTaskInfoRequest) SetSecurityToken added in v3.4.0

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

func (*ModifyTaskInfoRequest) SetStepName added in v3.4.0

func (*ModifyTaskInfoRequest) SetTaskAction added in v3.4.0

func (s *ModifyTaskInfoRequest) SetTaskAction(v string) *ModifyTaskInfoRequest

func (*ModifyTaskInfoRequest) SetTaskId added in v3.4.0

func (ModifyTaskInfoRequest) String added in v3.4.0

func (s ModifyTaskInfoRequest) String() string

type ModifyTaskInfoResponse added in v3.4.0

type ModifyTaskInfoResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyTaskInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyTaskInfoResponse) GoString added in v3.4.0

func (s ModifyTaskInfoResponse) GoString() string

func (*ModifyTaskInfoResponse) SetBody added in v3.4.0

func (*ModifyTaskInfoResponse) SetHeaders added in v3.4.0

func (*ModifyTaskInfoResponse) SetStatusCode added in v3.4.0

func (ModifyTaskInfoResponse) String added in v3.4.0

func (s ModifyTaskInfoResponse) String() string

type ModifyTaskInfoResponseBody added in v3.4.0

type ModifyTaskInfoResponseBody struct {
	// The error code returned if the request failed.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// Error taskId.
	ErrorTaskId *string `json:"ErrorTaskId,omitempty" xml:"ErrorTaskId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of completed tasks.
	SuccessCount *string `json:"SuccessCount,omitempty" xml:"SuccessCount,omitempty"`
}

func (ModifyTaskInfoResponseBody) GoString added in v3.4.0

func (s ModifyTaskInfoResponseBody) GoString() string

func (*ModifyTaskInfoResponseBody) SetErrorCode added in v3.4.0

func (*ModifyTaskInfoResponseBody) SetErrorTaskId added in v3.4.0

func (*ModifyTaskInfoResponseBody) SetRequestId added in v3.4.0

func (*ModifyTaskInfoResponseBody) SetSuccessCount added in v3.4.0

func (ModifyTaskInfoResponseBody) String added in v3.4.0

type ModifyWhitelistTemplateRequest added in v3.0.29

type ModifyWhitelistTemplateRequest struct {
	// The IP addresses in an IP address whitelist. Separate multiple IP addresses with commas (,). Each IP address in the IP address whitelist must be unique. The entries in the IP address whitelist must be in one of the following formats:
	//
	// *   IP addresses, such as 10.23.XX.XX.
	// *   CIDR blocks, such as 10.23.XX.XX/24. In this example, 24 indicates that the prefix of the CIDR block is 24-bit in length. You can replace 24 with a value that ranges from 1 to 32.
	//
	// > : A maximum of 1,000 IP addresses or CIDR blocks can be added for each instance. If you want to add a large number of IP addresses, we recommend that you merge them into CIDR blocks, such as 10.23.XX.XX/24.
	IpWhitelist *string `json:"IpWhitelist,omitempty" xml:"IpWhitelist,omitempty"`
	// The resource group ID. For more information about resource groups, see related documentation.
	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 whitelist template. This parameter is required when you modify or delete a whitelist. You can call the DescribeAllWhitelistTemplate operation to obtain the ID of the whitelist.
	TemplateId *int32 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the IP whitelist. This parameter is required when you create a whitelist. The value of this parameter cannot be modified after the whitelist is created. The value must be unique to an Alibaba Cloud account and start with a letter. You can call the DescribeWhitelistTemplate operation to obtain the name of the whitelist.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (ModifyWhitelistTemplateRequest) GoString added in v3.0.29

func (*ModifyWhitelistTemplateRequest) SetIpWhitelist added in v3.0.29

func (*ModifyWhitelistTemplateRequest) SetResourceGroupId added in v3.1.0

func (*ModifyWhitelistTemplateRequest) SetResourceOwnerAccount added in v3.0.29

func (*ModifyWhitelistTemplateRequest) SetResourceOwnerId added in v3.0.29

func (*ModifyWhitelistTemplateRequest) SetTemplateId added in v3.0.29

func (*ModifyWhitelistTemplateRequest) SetTemplateName added in v3.0.29

func (ModifyWhitelistTemplateRequest) String added in v3.0.29

type ModifyWhitelistTemplateResponse added in v3.0.29

type ModifyWhitelistTemplateResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyWhitelistTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyWhitelistTemplateResponse) GoString added in v3.0.29

func (*ModifyWhitelistTemplateResponse) SetBody added in v3.0.29

func (*ModifyWhitelistTemplateResponse) SetHeaders added in v3.0.29

func (*ModifyWhitelistTemplateResponse) SetStatusCode added in v3.0.29

func (ModifyWhitelistTemplateResponse) String added in v3.0.29

type ModifyWhitelistTemplateResponseBody added in v3.0.29

type ModifyWhitelistTemplateResponseBody struct {
	// The response code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: request page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *ModifyWhitelistTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code returned. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **500**: server error
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The returned message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ModifyWhitelistTemplateResponseBody) GoString added in v3.0.29

func (*ModifyWhitelistTemplateResponseBody) SetCode added in v3.0.29

func (*ModifyWhitelistTemplateResponseBody) SetData added in v3.0.29

func (*ModifyWhitelistTemplateResponseBody) SetHttpStatusCode added in v3.0.29

func (*ModifyWhitelistTemplateResponseBody) SetMessage added in v3.0.29

func (*ModifyWhitelistTemplateResponseBody) SetRequestId added in v3.0.29

func (*ModifyWhitelistTemplateResponseBody) SetSuccess added in v3.0.29

func (ModifyWhitelistTemplateResponseBody) String added in v3.0.29

type ModifyWhitelistTemplateResponseBodyData added in v3.0.29

type ModifyWhitelistTemplateResponseBodyData struct {
	// The status code returned. Valid values:
	//
	// *   **ok**: The request is successful.
	// *   **error**: The request fails.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ModifyWhitelistTemplateResponseBodyData) GoString added in v3.0.29

func (*ModifyWhitelistTemplateResponseBodyData) SetStatus added in v3.0.29

func (ModifyWhitelistTemplateResponseBodyData) String added in v3.0.29

type PreCheckCreateOrderForCreateDBNodesRequest added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The information about the node.
	//
	// >  This parameter is used for ApsaraDB RDS for MySQL instances on RDS Cluster Edition.
	DBNode []*PreCheckCreateOrderForCreateDBNodesRequestDBNode `json:"DBNode,omitempty" xml:"DBNode,omitempty" type:"Repeated"`
	// The database engine version of the instance. Valid values:
	//
	// *   Valid values if you set Engine to MySQL: **5.5, 5.6, 5.7, and 8.0**
	// *   Valid values if you set Engine to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	// *   Valid values if you set Engine to PostgreSQL: **10.0, 11.0, 12.0, 13.0, and 14.0**
	// *   Valid value if you set Engine to MariaDB: **10.3**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource.
	Resource             *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID. You can call the [DescribeRegions](~~26243~~) operation to query the zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (PreCheckCreateOrderForCreateDBNodesRequest) GoString added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetAutoPay added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetBusinessInfo added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetClientToken added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetCommodityCode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetDBInstanceId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetDBNode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetEngineVersion added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetNodeType added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetOwnerId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetPromotionCode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetRegionId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetResource added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetResourceOwnerAccount added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetResourceOwnerId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequest) SetZoneId added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesRequest) String added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesRequestDBNode added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesRequestDBNode struct {
	// The instance type of the node.
	ClassCode *string `json:"classCode,omitempty" xml:"classCode,omitempty"`
	// The zone ID of the node.
	ZoneId *string `json:"zoneId,omitempty" xml:"zoneId,omitempty"`
}

func (PreCheckCreateOrderForCreateDBNodesRequestDBNode) GoString added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequestDBNode) SetClassCode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesRequestDBNode) SetZoneId added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesRequestDBNode) String added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponse added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PreCheckCreateOrderForCreateDBNodesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PreCheckCreateOrderForCreateDBNodesResponse) GoString added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponse) SetBody added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponse) SetHeaders added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponse) SetStatusCode added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesResponse) String added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponseBody added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponseBody struct {
	// The information about nodes that fail to be created.
	Failures *PreCheckCreateOrderForCreateDBNodesResponseBodyFailures `json:"Failures,omitempty" xml:"Failures,omitempty" type:"Struct"`
	// The precheck result.
	PreCheckResult *bool `json:"PreCheckResult,omitempty" xml:"PreCheckResult,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (PreCheckCreateOrderForCreateDBNodesResponseBody) GoString added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponseBody) SetPreCheckResult added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponseBody) SetRequestId added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesResponseBody) String added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponseBodyFailures added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponseBodyFailures struct {
	Failures []*PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures `json:"Failures,omitempty" xml:"Failures,omitempty" type:"Repeated"`
}

func (PreCheckCreateOrderForCreateDBNodesResponseBodyFailures) GoString added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesResponseBodyFailures) String added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures struct {
	// The response code. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: requested page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
}

func (PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures) GoString added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures) SetCode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures) SetMessage added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesResponseBodyFailuresFailures) String added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesShrinkRequest added in v3.3.0

type PreCheckCreateOrderForCreateDBNodesShrinkRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code. Valid values:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The information about the node.
	//
	// >  This parameter is used for ApsaraDB RDS for MySQL instances on RDS Cluster Edition.
	DBNodeShrink *string `json:"DBNode,omitempty" xml:"DBNode,omitempty"`
	// The database engine version of the instance. Valid values:
	//
	// *   Valid values if you set Engine to MySQL: **5.5, 5.6, 5.7, and 8.0**
	// *   Valid values if you set Engine to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	// *   Valid values if you set Engine to PostgreSQL: **10.0, 11.0, 12.0, 13.0, and 14.0**
	// *   Valid value if you set Engine to MariaDB: **10.3**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid values:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource.
	Resource             *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID. You can call the [DescribeRegions](~~26243~~) operation to query the zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (PreCheckCreateOrderForCreateDBNodesShrinkRequest) GoString added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetAutoPay added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetBusinessInfo added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetClientToken added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetCommodityCode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetDBInstanceId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetDBNodeShrink added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetEngineVersion added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetNodeType added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetOwnerId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetPromotionCode added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetRegionId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetResource added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetResourceOwnerAccount added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetResourceOwnerId added in v3.3.0

func (*PreCheckCreateOrderForCreateDBNodesShrinkRequest) SetZoneId added in v3.3.0

func (PreCheckCreateOrderForCreateDBNodesShrinkRequest) String added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesRequest added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code. Valid value:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node IDs.
	DBNodeId []*string `json:"DBNodeId,omitempty" xml:"DBNodeId,omitempty" type:"Repeated"`
	// The major engine version of the destination instance. The value of this parameter varies based on the value of **Engine**.
	//
	// *   Valid values when Engine is set to MySQL: **5.5, 5.6, 5.7, and 8.0**
	// *   Valid values when Engine is set to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	// *   Valid values when Engine is set to PostgreSQL: **10.0, 11.0, 12.0, 13.0, 14.0, and 15.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid value:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource of the instance.
	Resource             *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (PreCheckCreateOrderForDeleteDBNodesRequest) GoString added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetAutoPay added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetBusinessInfo added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetClientToken added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetCommodityCode added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetDBInstanceId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetDBNodeId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetEngineVersion added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetNodeType added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetOwnerId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetPromotionCode added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetRegionId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetResource added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetResourceOwnerAccount added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetResourceOwnerId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesRequest) SetZoneId added in v3.3.0

func (PreCheckCreateOrderForDeleteDBNodesRequest) String added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponse added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PreCheckCreateOrderForDeleteDBNodesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PreCheckCreateOrderForDeleteDBNodesResponse) GoString added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponse) SetBody added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponse) SetHeaders added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponse) SetStatusCode added in v3.3.0

func (PreCheckCreateOrderForDeleteDBNodesResponse) String added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponseBody added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponseBody struct {
	// The information about the failed order.
	Failures *PreCheckCreateOrderForDeleteDBNodesResponseBodyFailures `json:"Failures,omitempty" xml:"Failures,omitempty" type:"Struct"`
	// The precheck result.
	PreCheckResult *bool `json:"PreCheckResult,omitempty" xml:"PreCheckResult,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (PreCheckCreateOrderForDeleteDBNodesResponseBody) GoString added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponseBody) SetPreCheckResult added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponseBody) SetRequestId added in v3.3.0

func (PreCheckCreateOrderForDeleteDBNodesResponseBody) String added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponseBodyFailures added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponseBodyFailures struct {
	Failures []*PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures `json:"Failures,omitempty" xml:"Failures,omitempty" type:"Repeated"`
}

func (PreCheckCreateOrderForDeleteDBNodesResponseBodyFailures) GoString added in v3.3.0

func (PreCheckCreateOrderForDeleteDBNodesResponseBodyFailures) String added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures struct {
	// The response code. Valid values:
	//
	// *   **200**: success
	// *   **400**: client error
	// *   **401**: identity authentication failed
	// *   **404**: requested page not found
	// *   **500**: server error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
}

func (PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures) GoString added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures) SetCode added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures) SetMessage added in v3.3.0

func (PreCheckCreateOrderForDeleteDBNodesResponseBodyFailuresFailures) String added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesShrinkRequest added in v3.3.0

type PreCheckCreateOrderForDeleteDBNodesShrinkRequest struct {
	// Specifies whether to automatically complete the payment. Valid values:
	//
	// 1.  **true**: automatically completes the payment. You must make sure that your account balance is sufficient.
	// 2.  **false**: does not automatically complete the payment. An unpaid order is generated.
	//
	// >  The default value is true. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the ApsaraDB RDS console to complete the payment.
	AutoPay *bool `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// The additional business information about the instance.
	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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The commodity code. Valid value:
	//
	// *   **bards**: The instance is a pay-as-you-go primary instance.
	// *   **rds**: The instance is a subscription primary instance.
	// *   **rords**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_cn**: The instance is a subscription read-only instance.
	// *   **bards_intl**: The instance is a pay-as-you-go primary instance.
	// *   **rds_intl**: The instance is a subscription primary instance.
	// *   **rords_intl**: The instance is a pay-as-you-go read-only instance.
	// *   **rds_rordspre_public_intl**: The instance is a subscription read-only instance.
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node IDs.
	DBNodeIdShrink *string `json:"DBNodeId,omitempty" xml:"DBNodeId,omitempty"`
	// The major engine version of the destination instance. The value of this parameter varies based on the value of **Engine**.
	//
	// *   Valid values when Engine is set to MySQL: **5.5, 5.6, 5.7, and 8.0**
	// *   Valid values when Engine is set to SQLServer: **2008r2, 08r2\_ent_ha, 2012, 2012\_ent_ha, 2012\_std_ha, 2012\_web, 2014\_std_ha, 2016\_ent_ha, 2016\_std_ha, 2016\_web, 2017\_std_ha, 2017\_ent, 2019\_std_ha, and 2019\_ent**
	// *   Valid values when Engine is set to PostgreSQL: **10.0, 11.0, 12.0, 13.0, 14.0, and 15.0**
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	// The type of the database node. Valid value:
	//
	// *   **Master**: the primary node
	// *   **Slave**: the secondary node
	NodeType *string `json:"NodeType,omitempty" xml:"NodeType,omitempty"`
	OwnerId  *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The coupon code.
	PromotionCode *string `json:"PromotionCode,omitempty" xml:"PromotionCode,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~26243~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource of the instance.
	Resource             *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The zone ID.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (PreCheckCreateOrderForDeleteDBNodesShrinkRequest) GoString added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetAutoPay added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetBusinessInfo added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetClientToken added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetCommodityCode added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetDBInstanceId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetDBNodeIdShrink added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetEngineVersion added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetNodeType added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetOwnerId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetPromotionCode added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetRegionId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetResource added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetResourceOwnerAccount added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetResourceOwnerId added in v3.3.0

func (*PreCheckCreateOrderForDeleteDBNodesShrinkRequest) SetZoneId added in v3.3.0

func (PreCheckCreateOrderForDeleteDBNodesShrinkRequest) String added in v3.3.0

type PurgeDBInstanceLogRequest

type PurgeDBInstanceLogRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (PurgeDBInstanceLogRequest) GoString

func (s PurgeDBInstanceLogRequest) GoString() string

func (*PurgeDBInstanceLogRequest) SetClientToken

func (*PurgeDBInstanceLogRequest) SetDBInstanceId

func (*PurgeDBInstanceLogRequest) SetOwnerAccount

func (*PurgeDBInstanceLogRequest) SetOwnerId

func (*PurgeDBInstanceLogRequest) SetResourceOwnerAccount

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

func (*PurgeDBInstanceLogRequest) SetResourceOwnerId

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

func (PurgeDBInstanceLogRequest) String

func (s PurgeDBInstanceLogRequest) String() string

type PurgeDBInstanceLogResponse

type PurgeDBInstanceLogResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PurgeDBInstanceLogResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PurgeDBInstanceLogResponse) GoString

func (s PurgeDBInstanceLogResponse) GoString() string

func (*PurgeDBInstanceLogResponse) SetBody

func (*PurgeDBInstanceLogResponse) SetHeaders

func (*PurgeDBInstanceLogResponse) SetStatusCode

func (PurgeDBInstanceLogResponse) String

type PurgeDBInstanceLogResponseBody

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

func (PurgeDBInstanceLogResponseBody) GoString

func (*PurgeDBInstanceLogResponseBody) SetRequestId

func (PurgeDBInstanceLogResponseBody) String

type QueryNotifyRequest

type QueryNotifyRequest struct {
	// 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.
	From *string `json:"From,omitempty" xml:"From,omitempty"`
	// The number of the page to return. Valid values: any **non-zero** positive integer.
	//
	// Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Valid values:
	//
	// *   **30**
	// *   **50**
	// *   **100**
	//
	// Default value: **30**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,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.
	To *string `json:"To,omitempty" xml:"To,omitempty"`
	// Specifies whether the query results contain confirmed notifications. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >  A confirmed notification is a notification that has been marked as confirmed by calling the ConfirmNotify operation.
	WithConfirmed *bool `json:"WithConfirmed,omitempty" xml:"WithConfirmed,omitempty"`
}

func (QueryNotifyRequest) GoString

func (s QueryNotifyRequest) GoString() string

func (*QueryNotifyRequest) SetFrom

func (*QueryNotifyRequest) SetPageNumber

func (s *QueryNotifyRequest) SetPageNumber(v int32) *QueryNotifyRequest

func (*QueryNotifyRequest) SetPageSize

func (s *QueryNotifyRequest) SetPageSize(v int32) *QueryNotifyRequest

func (*QueryNotifyRequest) SetTo

func (*QueryNotifyRequest) SetWithConfirmed

func (s *QueryNotifyRequest) SetWithConfirmed(v bool) *QueryNotifyRequest

func (QueryNotifyRequest) String

func (s QueryNotifyRequest) String() string

type QueryNotifyResponse

type QueryNotifyResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *QueryNotifyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QueryNotifyResponse) GoString

func (s QueryNotifyResponse) GoString() string

func (*QueryNotifyResponse) SetBody

func (*QueryNotifyResponse) SetHeaders

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

func (*QueryNotifyResponse) SetStatusCode

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

func (QueryNotifyResponse) String

func (s QueryNotifyResponse) String() string

type QueryNotifyResponseBody

type QueryNotifyResponseBody struct {
	// The response parameters.
	Data *QueryNotifyResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (QueryNotifyResponseBody) GoString

func (s QueryNotifyResponseBody) GoString() string

func (*QueryNotifyResponseBody) SetData

func (*QueryNotifyResponseBody) SetRequestId

func (QueryNotifyResponseBody) String

func (s QueryNotifyResponseBody) String() string

type QueryNotifyResponseBodyData

type QueryNotifyResponseBodyData struct {
	// The details of notifications.
	NotifyItemList []*QueryNotifyResponseBodyDataNotifyItemList `json:"NotifyItemList,omitempty" xml:"NotifyItemList,omitempty" type:"Repeated"`
	// The page number of the page returned.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The total number of entries returned.
	TotalRecordCount *int32 `json:"TotalRecordCount,omitempty" xml:"TotalRecordCount,omitempty"`
}

func (QueryNotifyResponseBodyData) GoString

func (s QueryNotifyResponseBodyData) GoString() string

func (*QueryNotifyResponseBodyData) SetNotifyItemList

func (*QueryNotifyResponseBodyData) SetPageNumber

func (*QueryNotifyResponseBodyData) SetPageSize

func (*QueryNotifyResponseBodyData) SetTotalRecordCount

func (QueryNotifyResponseBodyData) String

type QueryNotifyResponseBodyDataNotifyItemList

type QueryNotifyResponseBodyDataNotifyItemList struct {
	// The ID of the Alibaba Cloud account.
	AliUid *int64 `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// Indicates whether the notification has been confirmed. You can call the [ConfirmNotify](~~610444~~) operation to mark the notification as confirmed. Valid values:
	//
	// *   **true**
	// *   **false**
	ConfirmFlag *bool `json:"ConfirmFlag,omitempty" xml:"ConfirmFlag,omitempty"`
	// The UID of the contact who called the [ConfirmNotify](~~610444~~) operation to mark the notification as confirmed. The contact belongs to the current Alibaba Cloud account.
	//
	// The value **0** indicates that the notification is automatically confirmed by the system.
	Confirmor *int64 `json:"Confirmor,omitempty" xml:"Confirmor,omitempty"`
	// The time when the notification was created.
	GmtCreated *string `json:"GmtCreated,omitempty" xml:"GmtCreated,omitempty"`
	// The time when the notification was modified.
	GmtModified *string `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the notification.
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The number of times that repeatedly sent notifications are blocked.
	IdempotentCount *string `json:"IdempotentCount,omitempty" xml:"IdempotentCount,omitempty"`
	// This parameter ensures the idempotence of the notification and prevents the notification from being repeatedly sent.
	IdempotentId *string `json:"IdempotentId,omitempty" xml:"IdempotentId,omitempty"`
	// The level of the notification. Valid values:
	//
	// *   **help**
	// *   **success**
	// *   **warning**
	// *   **error**
	// *   **loading**
	// *   **notice**
	Level *string `json:"Level,omitempty" xml:"Level,omitempty"`
	// The element in the notification template. This parameter is a JSON string. Fields in the JSON string vary based on the value of the **TemplateName** parameter.
	//
	// *   If the **TemplateName** parameter is **RenewalRecommend**, the JSON string contains the following fields:
	//
	//     *   **instanceName**: the ID of the instance that is about to expire
	//     *   **reservedTime**: the remaining validity period of the instance in days
	//
	// *   If the **TemplateName** parameter is **InstanceCreateFailed**, the JSON string contains the following fields:
	//
	//     *   **orderId**: the ID of the order to purchase the instance
	//     *   **reason**: the cause of the instance creation failure
	NotifyElement *string `json:"NotifyElement,omitempty" xml:"NotifyElement,omitempty"`
	// The template of the notification. Valid values:
	//
	// *   **RenewalRecommend**: The template that is used to notify of renewal suggestions.
	// *   **InstanceCreateFailed**: The template that is used to notify that an instance fails to be created and is refunded.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The type of the notification. Valid values:
	//
	// *   **Sell**: sales notification
	// *   **Operation**: O\&M notification
	// *   **Promotion**: promotion notification
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (QueryNotifyResponseBodyDataNotifyItemList) GoString

func (*QueryNotifyResponseBodyDataNotifyItemList) SetAliUid

func (*QueryNotifyResponseBodyDataNotifyItemList) SetConfirmFlag

func (*QueryNotifyResponseBodyDataNotifyItemList) SetConfirmor

func (*QueryNotifyResponseBodyDataNotifyItemList) SetGmtCreated

func (*QueryNotifyResponseBodyDataNotifyItemList) SetGmtModified

func (*QueryNotifyResponseBodyDataNotifyItemList) SetId

func (*QueryNotifyResponseBodyDataNotifyItemList) SetIdempotentCount

func (*QueryNotifyResponseBodyDataNotifyItemList) SetIdempotentId

func (*QueryNotifyResponseBodyDataNotifyItemList) SetLevel

func (*QueryNotifyResponseBodyDataNotifyItemList) SetNotifyElement

func (*QueryNotifyResponseBodyDataNotifyItemList) SetTemplateName

func (*QueryNotifyResponseBodyDataNotifyItemList) SetType

func (QueryNotifyResponseBodyDataNotifyItemList) String

type QueryRecommendByCodeRequest added in v3.3.0

type QueryRecommendByCodeRequest struct {
	// The code.
	Code    *string `json:"Code,omitempty" xml:"Code,omitempty"`
	OwnerId *string `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (QueryRecommendByCodeRequest) GoString added in v3.3.0

func (s QueryRecommendByCodeRequest) GoString() string

func (*QueryRecommendByCodeRequest) SetCode added in v3.3.0

func (*QueryRecommendByCodeRequest) SetOwnerId added in v3.3.0

func (*QueryRecommendByCodeRequest) SetResourceGroupId added in v3.3.0

func (*QueryRecommendByCodeRequest) SetResourceOwnerAccount added in v3.3.0

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

func (*QueryRecommendByCodeRequest) SetResourceOwnerId added in v3.3.0

func (QueryRecommendByCodeRequest) String added in v3.3.0

type QueryRecommendByCodeResponse added in v3.3.0

type QueryRecommendByCodeResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *QueryRecommendByCodeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QueryRecommendByCodeResponse) GoString added in v3.3.0

func (s QueryRecommendByCodeResponse) GoString() string

func (*QueryRecommendByCodeResponse) SetBody added in v3.3.0

func (*QueryRecommendByCodeResponse) SetHeaders added in v3.3.0

func (*QueryRecommendByCodeResponse) SetStatusCode added in v3.3.0

func (QueryRecommendByCodeResponse) String added in v3.3.0

type QueryRecommendByCodeResponseBody added in v3.3.0

type QueryRecommendByCodeResponseBody struct {
	// The returned data.
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// *   **true**
	// *   **false**
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QueryRecommendByCodeResponseBody) GoString added in v3.3.0

func (*QueryRecommendByCodeResponseBody) SetData added in v3.3.0

func (*QueryRecommendByCodeResponseBody) SetRequestId added in v3.3.0

func (*QueryRecommendByCodeResponseBody) SetSuccess added in v3.3.0

func (QueryRecommendByCodeResponseBody) String added in v3.3.0

type RebuildDBInstanceRequest

type RebuildDBInstanceRequest struct {
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The dedicated cluster ID. You can call the DescribeDedicatedHostGroups operation to query the dedicated cluster ID.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The ID of the host on which the system rebuilds the secondary instance.
	//
	// >  If you do not specify this parameter, the system preferentially rebuilds the secondary instance on the original host on which the secondary instance resides. If the remaining storage of the original host is insufficient, the system rebuilds the secondary instance on a host on which the primary instance does not reside. If no suitable hosts are found, the system reports an error that indicates insufficient storage.
	DedicatedHostId *string `json:"DedicatedHostId,omitempty" xml:"DedicatedHostId,omitempty"`
	OwnerId         *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The role of the secondary instance that you want to rebuild. Valid values:
	//
	// *   **FOLLOWER**: secondary instance
	// *   **LOG**: logger instance
	RebuildNodeType *string `json:"RebuildNodeType,omitempty" xml:"RebuildNodeType,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (RebuildDBInstanceRequest) GoString

func (s RebuildDBInstanceRequest) GoString() string

func (*RebuildDBInstanceRequest) SetDBInstanceId

func (*RebuildDBInstanceRequest) SetDedicatedHostGroupId

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

func (*RebuildDBInstanceRequest) SetDedicatedHostId

func (s *RebuildDBInstanceRequest) SetDedicatedHostId(v string) *RebuildDBInstanceRequest

func (*RebuildDBInstanceRequest) SetOwnerId

func (*RebuildDBInstanceRequest) SetRebuildNodeType

func (s *RebuildDBInstanceRequest) SetRebuildNodeType(v string) *RebuildDBInstanceRequest

func (*RebuildDBInstanceRequest) SetRegionId

func (*RebuildDBInstanceRequest) SetResourceOwnerAccount

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

func (*RebuildDBInstanceRequest) SetResourceOwnerId

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

func (RebuildDBInstanceRequest) String

func (s RebuildDBInstanceRequest) String() string

type RebuildDBInstanceResponse

type RebuildDBInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RebuildDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RebuildDBInstanceResponse) GoString

func (s RebuildDBInstanceResponse) GoString() string

func (*RebuildDBInstanceResponse) SetBody

func (*RebuildDBInstanceResponse) SetHeaders

func (*RebuildDBInstanceResponse) SetStatusCode

func (RebuildDBInstanceResponse) String

func (s RebuildDBInstanceResponse) String() string

type RebuildDBInstanceResponseBody

type RebuildDBInstanceResponseBody struct {
	// The serial number of the task in the rebuild task queue. When the serial number becomes 0, the system starts to rebuild the secondary instance.
	MigrationId *int32 `json:"MigrationId,omitempty" xml:"MigrationId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (RebuildDBInstanceResponseBody) GoString

func (*RebuildDBInstanceResponseBody) SetMigrationId

func (*RebuildDBInstanceResponseBody) SetRequestId

func (*RebuildDBInstanceResponseBody) SetTaskId

func (RebuildDBInstanceResponseBody) String

type ReceiveDBInstanceRequest

type ReceiveDBInstanceRequest struct {
	// The ID of the primary instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the primary instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the disaster recovery instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the ID of the disaster recovery instance.
	GuardDBInstanceId    *string `json:"GuardDBInstanceId,omitempty" xml:"GuardDBInstanceId,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 (ReceiveDBInstanceRequest) GoString

func (s ReceiveDBInstanceRequest) GoString() string

func (*ReceiveDBInstanceRequest) SetDBInstanceId

func (*ReceiveDBInstanceRequest) SetGuardDBInstanceId

func (s *ReceiveDBInstanceRequest) SetGuardDBInstanceId(v string) *ReceiveDBInstanceRequest

func (*ReceiveDBInstanceRequest) SetOwnerAccount

func (*ReceiveDBInstanceRequest) SetOwnerId

func (*ReceiveDBInstanceRequest) SetResourceOwnerAccount

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

func (*ReceiveDBInstanceRequest) SetResourceOwnerId

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

func (ReceiveDBInstanceRequest) String

func (s ReceiveDBInstanceRequest) String() string

type ReceiveDBInstanceResponse

type ReceiveDBInstanceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReceiveDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReceiveDBInstanceResponse) GoString

func (s ReceiveDBInstanceResponse) GoString() string

func (*ReceiveDBInstanceResponse) SetBody

func (*ReceiveDBInstanceResponse) SetHeaders

func (*ReceiveDBInstanceResponse) SetStatusCode

func (ReceiveDBInstanceResponse) String

func (s ReceiveDBInstanceResponse) String() string

type ReceiveDBInstanceResponseBody

type ReceiveDBInstanceResponseBody struct {
	// The ID of the disaster recovery instance after the switchover.
	GuardDBInstanceId *string `json:"GuardDBInstanceId,omitempty" xml:"GuardDBInstanceId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReceiveDBInstanceResponseBody) GoString

func (*ReceiveDBInstanceResponseBody) SetGuardDBInstanceId

func (*ReceiveDBInstanceResponseBody) SetRequestId

func (ReceiveDBInstanceResponseBody) String

type RecoveryDBInstanceRequest

type RecoveryDBInstanceRequest struct {
	// The ID of the backup set. You can call the [DescribeBackups](~~26273~~) operation to query the ID of the backup set.
	//
	// If you specify this parameter, you do not need to specify **DBInstanceId**.
	//
	// > You must specify at least one of **BackupId** and **RestoreTime**.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The instance type of the new instance. For more information, see [Instance types](~~26312~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the original instance.
	//
	// > *   If you specify BackupId, you do not need to specify this parameter.
	// > *   If you specify RestoreTime, you must also specify this parameter.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the new instance. Unit: GB. For more information, see [Instance types](~~26312~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the new instance. Valid values:
	//
	// *   **local_ssd/ephemeral_ssd**: local SSD
	// *   **cloud_ssd**: standard SSD
	// *   **cloud_essd**: enhanced SSD (ESSD)
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The name of the database.
	//
	// *   If you want to restore databases to a new instance, the value is in the format of `Original database name 1,New database name 2`.
	// *   If you want to restore databases to an existing instance, the value is in the format of `{"Original database name 1":"New database name 1","Original database name 2":"New database name 2"`.
	DbNames *string `json:"DbNames,omitempty" xml:"DbNames,omitempty"`
	// The network type of the new instance. Valid values:
	//
	// *   **Classic**
	// *   **VPC**
	//
	// By default, the new instance uses the same network type as the original instance.
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The billing method of the new instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The unit that is used to calculate the billing cycle of the new instance. This parameter takes effect only when you select the subscription billing method for the new instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// > This parameter must be specified when **PayType** is set to **Prepaid**.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The internal IP address of the new instance. The internal IP address must be within the CIDR block that is supported by the specified vSwitch. The system automatically assigns a private IP address to an instance based on the values of **VPCId** and **VSwitchId**.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	ResourceOwnerId  *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. The point in time must fall within the specified log backup retention period. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// If you specify this parameter, you must also specify **DBInstanceId**.
	//
	// > You must specify at least one of **BackupId** and **RestoreTime**.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The ID of the destination instance.
	TargetDBInstanceId *string `json:"TargetDBInstanceId,omitempty" xml:"TargetDBInstanceId,omitempty"`
	// The subscription duration of the instance. Valid values:
	//
	// *   Valid values when **Period** is set to **Year**: **1 to 3**.****
	// *   Valid values when **Period** is set to **Month**: **1 to 9**.****
	//
	// > This parameter must be specified when PayType is set to **Prepaid**.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The VPC ID of the new instance.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the new instance. If you specify more than one vSwitch ID, you must separate the IDs with commas (,).
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (RecoveryDBInstanceRequest) GoString

func (s RecoveryDBInstanceRequest) GoString() string

func (*RecoveryDBInstanceRequest) SetBackupId

func (*RecoveryDBInstanceRequest) SetDBInstanceClass

func (*RecoveryDBInstanceRequest) SetDBInstanceId

func (*RecoveryDBInstanceRequest) SetDBInstanceStorage

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

func (*RecoveryDBInstanceRequest) SetDBInstanceStorageType

func (s *RecoveryDBInstanceRequest) SetDBInstanceStorageType(v string) *RecoveryDBInstanceRequest

func (*RecoveryDBInstanceRequest) SetDbNames

func (*RecoveryDBInstanceRequest) SetInstanceNetworkType

func (s *RecoveryDBInstanceRequest) SetInstanceNetworkType(v string) *RecoveryDBInstanceRequest

func (*RecoveryDBInstanceRequest) SetPayType

func (*RecoveryDBInstanceRequest) SetPeriod

func (*RecoveryDBInstanceRequest) SetPrivateIpAddress

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

func (*RecoveryDBInstanceRequest) SetResourceOwnerId

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

func (*RecoveryDBInstanceRequest) SetRestoreTime

func (*RecoveryDBInstanceRequest) SetTargetDBInstanceId

func (s *RecoveryDBInstanceRequest) SetTargetDBInstanceId(v string) *RecoveryDBInstanceRequest

func (*RecoveryDBInstanceRequest) SetUsedTime

func (*RecoveryDBInstanceRequest) SetVPCId

func (*RecoveryDBInstanceRequest) SetVSwitchId

func (RecoveryDBInstanceRequest) String

func (s RecoveryDBInstanceRequest) String() string

type RecoveryDBInstanceResponse

type RecoveryDBInstanceResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RecoveryDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RecoveryDBInstanceResponse) GoString

func (s RecoveryDBInstanceResponse) GoString() string

func (*RecoveryDBInstanceResponse) SetBody

func (*RecoveryDBInstanceResponse) SetHeaders

func (*RecoveryDBInstanceResponse) SetStatusCode

func (RecoveryDBInstanceResponse) String

type RecoveryDBInstanceResponseBody

type RecoveryDBInstanceResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RecoveryDBInstanceResponseBody) GoString

func (*RecoveryDBInstanceResponseBody) SetDBInstanceId

func (*RecoveryDBInstanceResponseBody) SetOrderId

func (*RecoveryDBInstanceResponseBody) SetRequestId

func (RecoveryDBInstanceResponseBody) String

type ReleaseInstanceConnectionRequest

type ReleaseInstanceConnectionRequest struct {
	// The public endpoint of the instance.
	CurrentConnectionString *string `json:"CurrentConnectionString,omitempty" xml:"CurrentConnectionString,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The network type of the instance. Valid values:
	//
	// *   **0**: virtual private cloud (VPC)
	// *   **1**: classic network
	InstanceNetworkType  *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,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 (ReleaseInstanceConnectionRequest) GoString

func (*ReleaseInstanceConnectionRequest) SetCurrentConnectionString

func (*ReleaseInstanceConnectionRequest) SetDBInstanceId

func (*ReleaseInstanceConnectionRequest) SetInstanceNetworkType

func (*ReleaseInstanceConnectionRequest) SetOwnerAccount

func (*ReleaseInstanceConnectionRequest) SetOwnerId

func (*ReleaseInstanceConnectionRequest) SetResourceOwnerAccount

func (*ReleaseInstanceConnectionRequest) SetResourceOwnerId

func (ReleaseInstanceConnectionRequest) String

type ReleaseInstanceConnectionResponse

type ReleaseInstanceConnectionResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReleaseInstanceConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReleaseInstanceConnectionResponse) GoString

func (*ReleaseInstanceConnectionResponse) SetHeaders

func (*ReleaseInstanceConnectionResponse) SetStatusCode

func (ReleaseInstanceConnectionResponse) String

type ReleaseInstanceConnectionResponseBody

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

func (ReleaseInstanceConnectionResponseBody) GoString

func (*ReleaseInstanceConnectionResponseBody) SetRequestId

func (ReleaseInstanceConnectionResponseBody) String

type ReleaseInstancePublicConnectionRequest

type ReleaseInstancePublicConnectionRequest struct {
	// The public endpoint.
	CurrentConnectionString *string `json:"CurrentConnectionString,omitempty" xml:"CurrentConnectionString,omitempty"`
	// The ID of the instance.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ReleaseInstancePublicConnectionRequest) GoString

func (*ReleaseInstancePublicConnectionRequest) SetCurrentConnectionString

func (*ReleaseInstancePublicConnectionRequest) SetDBInstanceId

func (*ReleaseInstancePublicConnectionRequest) SetOwnerAccount

func (*ReleaseInstancePublicConnectionRequest) SetOwnerId

func (*ReleaseInstancePublicConnectionRequest) SetResourceOwnerAccount

func (*ReleaseInstancePublicConnectionRequest) SetResourceOwnerId

func (ReleaseInstancePublicConnectionRequest) String

type ReleaseInstancePublicConnectionResponse

type ReleaseInstancePublicConnectionResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReleaseInstancePublicConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReleaseInstancePublicConnectionResponse) GoString

func (*ReleaseInstancePublicConnectionResponse) SetHeaders

func (*ReleaseInstancePublicConnectionResponse) SetStatusCode

func (ReleaseInstancePublicConnectionResponse) String

type ReleaseInstancePublicConnectionResponseBody

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

func (ReleaseInstancePublicConnectionResponseBody) GoString

func (*ReleaseInstancePublicConnectionResponseBody) SetRequestId

func (ReleaseInstancePublicConnectionResponseBody) String

type ReleaseReadWriteSplittingConnectionRequest

type ReleaseReadWriteSplittingConnectionRequest struct {
	// The ID of the primary instance. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ReleaseReadWriteSplittingConnectionRequest) GoString

func (*ReleaseReadWriteSplittingConnectionRequest) SetDBInstanceId

func (*ReleaseReadWriteSplittingConnectionRequest) SetOwnerAccount

func (*ReleaseReadWriteSplittingConnectionRequest) SetOwnerId

func (*ReleaseReadWriteSplittingConnectionRequest) SetResourceOwnerAccount

func (*ReleaseReadWriteSplittingConnectionRequest) SetResourceOwnerId

func (ReleaseReadWriteSplittingConnectionRequest) String

type ReleaseReadWriteSplittingConnectionResponse

type ReleaseReadWriteSplittingConnectionResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReleaseReadWriteSplittingConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReleaseReadWriteSplittingConnectionResponse) GoString

func (*ReleaseReadWriteSplittingConnectionResponse) SetHeaders

func (*ReleaseReadWriteSplittingConnectionResponse) SetStatusCode

func (ReleaseReadWriteSplittingConnectionResponse) String

type ReleaseReadWriteSplittingConnectionResponseBody

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

func (ReleaseReadWriteSplittingConnectionResponseBody) GoString

func (*ReleaseReadWriteSplittingConnectionResponseBody) SetRequestId

func (ReleaseReadWriteSplittingConnectionResponseBody) String

type RemoveTagsFromResourceRequest

type RemoveTagsFromResourceRequest struct {
	Tag []*RemoveTagsFromResourceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the 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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the ListResourceGroups operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// A set of a TagKey and a TagValue that you use to unbind the tag. Format: {"key1":"value1"}.
	//
	// >  You cannot specify an empty string for TagKey. You can specify an empty string for TagValue.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
	// The ID of the proxy mode.
	ProxyId *string `json:"proxyId,omitempty" xml:"proxyId,omitempty"`
}

func (RemoveTagsFromResourceRequest) GoString

func (*RemoveTagsFromResourceRequest) SetClientToken

func (*RemoveTagsFromResourceRequest) SetDBInstanceId

func (*RemoveTagsFromResourceRequest) SetOwnerAccount

func (*RemoveTagsFromResourceRequest) SetOwnerId

func (*RemoveTagsFromResourceRequest) SetProxyId

func (*RemoveTagsFromResourceRequest) SetRegionId

func (*RemoveTagsFromResourceRequest) SetResourceGroupId added in v3.0.214

func (*RemoveTagsFromResourceRequest) SetResourceOwnerAccount

func (*RemoveTagsFromResourceRequest) SetResourceOwnerId

func (*RemoveTagsFromResourceRequest) SetTag

func (*RemoveTagsFromResourceRequest) SetTags

func (RemoveTagsFromResourceRequest) String

type RemoveTagsFromResourceRequestTag

type RemoveTagsFromResourceRequestTag struct {
	// The TagKey of the first tag that you want to unbind. Each tag consists of a TagKey and a TagValue. You can specify up to five tags in a single request. You cannot specify an empty string as the tag key. You can specify an empty string as the tag value.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The TagValue of the first tag that you want to unbind. Each tag consists of a TagKey and a TagValue. You can specify up to five tags in a single request. You cannot specify an empty string as the tag key. You can specify an empty string as the tag value.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (RemoveTagsFromResourceRequestTag) GoString

func (*RemoveTagsFromResourceRequestTag) SetKey

func (*RemoveTagsFromResourceRequestTag) SetValue

func (RemoveTagsFromResourceRequestTag) String

type RemoveTagsFromResourceResponse

type RemoveTagsFromResourceResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RemoveTagsFromResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RemoveTagsFromResourceResponse) GoString

func (*RemoveTagsFromResourceResponse) SetHeaders

func (*RemoveTagsFromResourceResponse) SetStatusCode

func (RemoveTagsFromResourceResponse) String

type RemoveTagsFromResourceResponseBody

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

func (RemoveTagsFromResourceResponseBody) GoString

func (*RemoveTagsFromResourceResponseBody) SetRequestId

func (RemoveTagsFromResourceResponseBody) String

type RenewInstanceRequest

type RenewInstanceRequest struct {
	// Specifies whether to enable automatic payment during the renewal. Valid values:
	//
	// *   **True**: enables automatic payment. Make sure that your Alibaba Cloud account has adequate balance.
	// *   **False** (default): disables automatic payment. You have to manually pay the order in the console.
	// >  For more information about manual renewal in the console, see the following topics:
	// > *   [Manually renew an ApsaraDB RDS for MySQL instance](~~96050~~)
	// > *   [Manually renew an ApsaraDB RDS for PostgreSQL instance](~~96741~~)
	// > *   [Manually renew an ApsaraDB RDS for SQL Server instance](~~95637~~)
	// > *   [Manually renew an ApsaraDB RDS for MariaDB instance](~~97122~~)
	AutoPay *string `json:"AutoPay,omitempty" xml:"AutoPay,omitempty"`
	// Specifies whether to enable auto-renewal for the instance. Valid values:
	//
	// *   **true**.
	// *   **false** (default)
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The duration of the subscription renewal. Unit: month. Valid values:
	//
	// *   **1~9**
	// *   **12**
	// *   **24**
	// *   **36**
	// *   **48**
	// *   **60**
	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 (RenewInstanceRequest) GoString

func (s RenewInstanceRequest) GoString() string

func (*RenewInstanceRequest) SetAutoPay

func (*RenewInstanceRequest) SetAutoRenew

func (s *RenewInstanceRequest) SetAutoRenew(v string) *RenewInstanceRequest

func (*RenewInstanceRequest) SetClientToken

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

func (*RenewInstanceRequest) SetDBInstanceId

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

func (*RenewInstanceRequest) SetOwnerId

func (*RenewInstanceRequest) SetPeriod

func (*RenewInstanceRequest) SetResourceOwnerAccount

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

func (*RenewInstanceRequest) SetResourceOwnerId

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

func (RenewInstanceRequest) String

func (s RenewInstanceRequest) String() string

type RenewInstanceResponse

type RenewInstanceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RenewInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RenewInstanceResponse) GoString

func (s RenewInstanceResponse) GoString() string

func (*RenewInstanceResponse) SetBody

func (*RenewInstanceResponse) SetHeaders

func (*RenewInstanceResponse) SetStatusCode

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

func (RenewInstanceResponse) String

func (s RenewInstanceResponse) String() string

type RenewInstanceResponseBody

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

func (RenewInstanceResponseBody) GoString

func (s RenewInstanceResponseBody) GoString() string

func (*RenewInstanceResponseBody) SetOrderId

func (*RenewInstanceResponseBody) SetRequestId

func (RenewInstanceResponseBody) String

func (s RenewInstanceResponseBody) String() string

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	// The username of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The new password.
	//
	// >
	//
	// *   The value must be 8 to 32 characters in length.
	//
	// *   The value must contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters.
	// *   The following special characters are supported: ! @ # $ & % ^ \* ( ) \_ + - =
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ResetAccountPasswordRequest) GoString

func (s ResetAccountPasswordRequest) GoString() string

func (*ResetAccountPasswordRequest) SetAccountName

func (*ResetAccountPasswordRequest) SetAccountPassword

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" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ResetAccountPasswordResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ResetAccountPasswordResponse) GoString

func (s ResetAccountPasswordResponse) GoString() string

func (*ResetAccountPasswordResponse) SetBody

func (*ResetAccountPasswordResponse) SetHeaders

func (*ResetAccountPasswordResponse) SetStatusCode

func (ResetAccountPasswordResponse) String

type ResetAccountPasswordResponseBody

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

func (ResetAccountPasswordResponseBody) GoString

func (*ResetAccountPasswordResponseBody) SetRequestId

func (ResetAccountPasswordResponseBody) String

type ResetAccountRequest

type ResetAccountRequest struct {
	// The name of the privileged account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The new password of the privileged account.
	//
	// >
	//
	// *   The password must be 8 to 32 characters in length.
	//
	// *   It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// *   It can contain the following special characters: `! @ # $ & ; % ^ * () _ + - =`.
	AccountPassword *string `json:"AccountPassword,omitempty" xml:"AccountPassword,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ResetAccountRequest) GoString

func (s ResetAccountRequest) GoString() string

func (*ResetAccountRequest) SetAccountName

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

func (*ResetAccountRequest) SetAccountPassword

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

func (*ResetAccountRequest) SetDBInstanceId

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

func (*ResetAccountRequest) SetOwnerAccount

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

func (*ResetAccountRequest) SetOwnerId

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

func (*ResetAccountRequest) SetResourceOwnerAccount

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

func (*ResetAccountRequest) SetResourceOwnerId

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

func (ResetAccountRequest) String

func (s ResetAccountRequest) String() string

type ResetAccountResponse

type ResetAccountResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ResetAccountResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ResetAccountResponse) GoString

func (s ResetAccountResponse) GoString() string

func (*ResetAccountResponse) SetBody

func (*ResetAccountResponse) SetHeaders

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

func (*ResetAccountResponse) SetStatusCode

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

func (ResetAccountResponse) String

func (s ResetAccountResponse) String() string

type ResetAccountResponseBody

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

func (ResetAccountResponseBody) GoString

func (s ResetAccountResponseBody) GoString() string

func (*ResetAccountResponseBody) SetRequestId

func (ResetAccountResponseBody) String

func (s ResetAccountResponseBody) String() string

type RestartDBInstanceRequest

type RestartDBInstanceRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The node ID, which can be used to restart a specified node. You can call the [DescribeDBInstanceHAConfig](~~610434~~) operation to obtain the node ID.
	//
	// > : The secondary instance restart feature is supported for RDS instances that run SQL Server EE on RDS Cluster Edition. For more information, see [Restart a secondary database](~~2411880~~).
	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) SetClientToken

func (*RestartDBInstanceRequest) SetDBInstanceId

func (*RestartDBInstanceRequest) SetNodeId added in v3.0.24

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" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RestartDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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 ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RestartDBInstanceResponseBody) GoString

func (*RestartDBInstanceResponseBody) SetRequestId

func (RestartDBInstanceResponseBody) String

type RestoreDdrTableRequest

type RestoreDdrTableRequest struct {
	// The cross-region backup set ID. You can call the DescribeCrossRegionBackups operation to query the IDs of the backup sets that are available to an instance.
	//
	// >  If you set the **RestoreType** parameter to **0**, you must also specify the BackupId parameter.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The source instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID of the destination instance. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. The point in time that you specify must be earlier than the current 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.
	//
	// > If **RestoreType** is set to **BackupTime**, you must specify this parameter.
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The method that is used to restore data. Valid values:
	//
	// *   **0**: restores data from a backup set. If you set this parameter to 0, you must also specify the **BackupSetId** parameter.
	// *   **1**: restores data to a point in time. If you set this parameter to 1, you must also specify the **RestoreTime**, **SourceRegion**, and **SourceDBInstanceName** parameters.
	//
	// Default value: **0**.
	RestoreType *string `json:"RestoreType,omitempty" xml:"RestoreType,omitempty"`
	// The ID of the source instance whose data you want to restore to a point in time.
	//
	// >  If you set the **RestoreType** parameter to **1**, you must also specify the SourceDBInstanceName parameter.
	SourceDBInstanceName *string `json:"SourceDBInstanceName,omitempty" xml:"SourceDBInstanceName,omitempty"`
	// The region ID of the source instance if you want to restore data to a point in time.
	//
	// > : If you set **RestoreType** to **1**, you must also specify this parameter.
	SourceRegion *string `json:"SourceRegion,omitempty" xml:"SourceRegion,omitempty"`
	// The names of the databases and tables that you want to restore. The value is in the following format: `[{"type":"db","name":"<The name of Database 1 on the source instance>","newname":"<The name of Database 1 on the destination instance>","tables":[{"type":"table","name":"<The name of Table 1 in Database 1 on the source instance>","newname":"<The name of Table 1 in Database 1 on the destination instance>"},{"type":"table","name":"<The name of Table 2 in Database 1 on the source instance>","newname":"<The name of Table 2 in Database 1 on the destination instance>"}]},{"type":"db","name":"<The name of Database 2 on the source instance>","newname":"<The name of Database 2 on the destination instance>","tables":[{"type":"table","name":"<The name of Table 3 in Database 2 on the source instance>","newname":"<The name of Table 3 in Database 2 on the destination instance>"},{"type":"table","name":"<The name of Table 4 in Database 2 on the source instance>","newname":"<The name of Table 4 in Database 2 on the destination instance>"}]}]`
	TableMeta *string `json:"TableMeta,omitempty" xml:"TableMeta,omitempty"`
}

func (RestoreDdrTableRequest) GoString

func (s RestoreDdrTableRequest) GoString() string

func (*RestoreDdrTableRequest) SetBackupId

func (*RestoreDdrTableRequest) SetClientToken

func (*RestoreDdrTableRequest) SetDBInstanceId

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

func (*RestoreDdrTableRequest) SetOwnerId

func (*RestoreDdrTableRequest) SetRegionId

func (*RestoreDdrTableRequest) SetResourceGroupId

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

func (*RestoreDdrTableRequest) SetResourceOwnerAccount

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

func (*RestoreDdrTableRequest) SetResourceOwnerId

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

func (*RestoreDdrTableRequest) SetRestoreTime

func (*RestoreDdrTableRequest) SetRestoreType

func (*RestoreDdrTableRequest) SetSourceDBInstanceName

func (s *RestoreDdrTableRequest) SetSourceDBInstanceName(v string) *RestoreDdrTableRequest

func (*RestoreDdrTableRequest) SetSourceRegion

func (s *RestoreDdrTableRequest) SetSourceRegion(v string) *RestoreDdrTableRequest

func (*RestoreDdrTableRequest) SetTableMeta

func (RestoreDdrTableRequest) String

func (s RestoreDdrTableRequest) String() string

type RestoreDdrTableResponse

type RestoreDdrTableResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RestoreDdrTableResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RestoreDdrTableResponse) GoString

func (s RestoreDdrTableResponse) GoString() string

func (*RestoreDdrTableResponse) SetBody

func (*RestoreDdrTableResponse) SetHeaders

func (*RestoreDdrTableResponse) SetStatusCode

func (RestoreDdrTableResponse) String

func (s RestoreDdrTableResponse) String() string

type RestoreDdrTableResponseBody

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

func (RestoreDdrTableResponseBody) GoString

func (s RestoreDdrTableResponseBody) GoString() string

func (*RestoreDdrTableResponseBody) SetDBInstanceId

func (*RestoreDdrTableResponseBody) SetRequestId

func (RestoreDdrTableResponseBody) String

type RestoreTableRequest

type RestoreTableRequest struct {
	// The backup set ID. You can call the DescribeBackups operation to obtain the backup set ID.
	//
	// >  You must specify at least one of **BackupId** or **RestoreTime** parameters.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,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.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// Specifies whether to enable the fast restoration feature for individual databases and tables. Valid values:
	//
	// *   **true**: enables the feature.
	// *   **false**: disables the feature.
	//
	// > For more information, see [Restore individual databases and tables of an ApsaraDB RDS for MySQL instance](~~103175~~).
	InstantRecovery      *bool   `json:"InstantRecovery,omitempty" xml:"InstantRecovery,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The point in time to which you want to restore data. The point in time must fall within the specified log backup retention period. 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.
	//
	// > *   You must specify at least one of **BackupId** and **RestoreTime**.
	// > *   You must enable the log backup feature. For more information, see [Back up an ApsaraDB RDS for MySQL instance](~~98818~~).
	RestoreTime *string `json:"RestoreTime,omitempty" xml:"RestoreTime,omitempty"`
	// The names of the databases and tables that you want to restore. The value is in the following format: `[{"type":"db","name":"<The name of Database 1 on the source instance>","newname":"<The name of Database 1 on the destination instance>","tables":[{"type":"table","name":"<The name of Table 1 in Database 1 on the source instance>","newname":"<The name of Table 1 in Database 1 on the destination instance>"},{"type":"table","name":"<The name of Table 2 in Database 1 on the source instance>","newname":"<The name of Table 2 in Database 1 on the destination instance>"}]},{"type":"db","name":"<The name of Database 2 on the source instance>","newname":"<The name of Database 2 on the destination instance>","tables":[{"type":"table","name":"<The name of Table 3 in Database 2 on the source instance>","newname":"<The name of Table 3 in Database 2 on the destination instance>"},{"type":"table","name":"<The name of Table 4 in Database 2 on the source instance>","newname":"<The name of Table 4 in Database 2 on the destination instance>"}]}]`
	TableMeta *string `json:"TableMeta,omitempty" xml:"TableMeta,omitempty"`
}

func (RestoreTableRequest) GoString

func (s RestoreTableRequest) GoString() string

func (*RestoreTableRequest) SetBackupId

func (s *RestoreTableRequest) SetBackupId(v string) *RestoreTableRequest

func (*RestoreTableRequest) SetClientToken

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

func (*RestoreTableRequest) SetDBInstanceId

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

func (*RestoreTableRequest) SetInstantRecovery

func (s *RestoreTableRequest) SetInstantRecovery(v bool) *RestoreTableRequest

func (*RestoreTableRequest) SetOwnerAccount

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

func (*RestoreTableRequest) SetOwnerId

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

func (*RestoreTableRequest) SetResourceOwnerAccount

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

func (*RestoreTableRequest) SetResourceOwnerId

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

func (*RestoreTableRequest) SetRestoreTime

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

func (*RestoreTableRequest) SetTableMeta

func (s *RestoreTableRequest) SetTableMeta(v string) *RestoreTableRequest

func (RestoreTableRequest) String

func (s RestoreTableRequest) String() string

type RestoreTableResponse

type RestoreTableResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RestoreTableResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RestoreTableResponse) GoString

func (s RestoreTableResponse) GoString() string

func (*RestoreTableResponse) SetBody

func (*RestoreTableResponse) SetHeaders

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

func (*RestoreTableResponse) SetStatusCode

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

func (RestoreTableResponse) String

func (s RestoreTableResponse) String() string

type RestoreTableResponseBody

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

func (RestoreTableResponseBody) GoString

func (s RestoreTableResponseBody) GoString() string

func (*RestoreTableResponseBody) SetRequestId

func (RestoreTableResponseBody) String

func (s RestoreTableResponseBody) String() string

type RevokeAccountPrivilegeRequest

type RevokeAccountPrivilegeRequest struct {
	// The name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The name of the database. You can revoke all permissions of the account on this database. Separate multiple databases with commas (,).
	DBName               *string `json:"DBName,omitempty" xml:"DBName,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 (RevokeAccountPrivilegeRequest) GoString

func (*RevokeAccountPrivilegeRequest) SetAccountName

func (*RevokeAccountPrivilegeRequest) SetDBInstanceId

func (*RevokeAccountPrivilegeRequest) SetDBName

func (*RevokeAccountPrivilegeRequest) SetOwnerAccount

func (*RevokeAccountPrivilegeRequest) SetOwnerId

func (*RevokeAccountPrivilegeRequest) SetResourceOwnerAccount

func (*RevokeAccountPrivilegeRequest) SetResourceOwnerId

func (RevokeAccountPrivilegeRequest) String

type RevokeAccountPrivilegeResponse

type RevokeAccountPrivilegeResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RevokeAccountPrivilegeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RevokeAccountPrivilegeResponse) GoString

func (*RevokeAccountPrivilegeResponse) SetHeaders

func (*RevokeAccountPrivilegeResponse) SetStatusCode

func (RevokeAccountPrivilegeResponse) String

type RevokeAccountPrivilegeResponseBody

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

func (RevokeAccountPrivilegeResponseBody) GoString

func (*RevokeAccountPrivilegeResponseBody) SetRequestId

func (RevokeAccountPrivilegeResponseBody) String

type RevokeOperatorPermissionRequest

type RevokeOperatorPermissionRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (RevokeOperatorPermissionRequest) GoString

func (*RevokeOperatorPermissionRequest) SetDBInstanceId

func (*RevokeOperatorPermissionRequest) SetOwnerAccount

func (*RevokeOperatorPermissionRequest) SetOwnerId

func (*RevokeOperatorPermissionRequest) SetResourceOwnerAccount

func (*RevokeOperatorPermissionRequest) SetResourceOwnerId

func (RevokeOperatorPermissionRequest) String

type RevokeOperatorPermissionResponse

type RevokeOperatorPermissionResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RevokeOperatorPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RevokeOperatorPermissionResponse) GoString

func (*RevokeOperatorPermissionResponse) SetHeaders

func (*RevokeOperatorPermissionResponse) SetStatusCode

func (RevokeOperatorPermissionResponse) String

type RevokeOperatorPermissionResponseBody

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

func (RevokeOperatorPermissionResponseBody) GoString

func (*RevokeOperatorPermissionResponseBody) SetRequestId

func (RevokeOperatorPermissionResponseBody) String

type StartDBInstanceRequest

type StartDBInstanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The data migration method of the instance. This parameter is available only for instances that are created in dedicated clusters. Valid values:
	//
	// *   **0** (default): The system preferentially upgrades or downgrades the instance without a migration. If the resources on the host on which the instance resides are insufficient, the system migrates the instance to another suitable host.
	// *   **1**: The system upgrades or downgrades the instance without a migration. If the upgrade or downgrade is not supported, the system reports an error.
	// *   **2**: The system migrates the data of the instance from the host on which the instance resides to another host. You must also specify **DedicatedHostGroupId**, **TargetDedicatedHostIdForMaster**, and **TargetDedicatedHostIdForSlave**. If you set DBInstanceTransType to 2, you cannot migrate the data of the instance to the host on which the instance resides. If you migrate the data of the instance to the host on which the instance resides, the migration fails.
	DBInstanceTransType *int32 `json:"DBInstanceTransType,omitempty" xml:"DBInstanceTransType,omitempty"`
	// The dedicated cluster ID. This parameter is supported if you call this operation to suspend an RDS instance in the dedicated cluster. You can call the DescribeDedicatedHostGroups operation to query the dedicated cluster ID.
	DedicatedHostGroupId *string `json:"DedicatedHostGroupId,omitempty" xml:"DedicatedHostGroupId,omitempty"`
	// The effective time. This parameter is available only for instances that are created in dedicated clusters.
	//
	// *   **Immediate**
	// *   **MaintainTime**: The change takes effect during the planned maintenance window. For more information, see ModifyDBInstanceMaintainTime.
	// *   **SpecificTime**: The change takes effect at a specified point in time.
	//
	// Default value: MaintainTime.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The database engine version of the instance. This parameter is available only for instances that are created in dedicated clusters.
	EngineVersion *string `json:"EngineVersion,omitempty" xml:"EngineVersion,omitempty"`
	OwnerId       *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The switching time. This parameter is available only for instances that are created in dedicated clusters. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	//
	// > This parameter must be specified when **EffectiveTime** is set to **Specified**.
	SpecifiedTime *string `json:"SpecifiedTime,omitempty" xml:"SpecifiedTime,omitempty"`
	// The storage capacity of the instance. This parameter is available only for instances that are created in dedicated clusters. Valid values: **5 to 2000**. Unit: GB. If you do not specify this parameter, the storage capacity of the instance remains unchanged.
	Storage *int32 `json:"Storage,omitempty" xml:"Storage,omitempty"`
	// The instance type of the required instance. This parameter is available only for instances that are created in dedicated clusters.
	TargetDBInstanceClass *string `json:"TargetDBInstanceClass,omitempty" xml:"TargetDBInstanceClass,omitempty"`
	// A deprecated parameter. You do not need to specify this parameter.
	TargetDedicatedHostIdForLog *string `json:"TargetDedicatedHostIdForLog,omitempty" xml:"TargetDedicatedHostIdForLog,omitempty"`
	// The ID of the host on which the primary instance is created. This parameter is available only for instances that are created in dedicated clusters.
	//
	// > This parameter must be specified when **DBInstanceTransType** is set to **2**.
	TargetDedicatedHostIdForMaster *string `json:"TargetDedicatedHostIdForMaster,omitempty" xml:"TargetDedicatedHostIdForMaster,omitempty"`
	// The ID of the host on which the secondary instance is created. This parameter is available only for instances that are created in dedicated clusters.
	//
	// > This parameter must be specified when **DBInstanceTransType** is set to **2**.
	TargetDedicatedHostIdForSlave *string `json:"TargetDedicatedHostIdForSlave,omitempty" xml:"TargetDedicatedHostIdForSlave,omitempty"`
	// The vSwitch ID. This parameter is available only for instances that are created in dedicated clusters.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID. This parameter is available only for instances that are created in dedicated clusters.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (StartDBInstanceRequest) GoString

func (s StartDBInstanceRequest) GoString() string

func (*StartDBInstanceRequest) SetDBInstanceId

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

func (*StartDBInstanceRequest) SetDBInstanceTransType

func (s *StartDBInstanceRequest) SetDBInstanceTransType(v int32) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetDedicatedHostGroupId

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

func (*StartDBInstanceRequest) SetEffectiveTime

func (s *StartDBInstanceRequest) SetEffectiveTime(v string) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetEngineVersion

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

func (*StartDBInstanceRequest) SetOwnerId

func (*StartDBInstanceRequest) SetRegionId

func (*StartDBInstanceRequest) SetResourceOwnerAccount

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

func (*StartDBInstanceRequest) SetResourceOwnerId

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

func (*StartDBInstanceRequest) SetSpecifiedTime

func (s *StartDBInstanceRequest) SetSpecifiedTime(v string) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetStorage

func (*StartDBInstanceRequest) SetTargetDBInstanceClass

func (s *StartDBInstanceRequest) SetTargetDBInstanceClass(v string) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetTargetDedicatedHostIdForLog

func (s *StartDBInstanceRequest) SetTargetDedicatedHostIdForLog(v string) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetTargetDedicatedHostIdForMaster

func (s *StartDBInstanceRequest) SetTargetDedicatedHostIdForMaster(v string) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetTargetDedicatedHostIdForSlave

func (s *StartDBInstanceRequest) SetTargetDedicatedHostIdForSlave(v string) *StartDBInstanceRequest

func (*StartDBInstanceRequest) SetVSwitchId

func (*StartDBInstanceRequest) SetZoneId

func (StartDBInstanceRequest) String

func (s StartDBInstanceRequest) String() string

type StartDBInstanceResponse

type StartDBInstanceResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartDBInstanceResponse) GoString

func (s StartDBInstanceResponse) GoString() string

func (*StartDBInstanceResponse) SetBody

func (*StartDBInstanceResponse) SetHeaders

func (*StartDBInstanceResponse) SetStatusCode

func (StartDBInstanceResponse) String

func (s StartDBInstanceResponse) String() string

type StartDBInstanceResponseBody

type StartDBInstanceResponseBody struct {
	// The migration task ID. This parameter is available only for instances that are created in dedicated clusters.
	MigrationId *int32 `json:"MigrationId,omitempty" xml:"MigrationId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the task.
	TaskId *int32 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (StartDBInstanceResponseBody) GoString

func (s StartDBInstanceResponseBody) GoString() string

func (*StartDBInstanceResponseBody) SetMigrationId

func (*StartDBInstanceResponseBody) SetRequestId

func (*StartDBInstanceResponseBody) SetTaskId

func (StartDBInstanceResponseBody) String

type StopDBInstanceRequest

type StopDBInstanceRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (StopDBInstanceRequest) GoString

func (s StopDBInstanceRequest) GoString() string

func (*StopDBInstanceRequest) SetDBInstanceId

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

func (*StopDBInstanceRequest) SetOwnerId

func (*StopDBInstanceRequest) SetRegionId

func (*StopDBInstanceRequest) SetResourceOwnerAccount

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

func (*StopDBInstanceRequest) SetResourceOwnerId

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

func (StopDBInstanceRequest) String

func (s StopDBInstanceRequest) String() string

type StopDBInstanceResponse

type StopDBInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StopDBInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StopDBInstanceResponse) GoString

func (s StopDBInstanceResponse) GoString() string

func (*StopDBInstanceResponse) SetBody

func (*StopDBInstanceResponse) SetHeaders

func (*StopDBInstanceResponse) SetStatusCode

func (StopDBInstanceResponse) String

func (s StopDBInstanceResponse) String() string

type StopDBInstanceResponseBody

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

func (StopDBInstanceResponseBody) GoString

func (s StopDBInstanceResponseBody) GoString() string

func (*StopDBInstanceResponseBody) SetRequestId

func (StopDBInstanceResponseBody) String

type SwitchDBInstanceHARequest

type SwitchDBInstanceHARequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The time when the switching takes effect. Valid values:
	//
	// *   **Immediate**: The switching immediately takes effect.
	// *   **MaintainTime**: The switching takes effect during the maintenance time.
	//
	// Default value: **Immediate**.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// Specifies whether to enable forcible switching. Valid values:
	//
	// *   **Yes**
	// *   **No**
	//
	// Default value: **No**.
	Force *string `json:"Force,omitempty" xml:"Force,omitempty"`
	// The secondary instance ID. You can call the DescribeDBInstanceHAConfig operation to query the secondary instance ID.
	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 (SwitchDBInstanceHARequest) GoString

func (s SwitchDBInstanceHARequest) GoString() string

func (*SwitchDBInstanceHARequest) SetDBInstanceId

func (*SwitchDBInstanceHARequest) SetEffectiveTime

func (*SwitchDBInstanceHARequest) SetForce

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

func (s SwitchDBInstanceHARequest) String() string

type SwitchDBInstanceHAResponse

type SwitchDBInstanceHAResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SwitchDBInstanceHAResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SwitchDBInstanceHAResponseBody) GoString

func (*SwitchDBInstanceHAResponseBody) SetRequestId

func (SwitchDBInstanceHAResponseBody) String

type SwitchDBInstanceNetTypeRequest

type SwitchDBInstanceNetTypeRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The prefix of the custom endpoint. The prefix must be 8 to 64 characters in length and can contain letters and digits. It must start with a lowercase letter. A valid endpoint is in the following format: Prefix.Database engine.rds.aliyuncs.com. Example: test1234.mysql.rds.aliyuncs.com.
	ConnectionStringPrefix *string `json:"ConnectionStringPrefix,omitempty" xml:"ConnectionStringPrefix,omitempty"`
	// The type of the endpoint. Valid values:
	//
	// *   **Normal**
	// *   **ReadWriteSplitting**
	//
	// By default, the system returns both types of endpoints.
	ConnectionStringType *string `json:"ConnectionStringType,omitempty" xml:"ConnectionStringType,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of the port that is used to connect to the instance. Valid values: **3001 to 3999**.
	Port                 *string `json:"Port,omitempty" xml:"Port,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (SwitchDBInstanceNetTypeRequest) GoString

func (*SwitchDBInstanceNetTypeRequest) SetClientToken

func (*SwitchDBInstanceNetTypeRequest) SetConnectionStringPrefix

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

func (*SwitchDBInstanceNetTypeRequest) SetConnectionStringType

func (*SwitchDBInstanceNetTypeRequest) SetDBInstanceId

func (*SwitchDBInstanceNetTypeRequest) SetOwnerAccount

func (*SwitchDBInstanceNetTypeRequest) SetOwnerId

func (*SwitchDBInstanceNetTypeRequest) SetPort

func (*SwitchDBInstanceNetTypeRequest) SetResourceOwnerAccount

func (*SwitchDBInstanceNetTypeRequest) SetResourceOwnerId

func (SwitchDBInstanceNetTypeRequest) String

type SwitchDBInstanceNetTypeResponse

type SwitchDBInstanceNetTypeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SwitchDBInstanceNetTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SwitchDBInstanceNetTypeResponse) GoString

func (*SwitchDBInstanceNetTypeResponse) SetHeaders

func (*SwitchDBInstanceNetTypeResponse) SetStatusCode

func (SwitchDBInstanceNetTypeResponse) String

type SwitchDBInstanceNetTypeResponseBody

type SwitchDBInstanceNetTypeResponseBody struct {
	// The endpoint that is used to connect to the instance after the switch of endpoints.
	NewConnectionString *string `json:"NewConnectionString,omitempty" xml:"NewConnectionString,omitempty"`
	// The endpoint that is used to connect to the instance before the switch of endpoints.
	OldConnectionString *string `json:"OldConnectionString,omitempty" xml:"OldConnectionString,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SwitchDBInstanceNetTypeResponseBody) GoString

func (*SwitchDBInstanceNetTypeResponseBody) SetNewConnectionString

func (*SwitchDBInstanceNetTypeResponseBody) SetOldConnectionString

func (*SwitchDBInstanceNetTypeResponseBody) SetRequestId

func (SwitchDBInstanceNetTypeResponseBody) String

type SwitchDBInstanceVpcRequest

type SwitchDBInstanceVpcRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The private IP address of the instance. The private IP address must be within the CIDR block of the vSwitch that is specified by the **VSwitchId** parameter.
	//
	// >  You can call the DescribeVSwitches operation to query the CIDR block of the vSwitch.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	ResourceOwnerId  *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The VPC ID.
	//
	// > The VPC must reside in the same region as the instance.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// The vSwitch ID of the instance.
	//
	// > The vSwitch must belong to the same zone as the instance.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
}

func (SwitchDBInstanceVpcRequest) GoString

func (s SwitchDBInstanceVpcRequest) GoString() string

func (*SwitchDBInstanceVpcRequest) SetDBInstanceId

func (*SwitchDBInstanceVpcRequest) SetPrivateIpAddress

func (*SwitchDBInstanceVpcRequest) SetResourceOwnerId

func (*SwitchDBInstanceVpcRequest) SetVPCId

func (*SwitchDBInstanceVpcRequest) SetVSwitchId

func (SwitchDBInstanceVpcRequest) String

type SwitchDBInstanceVpcResponse

type SwitchDBInstanceVpcResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SwitchDBInstanceVpcResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SwitchDBInstanceVpcResponse) GoString

func (s SwitchDBInstanceVpcResponse) GoString() string

func (*SwitchDBInstanceVpcResponse) SetBody

func (*SwitchDBInstanceVpcResponse) SetHeaders

func (*SwitchDBInstanceVpcResponse) SetStatusCode

func (SwitchDBInstanceVpcResponse) String

type SwitchDBInstanceVpcResponseBody

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

func (SwitchDBInstanceVpcResponseBody) GoString

func (*SwitchDBInstanceVpcResponseBody) SetRequestId

func (SwitchDBInstanceVpcResponseBody) String

type SwitchGuardToMasterInstanceRequest

type SwitchGuardToMasterInstanceRequest struct {
	// The ID of the disaster recovery instance. You can call the [DescribeDBInstances](~~26232~~) operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group. You can call the [DescribeDBInstanceAttribute](~~610394~~) to obtain the ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (SwitchGuardToMasterInstanceRequest) GoString

func (*SwitchGuardToMasterInstanceRequest) SetDBInstanceId

func (*SwitchGuardToMasterInstanceRequest) SetOwnerAccount

func (*SwitchGuardToMasterInstanceRequest) SetOwnerId

func (*SwitchGuardToMasterInstanceRequest) SetResourceGroupId added in v3.0.214

func (*SwitchGuardToMasterInstanceRequest) SetResourceOwnerAccount

func (*SwitchGuardToMasterInstanceRequest) SetResourceOwnerId

func (SwitchGuardToMasterInstanceRequest) String

type SwitchGuardToMasterInstanceResponse

type SwitchGuardToMasterInstanceResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SwitchGuardToMasterInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SwitchGuardToMasterInstanceResponse) GoString

func (*SwitchGuardToMasterInstanceResponse) SetHeaders

func (*SwitchGuardToMasterInstanceResponse) SetStatusCode

func (SwitchGuardToMasterInstanceResponse) String

type SwitchGuardToMasterInstanceResponseBody

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

func (SwitchGuardToMasterInstanceResponseBody) GoString

func (*SwitchGuardToMasterInstanceResponseBody) SetDBInstanceId

func (*SwitchGuardToMasterInstanceResponseBody) SetRequestId

func (SwitchGuardToMasterInstanceResponseBody) String

type TagResourcesRequest

type TagResourcesRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The instance ID.
	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 type of the resource. Set the value to **INSTANCE**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The list of tags.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetOwnerId

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

func (*TagResourcesRequest) SetRegionId

func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceOwnerAccount

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

func (*TagResourcesRequest) SetResourceOwnerId

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

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// The key of the tag. You can create N tag keys at a time. Valid values of N: **1** to **20**. The value of this parameter cannot be an empty string.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag. You can create N tag values at a time. Valid values of N: **1** to **20**. The value of this parameter can be an empty string.
	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" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

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.
	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 TerminateMigrateTaskRequest

type TerminateMigrateTaskRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The migration task ID. You can call the DescribeMigrateTasks operation to query the migration task ID.
	MigrateTaskId        *string `json:"MigrateTaskId,omitempty" xml:"MigrateTaskId,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 (TerminateMigrateTaskRequest) GoString

func (s TerminateMigrateTaskRequest) GoString() string

func (*TerminateMigrateTaskRequest) SetDBInstanceId

func (*TerminateMigrateTaskRequest) SetMigrateTaskId

func (*TerminateMigrateTaskRequest) SetOwnerId

func (*TerminateMigrateTaskRequest) SetResourceOwnerAccount

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

func (*TerminateMigrateTaskRequest) SetResourceOwnerId

func (TerminateMigrateTaskRequest) String

type TerminateMigrateTaskResponse

type TerminateMigrateTaskResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *TerminateMigrateTaskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (TerminateMigrateTaskResponse) GoString

func (s TerminateMigrateTaskResponse) GoString() string

func (*TerminateMigrateTaskResponse) SetBody

func (*TerminateMigrateTaskResponse) SetHeaders

func (*TerminateMigrateTaskResponse) SetStatusCode

func (TerminateMigrateTaskResponse) String

type TerminateMigrateTaskResponseBody

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

func (TerminateMigrateTaskResponseBody) GoString

func (*TerminateMigrateTaskResponseBody) SetRequestId

func (TerminateMigrateTaskResponseBody) String

type TransformDBInstancePayTypeRequest

type TransformDBInstancePayTypeRequest struct {
	// Specifies whether to enable the auto-renewal feature for the instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// > - This parameter is valid only when you change the billing method from pay-as-you-go to subscription.
	// > - All strings except **true** are considered **false**.
	AutoRenew *string `json:"AutoRenew,omitempty" xml:"AutoRenew,omitempty"`
	// The additional business information about the instance.
	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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The new billing method of the instance. Valid values:
	//
	// *   **Postpaid**: pay-as-you-go
	// *   **Prepaid**: subscription
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The renewal cycle of the instance. Valid values:
	//
	// *   **Year**
	// *   **Month**
	//
	// > This parameter must be specified if you set **PayType** to **Prepaid**.
	Period               *string `json:"Period,omitempty" xml:"Period,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The subscription duration of the instance. Valid values:
	//
	// *   If you set **Period** to **Year**, the value of UsedTime ranges from **1 to 5**.
	// *   If you set **Period** to **Month**, the value of UsedTime ranges from **1 to 11**.
	//
	// > This parameter must be specified when **PayType** is set to **Prepaid**.
	UsedTime *int32 `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
}

func (TransformDBInstancePayTypeRequest) GoString

func (*TransformDBInstancePayTypeRequest) SetAutoRenew

func (*TransformDBInstancePayTypeRequest) SetBusinessInfo

func (*TransformDBInstancePayTypeRequest) SetClientToken

func (*TransformDBInstancePayTypeRequest) SetDBInstanceId

func (*TransformDBInstancePayTypeRequest) SetOwnerAccount

func (*TransformDBInstancePayTypeRequest) SetOwnerId

func (*TransformDBInstancePayTypeRequest) SetPayType

func (*TransformDBInstancePayTypeRequest) SetPeriod

func (*TransformDBInstancePayTypeRequest) SetResourceOwnerAccount

func (*TransformDBInstancePayTypeRequest) SetResourceOwnerId

func (*TransformDBInstancePayTypeRequest) SetUsedTime

func (TransformDBInstancePayTypeRequest) String

type TransformDBInstancePayTypeResponse

type TransformDBInstancePayTypeResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *TransformDBInstancePayTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (TransformDBInstancePayTypeResponse) GoString

func (*TransformDBInstancePayTypeResponse) SetHeaders

func (*TransformDBInstancePayTypeResponse) SetStatusCode

func (TransformDBInstancePayTypeResponse) String

type TransformDBInstancePayTypeResponseBody

type TransformDBInstancePayTypeResponseBody struct {
	// The payment type.
	//
	// *   Valid value if the new billing method is pay-as-you-go: POSTPAY
	// *   Valid value if the new billing method is subscription: PREPAY
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The expiration time.
	//
	// > If you call this operation to change the billing method of an instance from subscription to pay-as-you-go, this parameter is not returned.
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The order ID.
	OrderId *int64 `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TransformDBInstancePayTypeResponseBody) GoString

func (*TransformDBInstancePayTypeResponseBody) SetChargeType

func (*TransformDBInstancePayTypeResponseBody) SetDBInstanceId

func (*TransformDBInstancePayTypeResponseBody) SetExpiredTime

func (*TransformDBInstancePayTypeResponseBody) SetOrderId

func (*TransformDBInstancePayTypeResponseBody) SetRequestId

func (TransformDBInstancePayTypeResponseBody) String

type UnlockAccountRequest

type UnlockAccountRequest struct {
	// The account that you want to unlock. You can unlock a single account at a time.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 (UnlockAccountRequest) GoString

func (s UnlockAccountRequest) GoString() string

func (*UnlockAccountRequest) SetAccountName

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

func (*UnlockAccountRequest) SetDBInstanceId

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

func (*UnlockAccountRequest) SetOwnerId

func (*UnlockAccountRequest) SetResourceOwnerAccount

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

func (*UnlockAccountRequest) SetResourceOwnerId

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

func (UnlockAccountRequest) String

func (s UnlockAccountRequest) String() string

type UnlockAccountResponse

type UnlockAccountResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UnlockAccountResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UnlockAccountResponse) GoString

func (s UnlockAccountResponse) GoString() string

func (*UnlockAccountResponse) SetBody

func (*UnlockAccountResponse) SetHeaders

func (*UnlockAccountResponse) SetStatusCode

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

func (UnlockAccountResponse) String

func (s UnlockAccountResponse) String() string

type UnlockAccountResponseBody

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

func (UnlockAccountResponseBody) GoString

func (s UnlockAccountResponseBody) GoString() string

func (*UnlockAccountResponseBody) SetRequestId

func (UnlockAccountResponseBody) String

func (s UnlockAccountResponseBody) String() string

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to delete all tags of the instance. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// Default value: **false**.
	//
	// > This parameter is valid if parameters that contain **TagKey.N** are not specified.
	All     *bool  `json:"All,omitempty" xml:"All,omitempty"`
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The instance ID. You can remove tags from N instances at a time. Valid values of N: **1** to **50**.
	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 type of the resource. Set the value to **INSTANCE**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The list of tag keys. You can delete N tag keys at a time. Valid values of N: **1** to **20**. The value of this parameter cannot be an empty string.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetOwnerId

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceOwnerAccount

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

func (*UntagResourcesRequest) SetResourceOwnerId

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

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

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

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UpdatePostgresExtensionsRequest added in v3.0.28

type UpdatePostgresExtensionsRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The database name. You can call the DescribeDatabases operation to obtain the database name.
	DBNames *string `json:"DBNames,omitempty" xml:"DBNames,omitempty"`
	// The name of the extension. Separate multiple extensions with commas (,).
	Extensions   *string `json:"Extensions,omitempty" xml:"Extensions,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (UpdatePostgresExtensionsRequest) GoString added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetClientToken added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetDBInstanceId added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetDBNames added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetExtensions added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetOwnerAccount added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetOwnerId added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetResourceGroupId added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetResourceOwnerAccount added in v3.0.28

func (*UpdatePostgresExtensionsRequest) SetResourceOwnerId added in v3.0.28

func (UpdatePostgresExtensionsRequest) String added in v3.0.28

type UpdatePostgresExtensionsResponse added in v3.0.28

type UpdatePostgresExtensionsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdatePostgresExtensionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdatePostgresExtensionsResponse) GoString added in v3.0.28

func (*UpdatePostgresExtensionsResponse) SetBody added in v3.0.28

func (*UpdatePostgresExtensionsResponse) SetHeaders added in v3.0.28

func (*UpdatePostgresExtensionsResponse) SetStatusCode added in v3.0.28

func (UpdatePostgresExtensionsResponse) String added in v3.0.28

type UpdatePostgresExtensionsResponseBody added in v3.0.28

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

func (UpdatePostgresExtensionsResponseBody) GoString added in v3.0.28

func (*UpdatePostgresExtensionsResponseBody) SetRequestId added in v3.0.28

func (UpdatePostgresExtensionsResponseBody) String added in v3.0.28

type UpdateUserBackupFileRequest

type UpdateUserBackupFileRequest struct {
	// The backup ID. You can call the ListUserBackupFiles operation to query the backup ID.
	BackupId *string `json:"BackupId,omitempty" xml:"BackupId,omitempty"`
	// The new description of the full backup file.
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. You can call the DescribeRegions operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
	ResourceGroupId      *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The new retention period of the full backup file. Unit: days. Valid values: any non-zero positive integer.
	Retention *int32 `json:"Retention,omitempty" xml:"Retention,omitempty"`
}

func (UpdateUserBackupFileRequest) GoString

func (s UpdateUserBackupFileRequest) GoString() string

func (*UpdateUserBackupFileRequest) SetBackupId

func (*UpdateUserBackupFileRequest) SetComment

func (*UpdateUserBackupFileRequest) SetOwnerId

func (*UpdateUserBackupFileRequest) SetRegionId

func (*UpdateUserBackupFileRequest) SetResourceGroupId added in v3.0.214

func (*UpdateUserBackupFileRequest) SetResourceOwnerAccount

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

func (*UpdateUserBackupFileRequest) SetResourceOwnerId

func (*UpdateUserBackupFileRequest) SetRetention

func (UpdateUserBackupFileRequest) String

type UpdateUserBackupFileResponse

type UpdateUserBackupFileResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateUserBackupFileResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateUserBackupFileResponse) GoString

func (s UpdateUserBackupFileResponse) GoString() string

func (*UpdateUserBackupFileResponse) SetBody

func (*UpdateUserBackupFileResponse) SetHeaders

func (*UpdateUserBackupFileResponse) SetStatusCode

func (UpdateUserBackupFileResponse) String

type UpdateUserBackupFileResponseBody

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

func (UpdateUserBackupFileResponseBody) GoString

func (*UpdateUserBackupFileResponseBody) SetBackupId

func (*UpdateUserBackupFileResponseBody) SetRequestId

func (UpdateUserBackupFileResponseBody) String

type UpgradeDBInstanceEngineVersionRequest

type UpgradeDBInstanceEngineVersionRequest 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 token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The effective time. Valid values:
	//
	// *   **Immediate**: This is the default value.
	// *   **MaintainTime**: The effective time is within the maintenance window. For more information, see ModifyDBInstanceMaintainTime.
	EffectiveTime *string `json:"EffectiveTime,omitempty" xml:"EffectiveTime,omitempty"`
	// The major engine version that the new instance runs. Valid values:
	//
	// *   **8.0**
	// *   **5.7**
	// *   **5.6**
	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"`
}

func (UpgradeDBInstanceEngineVersionRequest) GoString

func (*UpgradeDBInstanceEngineVersionRequest) SetClientToken

func (*UpgradeDBInstanceEngineVersionRequest) SetDBInstanceId

func (*UpgradeDBInstanceEngineVersionRequest) SetEffectiveTime

func (*UpgradeDBInstanceEngineVersionRequest) SetEngineVersion

func (*UpgradeDBInstanceEngineVersionRequest) SetOwnerAccount

func (*UpgradeDBInstanceEngineVersionRequest) SetOwnerId

func (*UpgradeDBInstanceEngineVersionRequest) SetResourceOwnerAccount

func (*UpgradeDBInstanceEngineVersionRequest) SetResourceOwnerId

func (UpgradeDBInstanceEngineVersionRequest) String

type UpgradeDBInstanceEngineVersionResponse

type UpgradeDBInstanceEngineVersionResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpgradeDBInstanceEngineVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpgradeDBInstanceEngineVersionResponse) GoString

func (*UpgradeDBInstanceEngineVersionResponse) SetHeaders

func (*UpgradeDBInstanceEngineVersionResponse) SetStatusCode

func (UpgradeDBInstanceEngineVersionResponse) String

type UpgradeDBInstanceEngineVersionResponseBody

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

func (UpgradeDBInstanceEngineVersionResponseBody) GoString

func (*UpgradeDBInstanceEngineVersionResponseBody) SetRequestId

func (*UpgradeDBInstanceEngineVersionResponseBody) SetTaskId

func (UpgradeDBInstanceEngineVersionResponseBody) String

type UpgradeDBInstanceKernelVersionRequest

type UpgradeDBInstanceKernelVersionRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	//
	// >
	//
	// *   If your instance runs PostgreSQL, you must make sure that the instance uses **cloud disks**. If the instance uses local disks, you must call the [RestartDBInstance](~~26230~~) operation to restart the instance. The system automatically updates the minor engine version of the instance to the latest version during the restart.
	//
	// *   If your instance runs SQL Server, you must make sure that the instance runs SQL Server 2019.
	DBInstanceId         *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,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 update 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.
	//
	// > This parameter takes effect only when you set **UpgradeTime** to **SpecifyTime**.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The minor engine version to which you want to update. Format:
	//
	// *   **PostgreSQL**: `rds_postgres_<Major engine version>00_<Minor engine version>`. Example: `rds_postgres_1200_20200830`.
	//
	// *   **MySQL**: `<RDS edition and MySQL version>_<Minor engine version>`. Examples: `rds_20200229`, `xcluster_20200229`, and `xcluster80_20200229`. The following RDS editions and MySQL versions are supported:
	//
	//     *   **rds**: RDS Basic Edition or RDS High-availability Edition
	//     *   **xcluster**: MySQL 5.7 on RDS Enterprise Edition
	//     *   **xcluster80**: MySQL 8.0 on RDS Enterprise Edition
	//
	// *   **SQLServer**: `<Minor engine version>`. Example: `15.0.4073.23`.
	//
	// If you do not specify this parameter, the instance is updated to the latest minor engine version.
	//
	// >  For more information about minor engine versions, see [Release notes of AliPG](~~126002~~), [Release notes of AliSQL](~~96060~~), and [Release notes of minor engine versions of ApsaraDB RDS for SQL Server](~~213577~~).
	TargetMinorVersion *string `json:"TargetMinorVersion,omitempty" xml:"TargetMinorVersion,omitempty"`
	// The time when the update takes effect. Valid values:
	//
	// *   **Immediate** (default): The update takes effect immediately.
	// *   **MaintainTime**: The update takes effect during the maintenance window that you specify. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
	// *   **SpecifyTime**: The update takes effect at the point in time you specify.
	UpgradeTime *string `json:"UpgradeTime,omitempty" xml:"UpgradeTime,omitempty"`
}

func (UpgradeDBInstanceKernelVersionRequest) GoString

func (*UpgradeDBInstanceKernelVersionRequest) SetDBInstanceId

func (*UpgradeDBInstanceKernelVersionRequest) SetOwnerId

func (*UpgradeDBInstanceKernelVersionRequest) SetResourceOwnerAccount

func (*UpgradeDBInstanceKernelVersionRequest) SetResourceOwnerId

func (*UpgradeDBInstanceKernelVersionRequest) SetSwitchTime

func (*UpgradeDBInstanceKernelVersionRequest) SetTargetMinorVersion

func (*UpgradeDBInstanceKernelVersionRequest) SetUpgradeTime

func (UpgradeDBInstanceKernelVersionRequest) String

type UpgradeDBInstanceKernelVersionResponse

type UpgradeDBInstanceKernelVersionResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpgradeDBInstanceKernelVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpgradeDBInstanceKernelVersionResponse) GoString

func (*UpgradeDBInstanceKernelVersionResponse) SetHeaders

func (*UpgradeDBInstanceKernelVersionResponse) SetStatusCode

func (UpgradeDBInstanceKernelVersionResponse) String

type UpgradeDBInstanceKernelVersionResponseBody

type UpgradeDBInstanceKernelVersionResponseBody struct {
	// The ID of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The new minor engine version of the instance.
	TargetMinorVersion *string `json:"TargetMinorVersion,omitempty" xml:"TargetMinorVersion,omitempty"`
	// The ID of the task.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (UpgradeDBInstanceKernelVersionResponseBody) GoString

func (*UpgradeDBInstanceKernelVersionResponseBody) SetDBInstanceName

func (*UpgradeDBInstanceKernelVersionResponseBody) SetRequestId

func (*UpgradeDBInstanceKernelVersionResponseBody) SetTargetMinorVersion

func (*UpgradeDBInstanceKernelVersionResponseBody) SetTaskId

func (UpgradeDBInstanceKernelVersionResponseBody) String

type UpgradeDBInstanceMajorVersionPrecheckRequest

type UpgradeDBInstanceMajorVersionPrecheckRequest struct {
	// The ID of the instance. You can call the [DescribeDBInstances](~~610396~~) operation to query the ID of the instance.
	DBInstanceId    *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	ResourceOwnerId *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The new major engine version of the instance. The new major engine version must be later than the original major engine version.
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
}

func (UpgradeDBInstanceMajorVersionPrecheckRequest) GoString

func (*UpgradeDBInstanceMajorVersionPrecheckRequest) SetDBInstanceId

func (*UpgradeDBInstanceMajorVersionPrecheckRequest) SetResourceOwnerId

func (*UpgradeDBInstanceMajorVersionPrecheckRequest) SetTargetMajorVersion

func (UpgradeDBInstanceMajorVersionPrecheckRequest) String

type UpgradeDBInstanceMajorVersionPrecheckResponse

type UpgradeDBInstanceMajorVersionPrecheckResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpgradeDBInstanceMajorVersionPrecheckResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpgradeDBInstanceMajorVersionPrecheckResponse) GoString

func (*UpgradeDBInstanceMajorVersionPrecheckResponse) SetHeaders

func (*UpgradeDBInstanceMajorVersionPrecheckResponse) SetStatusCode

func (UpgradeDBInstanceMajorVersionPrecheckResponse) String

type UpgradeDBInstanceMajorVersionPrecheckResponseBody

type UpgradeDBInstanceMajorVersionPrecheckResponseBody struct {
	// The instance name.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The new major engine version of the instance.
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (UpgradeDBInstanceMajorVersionPrecheckResponseBody) GoString

func (*UpgradeDBInstanceMajorVersionPrecheckResponseBody) SetDBInstanceName

func (*UpgradeDBInstanceMajorVersionPrecheckResponseBody) SetRequestId

func (*UpgradeDBInstanceMajorVersionPrecheckResponseBody) SetTargetMajorVersion

func (*UpgradeDBInstanceMajorVersionPrecheckResponseBody) SetTaskId

func (UpgradeDBInstanceMajorVersionPrecheckResponseBody) String

type UpgradeDBInstanceMajorVersionRequest

type UpgradeDBInstanceMajorVersionRequest struct {
	// The time at which the system collects the statistics of the new instance. Valid values:
	//
	// *   Before: ApsaraDB RDS collects the statistics of the new instance before the switchover to ensure service stability. If the original instance contains a large amount of data, the upgrade may require a long period of time.
	// *   After: ApsaraDB RDS collects the statistics of the new instance after the switchover to accelerate the upgrade. If you access tables for which no statistics are generated, the execution plans that you specify may be inaccurate. In addition, your database service may be unavailable during peak hours.
	//
	// > If you set SwitchOver to false, the value Before of this parameter specifies that ApsaraDB RDS collects the statistics of the new instance before the new instance starts to process read and write requests, and the value After of this parameter specifies that ApsaraDB RDS collects the statistics of the new instance after the new instance starts to process read and write requests.
	CollectStatMode *string `json:"CollectStatMode,omitempty" xml:"CollectStatMode,omitempty"`
	// The instance type of the new instance. The CPU and memory specifications of the new instance must be higher than or equal to the CPU and memory specifications of the original instance.
	//
	// For example, if the instance type of the original instance is `pg.n2.small.2c`, which provides 1 core and 2 GB of memory, the instance type of the new instance can be `pg.n2.medium.2c`, which provides 2 cores and 4 GB of memory.
	//
	// > For more information about instance types in ApsaraDB RDS for PostgreSQL, see [Primary ApsaraDB RDS for PostgreSQL instance types](~~276990~~).
	DBInstanceClass *string `json:"DBInstanceClass,omitempty" xml:"DBInstanceClass,omitempty"`
	// The ID of the original instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The storage capacity of the new instance.
	//
	// Unit: GB
	//
	// Valid values:
	//
	// *   Valid values if you use enhanced SSDs (ESSDs) of performance level 1 (PL1): 20 to 3200
	// *   Valid values if you use ESSDs of PL2: 500 to 3200
	// *   Valid values if you use ESSDs of PL3: 1500 to 3200
	//
	// > If the original instance uses local disks, you can reduce the storage capacity of the instance when you upgrade the major engine version of the instance. For more information about the minimum available storage capacity, see [Upgrade the major engine version of an ApsaraDB RDS for PostgreSQL instance](~~203309~~).
	DBInstanceStorage *int32 `json:"DBInstanceStorage,omitempty" xml:"DBInstanceStorage,omitempty"`
	// The storage type of the new instance.
	//
	// Valid values:
	//
	// *   cloud_ssd: standard SSDs
	// *   cloud_essd: ESSD of PL1
	// *   cloud_essd2: ESSD of PL2
	// *   cloud_essd3: ESSD of PL3
	//
	// The major engine version upgrade feature is based on cloud disk snapshots. You can select a storage type based on the following conditions:
	//
	// *   If the original instance uses standard SSDs, you can set this parameter to cloud_ssd.
	// *   If the original instance uses ESSDs, you can set this parameter to cloud_essd, cloud_essd2, or cloud_essd3.
	// *   If the original instance uses local disks, you can set this parameter to cloud_essd, cloud_essd2, or cloud_essd3.
	DBInstanceStorageType *string `json:"DBInstanceStorageType,omitempty" xml:"DBInstanceStorageType,omitempty"`
	// The network type of the new instance. Set the value to VPC. The major engine version upgrade feature is supported only for instances that reside in VPCs.
	//
	// If the original instance resides in the classic network, you must migrate the instance to a VPC before you call this operation. For more information about how to view or change the network type of an instance, see [Change the network type of an ApsaraDB RDS for PostgreSQL instance](~~96761~~).
	InstanceNetworkType *string `json:"InstanceNetworkType,omitempty" xml:"InstanceNetworkType,omitempty"`
	// The billing method of the new instance. Set the value to Postpaid.
	//
	// > For more information about how to change the billing method of an instance after the upgrade, see [Change the billing method of an instance from pay-as-you-go to subscription](~~96743~~).
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	Period *string `json:"Period,omitempty" xml:"Period,omitempty"`
	// The internal IP address of the new instance. You do not need to specify this parameter. The system automatically assigns an internal IP address based on the values of the VPCId and vSwitchId parameters.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	ResourceOwnerId  *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Specifies whether the system automatically switches your workloads over to the new instance after data is migrated to the new instance.
	//
	// Valid values:
	//
	// *   true
	// *   false Before you perform an upgrade, we recommend that you set this parameter to false to test whether the new major engine version is compatible with your workloads.
	//
	// >
	//
	// *   If you set this parameter to true, you must take note of the following information:
	//
	//     *   After the switchover is complete, you cannot roll your workloads back to the original instance. Proceed with caution.
	//     *   During the switchover, the original instance processes only read requests. We recommend that you perform the switchover during off-peak hours.
	//     *   If read-only instances are attached to the original instance, you can set this parameter only to false. In this case, the read-only instances that are attached to the original instance cannot be cloned. After the upgrade is complete, you must create read-only instances for the new instance.
	//
	// *   If you set this parameter to false, you must take note of the following information:
	//
	//     *   The data migration does not interrupt your workloads on the original instance.
	//     *   After data is migrated to the new instance, you must update the endpoint configuration on your application. This update requires you to replace the endpoint of the original instance with the endpoint of the new instance. For more information about how to view the endpoint of an instance, see [View and change the internal and public endpoints and port numbers of an ApsaraDB RDS for PostgreSQL instance](~~96788~~).
	SwitchOver *string `json:"SwitchOver,omitempty" xml:"SwitchOver,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The switchover time. This parameter is used together with SwitchOver. This parameter is available only when **SwitchOver** is set to **true**.
	//
	// Valid values:
	//
	// *   Immediate: The settings immediately take effect.
	// *   MaintainTime: The settings take effect during the maintenance window of the instance. You can call the ModifyDBInstanceMaintainTime operation to change the maintenance window of an instance.
	SwitchTimeMode *string `json:"SwitchTimeMode,omitempty" xml:"SwitchTimeMode,omitempty"`
	// The major engine version of the new instance. The value of this parameter must be the major engine version on which an upgrade check is performed.
	//
	// >  You can call the UpgradeDBInstanceMajorVersionPrecheck operation to perform an upgrade check.
	TargetMajorVersion *string `json:"TargetMajorVersion,omitempty" xml:"TargetMajorVersion,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	UsedTime *string `json:"UsedTime,omitempty" xml:"UsedTime,omitempty"`
	// The VPC ID. You can call the DescribeDBInstanceAttribute operation to query the VPC ID.
	VPCId *string `json:"VPCId,omitempty" xml:"VPCId,omitempty"`
	// *   If the original instance runs RDS Basic Edition, you must enter the vSwitch ID of the new instance.
	// *   If the original instance runs RDS High-availability Edition, you must enter the vSwitch ID of the new instance and the vSwitch ID of the secondary instance of the new instance. Separate the vSwitch IDs with commas (,).
	//
	// >  The vSwitches that you specify must reside in the same zone as the original instance. You can call the DescribeVSwitches operation to query the vSwitch IDs.
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The zone ID of the new instance. You can call the DescribeRegions operation to query the zone ID.
	//
	// You can select a zone that is different from the zone of the original instance but belongs to the region in which the original instance resides.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
	// The zone ID of the secondary instance for the new instance. You can specify this parameter only when the original instance runs RDS High-availability Edition.
	//
	// You can select a zone that is different from the zone of the original instance but belongs to the region in which the original instance resides.
	//
	// You can call the DescribeRegions operation to query the zone ID.
	ZoneIdSlave1 *string `json:"ZoneIdSlave1,omitempty" xml:"ZoneIdSlave1,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	ZoneIdSlave2 *string `json:"ZoneIdSlave2,omitempty" xml:"ZoneIdSlave2,omitempty"`
}

func (UpgradeDBInstanceMajorVersionRequest) GoString

func (*UpgradeDBInstanceMajorVersionRequest) SetCollectStatMode

func (*UpgradeDBInstanceMajorVersionRequest) SetDBInstanceClass

func (*UpgradeDBInstanceMajorVersionRequest) SetDBInstanceId

func (*UpgradeDBInstanceMajorVersionRequest) SetDBInstanceStorage

func (*UpgradeDBInstanceMajorVersionRequest) SetDBInstanceStorageType

func (*UpgradeDBInstanceMajorVersionRequest) SetInstanceNetworkType

func (*UpgradeDBInstanceMajorVersionRequest) SetPayType

func (*UpgradeDBInstanceMajorVersionRequest) SetPeriod

func (*UpgradeDBInstanceMajorVersionRequest) SetPrivateIpAddress

func (*UpgradeDBInstanceMajorVersionRequest) SetResourceOwnerId

func (*UpgradeDBInstanceMajorVersionRequest) SetSwitchOver

func (*UpgradeDBInstanceMajorVersionRequest) SetSwitchTime

func (*UpgradeDBInstanceMajorVersionRequest) SetSwitchTimeMode

func (*UpgradeDBInstanceMajorVersionRequest) SetTargetMajorVersion

func (*UpgradeDBInstanceMajorVersionRequest) SetUsedTime

func (*UpgradeDBInstanceMajorVersionRequest) SetVPCId

func (*UpgradeDBInstanceMajorVersionRequest) SetVSwitchId

func (*UpgradeDBInstanceMajorVersionRequest) SetZoneId

func (*UpgradeDBInstanceMajorVersionRequest) SetZoneIdSlave1

func (*UpgradeDBInstanceMajorVersionRequest) SetZoneIdSlave2

func (UpgradeDBInstanceMajorVersionRequest) String

type UpgradeDBInstanceMajorVersionResponse

type UpgradeDBInstanceMajorVersionResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpgradeDBInstanceMajorVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpgradeDBInstanceMajorVersionResponse) GoString

func (*UpgradeDBInstanceMajorVersionResponse) SetHeaders

func (*UpgradeDBInstanceMajorVersionResponse) SetStatusCode

func (UpgradeDBInstanceMajorVersionResponse) String

type UpgradeDBInstanceMajorVersionResponseBody

type UpgradeDBInstanceMajorVersionResponseBody struct {
	// The ID of the instance.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// A reserved parameter.
	TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (UpgradeDBInstanceMajorVersionResponseBody) GoString

func (*UpgradeDBInstanceMajorVersionResponseBody) SetDBInstanceId

func (*UpgradeDBInstanceMajorVersionResponseBody) SetOrderId

func (*UpgradeDBInstanceMajorVersionResponseBody) SetRequestId

func (*UpgradeDBInstanceMajorVersionResponseBody) SetTaskId

func (UpgradeDBInstanceMajorVersionResponseBody) String

type UpgradeDBProxyInstanceKernelVersionRequest

type UpgradeDBProxyInstanceKernelVersionRequest struct {
	// The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
	DBInstanceId *string `json:"DBInstanceId,omitempty" xml:"DBInstanceId,omitempty"`
	// A reserved parameter. You do not need to specify this parameter.
	DBProxyEngineType    *string `json:"DBProxyEngineType,omitempty" xml:"DBProxyEngineType,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 specific point in time when you want to perform the upgrade. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
	//
	// > If you set **UpgradeTime** to **SpecificTime**, you must specify SwitchTime.
	SwitchTime *string `json:"SwitchTime,omitempty" xml:"SwitchTime,omitempty"`
	// The time when you want to upgrade the database proxy version of the instance. Valid values:
	//
	// *   **MaintainTime** (default): performs the upgrade during the maintenance window that you specified. For more information, see [Modify the maintenance window](~~610402~~).
	// *   **Immediate**: performs the upgrade immediately.
	// *   **SpecificTime**: performs the upgrade at a specified point in time.
	//
	// >
	//
	// *   If the instance runs MySQL, you can set this parameter to **MaintainTime**, **Immediate**, or **SpecificTime**.
	//
	// *   If the instance runs PostgreSQL, you can set this parameter to **MaintainTime** or **Immediate**.
	UpgradeTime *string `json:"UpgradeTime,omitempty" xml:"UpgradeTime,omitempty"`
}

func (UpgradeDBProxyInstanceKernelVersionRequest) GoString

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetDBInstanceId

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetDBProxyEngineType

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetOwnerId

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetResourceOwnerAccount

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetResourceOwnerId

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetSwitchTime

func (*UpgradeDBProxyInstanceKernelVersionRequest) SetUpgradeTime

func (UpgradeDBProxyInstanceKernelVersionRequest) String

type UpgradeDBProxyInstanceKernelVersionResponse

type UpgradeDBProxyInstanceKernelVersionResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpgradeDBProxyInstanceKernelVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpgradeDBProxyInstanceKernelVersionResponse) GoString

func (*UpgradeDBProxyInstanceKernelVersionResponse) SetHeaders

func (*UpgradeDBProxyInstanceKernelVersionResponse) SetStatusCode

func (UpgradeDBProxyInstanceKernelVersionResponse) String

type UpgradeDBProxyInstanceKernelVersionResponseBody

type UpgradeDBProxyInstanceKernelVersionResponseBody struct {
	// The ID of the database proxy of the instance.
	DBInstanceName *string `json:"DBInstanceName,omitempty" xml:"DBInstanceName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (UpgradeDBProxyInstanceKernelVersionResponseBody) GoString

func (*UpgradeDBProxyInstanceKernelVersionResponseBody) SetDBInstanceName

func (*UpgradeDBProxyInstanceKernelVersionResponseBody) SetRequestId

func (*UpgradeDBProxyInstanceKernelVersionResponseBody) SetTaskId

func (UpgradeDBProxyInstanceKernelVersionResponseBody) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL