Documentation ¶
Index ¶
- Constants
- type AccountInfo
- type AddDBInstanceToReadOnlyGroupRequest
- type AddDBInstanceToReadOnlyGroupRequestParams
- type AddDBInstanceToReadOnlyGroupResponse
- type AddDBInstanceToReadOnlyGroupResponseParams
- type AnalysisItems
- type BackupDownloadRestriction
- type BackupPlan
- type BackupSummary
- type BaseBackup
- type ClassInfo
- type Client
- func (c *Client) AddDBInstanceToReadOnlyGroup(request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
- func (c *Client) AddDBInstanceToReadOnlyGroupWithContext(ctx context.Context, request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
- func (c *Client) CloneDBInstance(request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
- func (c *Client) CloneDBInstanceWithContext(ctx context.Context, request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
- func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
- func (c *Client) CloseDBExtranetAccessWithContext(ctx context.Context, request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
- func (c *Client) CloseServerlessDBExtranetAccess(request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
- func (c *Client) CloseServerlessDBExtranetAccessWithContext(ctx context.Context, request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
- func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateBaseBackup(request *CreateBaseBackupRequest) (response *CreateBaseBackupResponse, err error)
- func (c *Client) CreateBaseBackupWithContext(ctx context.Context, request *CreateBaseBackupRequest) (response *CreateBaseBackupResponse, err error)
- func (c *Client) CreateDBInstanceNetworkAccess(request *CreateDBInstanceNetworkAccessRequest) (response *CreateDBInstanceNetworkAccessResponse, err error)
- func (c *Client) CreateDBInstanceNetworkAccessWithContext(ctx context.Context, request *CreateDBInstanceNetworkAccessRequest) (response *CreateDBInstanceNetworkAccessResponse, err error)
- func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
- func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
- func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (c *Client) CreateDatabaseWithContext(ctx context.Context, request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateParameterTemplate(request *CreateParameterTemplateRequest) (response *CreateParameterTemplateResponse, err error)
- func (c *Client) CreateParameterTemplateWithContext(ctx context.Context, request *CreateParameterTemplateRequest) (response *CreateParameterTemplateResponse, err error)
- func (c *Client) CreateReadOnlyDBInstance(request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
- func (c *Client) CreateReadOnlyDBInstanceWithContext(ctx context.Context, request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
- func (c *Client) CreateReadOnlyGroup(request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
- func (c *Client) CreateReadOnlyGroupNetworkAccess(request *CreateReadOnlyGroupNetworkAccessRequest) (response *CreateReadOnlyGroupNetworkAccessResponse, err error)
- func (c *Client) CreateReadOnlyGroupNetworkAccessWithContext(ctx context.Context, request *CreateReadOnlyGroupNetworkAccessRequest) (response *CreateReadOnlyGroupNetworkAccessResponse, err error)
- func (c *Client) CreateReadOnlyGroupWithContext(ctx context.Context, request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
- func (c *Client) CreateServerlessDBInstance(request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
- func (c *Client) CreateServerlessDBInstanceWithContext(ctx context.Context, request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
- func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
- func (c *Client) DeleteAccountWithContext(ctx context.Context, request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
- func (c *Client) DeleteBaseBackup(request *DeleteBaseBackupRequest) (response *DeleteBaseBackupResponse, err error)
- func (c *Client) DeleteBaseBackupWithContext(ctx context.Context, request *DeleteBaseBackupRequest) (response *DeleteBaseBackupResponse, err error)
- func (c *Client) DeleteDBInstanceNetworkAccess(request *DeleteDBInstanceNetworkAccessRequest) (response *DeleteDBInstanceNetworkAccessResponse, err error)
- func (c *Client) DeleteDBInstanceNetworkAccessWithContext(ctx context.Context, request *DeleteDBInstanceNetworkAccessRequest) (response *DeleteDBInstanceNetworkAccessResponse, err error)
- func (c *Client) DeleteLogBackup(request *DeleteLogBackupRequest) (response *DeleteLogBackupResponse, err error)
- func (c *Client) DeleteLogBackupWithContext(ctx context.Context, request *DeleteLogBackupRequest) (response *DeleteLogBackupResponse, err error)
- func (c *Client) DeleteParameterTemplate(request *DeleteParameterTemplateRequest) (response *DeleteParameterTemplateResponse, err error)
- func (c *Client) DeleteParameterTemplateWithContext(ctx context.Context, request *DeleteParameterTemplateRequest) (response *DeleteParameterTemplateResponse, err error)
- func (c *Client) DeleteReadOnlyGroup(request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
- func (c *Client) DeleteReadOnlyGroupNetworkAccess(request *DeleteReadOnlyGroupNetworkAccessRequest) (response *DeleteReadOnlyGroupNetworkAccessResponse, err error)
- func (c *Client) DeleteReadOnlyGroupNetworkAccessWithContext(ctx context.Context, request *DeleteReadOnlyGroupNetworkAccessRequest) (response *DeleteReadOnlyGroupNetworkAccessResponse, err error)
- func (c *Client) DeleteReadOnlyGroupWithContext(ctx context.Context, request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
- func (c *Client) DeleteServerlessDBInstance(request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
- func (c *Client) DeleteServerlessDBInstanceWithContext(ctx context.Context, request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
- func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
- func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
- func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeAvailableRecoveryTime(request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
- func (c *Client) DescribeAvailableRecoveryTimeWithContext(ctx context.Context, request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
- func (c *Client) DescribeBackupDownloadRestriction(request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
- func (c *Client) DescribeBackupDownloadRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
- func (c *Client) DescribeBackupDownloadURL(request *DescribeBackupDownloadURLRequest) (response *DescribeBackupDownloadURLResponse, err error)
- func (c *Client) DescribeBackupDownloadURLWithContext(ctx context.Context, request *DescribeBackupDownloadURLRequest) (response *DescribeBackupDownloadURLResponse, err error)
- func (c *Client) DescribeBackupOverview(request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
- func (c *Client) DescribeBackupOverviewWithContext(ctx context.Context, request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
- func (c *Client) DescribeBackupPlans(request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
- func (c *Client) DescribeBackupPlansWithContext(ctx context.Context, request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
- func (c *Client) DescribeBackupSummaries(request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
- func (c *Client) DescribeBackupSummariesWithContext(ctx context.Context, request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
- func (c *Client) DescribeBaseBackups(request *DescribeBaseBackupsRequest) (response *DescribeBaseBackupsResponse, err error)
- func (c *Client) DescribeBaseBackupsWithContext(ctx context.Context, request *DescribeBaseBackupsRequest) (response *DescribeBaseBackupsResponse, err error)
- func (c *Client) DescribeClasses(request *DescribeClassesRequest) (response *DescribeClassesResponse, err error)
- func (c *Client) DescribeClassesWithContext(ctx context.Context, request *DescribeClassesRequest) (response *DescribeClassesResponse, err error)
- func (c *Client) DescribeCloneDBInstanceSpec(request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
- func (c *Client) DescribeCloneDBInstanceSpecWithContext(ctx context.Context, request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
- func (c *Client) DescribeDBBackups(request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
- func (c *Client) DescribeDBBackupsWithContext(ctx context.Context, request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
- func (c *Client) DescribeDBErrlogs(request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
- func (c *Client) DescribeDBErrlogsWithContext(ctx context.Context, request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
- func (c *Client) DescribeDBInstanceAttribute(request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
- func (c *Client) DescribeDBInstanceAttributeWithContext(ctx context.Context, request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
- func (c *Client) DescribeDBInstanceHAConfig(request *DescribeDBInstanceHAConfigRequest) (response *DescribeDBInstanceHAConfigResponse, err error)
- func (c *Client) DescribeDBInstanceHAConfigWithContext(ctx context.Context, request *DescribeDBInstanceHAConfigRequest) (response *DescribeDBInstanceHAConfigResponse, err error)
- func (c *Client) DescribeDBInstanceParameters(request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
- func (c *Client) DescribeDBInstanceParametersWithContext(ctx context.Context, request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
- func (c *Client) DescribeDBInstanceSecurityGroups(request *DescribeDBInstanceSecurityGroupsRequest) (response *DescribeDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) DescribeDBInstanceSecurityGroupsWithContext(ctx context.Context, request *DescribeDBInstanceSecurityGroupsRequest) (response *DescribeDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBSlowlogs(request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
- func (c *Client) DescribeDBSlowlogsWithContext(ctx context.Context, request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
- func (c *Client) DescribeDBVersions(request *DescribeDBVersionsRequest) (response *DescribeDBVersionsResponse, err error)
- func (c *Client) DescribeDBVersionsWithContext(ctx context.Context, request *DescribeDBVersionsRequest) (response *DescribeDBVersionsResponse, err error)
- func (c *Client) DescribeDBXlogs(request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
- func (c *Client) DescribeDBXlogsWithContext(ctx context.Context, request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
- func (c *Client) DescribeDatabaseObjects(request *DescribeDatabaseObjectsRequest) (response *DescribeDatabaseObjectsResponse, err error)
- func (c *Client) DescribeDatabaseObjectsWithContext(ctx context.Context, request *DescribeDatabaseObjectsRequest) (response *DescribeDatabaseObjectsResponse, err error)
- func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeDedicatedClusters(request *DescribeDedicatedClustersRequest) (response *DescribeDedicatedClustersResponse, err error)
- func (c *Client) DescribeDedicatedClustersWithContext(ctx context.Context, request *DescribeDedicatedClustersRequest) (response *DescribeDedicatedClustersResponse, err error)
- func (c *Client) DescribeDefaultParameters(request *DescribeDefaultParametersRequest) (response *DescribeDefaultParametersResponse, err error)
- func (c *Client) DescribeDefaultParametersWithContext(ctx context.Context, request *DescribeDefaultParametersRequest) (response *DescribeDefaultParametersResponse, err error)
- func (c *Client) DescribeEncryptionKeys(request *DescribeEncryptionKeysRequest) (response *DescribeEncryptionKeysResponse, err error)
- func (c *Client) DescribeEncryptionKeysWithContext(ctx context.Context, request *DescribeEncryptionKeysRequest) (response *DescribeEncryptionKeysResponse, err error)
- func (c *Client) DescribeLogBackups(request *DescribeLogBackupsRequest) (response *DescribeLogBackupsResponse, err error)
- func (c *Client) DescribeLogBackupsWithContext(ctx context.Context, request *DescribeLogBackupsRequest) (response *DescribeLogBackupsResponse, err error)
- func (c *Client) DescribeMaintainTimeWindow(request *DescribeMaintainTimeWindowRequest) (response *DescribeMaintainTimeWindowResponse, err error)
- func (c *Client) DescribeMaintainTimeWindowWithContext(ctx context.Context, request *DescribeMaintainTimeWindowRequest) (response *DescribeMaintainTimeWindowResponse, err error)
- func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
- func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
- func (c *Client) DescribeParameterTemplateAttributes(request *DescribeParameterTemplateAttributesRequest) (response *DescribeParameterTemplateAttributesResponse, err error)
- func (c *Client) DescribeParameterTemplateAttributesWithContext(ctx context.Context, request *DescribeParameterTemplateAttributesRequest) (response *DescribeParameterTemplateAttributesResponse, err error)
- func (c *Client) DescribeParameterTemplates(request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error)
- func (c *Client) DescribeParameterTemplatesWithContext(ctx context.Context, request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error)
- func (c *Client) DescribeParamsEvent(request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
- func (c *Client) DescribeParamsEventWithContext(ctx context.Context, request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
- func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
- func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
- func (c *Client) DescribeReadOnlyGroups(request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
- func (c *Client) DescribeReadOnlyGroupsWithContext(ctx context.Context, request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
- func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeServerlessDBInstances(request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
- func (c *Client) DescribeServerlessDBInstancesWithContext(ctx context.Context, request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
- func (c *Client) DescribeSlowQueryAnalysis(request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
- func (c *Client) DescribeSlowQueryAnalysisWithContext(ctx context.Context, request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
- func (c *Client) DescribeSlowQueryList(request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
- func (c *Client) DescribeSlowQueryListWithContext(ctx context.Context, request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DestroyDBInstance(request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
- func (c *Client) DestroyDBInstanceWithContext(ctx context.Context, request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
- func (c *Client) DisIsolateDBInstances(request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
- func (c *Client) DisIsolateDBInstancesWithContext(ctx context.Context, request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
- func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
- func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
- func (c *Client) InquiryPriceRenewDBInstance(request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
- func (c *Client) InquiryPriceRenewDBInstanceWithContext(ctx context.Context, request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeDBInstance(request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeDBInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
- func (c *Client) IsolateDBInstances(request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
- func (c *Client) IsolateDBInstancesWithContext(ctx context.Context, request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
- func (c *Client) LockAccount(request *LockAccountRequest) (response *LockAccountResponse, err error)
- func (c *Client) LockAccountWithContext(ctx context.Context, request *LockAccountRequest) (response *LockAccountResponse, err error)
- func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
- func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
- func (c *Client) ModifyAccountRemark(request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
- func (c *Client) ModifyAccountRemarkWithContext(ctx context.Context, request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
- func (c *Client) ModifyBackupDownloadRestriction(request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
- func (c *Client) ModifyBackupDownloadRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
- func (c *Client) ModifyBackupPlan(request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
- func (c *Client) ModifyBackupPlanWithContext(ctx context.Context, request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
- func (c *Client) ModifyBaseBackupExpireTime(request *ModifyBaseBackupExpireTimeRequest) (response *ModifyBaseBackupExpireTimeResponse, err error)
- func (c *Client) ModifyBaseBackupExpireTimeWithContext(ctx context.Context, request *ModifyBaseBackupExpireTimeRequest) (response *ModifyBaseBackupExpireTimeResponse, err error)
- func (c *Client) ModifyDBInstanceChargeType(request *ModifyDBInstanceChargeTypeRequest) (response *ModifyDBInstanceChargeTypeResponse, err error)
- func (c *Client) ModifyDBInstanceChargeTypeWithContext(ctx context.Context, request *ModifyDBInstanceChargeTypeRequest) (response *ModifyDBInstanceChargeTypeResponse, err error)
- func (c *Client) ModifyDBInstanceDeployment(request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
- func (c *Client) ModifyDBInstanceDeploymentWithContext(ctx context.Context, request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
- func (c *Client) ModifyDBInstanceHAConfig(request *ModifyDBInstanceHAConfigRequest) (response *ModifyDBInstanceHAConfigResponse, err error)
- func (c *Client) ModifyDBInstanceHAConfigWithContext(ctx context.Context, request *ModifyDBInstanceHAConfigRequest) (response *ModifyDBInstanceHAConfigResponse, err error)
- func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstanceParameters(request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
- func (c *Client) ModifyDBInstanceParametersWithContext(ctx context.Context, request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
- func (c *Client) ModifyDBInstanceReadOnlyGroup(request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
- func (c *Client) ModifyDBInstanceReadOnlyGroupWithContext(ctx context.Context, request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyDBInstanceSpec(request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
- func (c *Client) ModifyDBInstanceSpecWithContext(ctx context.Context, request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
- func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
- func (c *Client) ModifyDBInstancesProjectWithContext(ctx context.Context, request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
- func (c *Client) ModifyDatabaseOwner(request *ModifyDatabaseOwnerRequest) (response *ModifyDatabaseOwnerResponse, err error)
- func (c *Client) ModifyDatabaseOwnerWithContext(ctx context.Context, request *ModifyDatabaseOwnerRequest) (response *ModifyDatabaseOwnerResponse, err error)
- func (c *Client) ModifyMaintainTimeWindow(request *ModifyMaintainTimeWindowRequest) (response *ModifyMaintainTimeWindowResponse, err error)
- func (c *Client) ModifyMaintainTimeWindowWithContext(ctx context.Context, request *ModifyMaintainTimeWindowRequest) (response *ModifyMaintainTimeWindowResponse, err error)
- func (c *Client) ModifyParameterTemplate(request *ModifyParameterTemplateRequest) (response *ModifyParameterTemplateResponse, err error)
- func (c *Client) ModifyParameterTemplateWithContext(ctx context.Context, request *ModifyParameterTemplateRequest) (response *ModifyParameterTemplateResponse, err error)
- func (c *Client) ModifyReadOnlyGroupConfig(request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
- func (c *Client) ModifyReadOnlyGroupConfigWithContext(ctx context.Context, request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
- func (c *Client) ModifySwitchTimePeriod(request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
- func (c *Client) ModifySwitchTimePeriodWithContext(ctx context.Context, request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
- func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
- func (c *Client) OpenDBExtranetAccessWithContext(ctx context.Context, request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
- func (c *Client) OpenServerlessDBExtranetAccess(request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
- func (c *Client) OpenServerlessDBExtranetAccessWithContext(ctx context.Context, request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
- func (c *Client) RebalanceReadOnlyGroup(request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
- func (c *Client) RebalanceReadOnlyGroupWithContext(ctx context.Context, request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
- func (c *Client) RemoveDBInstanceFromReadOnlyGroup(request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
- func (c *Client) RemoveDBInstanceFromReadOnlyGroupWithContext(ctx context.Context, request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
- func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
- func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
- func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
- func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
- func (c *Client) RestoreDBInstanceObjects(request *RestoreDBInstanceObjectsRequest) (response *RestoreDBInstanceObjectsResponse, err error)
- func (c *Client) RestoreDBInstanceObjectsWithContext(ctx context.Context, request *RestoreDBInstanceObjectsRequest) (response *RestoreDBInstanceObjectsResponse, err error)
- func (c *Client) SetAutoRenewFlag(request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
- func (c *Client) SetAutoRenewFlagWithContext(ctx context.Context, request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
- func (c *Client) SwitchDBInstancePrimary(request *SwitchDBInstancePrimaryRequest) (response *SwitchDBInstancePrimaryResponse, err error)
- func (c *Client) SwitchDBInstancePrimaryWithContext(ctx context.Context, request *SwitchDBInstancePrimaryRequest) (response *SwitchDBInstancePrimaryResponse, err error)
- func (c *Client) UnlockAccount(request *UnlockAccountRequest) (response *UnlockAccountResponse, err error)
- func (c *Client) UnlockAccountWithContext(ctx context.Context, request *UnlockAccountRequest) (response *UnlockAccountResponse, err error)
- func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- func (c *Client) UpgradeDBInstanceKernelVersion(request *UpgradeDBInstanceKernelVersionRequest) (response *UpgradeDBInstanceKernelVersionResponse, err error)
- func (c *Client) UpgradeDBInstanceKernelVersionWithContext(ctx context.Context, request *UpgradeDBInstanceKernelVersionRequest) (response *UpgradeDBInstanceKernelVersionResponse, err error)
- func (c *Client) UpgradeDBInstanceMajorVersion(request *UpgradeDBInstanceMajorVersionRequest) (response *UpgradeDBInstanceMajorVersionResponse, err error)
- func (c *Client) UpgradeDBInstanceMajorVersionWithContext(ctx context.Context, request *UpgradeDBInstanceMajorVersionRequest) (response *UpgradeDBInstanceMajorVersionResponse, err error)
- func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- type CloneDBInstanceRequest
- type CloneDBInstanceRequestParams
- type CloneDBInstanceResponse
- type CloneDBInstanceResponseParams
- type CloseDBExtranetAccessRequest
- type CloseDBExtranetAccessRequestParams
- type CloseDBExtranetAccessResponse
- type CloseDBExtranetAccessResponseParams
- type CloseServerlessDBExtranetAccessRequest
- type CloseServerlessDBExtranetAccessRequestParams
- type CloseServerlessDBExtranetAccessResponse
- type CloseServerlessDBExtranetAccessResponseParams
- type CreateAccountRequest
- type CreateAccountRequestParams
- type CreateAccountResponse
- type CreateAccountResponseParams
- type CreateBaseBackupRequest
- type CreateBaseBackupRequestParams
- type CreateBaseBackupResponse
- type CreateBaseBackupResponseParams
- type CreateDBInstanceNetworkAccessRequest
- type CreateDBInstanceNetworkAccessRequestParams
- type CreateDBInstanceNetworkAccessResponse
- type CreateDBInstanceNetworkAccessResponseParams
- type CreateDBInstancesRequest
- type CreateDBInstancesRequestParams
- type CreateDBInstancesResponse
- type CreateDBInstancesResponseParams
- type CreateDatabaseRequest
- type CreateDatabaseRequestParams
- type CreateDatabaseResponse
- type CreateDatabaseResponseParams
- type CreateInstancesRequest
- type CreateInstancesRequestParams
- type CreateInstancesResponse
- type CreateInstancesResponseParams
- type CreateParameterTemplateRequest
- type CreateParameterTemplateRequestParams
- type CreateParameterTemplateResponse
- type CreateParameterTemplateResponseParams
- type CreateReadOnlyDBInstanceRequest
- type CreateReadOnlyDBInstanceRequestParams
- type CreateReadOnlyDBInstanceResponse
- type CreateReadOnlyDBInstanceResponseParams
- type CreateReadOnlyGroupNetworkAccessRequest
- type CreateReadOnlyGroupNetworkAccessRequestParams
- type CreateReadOnlyGroupNetworkAccessResponse
- type CreateReadOnlyGroupNetworkAccessResponseParams
- type CreateReadOnlyGroupRequest
- type CreateReadOnlyGroupRequestParams
- type CreateReadOnlyGroupResponse
- type CreateReadOnlyGroupResponseParams
- type CreateServerlessDBInstanceRequest
- type CreateServerlessDBInstanceRequestParams
- type CreateServerlessDBInstanceResponse
- type CreateServerlessDBInstanceResponseParams
- type DBBackup
- type DBInstance
- type DBInstanceNetInfo
- type DBNode
- type Database
- type DatabaseObject
- type DatabasePrivilege
- type DedicatedCluster
- type DeleteAccountRequest
- type DeleteAccountRequestParams
- type DeleteAccountResponse
- type DeleteAccountResponseParams
- type DeleteBaseBackupRequest
- type DeleteBaseBackupRequestParams
- type DeleteBaseBackupResponse
- type DeleteBaseBackupResponseParams
- type DeleteDBInstanceNetworkAccessRequest
- type DeleteDBInstanceNetworkAccessRequestParams
- type DeleteDBInstanceNetworkAccessResponse
- type DeleteDBInstanceNetworkAccessResponseParams
- type DeleteLogBackupRequest
- type DeleteLogBackupRequestParams
- type DeleteLogBackupResponse
- type DeleteLogBackupResponseParams
- type DeleteParameterTemplateRequest
- type DeleteParameterTemplateRequestParams
- type DeleteParameterTemplateResponse
- type DeleteParameterTemplateResponseParams
- type DeleteReadOnlyGroupNetworkAccessRequest
- type DeleteReadOnlyGroupNetworkAccessRequestParams
- type DeleteReadOnlyGroupNetworkAccessResponse
- type DeleteReadOnlyGroupNetworkAccessResponseParams
- type DeleteReadOnlyGroupRequest
- type DeleteReadOnlyGroupRequestParams
- type DeleteReadOnlyGroupResponse
- type DeleteReadOnlyGroupResponseParams
- type DeleteServerlessDBInstanceRequest
- type DeleteServerlessDBInstanceRequestParams
- type DeleteServerlessDBInstanceResponse
- type DeleteServerlessDBInstanceResponseParams
- type DescribeAccountPrivilegesRequest
- type DescribeAccountPrivilegesRequestParams
- type DescribeAccountPrivilegesResponse
- type DescribeAccountPrivilegesResponseParams
- type DescribeAccountsRequest
- type DescribeAccountsRequestParams
- type DescribeAccountsResponse
- type DescribeAccountsResponseParams
- type DescribeAvailableRecoveryTimeRequest
- type DescribeAvailableRecoveryTimeRequestParams
- type DescribeAvailableRecoveryTimeResponse
- type DescribeAvailableRecoveryTimeResponseParams
- type DescribeBackupDownloadRestrictionRequest
- type DescribeBackupDownloadRestrictionRequestParams
- type DescribeBackupDownloadRestrictionResponse
- type DescribeBackupDownloadRestrictionResponseParams
- type DescribeBackupDownloadURLRequest
- type DescribeBackupDownloadURLRequestParams
- type DescribeBackupDownloadURLResponse
- type DescribeBackupDownloadURLResponseParams
- type DescribeBackupOverviewRequest
- type DescribeBackupOverviewRequestParams
- type DescribeBackupOverviewResponse
- type DescribeBackupOverviewResponseParams
- type DescribeBackupPlansRequest
- type DescribeBackupPlansRequestParams
- type DescribeBackupPlansResponse
- type DescribeBackupPlansResponseParams
- type DescribeBackupSummariesRequest
- type DescribeBackupSummariesRequestParams
- type DescribeBackupSummariesResponse
- type DescribeBackupSummariesResponseParams
- type DescribeBaseBackupsRequest
- type DescribeBaseBackupsRequestParams
- type DescribeBaseBackupsResponse
- type DescribeBaseBackupsResponseParams
- type DescribeClassesRequest
- type DescribeClassesRequestParams
- type DescribeClassesResponse
- type DescribeClassesResponseParams
- type DescribeCloneDBInstanceSpecRequest
- type DescribeCloneDBInstanceSpecRequestParams
- type DescribeCloneDBInstanceSpecResponse
- type DescribeCloneDBInstanceSpecResponseParams
- type DescribeDBBackupsRequest
- type DescribeDBBackupsRequestParams
- type DescribeDBBackupsResponse
- type DescribeDBBackupsResponseParams
- type DescribeDBErrlogsRequest
- type DescribeDBErrlogsRequestParams
- type DescribeDBErrlogsResponse
- type DescribeDBErrlogsResponseParams
- type DescribeDBInstanceAttributeRequest
- type DescribeDBInstanceAttributeRequestParams
- type DescribeDBInstanceAttributeResponse
- type DescribeDBInstanceAttributeResponseParams
- type DescribeDBInstanceHAConfigRequest
- type DescribeDBInstanceHAConfigRequestParams
- type DescribeDBInstanceHAConfigResponse
- type DescribeDBInstanceHAConfigResponseParams
- type DescribeDBInstanceParametersRequest
- type DescribeDBInstanceParametersRequestParams
- type DescribeDBInstanceParametersResponse
- type DescribeDBInstanceParametersResponseParams
- type DescribeDBInstanceSecurityGroupsRequest
- type DescribeDBInstanceSecurityGroupsRequestParams
- type DescribeDBInstanceSecurityGroupsResponse
- type DescribeDBInstanceSecurityGroupsResponseParams
- type DescribeDBInstancesRequest
- type DescribeDBInstancesRequestParams
- type DescribeDBInstancesResponse
- type DescribeDBInstancesResponseParams
- type DescribeDBSlowlogsRequest
- type DescribeDBSlowlogsRequestParams
- type DescribeDBSlowlogsResponse
- type DescribeDBSlowlogsResponseParams
- type DescribeDBVersionsRequest
- type DescribeDBVersionsRequestParams
- type DescribeDBVersionsResponse
- type DescribeDBVersionsResponseParams
- type DescribeDBXlogsRequest
- type DescribeDBXlogsRequestParams
- type DescribeDBXlogsResponse
- type DescribeDBXlogsResponseParams
- type DescribeDatabaseObjectsRequest
- type DescribeDatabaseObjectsRequestParams
- type DescribeDatabaseObjectsResponse
- type DescribeDatabaseObjectsResponseParams
- type DescribeDatabasesRequest
- type DescribeDatabasesRequestParams
- type DescribeDatabasesResponse
- type DescribeDatabasesResponseParams
- type DescribeDedicatedClustersRequest
- type DescribeDedicatedClustersRequestParams
- type DescribeDedicatedClustersResponse
- type DescribeDedicatedClustersResponseParams
- type DescribeDefaultParametersRequest
- type DescribeDefaultParametersRequestParams
- type DescribeDefaultParametersResponse
- type DescribeDefaultParametersResponseParams
- type DescribeEncryptionKeysRequest
- type DescribeEncryptionKeysRequestParams
- type DescribeEncryptionKeysResponse
- type DescribeEncryptionKeysResponseParams
- type DescribeLogBackupsRequest
- type DescribeLogBackupsRequestParams
- type DescribeLogBackupsResponse
- type DescribeLogBackupsResponseParams
- type DescribeMaintainTimeWindowRequest
- type DescribeMaintainTimeWindowRequestParams
- type DescribeMaintainTimeWindowResponse
- type DescribeMaintainTimeWindowResponseParams
- type DescribeOrdersRequest
- type DescribeOrdersRequestParams
- type DescribeOrdersResponse
- type DescribeOrdersResponseParams
- type DescribeParameterTemplateAttributesRequest
- type DescribeParameterTemplateAttributesRequestParams
- type DescribeParameterTemplateAttributesResponse
- type DescribeParameterTemplateAttributesResponseParams
- type DescribeParameterTemplatesRequest
- type DescribeParameterTemplatesRequestParams
- type DescribeParameterTemplatesResponse
- type DescribeParameterTemplatesResponseParams
- type DescribeParamsEventRequest
- type DescribeParamsEventRequestParams
- type DescribeParamsEventResponse
- type DescribeParamsEventResponseParams
- type DescribeProductConfigRequest
- type DescribeProductConfigRequestParams
- type DescribeProductConfigResponse
- type DescribeProductConfigResponseParams
- type DescribeReadOnlyGroupsRequest
- type DescribeReadOnlyGroupsRequestParams
- type DescribeReadOnlyGroupsResponse
- type DescribeReadOnlyGroupsResponseParams
- type DescribeRegionsRequest
- type DescribeRegionsRequestParams
- type DescribeRegionsResponse
- type DescribeRegionsResponseParams
- type DescribeServerlessDBInstancesRequest
- type DescribeServerlessDBInstancesRequestParams
- type DescribeServerlessDBInstancesResponse
- type DescribeServerlessDBInstancesResponseParams
- type DescribeSlowQueryAnalysisRequest
- type DescribeSlowQueryAnalysisRequestParams
- type DescribeSlowQueryAnalysisResponse
- type DescribeSlowQueryAnalysisResponseParams
- type DescribeSlowQueryListRequest
- type DescribeSlowQueryListRequestParams
- type DescribeSlowQueryListResponse
- type DescribeSlowQueryListResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DestroyDBInstanceRequest
- type DestroyDBInstanceRequestParams
- type DestroyDBInstanceResponse
- type DestroyDBInstanceResponseParams
- type Detail
- type DisIsolateDBInstancesRequest
- type DisIsolateDBInstancesRequestParams
- type DisIsolateDBInstancesResponse
- type DisIsolateDBInstancesResponseParams
- type DurationAnalysis
- type EncryptionKey
- type ErrLogDetail
- type EventInfo
- type EventItem
- type Filter
- type InitDBInstancesRequest
- type InitDBInstancesRequestParams
- type InitDBInstancesResponse
- type InitDBInstancesResponseParams
- type InquiryPriceCreateDBInstancesRequest
- type InquiryPriceCreateDBInstancesRequestParams
- type InquiryPriceCreateDBInstancesResponse
- type InquiryPriceCreateDBInstancesResponseParams
- type InquiryPriceRenewDBInstanceRequest
- type InquiryPriceRenewDBInstanceRequestParams
- type InquiryPriceRenewDBInstanceResponse
- type InquiryPriceRenewDBInstanceResponseParams
- type InquiryPriceUpgradeDBInstanceRequest
- type InquiryPriceUpgradeDBInstanceRequestParams
- type InquiryPriceUpgradeDBInstanceResponse
- type InquiryPriceUpgradeDBInstanceResponseParams
- type IsolateDBInstancesRequest
- type IsolateDBInstancesRequestParams
- type IsolateDBInstancesResponse
- type IsolateDBInstancesResponseParams
- type LockAccountRequest
- type LockAccountRequestParams
- type LockAccountResponse
- type LockAccountResponseParams
- type LogBackup
- type ModifyAccountPrivilegesRequest
- type ModifyAccountPrivilegesRequestParams
- type ModifyAccountPrivilegesResponse
- type ModifyAccountPrivilegesResponseParams
- type ModifyAccountRemarkRequest
- type ModifyAccountRemarkRequestParams
- type ModifyAccountRemarkResponse
- type ModifyAccountRemarkResponseParams
- type ModifyBackupDownloadRestrictionRequest
- type ModifyBackupDownloadRestrictionRequestParams
- type ModifyBackupDownloadRestrictionResponse
- type ModifyBackupDownloadRestrictionResponseParams
- type ModifyBackupPlanRequest
- type ModifyBackupPlanRequestParams
- type ModifyBackupPlanResponse
- type ModifyBackupPlanResponseParams
- type ModifyBaseBackupExpireTimeRequest
- type ModifyBaseBackupExpireTimeRequestParams
- type ModifyBaseBackupExpireTimeResponse
- type ModifyBaseBackupExpireTimeResponseParams
- type ModifyDBInstanceChargeTypeRequest
- type ModifyDBInstanceChargeTypeRequestParams
- type ModifyDBInstanceChargeTypeResponse
- type ModifyDBInstanceChargeTypeResponseParams
- type ModifyDBInstanceDeploymentRequest
- type ModifyDBInstanceDeploymentRequestParams
- type ModifyDBInstanceDeploymentResponse
- type ModifyDBInstanceDeploymentResponseParams
- type ModifyDBInstanceHAConfigRequest
- type ModifyDBInstanceHAConfigRequestParams
- type ModifyDBInstanceHAConfigResponse
- type ModifyDBInstanceHAConfigResponseParams
- type ModifyDBInstanceNameRequest
- type ModifyDBInstanceNameRequestParams
- type ModifyDBInstanceNameResponse
- type ModifyDBInstanceNameResponseParams
- type ModifyDBInstanceParametersRequest
- type ModifyDBInstanceParametersRequestParams
- type ModifyDBInstanceParametersResponse
- type ModifyDBInstanceParametersResponseParams
- type ModifyDBInstanceReadOnlyGroupRequest
- type ModifyDBInstanceReadOnlyGroupRequestParams
- type ModifyDBInstanceReadOnlyGroupResponse
- type ModifyDBInstanceReadOnlyGroupResponseParams
- type ModifyDBInstanceSecurityGroupsRequest
- type ModifyDBInstanceSecurityGroupsRequestParams
- type ModifyDBInstanceSecurityGroupsResponse
- type ModifyDBInstanceSecurityGroupsResponseParams
- type ModifyDBInstanceSpecRequest
- type ModifyDBInstanceSpecRequestParams
- type ModifyDBInstanceSpecResponse
- type ModifyDBInstanceSpecResponseParams
- type ModifyDBInstancesProjectRequest
- type ModifyDBInstancesProjectRequestParams
- type ModifyDBInstancesProjectResponse
- type ModifyDBInstancesProjectResponseParams
- type ModifyDatabaseOwnerRequest
- type ModifyDatabaseOwnerRequestParams
- type ModifyDatabaseOwnerResponse
- type ModifyDatabaseOwnerResponseParams
- type ModifyMaintainTimeWindowRequest
- type ModifyMaintainTimeWindowRequestParams
- type ModifyMaintainTimeWindowResponse
- type ModifyMaintainTimeWindowResponseParams
- type ModifyParameterTemplateRequest
- type ModifyParameterTemplateRequestParams
- type ModifyParameterTemplateResponse
- type ModifyParameterTemplateResponseParams
- type ModifyPrivilege
- type ModifyReadOnlyGroupConfigRequest
- type ModifyReadOnlyGroupConfigRequestParams
- type ModifyReadOnlyGroupConfigResponse
- type ModifyReadOnlyGroupConfigResponseParams
- type ModifySwitchTimePeriodRequest
- type ModifySwitchTimePeriodRequestParams
- type ModifySwitchTimePeriodResponse
- type ModifySwitchTimePeriodResponseParams
- type NetworkAccess
- type NormalQueryItem
- type OpenDBExtranetAccessRequest
- type OpenDBExtranetAccessRequestParams
- type OpenDBExtranetAccessResponse
- type OpenDBExtranetAccessResponseParams
- type OpenServerlessDBExtranetAccessRequest
- type OpenServerlessDBExtranetAccessRequestParams
- type OpenServerlessDBExtranetAccessResponse
- type OpenServerlessDBExtranetAccessResponseParams
- type ParamEntry
- type ParamInfo
- type ParamSpecRelation
- type ParamVersionRelation
- type ParameterTemplate
- type PgDeal
- type PolicyRule
- type RawSlowQuery
- type ReadOnlyGroup
- type RebalanceReadOnlyGroupRequest
- type RebalanceReadOnlyGroupRequestParams
- type RebalanceReadOnlyGroupResponse
- type RebalanceReadOnlyGroupResponseParams
- type RegionInfo
- type RemoveDBInstanceFromReadOnlyGroupRequest
- type RemoveDBInstanceFromReadOnlyGroupRequestParams
- type RemoveDBInstanceFromReadOnlyGroupResponse
- type RemoveDBInstanceFromReadOnlyGroupResponseParams
- type RenewInstanceRequest
- type RenewInstanceRequestParams
- type RenewInstanceResponse
- type RenewInstanceResponseParams
- type ResetAccountPasswordRequest
- type ResetAccountPasswordRequestParams
- type ResetAccountPasswordResponse
- type ResetAccountPasswordResponseParams
- type RestartDBInstanceRequest
- type RestartDBInstanceRequestParams
- type RestartDBInstanceResponse
- type RestartDBInstanceResponseParams
- type RestoreDBInstanceObjectsRequest
- type RestoreDBInstanceObjectsRequestParams
- type RestoreDBInstanceObjectsResponse
- type RestoreDBInstanceObjectsResponseParams
- type SecurityGroup
- type ServerlessDBAccount
- type ServerlessDBInstance
- type ServerlessDBInstanceNetInfo
- type SetAutoRenewFlagRequest
- type SetAutoRenewFlagRequestParams
- type SetAutoRenewFlagResponse
- type SetAutoRenewFlagResponseParams
- type SlowlogDetail
- type SpecInfo
- type SpecItemInfo
- type SwitchDBInstancePrimaryRequest
- type SwitchDBInstancePrimaryRequestParams
- type SwitchDBInstancePrimaryResponse
- type SwitchDBInstancePrimaryResponseParams
- type Tag
- type UnlockAccountRequest
- type UnlockAccountRequestParams
- type UnlockAccountResponse
- type UnlockAccountResponseParams
- type UpgradeDBInstanceKernelVersionRequest
- type UpgradeDBInstanceKernelVersionRequestParams
- type UpgradeDBInstanceKernelVersionResponse
- type UpgradeDBInstanceKernelVersionResponseParams
- type UpgradeDBInstanceMajorVersionRequest
- type UpgradeDBInstanceMajorVersionRequestParams
- type UpgradeDBInstanceMajorVersionResponse
- type UpgradeDBInstanceMajorVersionResponseParams
- type UpgradeDBInstanceRequest
- type UpgradeDBInstanceRequestParams
- type UpgradeDBInstanceResponse
- type UpgradeDBInstanceResponseParams
- type Version
- type Xlog
- type ZoneInfo
Constants ¶
const ( // 当前账号不存在。 ACCOUNTNOTEXIST = "AccountNotExist" // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 鉴权失败。 AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // 后台DB执行错误。 DBERROR = "DBError" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 申请资源标签的配额失败。 FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" // 访问基础网络服务失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" // 访问CMQ失败。 FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError" // CAM鉴权失败。 FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" // 获取权限失败,请稍后重试。如果持续不成功,请联系客服进行处理。。 FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" // CAM资源检查失败。 FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" // 鉴权失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" // 获取项目信息失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" // 不支持新增基础网络。 FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" // 创建续费订单失败。 FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" // 管控元数据库访问失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" // 数据操作失败,请联系客服进行处理。 FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" // VPC删除路由失败。 FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" // 资源解绑项目失败。 FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError" // 资源解绑标签失败。 FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError" // ES访问失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" // ES查询失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" // 操作失败,请稍后重试。 FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" // 创建流程失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" // 查询实例信息失败,请稍后重试。 FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError" // 获取购买记录失败。 FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" // 获取VPC子网失败。 FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" // 获取VPC信息失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" // 只读实例数目非法。 FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" // 当前账号状态不正确,不允许操作。 FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus" // 计费相关错误,不允许对当前实例进行对应的新购/续费/配置变更操作。 FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" // 实例被限制操作。 FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" // 查询主实例信息失败。 FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError" // 修改只读组配置失败。 FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError" // 不符合资源所拥有的网络数量要求。 FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" // 实例无可用备机 FAILEDOPERATION_NOAVAILABLESTANDBY = "FailedOperation.NoAvailableStandby" // 操作超过频率限制,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError" // 访问管控服务失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" // 请求后端接口失败。 FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" // 支付订单失败。 FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" // 按量计费实例账户解冻结失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError" // 操作预检查失败。 FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" // 获取预签名授权URL错误。 FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" // 查询订单信息失败。 FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed" // 批量获取实例信息失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError" // 查询价格失败。 FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" // 查询规格信息失败。 FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" // 查询规格信息失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" // 查询订单交易状态失败。 FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" // 查询VPC失败。 FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" // 获取VPC详情失败。 FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" // 只读组还有实例,该只读组不允许删除。 FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError" // 只读组主实例信息不匹配。 FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" // 只读组不存在。 FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" // 只读组数量已经达到上限值。 FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" // 只读实例已在其他只读组。 FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError" // Serverless实例不支持此操作。 FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError" // 访问内部服务失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" // 设置自动续费标记失败。 FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError" // 实例升配时,存储或内存需要高于原实例规格。 FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" // 存储路径格式不正确。 FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" // 访问计费平台失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" // 请求计费平台创建订单失败。 FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" // 请求支付订单失败。 FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" // 查询订单信息失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" // 获取价格信息失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" // 资源修改标签失败。 FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError" // VPC设置失败。 FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" // VPC更新路由失败。 FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" // 查询白名单失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" // 流程创建失败。 FLOWERROR = "FlowError" // 当前实例不存在。 INSTANCENOTEXIST = "InstanceNotExist" // ACTION输入错误。 INTERFACENAMENOTFOUND = "InterfaceNameNotFound" // 内部错误。 INTERNALERROR = "InternalError" // CGW相关错误。 INTERNALERROR_CGWERROR = "InternalError.CgwError" // 基础网络相关错误。 INTERNALERROR_CNSERROR = "InternalError.CnsError" // 后台DB执行错误。 INTERNALERROR_DBERROR = "InternalError.DBError" // DFW相关错误。 INTERNALERROR_DFWERROR = "InternalError.DfwError" // 流程创建失败。 INTERNALERROR_FLOWERROR = "InternalError.FlowError" // 管控系统元数据访问异常,请联系客服处理。 INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" // 请求执行异常。 INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" // Json数据解析失败,请联系客服进行处理。 INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" // 后台数据解析失败,请联系客服进行处理。 INTERNALERROR_MARSHALERROR = "InternalError.MarshalError" // 系统错误。出现这种错误时,请联系客服支持。 INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // 开启事务失败。 INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError" // 其他未知错误。出现这种错误时,请联系客服支持。 INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // VPC相关错误。 INTERNALERROR_VPCERROR = "InternalError.VpcError" // 账号密码不正确。 INVALIDACCOUNTPASSWORD = "InvalidAccountPassword" // 当前账号状态不正确,不允许操作。 INVALIDACCOUNTSTATUS = "InvalidAccountStatus" // 实例状态错误。 INVALIDINSTANCESTATUS = "InvalidInstanceStatus" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 实例名已存在。 INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist" // 参数检查失败。 INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" // 参数不可全部不设置 INVALIDPARAMETER_PARAMETERSNOTSET = "InvalidParameter.ParametersNotSet" // pid错误。 INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" // 未获取到VPC信息。 INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 当前账号已存在。 INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" // 当前账号不存在。 INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" // 账号不存在。 INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" // 当前实例所要扩容的规格目前不售卖。 INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" // 数据库字符集错误。 INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" // 数据格式转换失败,请联系客服处理。 INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" // 解密密码失败,请确认密码加密是否正确。 INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" // 不支持的计费类型。 INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType" // 计费模式错误。 INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" // 非法ProjectId。 INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" // 非法的Region参数。 INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" // 非法的Zone参数。 INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" // 当前账号已存在。 INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist" // 当前实例不存在。 INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" // ACTION输入错误。 INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" // 账号设置无效,请遵循账号命名规则:账号名需要1-16个字符,只能由字母、数字或下划线组成;不能为postgres;不能由数字和pg_开头;所有规则均不区分大小写。 INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" // 账号格式不正确。 INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" // 当前账号名称不允许是保留字符。 INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" // 账号设置无效,请遵循账号命名规则:账号名需要1-16个字符,只能由字母、数字或下划线组成;不能为postgres;不能由数字、pg_及tencentdb_开头;所有规则均不区分大小写。 INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" // 账号无效,请遵循账号命名规则:由字母(a-z, A-Z)、数字(0-9)、下划线(_)组成,以字母或(_)开头,最多63个字符。不能使用系统保留关键字,不能为postgres,且不能由pg_或tencentdb_开头。 INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" // 数据库字符集错误,当前只支持UTF8、LATIN1。 INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" // 数据库名称无效,请遵循命名规则:由字母(a-z, A-Z)、数字(0-9)、下划线(_)组成,以字母或(_)开头,最多63个字符。不能使用系统保留关键字。 INVALIDPARAMETERVALUE_INVALIDDATABASENAMEFORMATERROR = "InvalidParameterValue.InvalidDatabaseNameFormatError" // 当前仅支持操作名称为英文、下划线、数字及特殊符号[]组成的数据库对象,函数及存储过程额外支持三个特殊符号(,) INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" // 购买实例数超过限制。 INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" // 扩容后的实例规格不能小于当前实例规格。 INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" // 计费相关错误,订单类型ID无效。 INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" // 参数值有误。 INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" // 密码格式不正确。 INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" // 密码设置无效,长度不满足规则。 INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" // 密码设置无效,不能以“/”开头,必须包含大写字母、小写字母、符号()`~!@#$%^&*-+=_|{}[]:;'<>,.?/和数字。 INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" // PID参数输入错误。 INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" // 只读实例组状态错误。 INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" // 无效地域。 INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" // 无效的可用区。 INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" // 输入订单名为空。 INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames" // 参数无效,只允许英文字母、数字、下划线、中划线,以及全体汉字。 INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" // 参数不满足规则,请修改后重试。 INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" // 参数前缀设置不符合规则要求,请修改后重试。 INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError" // 参数处理失败,请检参数值设置是否有效。 INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" // 参数长度超过限制。 INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" // 参数超出可设置范围 INVALIDPARAMETERVALUE_PARAMETEROUTOFRANGE = "InvalidParameterValue.ParameterOutOfRange" // 存在无效的参数值。 INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" // 参数值超过上限。 INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" // 只读实例组不存在。 INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" // 不支持当前地域。 INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" // 规格信息{{1}}无法被识别。 INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" // 解析参数出错。 INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" // PID参数输入错误。 INVALIDPID = "InvalidPid" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 实例被限制操作。 LIMITOPERATION = "LimitOperation" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 当前操作被限制。 OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" // 目标实例状态检查不通过。 OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError" // 您没有权限操作当前资源。 OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" // 不支持ipv6。 OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError" // 实例状态限制当前操作。 OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" // 实例当前状态限制本次操作。 OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" // 实例状态限制当前操作。 OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" // 实例类型错误 OPERATIONDENIED_INSTANCETYPEDENIED = "OperationDenied.InstanceTypeDenied" // 内核版本过低,导致实例无法创建tencentDBSuper账号。如果您想使用此功能,请升级内核版本。 OPERATIONDENIED_KERNELVERSIONERROR = "OperationDenied.KernelVersionError" // Serverless不支持当前可用区。 OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError" // 不支持的付费类型。 OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError" // 按量付费实例不支持续费。 OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" // 只读组状态限制当前操作。 OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" // 只读实例不支持ipv6。 OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError" // 只读实例状态限制当前操作。 OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = "OperationDenied.ROInstanceStatusLimitOpError" // 只读节点总数不能超过上限值。 OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" // 用户未进行实名认证,请先进行实名认证才可购买。 OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" // Serverless不支持该版本。 OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" // 您没有权限操作该VPC网络。 OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" // 不支持当前地域。 REGIONNOTSUPPORTED = "RegionNotSupported" // 请求的次数超过了频率限制。 REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // 当前地域购买此规格的实例没有足够的资源。 RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" // 实例不存在。 RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" // 实例状态错误。 RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" // 没有该VPC网络权限。 RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" // 没有找到实例所属VPC信息。 RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" // 解析参数出错。 STRUCTPARSEFAILED = "StructParseFailed" // 系统错误。出现这种错误时,请联系客服支持。 SYSTEMERROR = "SystemError" // 用户未进行实名认证。 UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" // 其他未知错误。出现这种错误时,请联系客服支持。 UNKNOWNERROR = "UnknownError" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // VPC相关错误。 VPCERROR = "VpcError" )
const APIVersion = "2017-03-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct { // 实例ID,形如postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 账号 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 账号备注 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 账号状态。 1-创建中,2-正常,3-修改中,4-密码重置中,5-锁定中,-1-删除中 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 账号创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 账号最后一次更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 账号类型 UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` }
type AddDBInstanceToReadOnlyGroupRequest ¶
type AddDBInstanceToReadOnlyGroupRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
func NewAddDBInstanceToReadOnlyGroupRequest ¶
func NewAddDBInstanceToReadOnlyGroupRequest() (request *AddDBInstanceToReadOnlyGroupRequest)
func (*AddDBInstanceToReadOnlyGroupRequest) FromJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddDBInstanceToReadOnlyGroupRequest) ToJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupRequest) ToJsonString() string
type AddDBInstanceToReadOnlyGroupRequestParams ¶ added in v1.0.426
type AddDBInstanceToReadOnlyGroupRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
Predefined struct for user
type AddDBInstanceToReadOnlyGroupResponse ¶
type AddDBInstanceToReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *AddDBInstanceToReadOnlyGroupResponseParams `json:"Response"` }
func NewAddDBInstanceToReadOnlyGroupResponse ¶
func NewAddDBInstanceToReadOnlyGroupResponse() (response *AddDBInstanceToReadOnlyGroupResponse)
func (*AddDBInstanceToReadOnlyGroupResponse) FromJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddDBInstanceToReadOnlyGroupResponse) ToJsonString ¶
func (r *AddDBInstanceToReadOnlyGroupResponse) ToJsonString() string
type AddDBInstanceToReadOnlyGroupResponseParams ¶ added in v1.0.426
type AddDBInstanceToReadOnlyGroupResponseParams struct { // 流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AnalysisItems ¶ added in v1.0.233
type AnalysisItems struct { // 慢SQL查询的数据库名 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 慢SQL执行的用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 抽象参数之后的慢SQL NormalQuery *string `json:"NormalQuery,omitnil,omitempty" name:"NormalQuery"` // 慢SQL执行的客户端地址 ClientAddr *string `json:"ClientAddr,omitnil,omitempty" name:"ClientAddr"` // 在选定时间范围内慢SQL语句执行的次数 CallNum *uint64 `json:"CallNum,omitnil,omitempty" name:"CallNum"` // 在选定时间范围内,慢SQL语句执行的次数占所有慢SQL的比例(小数返回) CallPercent *float64 `json:"CallPercent,omitnil,omitempty" name:"CallPercent"` // 在选定时间范围内,慢SQL执行的总时间 CostTime *float64 `json:"CostTime,omitnil,omitempty" name:"CostTime"` // 在选定时间范围内,慢SQL语句执行的总时间占所有慢SQL的比例(小数返回) CostPercent *float64 `json:"CostPercent,omitnil,omitempty" name:"CostPercent"` // 在选定时间范围内,慢SQL语句执行的耗时最短的时间(单位:ms) MinCostTime *float64 `json:"MinCostTime,omitnil,omitempty" name:"MinCostTime"` // 在选定时间范围内,慢SQL语句执行的耗时最长的时间(单位:ms) MaxCostTime *float64 `json:"MaxCostTime,omitnil,omitempty" name:"MaxCostTime"` // 在选定时间范围内,慢SQL语句执行的耗时平均时间(单位:ms) AvgCostTime *float64 `json:"AvgCostTime,omitnil,omitempty" name:"AvgCostTime"` // 在选定时间范围内,慢SQL第一条开始执行的时间戳 FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // 在选定时间范围内,慢SQL最后一条开始执行的时间戳 LastTime *string `json:"LastTime,omitnil,omitempty" name:"LastTime"` }
type BackupDownloadRestriction ¶ added in v1.0.641
type BackupDownloadRestriction struct { // 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。 RestrictionType *string `json:"RestrictionType,omitnil,omitempty" name:"RestrictionType"` // vpc限制效力,ALLOW 允许;DENY 拒绝。 VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitnil,omitempty" name:"VpcRestrictionEffect"` // 允许或拒绝下载备份文件的vpcId列表。 VpcIdSet []*string `json:"VpcIdSet,omitnil,omitempty" name:"VpcIdSet"` // ip限制效力,ALLOW 允许;DENY 拒绝。 IpRestrictionEffect *string `json:"IpRestrictionEffect,omitnil,omitempty" name:"IpRestrictionEffect"` // 允许或拒绝下载备份文件的ip列表。 IpSet []*string `json:"IpSet,omitnil,omitempty" name:"IpSet"` }
type BackupPlan ¶ added in v1.0.329
type BackupPlan struct { // 备份周期 BackupPeriod *string `json:"BackupPeriod,omitnil,omitempty" name:"BackupPeriod"` // 数据备份保留时长 BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitnil,omitempty" name:"BaseBackupRetentionPeriod"` // 开始备份的最早时间 MinBackupStartTime *string `json:"MinBackupStartTime,omitnil,omitempty" name:"MinBackupStartTime"` // 开始备份的最晚时间 MaxBackupStartTime *string `json:"MaxBackupStartTime,omitnil,omitempty" name:"MaxBackupStartTime"` }
type BackupSummary ¶ added in v1.0.621
type BackupSummary struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例日志备份数量。 LogBackupCount *uint64 `json:"LogBackupCount,omitnil,omitempty" name:"LogBackupCount"` // 实例日志备份大小。 LogBackupSize *uint64 `json:"LogBackupSize,omitnil,omitempty" name:"LogBackupSize"` // 手动创建的实例数据备份数量。 ManualBaseBackupCount *uint64 `json:"ManualBaseBackupCount,omitnil,omitempty" name:"ManualBaseBackupCount"` // 手动创建的实例数据备份大小。 ManualBaseBackupSize *uint64 `json:"ManualBaseBackupSize,omitnil,omitempty" name:"ManualBaseBackupSize"` // 自动创建的实例数据备份数量。 AutoBaseBackupCount *uint64 `json:"AutoBaseBackupCount,omitnil,omitempty" name:"AutoBaseBackupCount"` // 自动创建的实例数据备份大小。 AutoBaseBackupSize *uint64 `json:"AutoBaseBackupSize,omitnil,omitempty" name:"AutoBaseBackupSize"` // 总备份数量 TotalBackupCount *uint64 `json:"TotalBackupCount,omitnil,omitempty" name:"TotalBackupCount"` // 总备份大小 TotalBackupSize *uint64 `json:"TotalBackupSize,omitnil,omitempty" name:"TotalBackupSize"` }
type BaseBackup ¶ added in v1.0.621
type BaseBackup struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 备份文件唯一标识。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 备份文件名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 备份方式:物理备份、逻辑备份。 BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"` // 备份模式:自动备份、手动备份。 BackupMode *string `json:"BackupMode,omitnil,omitempty" name:"BackupMode"` // 备份任务状态。 State *string `json:"State,omitnil,omitempty" name:"State"` // 备份集大小,单位bytes。 Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"` // 备份的开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 备份的结束时间。 FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"` // 备份的过期时间。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` }
type ClassInfo ¶ added in v1.0.621
type ClassInfo struct { // 规格ID SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // CPU核数 CPU *uint64 `json:"CPU,omitnil,omitempty" name:"CPU"` // 内存大小,单位:MB Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 该规格所支持最大存储容量,单位:GB MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"` // 该规格所支持最小存储容量,单位:GB MinStorage *uint64 `json:"MinStorage,omitnil,omitempty" name:"MinStorage"` // 该规格的预估QPS QPS *uint64 `json:"QPS,omitnil,omitempty" name:"QPS"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddDBInstanceToReadOnlyGroup ¶
func (c *Client) AddDBInstanceToReadOnlyGroup(request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
AddDBInstanceToReadOnlyGroup 本接口(AddDBInstanceToReadOnlyGroup)用于添加只读实例到只读组
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = "OperationDenied.ROInstanceStatusLimitOpError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) AddDBInstanceToReadOnlyGroupWithContext ¶ added in v1.0.324
func (c *Client) AddDBInstanceToReadOnlyGroupWithContext(ctx context.Context, request *AddDBInstanceToReadOnlyGroupRequest) (response *AddDBInstanceToReadOnlyGroupResponse, err error)
AddDBInstanceToReadOnlyGroup 本接口(AddDBInstanceToReadOnlyGroup)用于添加只读实例到只读组
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROINSTANCEHASINROGROUPERROR = "FailedOperation.ROInstanceHasInROGroupError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = "OperationDenied.ROInstanceStatusLimitOpError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) CloneDBInstance ¶ added in v1.0.329
func (c *Client) CloneDBInstance(request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
CloneDBInstance 用于克隆实例,支持指定备份集、指定时间点进行克隆。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
func (*Client) CloneDBInstanceWithContext ¶ added in v1.0.329
func (c *Client) CloneDBInstanceWithContext(ctx context.Context, request *CloneDBInstanceRequest) (response *CloneDBInstanceResponse, err error)
CloneDBInstance 用于克隆实例,支持指定备份集、指定时间点进行克隆。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
func (*Client) CloseDBExtranetAccess ¶
func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
CloseDBExtranetAccess 本接口(CloseDBExtranetAccess)用于关闭实例公网地址。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) CloseDBExtranetAccessWithContext ¶ added in v1.0.324
func (c *Client) CloseDBExtranetAccessWithContext(ctx context.Context, request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
CloseDBExtranetAccess 本接口(CloseDBExtranetAccess)用于关闭实例公网地址。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) CloseServerlessDBExtranetAccess ¶
func (c *Client) CloseServerlessDBExtranetAccess(request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
CloseServerlessDBExtranetAccess 本接口(CloseServerlessDBExtranetAccess)用于关闭serverlessDB实例公网地址
可能返回的错误码:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) CloseServerlessDBExtranetAccessWithContext ¶ added in v1.0.324
func (c *Client) CloseServerlessDBExtranetAccessWithContext(ctx context.Context, request *CloseServerlessDBExtranetAccessRequest) (response *CloseServerlessDBExtranetAccessResponse, err error)
CloseServerlessDBExtranetAccess 本接口(CloseServerlessDBExtranetAccess)用于关闭serverlessDB实例公网地址
可能返回的错误码:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) CreateAccount ¶ added in v1.0.969
func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount 此接口用于创建数据账号,返回的Oid为账号唯一标识。与数据库系统表pg_roles中记录的oid一致。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASENAMEFORMATERROR = "InvalidParameterValue.InvalidDatabaseNameFormatError" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_KERNELVERSIONERROR = "OperationDenied.KernelVersionError"
func (*Client) CreateAccountWithContext ¶ added in v1.0.969
func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount 此接口用于创建数据账号,返回的Oid为账号唯一标识。与数据库系统表pg_roles中记录的oid一致。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASENAMEFORMATERROR = "InvalidParameterValue.InvalidDatabaseNameFormatError" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_KERNELVERSIONERROR = "OperationDenied.KernelVersionError"
func (*Client) CreateBaseBackup ¶ added in v1.0.621
func (c *Client) CreateBaseBackup(request *CreateBaseBackupRequest) (response *CreateBaseBackupResponse, err error)
CreateBaseBackup 本接口(CreateBaseBackup)用于创建实例的数据备份。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) CreateBaseBackupWithContext ¶ added in v1.0.621
func (c *Client) CreateBaseBackupWithContext(ctx context.Context, request *CreateBaseBackupRequest) (response *CreateBaseBackupResponse, err error)
CreateBaseBackup 本接口(CreateBaseBackup)用于创建实例的数据备份。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) CreateDBInstanceNetworkAccess ¶ added in v1.0.359
func (c *Client) CreateDBInstanceNetworkAccess(request *CreateDBInstanceNetworkAccessRequest) (response *CreateDBInstanceNetworkAccessResponse, err error)
CreateDBInstanceNetworkAccess 本接口(CreateDBInstanceNetworkAccess)用于创建实例网络。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError" FLOWERROR = "FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_MARSHALERROR = "InternalError.MarshalError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) CreateDBInstanceNetworkAccessWithContext ¶ added in v1.0.359
func (c *Client) CreateDBInstanceNetworkAccessWithContext(ctx context.Context, request *CreateDBInstanceNetworkAccessRequest) (response *CreateDBInstanceNetworkAccessResponse, err error)
CreateDBInstanceNetworkAccess 本接口(CreateDBInstanceNetworkAccess)用于创建实例网络。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError" FLOWERROR = "FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_MARSHALERROR = "InternalError.MarshalError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) CreateDBInstances ¶
func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
CreateDBInstances 本接口(CreateDBInstances)用于创建一个或者多个PostgreSQL实例,仅发货实例不会进行初始化。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)
CreateDBInstances 本接口(CreateDBInstances)用于创建一个或者多个PostgreSQL实例,仅发货实例不会进行初始化。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateDatabase ¶ added in v1.0.1009
func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase 此接口用于创建数据库,需指定数据库名及所有者。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) CreateDatabaseWithContext ¶ added in v1.0.1009
func (c *Client) CreateDatabaseWithContext(ctx context.Context, request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase 此接口用于创建数据库,需指定数据库名及所有者。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) CreateInstances ¶
func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances 本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
<li>实例创建成功后将自动开机启动,实例状态变为“运行中”。</li>
<li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。</li>
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateInstancesWithContext ¶ added in v1.0.324
func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances 本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
<li>实例创建成功后将自动开机启动,实例状态变为“运行中”。</li>
<li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。</li>
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateParameterTemplate ¶ added in v1.0.560
func (c *Client) CreateParameterTemplate(request *CreateParameterTemplateRequest) (response *CreateParameterTemplateResponse, err error)
CreateParameterTemplate 本接口 (CreateParameterTemplate) 用于创建参数模板。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) CreateParameterTemplateWithContext ¶ added in v1.0.560
func (c *Client) CreateParameterTemplateWithContext(ctx context.Context, request *CreateParameterTemplateRequest) (response *CreateParameterTemplateResponse, err error)
CreateParameterTemplate 本接口 (CreateParameterTemplate) 用于创建参数模板。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) CreateReadOnlyDBInstance ¶
func (c *Client) CreateReadOnlyDBInstance(request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
CreateReadOnlyDBInstance 本接口(CreateReadOnlyDBInstance)用于创建只读实例
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) CreateReadOnlyDBInstanceWithContext(ctx context.Context, request *CreateReadOnlyDBInstanceRequest) (response *CreateReadOnlyDBInstanceResponse, err error)
CreateReadOnlyDBInstance 本接口(CreateReadOnlyDBInstance)用于创建只读实例
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_CGWERROR = "InternalError.CgwError" INTERNALERROR_CNSERROR = "InternalError.CnsError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = "InvalidParameterValue.InvalidAccountName" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDINSTANCENUM = "InvalidParameterValue.InvalidInstanceNum" INVALIDPARAMETERVALUE_INVALIDORDERNUM = "InvalidParameterValue.InvalidOrderNum" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPID = "InvalidParameterValue.InvalidPid" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = "OperationDenied.UserNotAuthenticatedError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCEINSUFFICIENT_RESOURCENOTENOUGH = "ResourceInsufficient.ResourceNotEnough" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyGroup ¶
func (c *Client) CreateReadOnlyGroup(request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
CreateReadOnlyGroup 本接口(CreateReadOnlyGroup)用于创建只读组
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" STRUCTPARSEFAILED = "StructParseFailed" UNKNOWNERROR = "UnknownError"
func (*Client) CreateReadOnlyGroupNetworkAccess ¶ added in v1.0.359
func (c *Client) CreateReadOnlyGroupNetworkAccess(request *CreateReadOnlyGroupNetworkAccessRequest) (response *CreateReadOnlyGroupNetworkAccessResponse, err error)
CreateReadOnlyGroupNetworkAccess 本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO组的网络。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FLOWERROR = "FlowError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_MARSHALERROR = "InternalError.MarshalError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
func (*Client) CreateReadOnlyGroupNetworkAccessWithContext ¶ added in v1.0.359
func (c *Client) CreateReadOnlyGroupNetworkAccessWithContext(ctx context.Context, request *CreateReadOnlyGroupNetworkAccessRequest) (response *CreateReadOnlyGroupNetworkAccessResponse, err error)
CreateReadOnlyGroupNetworkAccess 本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO组的网络。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETSUBNETERROR = "FailedOperation.GetSubnetError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FLOWERROR = "FlowError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_MARSHALERROR = "InternalError.MarshalError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
func (*Client) CreateReadOnlyGroupWithContext ¶ added in v1.0.324
func (c *Client) CreateReadOnlyGroupWithContext(ctx context.Context, request *CreateReadOnlyGroupRequest) (response *CreateReadOnlyGroupResponse, err error)
CreateReadOnlyGroup 本接口(CreateReadOnlyGroup)用于创建只读组
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_MASTERINSTANCEQUERYERROR = "FailedOperation.MasterInstanceQueryError" FAILEDOPERATION_ROGROUPNUMEXCEEDERROR = "FailedOperation.ROGroupNumExceedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" STRUCTPARSEFAILED = "StructParseFailed" UNKNOWNERROR = "UnknownError"
func (*Client) CreateServerlessDBInstance ¶
func (c *Client) CreateServerlessDBInstance(request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
CreateServerlessDBInstance 本接口 (CreateServerlessDBInstance) 用于创建一个ServerlessDB实例,创建成功返回实例ID。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FLOWERROR = "FlowError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError" OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
func (*Client) CreateServerlessDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) CreateServerlessDBInstanceWithContext(ctx context.Context, request *CreateServerlessDBInstanceRequest) (response *CreateServerlessDBInstanceResponse, err error)
CreateServerlessDBInstance 本接口 (CreateServerlessDBInstance) 用于创建一个ServerlessDB实例,创建成功返回实例ID。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_ALLOCATEQUOTASERROR = "FailedOperation.AllocateQuotasError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEBASICNETWORKDENIEDERROR = "FailedOperation.CreateBasicNetworkDeniedError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FLOWERROR = "FlowError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENAMEEXIST = "InvalidParameter.InstanceNameExist" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENAMEEXIST = "InvalidParameterValue.InstanceNameExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_NOTSUPPORTZONEERROR = "OperationDenied.NotSupportZoneError" OPERATIONDENIED_VERSIONNOTSUPPORTERROR = "OperationDenied.VersionNotSupportError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" UNAUTHORIZEDOPERATION_USERHASNOREALNAMEAUTHENTICATION = "UnauthorizedOperation.UserHasNoRealnameAuthentication"
func (*Client) DeleteAccount ¶ added in v1.0.969
func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
DeleteAccount 此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteAccountWithContext ¶ added in v1.0.969
func (c *Client) DeleteAccountWithContext(ctx context.Context, request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
DeleteAccount 此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteBaseBackup ¶ added in v1.0.621
func (c *Client) DeleteBaseBackup(request *DeleteBaseBackupRequest) (response *DeleteBaseBackupResponse, err error)
DeleteBaseBackup 本接口(DeleteBaseBackup)用于删除实例指定数据备份。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteBaseBackupWithContext ¶ added in v1.0.621
func (c *Client) DeleteBaseBackupWithContext(ctx context.Context, request *DeleteBaseBackupRequest) (response *DeleteBaseBackupResponse, err error)
DeleteBaseBackup 本接口(DeleteBaseBackup)用于删除实例指定数据备份。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteDBInstanceNetworkAccess ¶ added in v1.0.359
func (c *Client) DeleteDBInstanceNetworkAccess(request *DeleteDBInstanceNetworkAccessRequest) (response *DeleteDBInstanceNetworkAccessResponse, err error)
DeleteDBInstanceNetworkAccess 可对实例进行网络的删除操作。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteDBInstanceNetworkAccessWithContext ¶ added in v1.0.359
func (c *Client) DeleteDBInstanceNetworkAccessWithContext(ctx context.Context, request *DeleteDBInstanceNetworkAccessRequest) (response *DeleteDBInstanceNetworkAccessResponse, err error)
DeleteDBInstanceNetworkAccess 可对实例进行网络的删除操作。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_SERVERLESSNOTSUPPORTEDERROR = "FailedOperation.ServerlessNotSupportedError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROINSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.ROInstanceIpv6NotSupportedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteLogBackup ¶ added in v1.0.621
func (c *Client) DeleteLogBackup(request *DeleteLogBackupRequest) (response *DeleteLogBackupResponse, err error)
DeleteLogBackup 本接口(DeleteLogBackup)用于删除实例指定日志备份。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteLogBackupWithContext ¶ added in v1.0.621
func (c *Client) DeleteLogBackupWithContext(ctx context.Context, request *DeleteLogBackupRequest) (response *DeleteLogBackupResponse, err error)
DeleteLogBackup 本接口(DeleteLogBackup)用于删除实例指定日志备份。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DeleteParameterTemplate ¶ added in v1.0.560
func (c *Client) DeleteParameterTemplate(request *DeleteParameterTemplateRequest) (response *DeleteParameterTemplateResponse, err error)
DeleteParameterTemplate 本接口(DeleteParameterTemplate)主要用于删除某个参数模板。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
func (*Client) DeleteParameterTemplateWithContext ¶ added in v1.0.560
func (c *Client) DeleteParameterTemplateWithContext(ctx context.Context, request *DeleteParameterTemplateRequest) (response *DeleteParameterTemplateResponse, err error)
DeleteParameterTemplate 本接口(DeleteParameterTemplate)主要用于删除某个参数模板。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
func (*Client) DeleteReadOnlyGroup ¶
func (c *Client) DeleteReadOnlyGroup(request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
DeleteReadOnlyGroup 本接口(DeleteReadOnlyGroup)用于删除指定的只读组
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" SYSTEMERROR = "SystemError"
func (*Client) DeleteReadOnlyGroupNetworkAccess ¶ added in v1.0.359
func (c *Client) DeleteReadOnlyGroupNetworkAccess(request *DeleteReadOnlyGroupNetworkAccessRequest) (response *DeleteReadOnlyGroupNetworkAccessResponse, err error)
DeleteReadOnlyGroupNetworkAccess 可对RO组进行网络的删除操作。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
func (*Client) DeleteReadOnlyGroupNetworkAccessWithContext ¶ added in v1.0.359
func (c *Client) DeleteReadOnlyGroupNetworkAccessWithContext(ctx context.Context, request *DeleteReadOnlyGroupNetworkAccessRequest) (response *DeleteReadOnlyGroupNetworkAccessResponse, err error)
DeleteReadOnlyGroupNetworkAccess 可对RO组进行网络的删除操作。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_NETWORKNUMLIMITERROR = "FailedOperation.NetworkNumLimitError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError"
func (*Client) DeleteReadOnlyGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteReadOnlyGroupWithContext(ctx context.Context, request *DeleteReadOnlyGroupRequest) (response *DeleteReadOnlyGroupResponse, err error)
DeleteReadOnlyGroup 本接口(DeleteReadOnlyGroup)用于删除指定的只读组
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ROGROUPCANNOTBEDELETEDERROR = "FailedOperation.ROGroupCannotBeDeletedError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" SYSTEMERROR = "SystemError"
func (*Client) DeleteServerlessDBInstance ¶
func (c *Client) DeleteServerlessDBInstance(request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
DeleteServerlessDBInstance 本接口 (DeleteServerlessDBInstance) 用于删除一个ServerlessDB实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DeleteServerlessDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) DeleteServerlessDBInstanceWithContext(ctx context.Context, request *DeleteServerlessDBInstanceRequest) (response *DeleteServerlessDBInstanceResponse, err error)
DeleteServerlessDBInstance 本接口 (DeleteServerlessDBInstance) 用于删除一个ServerlessDB实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeAccountPrivileges ¶ added in v1.0.969
func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
DescribeAccountPrivileges 查询数据库账号对某数据库对象拥有的权限列表。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAccountPrivilegesWithContext ¶ added in v1.0.969
func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
DescribeAccountPrivileges 查询数据库账号对某数据库对象拥有的权限列表。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts 本接口(DescribeAccounts)用于查询实例的数据库账号列表。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAccountsWithContext ¶ added in v1.0.324
func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts 本接口(DescribeAccounts)用于查询实例的数据库账号列表。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAvailableRecoveryTime ¶ added in v1.0.329
func (c *Client) DescribeAvailableRecoveryTime(request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
DescribeAvailableRecoveryTime 本接口(DescribeAvailableRecoveryTime)用于查询实例可恢复的时间范围。
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeAvailableRecoveryTimeWithContext ¶ added in v1.0.329
func (c *Client) DescribeAvailableRecoveryTimeWithContext(ctx context.Context, request *DescribeAvailableRecoveryTimeRequest) (response *DescribeAvailableRecoveryTimeResponse, err error)
DescribeAvailableRecoveryTime 本接口(DescribeAvailableRecoveryTime)用于查询实例可恢复的时间范围。
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupDownloadRestriction ¶ added in v1.0.645
func (c *Client) DescribeBackupDownloadRestriction(request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
DescribeBackupDownloadRestriction 本接口(DescribeBackupDownloadRestriction)用于查询备份文件下载限制。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeBackupDownloadRestrictionWithContext ¶ added in v1.0.645
func (c *Client) DescribeBackupDownloadRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
DescribeBackupDownloadRestriction 本接口(DescribeBackupDownloadRestriction)用于查询备份文件下载限制。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeBackupDownloadURL ¶ added in v1.0.621
func (c *Client) DescribeBackupDownloadURL(request *DescribeBackupDownloadURLRequest) (response *DescribeBackupDownloadURLResponse, err error)
DescribeBackupDownloadURL 本接口 (DescribeBackupDownloadURL) 用于查询指定备份集的下载地址,可包括全量备份集、增量日志备份集。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupDownloadURLWithContext ¶ added in v1.0.621
func (c *Client) DescribeBackupDownloadURLWithContext(ctx context.Context, request *DescribeBackupDownloadURLRequest) (response *DescribeBackupDownloadURLResponse, err error)
DescribeBackupDownloadURL 本接口 (DescribeBackupDownloadURL) 用于查询指定备份集的下载地址,可包括全量备份集、增量日志备份集。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupOverview ¶ added in v1.0.621
func (c *Client) DescribeBackupOverview(request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
DescribeBackupOverview 本接口(DescribeBackupOverview)用于查询用户的备份概览信息。返回用户当前备份个数、备份占用容量、免费容量、收费容量等信息(容量单位为字节)。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeBackupOverviewWithContext ¶ added in v1.0.621
func (c *Client) DescribeBackupOverviewWithContext(ctx context.Context, request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
DescribeBackupOverview 本接口(DescribeBackupOverview)用于查询用户的备份概览信息。返回用户当前备份个数、备份占用容量、免费容量、收费容量等信息(容量单位为字节)。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeBackupPlans ¶ added in v1.0.329
func (c *Client) DescribeBackupPlans(request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
DescribeBackupPlans 本接口 (DescribeBackupPlans) 用于实例所有的备份计划查询
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupPlansWithContext ¶ added in v1.0.329
func (c *Client) DescribeBackupPlansWithContext(ctx context.Context, request *DescribeBackupPlansRequest) (response *DescribeBackupPlansResponse, err error)
DescribeBackupPlans 本接口 (DescribeBackupPlans) 用于实例所有的备份计划查询
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupSummaries ¶ added in v1.0.621
func (c *Client) DescribeBackupSummaries(request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
DescribeBackupSummaries 本接口(DescribeBackupSummaries)用于查询实例备份的统计信息,返回以实例为维度的备份个数、占用容量等信息(容量单位为字节)。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBackupSummariesWithContext ¶ added in v1.0.621
func (c *Client) DescribeBackupSummariesWithContext(ctx context.Context, request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
DescribeBackupSummaries 本接口(DescribeBackupSummaries)用于查询实例备份的统计信息,返回以实例为维度的备份个数、占用容量等信息(容量单位为字节)。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeBaseBackups ¶ added in v1.0.621
func (c *Client) DescribeBaseBackups(request *DescribeBaseBackupsRequest) (response *DescribeBaseBackupsResponse, err error)
DescribeBaseBackups 本接口(DescribeBaseBackups)用于查询数据备份列表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeBaseBackupsWithContext ¶ added in v1.0.621
func (c *Client) DescribeBaseBackupsWithContext(ctx context.Context, request *DescribeBaseBackupsRequest) (response *DescribeBaseBackupsResponse, err error)
DescribeBaseBackups 本接口(DescribeBaseBackups)用于查询数据备份列表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeClasses ¶ added in v1.0.621
func (c *Client) DescribeClasses(request *DescribeClassesRequest) (response *DescribeClassesResponse, err error)
DescribeClasses 本接口(DescribeClasses)用于查询实例售卖规格。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeClassesWithContext ¶ added in v1.0.621
func (c *Client) DescribeClassesWithContext(ctx context.Context, request *DescribeClassesRequest) (response *DescribeClassesResponse, err error)
DescribeClasses 本接口(DescribeClasses)用于查询实例售卖规格。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeCloneDBInstanceSpec ¶ added in v1.0.329
func (c *Client) DescribeCloneDBInstanceSpec(request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
DescribeCloneDBInstanceSpec 本接口(DescribeCloneDBInstanceSpec)用于查询克隆实例可选择的最小规格,包括SpecCode和磁盘。
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeCloneDBInstanceSpecWithContext ¶ added in v1.0.329
func (c *Client) DescribeCloneDBInstanceSpecWithContext(ctx context.Context, request *DescribeCloneDBInstanceSpecRequest) (response *DescribeCloneDBInstanceSpecResponse, err error)
DescribeCloneDBInstanceSpec 本接口(DescribeCloneDBInstanceSpec)用于查询克隆实例可选择的最小规格,包括SpecCode和磁盘。
可能返回的错误码:
FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBBackups ¶
func (c *Client) DescribeDBBackups(request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
DescribeDBBackups 本接口(DescribeDBBackups)用于查询实例备份列表。本接口已废弃,推荐使用接口[DescribeBaseBackups](https://cloud.tencent.com/document/api/409/89022)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBBackupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBBackupsWithContext(ctx context.Context, request *DescribeDBBackupsRequest) (response *DescribeDBBackupsResponse, err error)
DescribeDBBackups 本接口(DescribeDBBackups)用于查询实例备份列表。本接口已废弃,推荐使用接口[DescribeBaseBackups](https://cloud.tencent.com/document/api/409/89022)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBErrlogs ¶
func (c *Client) DescribeDBErrlogs(request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
DescribeDBErrlogs 本接口(DescribeDBErrlogs)用于查询错误日志。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBErrlogsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBErrlogsWithContext(ctx context.Context, request *DescribeDBErrlogsRequest) (response *DescribeDBErrlogsResponse, err error)
DescribeDBErrlogs 本接口(DescribeDBErrlogs)用于查询错误日志。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceAttribute ¶
func (c *Client) DescribeDBInstanceAttribute(request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
DescribeDBInstanceAttribute 本接口 (DescribeDBInstanceAttribute) 用于查询某个实例的详情信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceAttributeWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBInstanceAttributeWithContext(ctx context.Context, request *DescribeDBInstanceAttributeRequest) (response *DescribeDBInstanceAttributeResponse, err error)
DescribeDBInstanceAttribute 本接口 (DescribeDBInstanceAttribute) 用于查询某个实例的详情信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYINSTANCEBATCHERROR = "FailedOperation.QueryInstanceBatchError" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceHAConfig ¶ added in v1.0.715
func (c *Client) DescribeDBInstanceHAConfig(request *DescribeDBInstanceHAConfigRequest) (response *DescribeDBInstanceHAConfigResponse, err error)
DescribeDBInstanceHAConfig 本接口(DescribeDBInstanceHAConfig)用于查询实例HA配置信息。其中HA配置信息包括:
<li>允许备节点切换为主节点的条件配置
<li>半同步实例使用同步复制或异步复制的条件配置
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceHAConfigWithContext ¶ added in v1.0.715
func (c *Client) DescribeDBInstanceHAConfigWithContext(ctx context.Context, request *DescribeDBInstanceHAConfigRequest) (response *DescribeDBInstanceHAConfigResponse, err error)
DescribeDBInstanceHAConfig 本接口(DescribeDBInstanceHAConfig)用于查询实例HA配置信息。其中HA配置信息包括:
<li>允许备节点切换为主节点的条件配置
<li>半同步实例使用同步复制或异步复制的条件配置
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceParameters ¶ added in v1.0.276
func (c *Client) DescribeDBInstanceParameters(request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
DescribeDBInstanceParameters 本接口(DescribeDBInstanceAttribute)用于查询实例的参数信息。
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBInstanceParametersWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBInstanceParametersWithContext(ctx context.Context, request *DescribeDBInstanceParametersRequest) (response *DescribeDBInstanceParametersResponse, err error)
DescribeDBInstanceParameters 本接口(DescribeDBInstanceAttribute)用于查询实例的参数信息。
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBInstanceSecurityGroups ¶ added in v1.0.560
func (c *Client) DescribeDBInstanceSecurityGroups(request *DescribeDBInstanceSecurityGroupsRequest) (response *DescribeDBInstanceSecurityGroupsResponse, err error)
DescribeDBInstanceSecurityGroups 本接口(DescribeDBInstanceSecurityGroups)用于查询实例安全组。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstanceSecurityGroupsWithContext ¶ added in v1.0.560
func (c *Client) DescribeDBInstanceSecurityGroupsWithContext(ctx context.Context, request *DescribeDBInstanceSecurityGroupsRequest) (response *DescribeDBInstanceSecurityGroupsResponse, err error)
DescribeDBInstanceSecurityGroups 本接口(DescribeDBInstanceSecurityGroups)用于查询实例安全组。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances 本接口 (DescribeDBInstances) 用于查询一个或多个实例的详细信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances 本接口 (DescribeDBInstances) 用于查询一个或多个实例的详细信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_TRANSACTIOBEGINERROR = "InternalError.TransactioBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBSlowlogs ¶
func (c *Client) DescribeDBSlowlogs(request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
DescribeDBSlowlogs 本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBSlowlogsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBSlowlogsWithContext(ctx context.Context, request *DescribeDBSlowlogsRequest) (response *DescribeDBSlowlogsResponse, err error)
DescribeDBSlowlogs 本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_ESCONNECTERROR = "FailedOperation.ESConnectError" FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDBVersions ¶ added in v1.0.621
func (c *Client) DescribeDBVersions(request *DescribeDBVersionsRequest) (response *DescribeDBVersionsResponse, err error)
DescribeDBVersions 本接口(DescribeDBVersions)用于查询支持的数据库版本。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeDBVersionsWithContext ¶ added in v1.0.621
func (c *Client) DescribeDBVersionsWithContext(ctx context.Context, request *DescribeDBVersionsRequest) (response *DescribeDBVersionsResponse, err error)
DescribeDBVersions 本接口(DescribeDBVersions)用于查询支持的数据库版本。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeDBXlogs ¶
func (c *Client) DescribeDBXlogs(request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
DescribeDBXlogs 本接口(DescribeDBXlogs)用于获取实例Xlog列表。本接口已废弃,推荐使用接口[DescribeLogBackups](https://cloud.tencent.com/document/api/409/89021)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDBXlogsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDBXlogsWithContext(ctx context.Context, request *DescribeDBXlogsRequest) (response *DescribeDBXlogsResponse, err error)
DescribeDBXlogs 本接口(DescribeDBXlogs)用于获取实例Xlog列表。本接口已废弃,推荐使用接口[DescribeLogBackups](https://cloud.tencent.com/document/api/409/89021)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRESIGNEDURLGETERROR = "FailedOperation.PresignedURLGetError" FAILEDOPERATION_STOREPATHSPLITERROR = "FailedOperation.StorePathSplitError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) DescribeDatabaseObjects ¶ added in v1.0.969
func (c *Client) DescribeDatabaseObjects(request *DescribeDatabaseObjectsRequest) (response *DescribeDatabaseObjectsResponse, err error)
DescribeDatabaseObjects 本接口用于查询数据库对象列表。例如查询test数据库下的模式列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDatabaseObjectsWithContext ¶ added in v1.0.969
func (c *Client) DescribeDatabaseObjectsWithContext(ctx context.Context, request *DescribeDatabaseObjectsRequest) (response *DescribeDatabaseObjectsResponse, err error)
DescribeDatabaseObjects 本接口用于查询数据库对象列表。例如查询test数据库下的模式列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeDatabases ¶
func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases 接口(DescribeDatabases)用来查询实例的数据库列表。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeDatabasesWithContext ¶ added in v1.0.324
func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases 接口(DescribeDatabases)用来查询实例的数据库列表。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) DescribeDedicatedClusters ¶ added in v1.0.1010
func (c *Client) DescribeDedicatedClusters(request *DescribeDedicatedClustersRequest) (response *DescribeDedicatedClustersResponse, err error)
DescribeDedicatedClusters 查询专属集群
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDedicatedClustersWithContext ¶ added in v1.0.1010
func (c *Client) DescribeDedicatedClustersWithContext(ctx context.Context, request *DescribeDedicatedClustersRequest) (response *DescribeDedicatedClustersResponse, err error)
DescribeDedicatedClusters 查询专属集群
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" INTERNALERROR_JSONPARSEERROR = "InternalError.JsonParseError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDefaultParameters ¶ added in v1.0.560
func (c *Client) DescribeDefaultParameters(request *DescribeDefaultParametersRequest) (response *DescribeDefaultParametersResponse, err error)
DescribeDefaultParameters 本接口(DescribeDefaultParameters)主要用于查询某个数据库版本和引擎支持的所有参数。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDefaultParametersWithContext ¶ added in v1.0.560
func (c *Client) DescribeDefaultParametersWithContext(ctx context.Context, request *DescribeDefaultParametersRequest) (response *DescribeDefaultParametersResponse, err error)
DescribeDefaultParameters 本接口(DescribeDefaultParameters)主要用于查询某个数据库版本和引擎支持的所有参数。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeEncryptionKeys ¶ added in v1.0.390
func (c *Client) DescribeEncryptionKeys(request *DescribeEncryptionKeysRequest) (response *DescribeEncryptionKeysResponse, err error)
DescribeEncryptionKeys 本接口 (DescribeEncryptionKeys) 用于查询实例的密钥信息列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeEncryptionKeysWithContext ¶ added in v1.0.390
func (c *Client) DescribeEncryptionKeysWithContext(ctx context.Context, request *DescribeEncryptionKeysRequest) (response *DescribeEncryptionKeysResponse, err error)
DescribeEncryptionKeys 本接口 (DescribeEncryptionKeys) 用于查询实例的密钥信息列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeLogBackups ¶ added in v1.0.621
func (c *Client) DescribeLogBackups(request *DescribeLogBackupsRequest) (response *DescribeLogBackupsResponse, err error)
DescribeLogBackups 本接口(DescribeLogBackups)用于查询日志备份列表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeLogBackupsWithContext ¶ added in v1.0.621
func (c *Client) DescribeLogBackupsWithContext(ctx context.Context, request *DescribeLogBackupsRequest) (response *DescribeLogBackupsResponse, err error)
DescribeLogBackups 本接口(DescribeLogBackups)用于查询日志备份列表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeMaintainTimeWindow ¶ added in v1.0.1078
func (c *Client) DescribeMaintainTimeWindow(request *DescribeMaintainTimeWindowRequest) (response *DescribeMaintainTimeWindowResponse, err error)
DescribeMaintainTimeWindow 本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeMaintainTimeWindowWithContext ¶ added in v1.0.1078
func (c *Client) DescribeMaintainTimeWindowWithContext(ctx context.Context, request *DescribeMaintainTimeWindowRequest) (response *DescribeMaintainTimeWindowResponse, err error)
DescribeMaintainTimeWindow 本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeOrders ¶
func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
DescribeOrders 本接口(DescribeOrders)用于查询订单信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeOrdersWithContext ¶ added in v1.0.324
func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
DescribeOrders 本接口(DescribeOrders)用于查询订单信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYDEALFAILED = "FailedOperation.QueryDealFailed" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_NULLDEALNAMES = "InvalidParameterValue.NullDealNames" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeParameterTemplateAttributes ¶ added in v1.0.560
func (c *Client) DescribeParameterTemplateAttributes(request *DescribeParameterTemplateAttributesRequest) (response *DescribeParameterTemplateAttributesResponse, err error)
DescribeParameterTemplateAttributes 本接口(DescribeParameterTemplateAttributes)用于查询某个参数模板的具体内容,包括基本信息和参数信息。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
func (*Client) DescribeParameterTemplateAttributesWithContext ¶ added in v1.0.560
func (c *Client) DescribeParameterTemplateAttributesWithContext(ctx context.Context, request *DescribeParameterTemplateAttributesRequest) (response *DescribeParameterTemplateAttributesResponse, err error)
DescribeParameterTemplateAttributes 本接口(DescribeParameterTemplateAttributes)用于查询某个参数模板的具体内容,包括基本信息和参数信息。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError"
func (*Client) DescribeParameterTemplates ¶ added in v1.0.560
func (c *Client) DescribeParameterTemplates(request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error)
DescribeParameterTemplates 本接口 (DescribeParameterTemplates) 用于查询参数模板列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeParameterTemplatesWithContext ¶ added in v1.0.560
func (c *Client) DescribeParameterTemplatesWithContext(ctx context.Context, request *DescribeParameterTemplatesRequest) (response *DescribeParameterTemplatesResponse, err error)
DescribeParameterTemplates 本接口 (DescribeParameterTemplates) 用于查询参数模板列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) DescribeParamsEvent ¶ added in v1.0.276
func (c *Client) DescribeParamsEvent(request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
DescribeParamsEvent 本接口(DescribeParamsEvent)用于查询参数修改事件。
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeParamsEventWithContext ¶ added in v1.0.324
func (c *Client) DescribeParamsEventWithContext(ctx context.Context, request *DescribeParamsEventRequest) (response *DescribeParamsEventResponse, err error)
DescribeParamsEvent 本接口(DescribeParamsEvent)用于查询参数修改事件。
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeProductConfig ¶
func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
DescribeProductConfig 本接口(DescribeProductConfig)用于查询售卖规格配置。本接口已废弃,推荐使用新接口[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeProductConfigWithContext ¶ added in v1.0.324
func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)
DescribeProductConfig 本接口(DescribeProductConfig)用于查询售卖规格配置。本接口已废弃,推荐使用新接口[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeReadOnlyGroups ¶
func (c *Client) DescribeReadOnlyGroups(request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
DescribeReadOnlyGroups 本接口(DescribeReadOnlyGroups)用于查询只读组列表
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeReadOnlyGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeReadOnlyGroupsWithContext(ctx context.Context, request *DescribeReadOnlyGroupsRequest) (response *DescribeReadOnlyGroupsResponse, err error)
DescribeReadOnlyGroups 本接口(DescribeReadOnlyGroups)用于查询只读组列表
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions 本接口 (DescribeRegions) 用于查询售卖地域信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRegionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions 本接口 (DescribeRegions) 用于查询售卖地域信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeServerlessDBInstances ¶
func (c *Client) DescribeServerlessDBInstances(request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
DescribeServerlessDBInstances 用于查询一个或多个serverlessDB实例的详细信息
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeServerlessDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeServerlessDBInstancesWithContext(ctx context.Context, request *DescribeServerlessDBInstancesRequest) (response *DescribeServerlessDBInstancesResponse, err error)
DescribeServerlessDBInstances 用于查询一个或多个serverlessDB实例的详细信息
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowQueryAnalysis ¶ added in v1.0.233
func (c *Client) DescribeSlowQueryAnalysis(request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
DescribeSlowQueryAnalysis 此接口(DescribeSlowQueryAnalysis)用于统计指定时间范围内的所有慢查询,根据SQL语句抽象参数后,进行聚合分析,并返回同类SQL列表。
可能返回的错误码:
FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeSlowQueryAnalysisWithContext ¶ added in v1.0.324
func (c *Client) DescribeSlowQueryAnalysisWithContext(ctx context.Context, request *DescribeSlowQueryAnalysisRequest) (response *DescribeSlowQueryAnalysisResponse, err error)
DescribeSlowQueryAnalysis 此接口(DescribeSlowQueryAnalysis)用于统计指定时间范围内的所有慢查询,根据SQL语句抽象参数后,进行聚合分析,并返回同类SQL列表。
可能返回的错误码:
FAILEDOPERATION_ESQUERYERROR = "FailedOperation.ESQueryError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeSlowQueryList ¶ added in v1.0.233
func (c *Client) DescribeSlowQueryList(request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
DescribeSlowQueryList 此接口(DescribeSlowQueryList)用于查询指定时间范围内的所有慢查询。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeSlowQueryListWithContext ¶ added in v1.0.324
func (c *Client) DescribeSlowQueryListWithContext(ctx context.Context, request *DescribeSlowQueryListRequest) (response *DescribeSlowQueryListResponse, err error)
DescribeSlowQueryList 此接口(DescribeSlowQueryList)用于查询指定时间范围内的所有慢查询。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERVALUEEXCEEDERROR = "InvalidParameterValue.ParameterValueExceedError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 本接口 (DescribeZones) 用于查询支持的可用区信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeZonesWithContext ¶ added in v1.0.324
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 本接口 (DescribeZones) 用于查询支持的可用区信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_WHITELISTCONNECTERROR = "FailedOperation.WhitelistConnectError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DestroyDBInstance ¶
func (c *Client) DestroyDBInstance(request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
DestroyDBInstance 本接口 (DestroyDBInstance) 用于彻底销毁指定DBInstanceId对应的实例,销毁后实例数据将彻底删除,无法找回,调用前请仔细确认要操作的实例。只能销毁隔离中的实例。
可能返回的错误码:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError" FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError" FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError"
func (*Client) DestroyDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) DestroyDBInstanceWithContext(ctx context.Context, request *DestroyDBInstanceRequest) (response *DestroyDBInstanceResponse, err error)
DestroyDBInstance 本接口 (DestroyDBInstance) 用于彻底销毁指定DBInstanceId对应的实例,销毁后实例数据将彻底删除,无法找回,调用前请仔细确认要操作的实例。只能销毁隔离中的实例。
可能返回的错误码:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CMQRESPONSEERROR = "FailedOperation.CMQResponseError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETERESOURCEPROJECTTAGERROR = "FailedOperation.DeleteResourceProjectTagError" FAILEDOPERATION_DELETERESOURCESTOTAGERROR = "FailedOperation.DeleteResourcesToTagError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_LIMITOPERATION = "FailedOperation.LimitOperation" FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError" FAILEDOPERATION_POSTPAIDUNBLOCKERROR = "FailedOperation.PostPaidUnblockError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITOPERATION = "LimitOperation" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError"
func (*Client) DisIsolateDBInstances ¶
func (c *Client) DisIsolateDBInstances(request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
DisIsolateDBInstances 本接口(DisIsolateDBInstances)用于解隔离实例
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DisIsolateDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) DisIsolateDBInstancesWithContext(ctx context.Context, request *DisIsolateDBInstancesRequest) (response *DisIsolateDBInstancesResponse, err error)
DisIsolateDBInstances 本接口(DisIsolateDBInstances)用于解隔离实例
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_INVALIDTRADEOPERATE = "FailedOperation.InvalidTradeOperate" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) InitDBInstances ¶
func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
InitDBInstances 本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) InitDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
InitDBInstances 本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = "InvalidParameterValue.CharsetNotFoundError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDCHARSET = "InvalidParameterValue.InvalidCharset" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = "InvalidParameterValue.ParameterCharacterLimitError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = "InvalidParameterValue.ParameterCharacterPreLimitError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) InquiryPriceCreateDBInstances ¶
func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
InquiryPriceCreateDBInstances 本接口 (InquiryPriceCreateDBInstances) 用于查询购买实例的价格信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"
func (*Client) InquiryPriceCreateDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)
InquiryPriceCreateDBInstances 本接口 (InquiryPriceCreateDBInstances) 用于查询购买实例的价格信息。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECBYSPECCODEERROR = "FailedOperation.QuerySpecBySpecCodeError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_SPECNOTRECOGNIZEDERROR = "InvalidParameterValue.SpecNotRecognizedError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_PAYMODEERROR = "OperationDenied.PayModeError"
func (*Client) InquiryPriceRenewDBInstance ¶
func (c *Client) InquiryPriceRenewDBInstance(request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
InquiryPriceRenewDBInstance 本接口(InquiryPriceRenewDBInstance)用于查询续费实例的价格。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) InquiryPriceRenewDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) InquiryPriceRenewDBInstanceWithContext(ctx context.Context, request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)
InquiryPriceRenewDBInstance 本接口(InquiryPriceRenewDBInstance)用于查询续费实例的价格。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) InquiryPriceUpgradeDBInstance ¶
func (c *Client) InquiryPriceUpgradeDBInstance(request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
InquiryPriceUpgradeDBInstance 本接口(InquiryPriceUpgradeDBInstance)用于查询升级实例的价格。只支持按量计费实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) InquiryPriceUpgradeDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) InquiryPriceUpgradeDBInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)
InquiryPriceUpgradeDBInstance 本接口(InquiryPriceUpgradeDBInstance)用于查询升级实例的价格。只支持按量计费实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = "InvalidParameterValue.IllegalChargeType" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) IsolateDBInstances ¶
func (c *Client) IsolateDBInstances(request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
IsolateDBInstances 本接口(IsolateDBInstances)用于隔离实例。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError" FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus" FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) IsolateDBInstancesWithContext ¶ added in v1.0.324
func (c *Client) IsolateDBInstancesWithContext(ctx context.Context, request *IsolateDBInstancesRequest) (response *IsolateDBInstancesResponse, err error)
IsolateDBInstances 本接口(IsolateDBInstances)用于隔离实例。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_GETINSTANCEBYRESOURCEIDERROR = "FailedOperation.GetInstanceByResourceIdError" FAILEDOPERATION_INVALIDACCOUNTSTATUS = "FailedOperation.InvalidAccountStatus" FAILEDOPERATION_OPERATEFREQUENCYLIMITEDERROR = "FailedOperation.OperateFrequencyLimitedError" FAILEDOPERATION_QUERYTRADESTATUSERROR = "FailedOperation.QueryTradeStatusError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" FAILEDOPERATION_TRADEQUERYORDERERROR = "FailedOperation.TradeQueryOrderError" FAILEDOPERATION_TRADEQUERYPRICEERROR = "FailedOperation.TradeQueryPriceError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INSTANCEDATAERROR = "InternalError.InstanceDataError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TRADEACCESSDENIEDERROR = "InvalidParameter.TradeAccessDeniedError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED = "LimitExceeded" LIMITOPERATION = "LimitOperation" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_DTSINSTANCESTATUSERROR = "OperationDenied.DTSInstanceStatusError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" REGIONNOTSUPPORTED = "RegionNotSupported" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) LockAccount ¶ added in v1.0.969
func (c *Client) LockAccount(request *LockAccountRequest) (response *LockAccountResponse, err error)
LockAccount 此接口用于锁定数据库账号,锁定后账号当前连接会断开,并且无法建立新连接。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) LockAccountWithContext ¶ added in v1.0.969
func (c *Client) LockAccountWithContext(ctx context.Context, request *LockAccountRequest) (response *LockAccountResponse, err error)
LockAccount 此接口用于锁定数据库账号,锁定后账号当前连接会断开,并且无法建立新连接。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyAccountPrivileges ¶ added in v1.0.969
func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
ModifyAccountPrivileges 修改某账号对某数据库对象的权限、修改账号类型。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" INVALIDPARAMETERVALUE_PARAMETEROUTOFRANGE = "InvalidParameterValue.ParameterOutOfRange" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_KERNELVERSIONERROR = "OperationDenied.KernelVersionError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyAccountPrivilegesWithContext ¶ added in v1.0.969
func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
ModifyAccountPrivileges 修改某账号对某数据库对象的权限、修改账号类型。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" INVALIDPARAMETERVALUE_PARAMETEROUTOFRANGE = "InvalidParameterValue.ParameterOutOfRange" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_KERNELVERSIONERROR = "OperationDenied.KernelVersionError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyAccountRemark ¶
func (c *Client) ModifyAccountRemark(request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
ModifyAccountRemark 本接口(ModifyAccountRemark)用于修改账号备注。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyAccountRemarkWithContext ¶ added in v1.0.324
func (c *Client) ModifyAccountRemarkWithContext(ctx context.Context, request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)
ModifyAccountRemark 本接口(ModifyAccountRemark)用于修改账号备注。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyBackupDownloadRestriction ¶ added in v1.0.645
func (c *Client) ModifyBackupDownloadRestriction(request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
ModifyBackupDownloadRestriction 本接口(ModifyBackupDownloadRestriction)用于修改备份文件下载限制。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) ModifyBackupDownloadRestrictionWithContext ¶ added in v1.0.645
func (c *Client) ModifyBackupDownloadRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
ModifyBackupDownloadRestriction 本接口(ModifyBackupDownloadRestriction)用于修改备份文件下载限制。
可能返回的错误码:
FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) ModifyBackupPlan ¶ added in v1.0.329
func (c *Client) ModifyBackupPlan(request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
ModifyBackupPlan 本接口 (ModifyBackupPlan) 用于实例备份计划的修改,默认是在每天的凌晨开始全量备份,备份保留时长是7天。可以根据此接口指定时间进行实例的备份。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyBackupPlanWithContext ¶ added in v1.0.329
func (c *Client) ModifyBackupPlanWithContext(ctx context.Context, request *ModifyBackupPlanRequest) (response *ModifyBackupPlanResponse, err error)
ModifyBackupPlan 本接口 (ModifyBackupPlan) 用于实例备份计划的修改,默认是在每天的凌晨开始全量备份,备份保留时长是7天。可以根据此接口指定时间进行实例的备份。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyBaseBackupExpireTime ¶ added in v1.0.621
func (c *Client) ModifyBaseBackupExpireTime(request *ModifyBaseBackupExpireTimeRequest) (response *ModifyBaseBackupExpireTimeResponse, err error)
ModifyBaseBackupExpireTime 本接口(ModifyBaseBackupExpireTime)用于修改实例指定数据备份的过期时间。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyBaseBackupExpireTimeWithContext ¶ added in v1.0.621
func (c *Client) ModifyBaseBackupExpireTimeWithContext(ctx context.Context, request *ModifyBaseBackupExpireTimeRequest) (response *ModifyBaseBackupExpireTimeResponse, err error)
ModifyBaseBackupExpireTime 本接口(ModifyBaseBackupExpireTime)用于修改实例指定数据备份的过期时间。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceChargeType ¶ added in v1.0.645
func (c *Client) ModifyDBInstanceChargeType(request *ModifyDBInstanceChargeTypeRequest) (response *ModifyDBInstanceChargeTypeResponse, err error)
ModifyDBInstanceChargeType 支持实例的计费类型转换(目前仅支持按量计费转包年包月)
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
func (*Client) ModifyDBInstanceChargeTypeWithContext ¶ added in v1.0.645
func (c *Client) ModifyDBInstanceChargeTypeWithContext(ctx context.Context, request *ModifyDBInstanceChargeTypeRequest) (response *ModifyDBInstanceChargeTypeResponse, err error)
ModifyDBInstanceChargeType 支持实例的计费类型转换(目前仅支持按量计费转包年包月)
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError"
func (*Client) ModifyDBInstanceDeployment ¶ added in v1.0.329
func (c *Client) ModifyDBInstanceDeployment(request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
ModifyDBInstanceDeployment 本接口(ModifyDBInstanceDeployment)用于修改节点可用区部署方式,仅支持主实例。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) ModifyDBInstanceDeploymentWithContext ¶ added in v1.0.329
func (c *Client) ModifyDBInstanceDeploymentWithContext(ctx context.Context, request *ModifyDBInstanceDeploymentRequest) (response *ModifyDBInstanceDeploymentResponse, err error)
ModifyDBInstanceDeployment 本接口(ModifyDBInstanceDeployment)用于修改节点可用区部署方式,仅支持主实例。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDZONEIDERROR = "InvalidParameterValue.InvalidZoneIdError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError"
func (*Client) ModifyDBInstanceHAConfig ¶ added in v1.0.715
func (c *Client) ModifyDBInstanceHAConfig(request *ModifyDBInstanceHAConfigRequest) (response *ModifyDBInstanceHAConfigResponse, err error)
ModifyDBInstanceHAConfig 本接口(ModifyDBInstanceHAConfig)用于修改实例HA配置信息。其中HA配置信息包括:
<li>允许备节点切换为主节点的条件配置
<li>半同步实例使用同步复制或异步复制的条件配置
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_PARAMETERSNOTSET = "InvalidParameter.ParametersNotSet" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETEROUTOFRANGE = "InvalidParameterValue.ParameterOutOfRange" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceHAConfigWithContext ¶ added in v1.0.715
func (c *Client) ModifyDBInstanceHAConfigWithContext(ctx context.Context, request *ModifyDBInstanceHAConfigRequest) (response *ModifyDBInstanceHAConfigResponse, err error)
ModifyDBInstanceHAConfig 本接口(ModifyDBInstanceHAConfig)用于修改实例HA配置信息。其中HA配置信息包括:
<li>允许备节点切换为主节点的条件配置
<li>半同步实例使用同步复制或异步复制的条件配置
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETER_PARAMETERSNOTSET = "InvalidParameter.ParametersNotSet" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETEROUTOFRANGE = "InvalidParameterValue.ParameterOutOfRange" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceName ¶
func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName 本接口(ModifyDBInstanceName)用于修改postgresql实例名字。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceNameWithContext ¶ added in v1.0.324
func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName 本接口(ModifyDBInstanceName)用于修改postgresql实例名字。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = "InvalidParameterValue.InvalidAccountFormat" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = "InvalidParameterValue.ParameterCharacterError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceParameters ¶ added in v1.0.276
func (c *Client) ModifyDBInstanceParameters(request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
ModifyDBInstanceParameters 本接口 (ModifyDBInstanceParameters) 用于修改实例参数。
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceParametersWithContext ¶ added in v1.0.324
func (c *Client) ModifyDBInstanceParametersWithContext(ctx context.Context, request *ModifyDBInstanceParametersRequest) (response *ModifyDBInstanceParametersResponse, err error)
ModifyDBInstanceParameters 本接口 (ModifyDBInstanceParameters) 用于修改实例参数。
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceReadOnlyGroup ¶
func (c *Client) ModifyDBInstanceReadOnlyGroup(request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
ModifyDBInstanceReadOnlyGroup 本接口(ModifyDBInstanceReadOnlyGroup)用于修改实例所属的只读组
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) ModifyDBInstanceReadOnlyGroupWithContext ¶ added in v1.0.324
func (c *Client) ModifyDBInstanceReadOnlyGroupWithContext(ctx context.Context, request *ModifyDBInstanceReadOnlyGroupRequest) (response *ModifyDBInstanceReadOnlyGroupResponse, err error)
ModifyDBInstanceReadOnlyGroup 本接口(ModifyDBInstanceReadOnlyGroup)用于修改实例所属的只读组
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = "OperationDenied.RoInstanceCountExeedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) ModifyDBInstanceSecurityGroups ¶ added in v1.0.560
func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups 本接口(ModifyDBInstanceSecurityGroups)用于修改实例安全组。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceSecurityGroupsWithContext ¶ added in v1.0.560
func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups 本接口(ModifyDBInstanceSecurityGroups)用于修改实例安全组。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceSpec ¶ added in v1.0.285
func (c *Client) ModifyDBInstanceSpec(request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
ModifyDBInstanceSpec 本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstanceSpecWithContext ¶ added in v1.0.324
func (c *Client) ModifyDBInstanceSpecWithContext(ctx context.Context, request *ModifyDBInstanceSpecRequest) (response *ModifyDBInstanceSpecResponse, err error)
ModifyDBInstanceSpec 本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstancesProject ¶
func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
ModifyDBInstancesProject 本接口(ModifyDBInstancesProject)用于修改实例所属项目。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDBInstancesProjectWithContext ¶ added in v1.0.324
func (c *Client) ModifyDBInstancesProjectWithContext(ctx context.Context, request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
ModifyDBInstancesProject 本接口(ModifyDBInstancesProject)用于修改实例所属项目。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CDBCGWCONNECTERROR = "FailedOperation.CdbCgwConnectError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_UPDATERESOURCEPROJECTTAGVALUEERROR = "FailedOperation.UpdateResourceProjectTagValueError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALPROJECTID = "InvalidParameterValue.IllegalProjectId" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyDatabaseOwner ¶ added in v1.0.1009
func (c *Client) ModifyDatabaseOwner(request *ModifyDatabaseOwnerRequest) (response *ModifyDatabaseOwnerResponse, err error)
ModifyDatabaseOwner 修改数据库所有者
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDDATABASENAMEFORMATERROR = "InvalidParameterValue.InvalidDatabaseNameFormatError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) ModifyDatabaseOwnerWithContext ¶ added in v1.0.1009
func (c *Client) ModifyDatabaseOwnerWithContext(ctx context.Context, request *ModifyDatabaseOwnerRequest) (response *ModifyDatabaseOwnerResponse, err error)
ModifyDatabaseOwner 修改数据库所有者
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTERROR = "InvalidParameterValue.InvalidAccountError" INVALIDPARAMETERVALUE_INVALIDDATABASENAMEFORMATERROR = "InvalidParameterValue.InvalidDatabaseNameFormatError" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" INVALIDPARAMETERVALUE_PARAMETEROUTRANGEERROR = "InvalidParameterValue.ParameterOutRangeError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) ModifyMaintainTimeWindow ¶ added in v1.0.1078
func (c *Client) ModifyMaintainTimeWindow(request *ModifyMaintainTimeWindowRequest) (response *ModifyMaintainTimeWindowResponse, err error)
ModifyMaintainTimeWindow 本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyMaintainTimeWindowWithContext ¶ added in v1.0.1078
func (c *Client) ModifyMaintainTimeWindowWithContext(ctx context.Context, request *ModifyMaintainTimeWindowRequest) (response *ModifyMaintainTimeWindowResponse, err error)
ModifyMaintainTimeWindow 本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyParameterTemplate ¶ added in v1.0.560
func (c *Client) ModifyParameterTemplate(request *ModifyParameterTemplateRequest) (response *ModifyParameterTemplateResponse, err error)
ModifyParameterTemplate 本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) ModifyParameterTemplateWithContext ¶ added in v1.0.560
func (c *Client) ModifyParameterTemplateWithContext(ctx context.Context, request *ModifyParameterTemplateRequest) (response *ModifyParameterTemplateResponse, err error)
ModifyParameterTemplate 本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError"
func (*Client) ModifyReadOnlyGroupConfig ¶
func (c *Client) ModifyReadOnlyGroupConfig(request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
ModifyReadOnlyGroupConfig 本接口(ModifyReadOnlyGroupConfig)用于更新只读组配置信息
可能返回的错误码:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifyReadOnlyGroupConfigWithContext ¶ added in v1.0.324
func (c *Client) ModifyReadOnlyGroupConfigWithContext(ctx context.Context, request *ModifyReadOnlyGroupConfigRequest) (response *ModifyReadOnlyGroupConfigResponse, err error)
ModifyReadOnlyGroupConfig 本接口(ModifyReadOnlyGroupConfig)用于更新只读组配置信息
可能返回的错误码:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_MODIFYROGROUPERROR = "FailedOperation.ModifyROGroupError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_SERVICEACCESSERROR = "FailedOperation.ServiceAccessError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ModifySwitchTimePeriod ¶ added in v1.0.214
func (c *Client) ModifySwitchTimePeriod(request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
ModifySwitchTimePeriod 当升级完成后,对处于等待切换状态下的实例,强制实例立即切换。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) ModifySwitchTimePeriodWithContext ¶ added in v1.0.324
func (c *Client) ModifySwitchTimePeriodWithContext(ctx context.Context, request *ModifySwitchTimePeriodRequest) (response *ModifySwitchTimePeriodResponse, err error)
ModifySwitchTimePeriod 当升级完成后,对处于等待切换状态下的实例,强制实例立即切换。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMCHECKRESOURCEERROR = "FailedOperation.CamCheckResourceError" FAILEDOPERATION_CAMCHECKRESOURCEFAILED = "FailedOperation.CamCheckResourceFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" UNKNOWNERROR = "UnknownError"
func (*Client) OpenDBExtranetAccess ¶
func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
OpenDBExtranetAccess 本接口(OpenDBExtranetAccess)用于开通实例公网地址。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) OpenDBExtranetAccessWithContext ¶ added in v1.0.324
func (c *Client) OpenDBExtranetAccessWithContext(ctx context.Context, request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
OpenDBExtranetAccess 本接口(OpenDBExtranetAccess)用于开通实例公网地址。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCEIPV6NOTSUPPORTEDERROR = "OperationDenied.InstanceIpv6NotSupportedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) OpenServerlessDBExtranetAccess ¶
func (c *Client) OpenServerlessDBExtranetAccess(request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
OpenServerlessDBExtranetAccess 本接口(OpenServerlessDBExtranetAccess)用于开通serverlessDB实例公网地址。
可能返回的错误码:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) OpenServerlessDBExtranetAccessWithContext ¶ added in v1.0.324
func (c *Client) OpenServerlessDBExtranetAccessWithContext(ctx context.Context, request *OpenServerlessDBExtranetAccessRequest) (response *OpenServerlessDBExtranetAccessResponse, err error)
OpenServerlessDBExtranetAccess 本接口(OpenServerlessDBExtranetAccess)用于开通serverlessDB实例公网地址。
可能返回的错误码:
ACCOUNTNOTEXIST = "AccountNotExist" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DBERROR = "DBError" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FLOWERROR = "FlowError" INSTANCENOTEXIST = "InstanceNotExist" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDACCOUNTSTATUS = "InvalidAccountStatus" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INTERFACENAMENOTFOUND = "InvalidParameterValue.InterfaceNameNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_STRUCTPARSEFAILED = "InvalidParameterValue.StructParseFailed" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound" STRUCTPARSEFAILED = "StructParseFailed" SYSTEMERROR = "SystemError" UNKNOWNERROR = "UnknownError" VPCERROR = "VpcError"
func (*Client) RebalanceReadOnlyGroup ¶
func (c *Client) RebalanceReadOnlyGroup(request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
RebalanceReadOnlyGroup 本接口(RebalanceReadOnlyGroup)用于重新均衡 RO 组内实例的负载。注意,RO 组内 RO 实例会有一次数据库连接瞬断,请确保应用程序能重连数据库,谨慎操作。
可能返回的错误码:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" VPCERROR = "VpcError"
func (*Client) RebalanceReadOnlyGroupWithContext ¶ added in v1.0.324
func (c *Client) RebalanceReadOnlyGroupWithContext(ctx context.Context, request *RebalanceReadOnlyGroupRequest) (response *RebalanceReadOnlyGroupResponse, err error)
RebalanceReadOnlyGroup 本接口(RebalanceReadOnlyGroup)用于重新均衡 RO 组内实例的负载。注意,RO 组内 RO 实例会有一次数据库连接瞬断,请确保应用程序能重连数据库,谨慎操作。
可能返回的错误码:
FAILEDOPERATION_BASENETWORKACCESSERROR = "FailedOperation.BaseNetworkAccessError" FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DELETEALLROUTE = "FailedOperation.DeleteAllRoute" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" FAILEDOPERATION_VPCRESETSERVICEERROR = "FailedOperation.VPCResetServiceError" FAILEDOPERATION_VPCUPDATEROUTEERROR = "FailedOperation.VPCUpdateRouteError" INTERFACENAMENOTFOUND = "InterfaceNameNotFound" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" VPCERROR = "VpcError"
func (*Client) RemoveDBInstanceFromReadOnlyGroup ¶
func (c *Client) RemoveDBInstanceFromReadOnlyGroup(request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
RemoveDBInstanceFromReadOnlyGroup 本接口(RemoveDBInstanceFromReadOnlyGroup)用户将只读实例从只读组中移除
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RemoveDBInstanceFromReadOnlyGroupWithContext ¶ added in v1.0.324
func (c *Client) RemoveDBInstanceFromReadOnlyGroupWithContext(ctx context.Context, request *RemoveDBInstanceFromReadOnlyGroupRequest) (response *RemoveDBInstanceFromReadOnlyGroupResponse, err error)
RemoveDBInstanceFromReadOnlyGroup 本接口(RemoveDBInstanceFromReadOnlyGroup)用户将只读实例从只读组中移除
可能返回的错误码:
FAILEDOPERATION_CAMAUTHFAILED = "FailedOperation.CamAuthFailed" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_ILLEGALROINSTANCENUM = "FailedOperation.IllegalROInstanceNum" FAILEDOPERATION_ROGROUPMASTERINSTANCENOTRIGHT = "FailedOperation.ROGroupMasterInstanceNotRight" FAILEDOPERATION_ROGROUPNOTFOUNDERROR = "FailedOperation.ROGroupNotFoundError" INSTANCENOTEXIST = "InstanceNotExist" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDINSTANCESTATUS = "InvalidInstanceStatus" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDREADONLYGROUPSTATUS = "InvalidParameterValue.InvalidReadOnlyGroupStatus" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPARAMETERVALUE_READONLYGROUPNOTEXIST = "InvalidParameterValue.ReadOnlyGroupNotExist" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_ROGROUPSTATUSERROR = "OperationDenied.ROGroupStatusError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RenewInstance ¶
func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance 本接口(RenewInstance)用于续费实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
func (*Client) RenewInstanceWithContext ¶ added in v1.0.324
func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance 本接口(RenewInstance)用于续费实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETVPCINFOERROR = "FailedOperation.GetVpcInfoError" FAILEDOPERATION_QUERYVPCFAILED = "FailedOperation.QueryVpcFailed" FAILEDOPERATION_QUERYVPCFALIED = "FailedOperation.QueryVpcFalied" FAILEDOPERATION_TRADECREATEERROR = "FailedOperation.TradeCreateError" FAILEDOPERATION_TRADEPAYORDERSERROR = "FailedOperation.TradePayOrdersError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VPCNOTFOUNDERROR = "InvalidParameter.VpcNotFoundError" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" OPERATIONDENIED_VPCDENIEDERROR = "OperationDenied.VpcDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_RESOURCENOPERMISSION = "ResourceUnavailable.ResourceNoPermission" RESOURCEUNAVAILABLE_VPCRESOURCENOTFOUND = "ResourceUnavailable.VpcResourceNotFound"
func (*Client) ResetAccountPassword ¶
func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword 本接口(ResetAccountPassword)用于重置实例的账户密码。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTPASSWORD = "InvalidAccountPassword" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) ResetAccountPasswordWithContext ¶ added in v1.0.324
func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword 本接口(ResetAccountPassword)用于重置实例的账户密码。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_OSSACCESSERROR = "FailedOperation.OssAccessError" FAILEDOPERATION_OSSOPERATIONFAILED = "FailedOperation.OssOperationFailed" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDACCOUNTPASSWORD = "InvalidAccountPassword" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = "InvalidParameterValue.DecryptPasswordFailed" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_INVALIDPASSWORDFORMAT = "InvalidParameterValue.InvalidPasswordFormat" INVALIDPARAMETERVALUE_INVALIDPASSWORDLENGTHERROR = "InvalidParameterValue.InvalidPasswordLengthError" INVALIDPARAMETERVALUE_INVALIDPASSWORDVALUEERROR = "InvalidParameterValue.InvalidPasswordValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) RestartDBInstance ¶
func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
RestartDBInstance 本接口(RestartDBInstance)用于重启实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RestartDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)
RestartDBInstance 本接口(RestartDBInstance)用于重启实例。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FLOWERROR = "InternalError.FlowError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) RestoreDBInstanceObjects ¶ added in v1.0.938
func (c *Client) RestoreDBInstanceObjects(request *RestoreDBInstanceObjectsRequest) (response *RestoreDBInstanceObjectsResponse, err error)
RestoreDBInstanceObjects 根据备份集或恢复目标时间,在原实例上恢复数据库相关对象,例如数据库、表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) RestoreDBInstanceObjectsWithContext ¶ added in v1.0.938
func (c *Client) RestoreDBInstanceObjectsWithContext(ctx context.Context, request *RestoreDBInstanceObjectsRequest) (response *RestoreDBInstanceObjectsResponse, err error)
RestoreDBInstanceObjects 根据备份集或恢复目标时间,在原实例上恢复数据库相关对象,例如数据库、表。
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) SetAutoRenewFlag ¶
func (c *Client) SetAutoRenewFlag(request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
SetAutoRenewFlag 本接口(SetAutoRenewFlag)用于设置自动续费。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) SetAutoRenewFlagWithContext ¶ added in v1.0.324
func (c *Client) SetAutoRenewFlagWithContext(ctx context.Context, request *SetAutoRenewFlagRequest) (response *SetAutoRenewFlagResponse, err error)
SetAutoRenewFlag 本接口(SetAutoRenewFlag)用于设置自动续费。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_SETAUTORENEWFLAGERROR = "FailedOperation.SetAutoRenewFlagError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ILLEGALINSTANCECHARGETYPE = "InvalidParameterValue.IllegalInstanceChargeType" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" OPERATIONDENIED_POSTPAIDPAYMODEERROR = "OperationDenied.PostPaidPayModeError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) SwitchDBInstancePrimary ¶ added in v1.0.715
func (c *Client) SwitchDBInstancePrimary(request *SwitchDBInstancePrimaryRequest) (response *SwitchDBInstancePrimaryResponse, err error)
SwitchDBInstancePrimary 本接口(SwitchDBInstancePrimary)用于切换实例主备关系。
<li>通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景
<li>通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换
<li>只有主实例可以执行该操作
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_NOAVAILABLESTANDBY = "FailedOperation.NoAvailableStandby" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCETYPEDENIED = "OperationDenied.InstanceTypeDenied" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) SwitchDBInstancePrimaryWithContext ¶ added in v1.0.715
func (c *Client) SwitchDBInstancePrimaryWithContext(ctx context.Context, request *SwitchDBInstancePrimaryRequest) (response *SwitchDBInstancePrimaryResponse, err error)
SwitchDBInstancePrimary 本接口(SwitchDBInstancePrimary)用于切换实例主备关系。
<li>通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景
<li>通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换
<li>只有主实例可以执行该操作
可能返回的错误码:
FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" FAILEDOPERATION_NOAVAILABLESTANDBY = "FailedOperation.NoAvailableStandby" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITERROR = "OperationDenied.InstanceStatusLimitError" OPERATIONDENIED_INSTANCETYPEDENIED = "OperationDenied.InstanceTypeDenied" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UnlockAccount ¶ added in v1.0.969
func (c *Client) UnlockAccount(request *UnlockAccountRequest) (response *UnlockAccountResponse, err error)
UnlockAccount 解除数据库账号的锁定,解锁后账号可以登陆数据库。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UnlockAccountWithContext ¶ added in v1.0.969
func (c *Client) UnlockAccountWithContext(ctx context.Context, request *UnlockAccountRequest) (response *UnlockAccountResponse, err error)
UnlockAccount 解除数据库账号的锁定,解锁后账号可以登陆数据库。
可能返回的错误码:
DBERROR = "DBError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = "InvalidParameterValue.InvalidAccountNameError" INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = "InvalidParameterValue.InvalidAccountNameFormatError" INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = "InvalidParameterValue.InvalidDatabaseObjectName" INVALIDPARAMETERVALUE_PARAMETERLENGTHLIMITERROR = "InvalidParameterValue.ParameterLengthLimitError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UpgradeDBInstance ¶
func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance 本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
func (*Client) UpgradeDBInstanceKernelVersion ¶ added in v1.0.621
func (c *Client) UpgradeDBInstanceKernelVersion(request *UpgradeDBInstanceKernelVersionRequest) (response *UpgradeDBInstanceKernelVersionResponse, err error)
UpgradeDBInstanceKernelVersion 本接口(UpgradeDBInstanceKernelVersion)用于升级实例的内核版本号。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UpgradeDBInstanceKernelVersionWithContext ¶ added in v1.0.621
func (c *Client) UpgradeDBInstanceKernelVersionWithContext(ctx context.Context, request *UpgradeDBInstanceKernelVersionRequest) (response *UpgradeDBInstanceKernelVersionResponse, err error)
UpgradeDBInstanceKernelVersion 本接口(UpgradeDBInstanceKernelVersion)用于升级实例的内核版本号。
可能返回的错误码:
FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_DATABASEAFFECTEDERROR = "FailedOperation.DatabaseAffectedError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_PRECHECKERROR = "FailedOperation.PreCheckError" INVALIDPARAMETER_PARAMETERCHECKERROR = "InvalidParameter.ParameterCheckError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UpgradeDBInstanceMajorVersion ¶ added in v1.0.761
func (c *Client) UpgradeDBInstanceMajorVersion(request *UpgradeDBInstanceMajorVersionRequest) (response *UpgradeDBInstanceMajorVersionResponse, err error)
UpgradeDBInstanceMajorVersion 本接口(UpgradeDBInstanceMajorVersion)用于升级实例内核大版本,例如从PostgreSQL 12升级到PostgreSQL 15。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UpgradeDBInstanceMajorVersionWithContext ¶ added in v1.0.761
func (c *Client) UpgradeDBInstanceMajorVersionWithContext(ctx context.Context, request *UpgradeDBInstanceMajorVersionRequest) (response *UpgradeDBInstanceMajorVersionResponse, err error)
UpgradeDBInstanceMajorVersion 本接口(UpgradeDBInstanceMajorVersion)用于升级实例内核大版本,例如从PostgreSQL 12升级到PostgreSQL 15。
可能返回的错误码:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError"
func (*Client) UpgradeDBInstanceWithContext ¶ added in v1.0.324
func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance 本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CAMSIGANDAUTHERROR = "FailedOperation.CamSigAndAuthError" FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed" FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_GETPURCHASERECORDFAILED = "FailedOperation.GetPurchaseRecordFailed" FAILEDOPERATION_PAYORDERFAILED = "FailedOperation.PayOrderFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYSPECERROR = "FailedOperation.QuerySpecError" FAILEDOPERATION_STORAGEMEMORYCHECKERROR = "FailedOperation.StorageMemoryCheckError" FAILEDOPERATION_TRADEACCESSERROR = "FailedOperation.TradeAccessError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BADSPEC = "InvalidParameterValue.BadSpec" INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion" INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_INVALIDINSTANCEVOLUME = "InvalidParameterValue.InvalidInstanceVolume" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = "InvalidParameterValue.ParameterHandleError" INVALIDPID = "InvalidPid" OPERATIONDENIED_CAMDENIEDERROR = "OperationDenied.CamDeniedError" OPERATIONDENIED_INSTANCEACCESSDENIEDERROR = "OperationDenied.InstanceAccessDeniedError" OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = "OperationDenied.InstanceStatusLimitOpError" RESOURCENOTFOUND_INSTANCENOTFOUNDERROR = "ResourceNotFound.InstanceNotFoundError" RESOURCEUNAVAILABLE_INVALIDINSTANCESTATUS = "ResourceUnavailable.InvalidInstanceStatus"
type CloneDBInstanceRequest ¶ added in v1.0.329
type CloneDBInstanceRequest struct { *tchttp.BaseRequest // 克隆的源实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 购买时长,单位:月。 // // - 预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36 // - 后付费:只支持1 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 续费标记: // // - 0:手动续费 // - 1:自动续费 // // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 新购的实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例计费类型,目前支持: // // - PREPAID:预付费,即包年包月 // - POSTPAID_BY_HOUR:后付费,即按量计费 // // 默认值:PREPAID InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。 // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 是否自动使用代金券: // // - 0:否 // - 1:是 // // 默认值:0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表。 VoucherIds *string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 活动ID。 ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 基础备份集ID。 BackupSetId *string `json:"BackupSetId,omitnil,omitempty" name:"BackupSetId"` // 恢复时间点。 RecoveryTargetTime *string `json:"RecoveryTargetTime,omitnil,omitempty" name:"RecoveryTargetTime"` // 主从同步方式,支持: // <li>Semi-sync:半同步</li> // <li>Async:异步</li> // 主实例默认值:Semi-sync // 只读实例默认值:Async SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` }
func NewCloneDBInstanceRequest ¶ added in v1.0.329
func NewCloneDBInstanceRequest() (request *CloneDBInstanceRequest)
func (*CloneDBInstanceRequest) FromJsonString ¶ added in v1.0.329
func (r *CloneDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneDBInstanceRequest) ToJsonString ¶ added in v1.0.329
func (r *CloneDBInstanceRequest) ToJsonString() string
type CloneDBInstanceRequestParams ¶ added in v1.0.426
type CloneDBInstanceRequestParams struct { // 克隆的源实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 购买时长,单位:月。 // // - 预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36 // - 后付费:只支持1 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 续费标记: // // - 0:手动续费 // - 1:自动续费 // // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 新购的实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例计费类型,目前支持: // // - PREPAID:预付费,即包年包月 // - POSTPAID_BY_HOUR:后付费,即按量计费 // // 默认值:PREPAID InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。 // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 是否自动使用代金券: // // - 0:否 // - 1:是 // // 默认值:0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表。 VoucherIds *string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 活动ID。 ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 基础备份集ID。 BackupSetId *string `json:"BackupSetId,omitnil,omitempty" name:"BackupSetId"` // 恢复时间点。 RecoveryTargetTime *string `json:"RecoveryTargetTime,omitnil,omitempty" name:"RecoveryTargetTime"` // 主从同步方式,支持: // <li>Semi-sync:半同步</li> // <li>Async:异步</li> // 主实例默认值:Semi-sync // 只读实例默认值:Async SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` }
Predefined struct for user
type CloneDBInstanceResponse ¶ added in v1.0.329
type CloneDBInstanceResponse struct { *tchttp.BaseResponse Response *CloneDBInstanceResponseParams `json:"Response"` }
func NewCloneDBInstanceResponse ¶ added in v1.0.329
func NewCloneDBInstanceResponse() (response *CloneDBInstanceResponse)
func (*CloneDBInstanceResponse) FromJsonString ¶ added in v1.0.329
func (r *CloneDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneDBInstanceResponse) ToJsonString ¶ added in v1.0.329
func (r *CloneDBInstanceResponse) ToJsonString() string
type CloneDBInstanceResponseParams ¶ added in v1.0.426
type CloneDBInstanceResponseParams struct { // 订单号。 // 注意:此字段可能返回 null,表示取不到有效值。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 订单流水号。 // 注意:此字段可能返回 null,表示取不到有效值。 BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // 克隆出的新实例ID,当前只支持后付费返回该值。 // 注意:此字段可能返回 null,表示取不到有效值。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseDBExtranetAccessRequest ¶
type CloseDBExtranetAccessRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-6r233v55 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否关闭Ipv6外网,1:是,0:否 IsIpv6 *int64 `json:"IsIpv6,omitnil,omitempty" name:"IsIpv6"` }
func NewCloseDBExtranetAccessRequest ¶
func NewCloseDBExtranetAccessRequest() (request *CloseDBExtranetAccessRequest)
func (*CloseDBExtranetAccessRequest) FromJsonString ¶
func (r *CloseDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseDBExtranetAccessRequest) ToJsonString ¶
func (r *CloseDBExtranetAccessRequest) ToJsonString() string
type CloseDBExtranetAccessRequestParams ¶ added in v1.0.426
type CloseDBExtranetAccessRequestParams struct { // 实例ID,形如postgres-6r233v55 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否关闭Ipv6外网,1:是,0:否 IsIpv6 *int64 `json:"IsIpv6,omitnil,omitempty" name:"IsIpv6"` }
Predefined struct for user
type CloseDBExtranetAccessResponse ¶
type CloseDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *CloseDBExtranetAccessResponseParams `json:"Response"` }
func NewCloseDBExtranetAccessResponse ¶
func NewCloseDBExtranetAccessResponse() (response *CloseDBExtranetAccessResponse)
func (*CloseDBExtranetAccessResponse) FromJsonString ¶
func (r *CloseDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseDBExtranetAccessResponse) ToJsonString ¶
func (r *CloseDBExtranetAccessResponse) ToJsonString() string
type CloseDBExtranetAccessResponseParams ¶ added in v1.0.426
type CloseDBExtranetAccessResponseParams struct { // 异步任务流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseServerlessDBExtranetAccessRequest ¶
type CloseServerlessDBExtranetAccessRequest struct { *tchttp.BaseRequest // 实例唯一标识符 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` }
func NewCloseServerlessDBExtranetAccessRequest ¶
func NewCloseServerlessDBExtranetAccessRequest() (request *CloseServerlessDBExtranetAccessRequest)
func (*CloseServerlessDBExtranetAccessRequest) FromJsonString ¶
func (r *CloseServerlessDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseServerlessDBExtranetAccessRequest) ToJsonString ¶
func (r *CloseServerlessDBExtranetAccessRequest) ToJsonString() string
type CloseServerlessDBExtranetAccessRequestParams ¶ added in v1.0.426
type CloseServerlessDBExtranetAccessRequestParams struct { // 实例唯一标识符 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` }
Predefined struct for user
type CloseServerlessDBExtranetAccessResponse ¶
type CloseServerlessDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *CloseServerlessDBExtranetAccessResponseParams `json:"Response"` }
func NewCloseServerlessDBExtranetAccessResponse ¶
func NewCloseServerlessDBExtranetAccessResponse() (response *CloseServerlessDBExtranetAccessResponse)
func (*CloseServerlessDBExtranetAccessResponse) FromJsonString ¶
func (r *CloseServerlessDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseServerlessDBExtranetAccessResponse) ToJsonString ¶
func (r *CloseServerlessDBExtranetAccessResponse) ToJsonString() string
type CloseServerlessDBExtranetAccessResponseParams ¶ added in v1.0.426
type CloseServerlessDBExtranetAccessResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAccountRequest ¶ added in v1.0.969
type CreateAccountRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 创建的账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 账号对应的密码。 Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 账号类型。当前支持normal、tencentDBSuper两个输入。normal指代普通用户,tencentDBSuper为拥有pg_tencentdb_superuser角色的账号。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 账号备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewCreateAccountRequest ¶ added in v1.0.969
func NewCreateAccountRequest() (request *CreateAccountRequest)
func (*CreateAccountRequest) FromJsonString ¶ added in v1.0.969
func (r *CreateAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountRequest) ToJsonString ¶ added in v1.0.969
func (r *CreateAccountRequest) ToJsonString() string
type CreateAccountRequestParams ¶ added in v1.0.969
type CreateAccountRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 创建的账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 账号对应的密码。 Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 账号类型。当前支持normal、tencentDBSuper两个输入。normal指代普通用户,tencentDBSuper为拥有pg_tencentdb_superuser角色的账号。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 账号备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type CreateAccountResponse ¶ added in v1.0.969
type CreateAccountResponse struct { *tchttp.BaseResponse Response *CreateAccountResponseParams `json:"Response"` }
func NewCreateAccountResponse ¶ added in v1.0.969
func NewCreateAccountResponse() (response *CreateAccountResponse)
func (*CreateAccountResponse) FromJsonString ¶ added in v1.0.969
func (r *CreateAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountResponse) ToJsonString ¶ added in v1.0.969
func (r *CreateAccountResponse) ToJsonString() string
type CreateAccountResponseParams ¶ added in v1.0.969
type CreateAccountResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBaseBackupRequest ¶ added in v1.0.621
type CreateBaseBackupRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewCreateBaseBackupRequest ¶ added in v1.0.621
func NewCreateBaseBackupRequest() (request *CreateBaseBackupRequest)
func (*CreateBaseBackupRequest) FromJsonString ¶ added in v1.0.621
func (r *CreateBaseBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBaseBackupRequest) ToJsonString ¶ added in v1.0.621
func (r *CreateBaseBackupRequest) ToJsonString() string
type CreateBaseBackupRequestParams ¶ added in v1.0.621
type CreateBaseBackupRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type CreateBaseBackupResponse ¶ added in v1.0.621
type CreateBaseBackupResponse struct { *tchttp.BaseResponse Response *CreateBaseBackupResponseParams `json:"Response"` }
func NewCreateBaseBackupResponse ¶ added in v1.0.621
func NewCreateBaseBackupResponse() (response *CreateBaseBackupResponse)
func (*CreateBaseBackupResponse) FromJsonString ¶ added in v1.0.621
func (r *CreateBaseBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBaseBackupResponse) ToJsonString ¶ added in v1.0.621
func (r *CreateBaseBackupResponse) ToJsonString() string
type CreateBaseBackupResponseParams ¶ added in v1.0.621
type CreateBaseBackupResponseParams struct { // 数据备份集ID BaseBackupId *string `json:"BaseBackupId,omitnil,omitempty" name:"BaseBackupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDBInstanceNetworkAccessRequest ¶ added in v1.0.359
type CreateDBInstanceNetworkAccessRequest struct { *tchttp.BaseRequest // 实例ID,形如:postgres-6bwgamo3。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 私有网络统一 ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 是否指定分配vip true-指定分配 false-自动分配。 IsAssignVip *bool `json:"IsAssignVip,omitnil,omitempty" name:"IsAssignVip"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
func NewCreateDBInstanceNetworkAccessRequest ¶ added in v1.0.359
func NewCreateDBInstanceNetworkAccessRequest() (request *CreateDBInstanceNetworkAccessRequest)
func (*CreateDBInstanceNetworkAccessRequest) FromJsonString ¶ added in v1.0.359
func (r *CreateDBInstanceNetworkAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBInstanceNetworkAccessRequest) ToJsonString ¶ added in v1.0.359
func (r *CreateDBInstanceNetworkAccessRequest) ToJsonString() string
type CreateDBInstanceNetworkAccessRequestParams ¶ added in v1.0.426
type CreateDBInstanceNetworkAccessRequestParams struct { // 实例ID,形如:postgres-6bwgamo3。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 私有网络统一 ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 是否指定分配vip true-指定分配 false-自动分配。 IsAssignVip *bool `json:"IsAssignVip,omitnil,omitempty" name:"IsAssignVip"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
Predefined struct for user
type CreateDBInstanceNetworkAccessResponse ¶ added in v1.0.359
type CreateDBInstanceNetworkAccessResponse struct { *tchttp.BaseResponse Response *CreateDBInstanceNetworkAccessResponseParams `json:"Response"` }
func NewCreateDBInstanceNetworkAccessResponse ¶ added in v1.0.359
func NewCreateDBInstanceNetworkAccessResponse() (response *CreateDBInstanceNetworkAccessResponse)
func (*CreateDBInstanceNetworkAccessResponse) FromJsonString ¶ added in v1.0.359
func (r *CreateDBInstanceNetworkAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBInstanceNetworkAccessResponse) ToJsonString ¶ added in v1.0.359
func (r *CreateDBInstanceNetworkAccessResponse) ToJsonString() string
type CreateDBInstanceNetworkAccessResponseParams ¶ added in v1.0.426
type CreateDBInstanceNetworkAccessResponseParams struct { // 流程ID。 // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDBInstancesRequest ¶
type CreateDBInstancesRequest struct { *tchttp.BaseRequest // 售卖规格ID。该参数可以通过调用DescribeClasses的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 一次性购买的实例数量。取值1-100 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。 Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // PostgreSQL社区大版本+小版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 是否自动使用代金券。1(是),0(否),默认不使用。 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 私有网络ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 续费标记:0-正常续费(默认);1-自动续费; AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 活动ID ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 实例名(后续支持) Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 是否需要支持Ipv6,1:是,0:否 NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitnil,omitempty" name:"NeedSupportIpv6"` // 实例需要绑定的Tag信息,默认为空 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 安全组id SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // PostgreSQL大版本号(该参数当前必传),版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。目前支持10,11,12,13,14,15这几个大版本,详情见[内核版本概述](https://cloud.tencent.com/document/product/409/67018)。 // 输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // PostgreSQL内核版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` }
func NewCreateDBInstancesRequest ¶
func NewCreateDBInstancesRequest() (request *CreateDBInstancesRequest)
func (*CreateDBInstancesRequest) FromJsonString ¶
func (r *CreateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBInstancesRequest) ToJsonString ¶
func (r *CreateDBInstancesRequest) ToJsonString() string
type CreateDBInstancesRequestParams ¶ added in v1.0.426
type CreateDBInstancesRequestParams struct { // 售卖规格ID。该参数可以通过调用DescribeClasses的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 一次性购买的实例数量。取值1-100 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。 Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // PostgreSQL社区大版本+小版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 是否自动使用代金券。1(是),0(否),默认不使用。 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 私有网络ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 续费标记:0-正常续费(默认);1-自动续费; AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 活动ID ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 实例名(后续支持) Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 是否需要支持Ipv6,1:是,0:否 NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitnil,omitempty" name:"NeedSupportIpv6"` // 实例需要绑定的Tag信息,默认为空 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 安全组id SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // PostgreSQL大版本号(该参数当前必传),版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。目前支持10,11,12,13,14,15这几个大版本,详情见[内核版本概述](https://cloud.tencent.com/document/product/409/67018)。 // 输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // PostgreSQL内核版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` }
Predefined struct for user
type CreateDBInstancesResponse ¶
type CreateDBInstancesResponse struct { *tchttp.BaseResponse Response *CreateDBInstancesResponseParams `json:"Response"` }
func NewCreateDBInstancesResponse ¶
func NewCreateDBInstancesResponse() (response *CreateDBInstancesResponse)
func (*CreateDBInstancesResponse) FromJsonString ¶
func (r *CreateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBInstancesResponse) ToJsonString ¶
func (r *CreateDBInstancesResponse) ToJsonString() string
type CreateDBInstancesResponseParams ¶ added in v1.0.426
type CreateDBInstancesResponseParams struct { // 订单号列表。每个实例对应一个订单号。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 冻结流水号 BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // 创建成功的实例ID集合,只在后付费情景下有返回值 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDatabaseRequest ¶ added in v1.0.1009
type CreateDatabaseRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 创建的数据库名 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 数据库的所有者 DatabaseOwner *string `json:"DatabaseOwner,omitnil,omitempty" name:"DatabaseOwner"` // 数据库的字符编码 Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 数据库的排序规则 Collate *string `json:"Collate,omitnil,omitempty" name:"Collate"` // 数据库的字符分类 Ctype *string `json:"Ctype,omitnil,omitempty" name:"Ctype"` }
func NewCreateDatabaseRequest ¶ added in v1.0.1009
func NewCreateDatabaseRequest() (request *CreateDatabaseRequest)
func (*CreateDatabaseRequest) FromJsonString ¶ added in v1.0.1009
func (r *CreateDatabaseRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatabaseRequest) ToJsonString ¶ added in v1.0.1009
func (r *CreateDatabaseRequest) ToJsonString() string
type CreateDatabaseRequestParams ¶ added in v1.0.1009
type CreateDatabaseRequestParams struct { // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 创建的数据库名 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 数据库的所有者 DatabaseOwner *string `json:"DatabaseOwner,omitnil,omitempty" name:"DatabaseOwner"` // 数据库的字符编码 Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 数据库的排序规则 Collate *string `json:"Collate,omitnil,omitempty" name:"Collate"` // 数据库的字符分类 Ctype *string `json:"Ctype,omitnil,omitempty" name:"Ctype"` }
Predefined struct for user
type CreateDatabaseResponse ¶ added in v1.0.1009
type CreateDatabaseResponse struct { *tchttp.BaseResponse Response *CreateDatabaseResponseParams `json:"Response"` }
func NewCreateDatabaseResponse ¶ added in v1.0.1009
func NewCreateDatabaseResponse() (response *CreateDatabaseResponse)
func (*CreateDatabaseResponse) FromJsonString ¶ added in v1.0.1009
func (r *CreateDatabaseResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatabaseResponse) ToJsonString ¶ added in v1.0.1009
func (r *CreateDatabaseResponse) ToJsonString() string
type CreateDatabaseResponseParams ¶ added in v1.0.1009
type CreateDatabaseResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateInstancesRequest ¶
type CreateInstancesRequest struct { *tchttp.BaseRequest // 实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息; // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li> // <li>后付费:只支持1</li> Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 实例字符集,目前只支持: // <li> UTF8</li> // <li> LATIN1</li> Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // 实例根账号用户名,具体规范如下: // <li>用户名需要1-16个字符,只能由字母、数字或下划线组成</li> // <li>不能为postgres</li> // <li>不能由数字和pg_开头</li> // <li>所有规则均不区分大小写</li> AdminName *string `json:"AdminName,omitnil,omitempty" name:"AdminName"` // 实例根账号用户名对应的密码,长度8 ~ 32位,推荐使用12位以上的密码;不能以" / "开头; // 必须包含以下四项,字符种类: // <li>小写字母: [a ~ z]</li> // <li>大写字母:[A ~ Z]</li> // <li>数字:0 - 9</li> // <li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/</li> AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"` // PostgreSQL大版本号(该参数当前必传),版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。目前支持10,11,12,13,14,15这几个大版本,详情见[内核版本概述](https://cloud.tencent.com/document/product/409/67018)。 // 输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // PostgreSQL社区大版本+小版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // PostgreSQL内核版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` // 实例计费类型,目前支持: // <li>PREPAID:预付费,即包年包月</li> // <li>POSTPAID_BY_HOUR:后付费,即按量计费</li> // 默认值:PREPAID InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。 // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 续费标记: // <li>0:手动续费</li> // <li>1:自动续费</li> // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 是否自动使用代金券: // <li>0:否</li> // <li>1:是</li> // 默认值:0 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 活动ID。 ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 是否需要支持数据透明加密: // <li>0:否</li> // <li>1:是</li> // 默认值:0 // 参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748) NeedSupportTDE *uint64 `json:"NeedSupportTDE,omitnil,omitempty" name:"NeedSupportTDE"` // 自定义密钥的KeyId,若选择自定义密匙加密,则需要传入自定义密匙的KeyId,KeyId是CMK的唯一标识。 // KeyId创建获取相关参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749) KMSKeyId *string `json:"KMSKeyId,omitnil,omitempty" name:"KMSKeyId"` // 使用KMS服务的地域,KMSRegion为空默认使用本地域的KMS,本地域不支持的情况下需自选其他KMS支持的地域。 // KMSRegion相关介绍参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749) KMSRegion *string `json:"KMSRegion,omitnil,omitempty" name:"KMSRegion"` // 数据库引擎,支持: // <li>postgresql:云数据库PostgreSQL</li> // <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li> // 默认值:postgresql DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 数据库引擎的配置信息,配置格式如下: // {"$key1":"$value1", "$key2":"$value2"} // 各引擎支持如下: // mssql_compatible引擎: // <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li> // <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下: // "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li> // <li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li> DBEngineConfig *string `json:"DBEngineConfig,omitnil,omitempty" name:"DBEngineConfig"` // 主从同步方式,支持: // <li>Semi-sync:半同步</li> // <li>Async:异步</li> // 主实例默认值:Semi-sync // 只读实例默认值:Async SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` // 是否需要支持Ipv6: // <li>0:否</li> // <li>1:是</li> // 默认值:0 NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitnil,omitempty" name:"NeedSupportIpv6"` }
func NewCreateInstancesRequest ¶
func NewCreateInstancesRequest() (request *CreateInstancesRequest)
func (*CreateInstancesRequest) FromJsonString ¶
func (r *CreateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancesRequest) ToJsonString ¶
func (r *CreateInstancesRequest) ToJsonString() string
type CreateInstancesRequestParams ¶ added in v1.0.426
type CreateInstancesRequestParams struct { // 实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息; // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li> // <li>后付费:只支持1</li> Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 实例字符集,目前只支持: // <li> UTF8</li> // <li> LATIN1</li> Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` // 实例根账号用户名,具体规范如下: // <li>用户名需要1-16个字符,只能由字母、数字或下划线组成</li> // <li>不能为postgres</li> // <li>不能由数字和pg_开头</li> // <li>所有规则均不区分大小写</li> AdminName *string `json:"AdminName,omitnil,omitempty" name:"AdminName"` // 实例根账号用户名对应的密码,长度8 ~ 32位,推荐使用12位以上的密码;不能以" / "开头; // 必须包含以下四项,字符种类: // <li>小写字母: [a ~ z]</li> // <li>大写字母:[A ~ Z]</li> // <li>数字:0 - 9</li> // <li>特殊字符:()`~!@#$%^&*-+=_|{}[]:;'<>,.?/</li> AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"` // PostgreSQL大版本号(该参数当前必传),版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。目前支持10,11,12,13,14,15这几个大版本,详情见[内核版本概述](https://cloud.tencent.com/document/product/409/67018)。 // 输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // PostgreSQL社区大版本+小版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // PostgreSQL内核版本号。 // 一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新内核版本号。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` // 实例计费类型,目前支持: // <li>PREPAID:预付费,即包年包月</li> // <li>POSTPAID_BY_HOUR:后付费,即按量计费</li> // 默认值:PREPAID InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。 // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 续费标记: // <li>0:手动续费</li> // <li>1:自动续费</li> // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 是否自动使用代金券: // <li>0:否</li> // <li>1:是</li> // 默认值:0 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 活动ID。 ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 是否需要支持数据透明加密: // <li>0:否</li> // <li>1:是</li> // 默认值:0 // 参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748) NeedSupportTDE *uint64 `json:"NeedSupportTDE,omitnil,omitempty" name:"NeedSupportTDE"` // 自定义密钥的KeyId,若选择自定义密匙加密,则需要传入自定义密匙的KeyId,KeyId是CMK的唯一标识。 // KeyId创建获取相关参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749) KMSKeyId *string `json:"KMSKeyId,omitnil,omitempty" name:"KMSKeyId"` // 使用KMS服务的地域,KMSRegion为空默认使用本地域的KMS,本地域不支持的情况下需自选其他KMS支持的地域。 // KMSRegion相关介绍参考[开启透明数据加密](https://cloud.tencent.com/document/product/409/71749) KMSRegion *string `json:"KMSRegion,omitnil,omitempty" name:"KMSRegion"` // 数据库引擎,支持: // <li>postgresql:云数据库PostgreSQL</li> // <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li> // 默认值:postgresql DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 数据库引擎的配置信息,配置格式如下: // {"$key1":"$value1", "$key2":"$value2"} // 各引擎支持如下: // mssql_compatible引擎: // <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li> // <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下: // "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li> // <li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li> DBEngineConfig *string `json:"DBEngineConfig,omitnil,omitempty" name:"DBEngineConfig"` // 主从同步方式,支持: // <li>Semi-sync:半同步</li> // <li>Async:异步</li> // 主实例默认值:Semi-sync // 只读实例默认值:Async SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` // 是否需要支持Ipv6: // <li>0:否</li> // <li>1:是</li> // 默认值:0 NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitnil,omitempty" name:"NeedSupportIpv6"` }
Predefined struct for user
type CreateInstancesResponse ¶
type CreateInstancesResponse struct { *tchttp.BaseResponse Response *CreateInstancesResponseParams `json:"Response"` }
func NewCreateInstancesResponse ¶
func NewCreateInstancesResponse() (response *CreateInstancesResponse)
func (*CreateInstancesResponse) FromJsonString ¶
func (r *CreateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancesResponse) ToJsonString ¶
func (r *CreateInstancesResponse) ToJsonString() string
type CreateInstancesResponseParams ¶ added in v1.0.426
type CreateInstancesResponseParams struct { // 订单号列表。每个实例对应一个订单号。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 冻结流水号。 BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // 创建成功的实例ID集合,只在后付费情景下有返回值。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateParameterTemplateRequest ¶ added in v1.0.560
type CreateParameterTemplateRequest struct { *tchttp.BaseRequest // 模板名称,长度为1~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 数据库大版本号,例如:11,12,13 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 数据库引擎,例如:postgresql,mssql_compatible DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 参数模板描述,长度为0~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` }
func NewCreateParameterTemplateRequest ¶ added in v1.0.560
func NewCreateParameterTemplateRequest() (request *CreateParameterTemplateRequest)
func (*CreateParameterTemplateRequest) FromJsonString ¶ added in v1.0.560
func (r *CreateParameterTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateParameterTemplateRequest) ToJsonString ¶ added in v1.0.560
func (r *CreateParameterTemplateRequest) ToJsonString() string
type CreateParameterTemplateRequestParams ¶ added in v1.0.560
type CreateParameterTemplateRequestParams struct { // 模板名称,长度为1~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 数据库大版本号,例如:11,12,13 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 数据库引擎,例如:postgresql,mssql_compatible DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 参数模板描述,长度为0~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` }
Predefined struct for user
type CreateParameterTemplateResponse ¶ added in v1.0.560
type CreateParameterTemplateResponse struct { *tchttp.BaseResponse Response *CreateParameterTemplateResponseParams `json:"Response"` }
func NewCreateParameterTemplateResponse ¶ added in v1.0.560
func NewCreateParameterTemplateResponse() (response *CreateParameterTemplateResponse)
func (*CreateParameterTemplateResponse) FromJsonString ¶ added in v1.0.560
func (r *CreateParameterTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateParameterTemplateResponse) ToJsonString ¶ added in v1.0.560
func (r *CreateParameterTemplateResponse) ToJsonString() string
type CreateParameterTemplateResponseParams ¶ added in v1.0.560
type CreateParameterTemplateResponseParams struct { // 参数模板ID,用于唯一确认参数模板 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateReadOnlyDBInstanceRequest ¶
type CreateReadOnlyDBInstanceRequest struct { *tchttp.BaseRequest // 实例所属主可用区, 如:ap-guangzhou-3; // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 只读实例的主实例ID。 MasterDBInstanceId *string `json:"MasterDBInstanceId,omitnil,omitempty" name:"MasterDBInstanceId"` // 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li> // <li>后付费:只支持1</li> Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例计费类型,目前支持: // <li>PREPAID:预付费,即包年包月。</li> // <li>POSTPAID_BY_HOUR:后付费,即按量计费。</li> // 默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 是否自动使用代金券: // <li>0:否</li> // <li>1:是</li> // 默认值:0 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 续费标记: // <li>0:手动续费</li> // <li>1:自动续费</li> // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 项目ID。 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 优惠活动ID ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 只读组ID。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。 TagList *Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 是否需要支持Ipv6: // <li>0:否</li> // <li>1:是</li> // 默认值:0 NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitnil,omitempty" name:"NeedSupportIpv6"` // 实例名(后续支持) Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 【废弃】不再需要指定,内核版本号与主实例保持一致 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // 专属集群ID DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"` }
func NewCreateReadOnlyDBInstanceRequest ¶
func NewCreateReadOnlyDBInstanceRequest() (request *CreateReadOnlyDBInstanceRequest)
func (*CreateReadOnlyDBInstanceRequest) FromJsonString ¶
func (r *CreateReadOnlyDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyDBInstanceRequest) ToJsonString ¶
func (r *CreateReadOnlyDBInstanceRequest) ToJsonString() string
type CreateReadOnlyDBInstanceRequestParams ¶ added in v1.0.426
type CreateReadOnlyDBInstanceRequestParams struct { // 实例所属主可用区, 如:ap-guangzhou-3; // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 只读实例的主实例ID。 MasterDBInstanceId *string `json:"MasterDBInstanceId,omitnil,omitempty" name:"MasterDBInstanceId"` // 售卖规格码。该参数可以通过调用[DescribeClasses](https://cloud.tencent.com/document/api/409/89019)的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 实例容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 购买实例数量,取值范围:[1-10]。一次性购买支持最大数量10个,若超过该数量,可进行多次调用进行购买。 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li> // <li>后付费:只支持1</li> Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 私有网络ID,形如vpc-xxxxxxxx(该参数当前必传)。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcEx](https://cloud.tencent.com/document/api/215/1372) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxxxxxxx(该参数当前必传)。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例计费类型,目前支持: // <li>PREPAID:预付费,即包年包月。</li> // <li>POSTPAID_BY_HOUR:后付费,即按量计费。</li> // 默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 是否自动使用代金券: // <li>0:否</li> // <li>1:是</li> // 默认值:0 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 续费标记: // <li>0:手动续费</li> // <li>1:自动续费</li> // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 项目ID。 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 优惠活动ID ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 只读组ID。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 实例需要绑定的Tag信息,默认为空;可以通过调用 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 返回值中的 Tags 字段来获取。 TagList *Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 实例所属安全组,该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // 是否需要支持Ipv6: // <li>0:否</li> // <li>1:是</li> // 默认值:0 NeedSupportIpv6 *uint64 `json:"NeedSupportIpv6,omitnil,omitempty" name:"NeedSupportIpv6"` // 实例名(后续支持) Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 【废弃】不再需要指定,内核版本号与主实例保持一致 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // 专属集群ID DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"` }
Predefined struct for user
type CreateReadOnlyDBInstanceResponse ¶
type CreateReadOnlyDBInstanceResponse struct { *tchttp.BaseResponse Response *CreateReadOnlyDBInstanceResponseParams `json:"Response"` }
func NewCreateReadOnlyDBInstanceResponse ¶
func NewCreateReadOnlyDBInstanceResponse() (response *CreateReadOnlyDBInstanceResponse)
func (*CreateReadOnlyDBInstanceResponse) FromJsonString ¶
func (r *CreateReadOnlyDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyDBInstanceResponse) ToJsonString ¶
func (r *CreateReadOnlyDBInstanceResponse) ToJsonString() string
type CreateReadOnlyDBInstanceResponseParams ¶ added in v1.0.426
type CreateReadOnlyDBInstanceResponseParams struct { // 订单号列表。每个实例对应一个订单号 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 冻结流水号 BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // 创建成功的实例ID集合,只在后付费情景下有返回值 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateReadOnlyGroupNetworkAccessRequest ¶ added in v1.0.359
type CreateReadOnlyGroupNetworkAccessRequest struct { *tchttp.BaseRequest // RO组ID,形如:pgro-4t9c6g7k。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 私有网络统一 ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 是否指定分配vip true-指定分配 false-自动分配。 IsAssignVip *bool `json:"IsAssignVip,omitnil,omitempty" name:"IsAssignVip"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
func NewCreateReadOnlyGroupNetworkAccessRequest ¶ added in v1.0.359
func NewCreateReadOnlyGroupNetworkAccessRequest() (request *CreateReadOnlyGroupNetworkAccessRequest)
func (*CreateReadOnlyGroupNetworkAccessRequest) FromJsonString ¶ added in v1.0.359
func (r *CreateReadOnlyGroupNetworkAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyGroupNetworkAccessRequest) ToJsonString ¶ added in v1.0.359
func (r *CreateReadOnlyGroupNetworkAccessRequest) ToJsonString() string
type CreateReadOnlyGroupNetworkAccessRequestParams ¶ added in v1.0.426
type CreateReadOnlyGroupNetworkAccessRequestParams struct { // RO组ID,形如:pgro-4t9c6g7k。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 私有网络统一 ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 是否指定分配vip true-指定分配 false-自动分配。 IsAssignVip *bool `json:"IsAssignVip,omitnil,omitempty" name:"IsAssignVip"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
Predefined struct for user
type CreateReadOnlyGroupNetworkAccessResponse ¶ added in v1.0.359
type CreateReadOnlyGroupNetworkAccessResponse struct { *tchttp.BaseResponse Response *CreateReadOnlyGroupNetworkAccessResponseParams `json:"Response"` }
func NewCreateReadOnlyGroupNetworkAccessResponse ¶ added in v1.0.359
func NewCreateReadOnlyGroupNetworkAccessResponse() (response *CreateReadOnlyGroupNetworkAccessResponse)
func (*CreateReadOnlyGroupNetworkAccessResponse) FromJsonString ¶ added in v1.0.359
func (r *CreateReadOnlyGroupNetworkAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyGroupNetworkAccessResponse) ToJsonString ¶ added in v1.0.359
func (r *CreateReadOnlyGroupNetworkAccessResponse) ToJsonString() string
type CreateReadOnlyGroupNetworkAccessResponseParams ¶ added in v1.0.426
type CreateReadOnlyGroupNetworkAccessResponseParams struct { // 流程ID。 // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateReadOnlyGroupRequest ¶
type CreateReadOnlyGroupRequest struct { *tchttp.BaseRequest // 主实例ID MasterDBInstanceId *string `json:"MasterDBInstanceId,omitnil,omitempty" name:"MasterDBInstanceId"` // 只读组名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 私有网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 延迟时间大小开关:0关、1开 ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitnil,omitempty" name:"ReplayLagEliminate"` // 延迟空间大小开关: 0关、1开 ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitnil,omitempty" name:"ReplayLatencyEliminate"` // 延迟时间大小阈值,单位ms MaxReplayLag *uint64 `json:"MaxReplayLag,omitnil,omitempty" name:"MaxReplayLag"` // 延迟空间大小阈值,单位MB MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitnil,omitempty" name:"MaxReplayLatency"` // 延迟剔除最小保留实例数 MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitnil,omitempty" name:"MinDelayEliminateReserve"` // 安全组id SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
func NewCreateReadOnlyGroupRequest ¶
func NewCreateReadOnlyGroupRequest() (request *CreateReadOnlyGroupRequest)
func (*CreateReadOnlyGroupRequest) FromJsonString ¶
func (r *CreateReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyGroupRequest) ToJsonString ¶
func (r *CreateReadOnlyGroupRequest) ToJsonString() string
type CreateReadOnlyGroupRequestParams ¶ added in v1.0.426
type CreateReadOnlyGroupRequestParams struct { // 主实例ID MasterDBInstanceId *string `json:"MasterDBInstanceId,omitnil,omitempty" name:"MasterDBInstanceId"` // 只读组名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 私有网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 延迟时间大小开关:0关、1开 ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitnil,omitempty" name:"ReplayLagEliminate"` // 延迟空间大小开关: 0关、1开 ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitnil,omitempty" name:"ReplayLatencyEliminate"` // 延迟时间大小阈值,单位ms MaxReplayLag *uint64 `json:"MaxReplayLag,omitnil,omitempty" name:"MaxReplayLag"` // 延迟空间大小阈值,单位MB MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitnil,omitempty" name:"MaxReplayLatency"` // 延迟剔除最小保留实例数 MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitnil,omitempty" name:"MinDelayEliminateReserve"` // 安全组id SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
Predefined struct for user
type CreateReadOnlyGroupResponse ¶
type CreateReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *CreateReadOnlyGroupResponseParams `json:"Response"` }
func NewCreateReadOnlyGroupResponse ¶
func NewCreateReadOnlyGroupResponse() (response *CreateReadOnlyGroupResponse)
func (*CreateReadOnlyGroupResponse) FromJsonString ¶
func (r *CreateReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReadOnlyGroupResponse) ToJsonString ¶
func (r *CreateReadOnlyGroupResponse) ToJsonString() string
type CreateReadOnlyGroupResponseParams ¶ added in v1.0.426
type CreateReadOnlyGroupResponseParams struct { // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 流程ID // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateServerlessDBInstanceRequest ¶
type CreateServerlessDBInstanceRequest struct { *tchttp.BaseRequest // 可用区ID。公测阶段仅支持ap-shanghai-2、ap-beijing-1,ap-guangzhou-2. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // DB实例名称,同一个账号下该值必须唯一。 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` // PostgreSQL内核版本,目前只支持:10.4。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // PostgreSQL数据库字符集,目前支持UTF8。 DBCharset *string `json:"DBCharset,omitnil,omitempty" name:"DBCharset"` // 项目ID。 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 私有网络ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例需要绑定的标签数组信息 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` }
func NewCreateServerlessDBInstanceRequest ¶
func NewCreateServerlessDBInstanceRequest() (request *CreateServerlessDBInstanceRequest)
func (*CreateServerlessDBInstanceRequest) FromJsonString ¶
func (r *CreateServerlessDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServerlessDBInstanceRequest) ToJsonString ¶
func (r *CreateServerlessDBInstanceRequest) ToJsonString() string
type CreateServerlessDBInstanceRequestParams ¶ added in v1.0.426
type CreateServerlessDBInstanceRequestParams struct { // 可用区ID。公测阶段仅支持ap-shanghai-2、ap-beijing-1,ap-guangzhou-2. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // DB实例名称,同一个账号下该值必须唯一。 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` // PostgreSQL内核版本,目前只支持:10.4。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // PostgreSQL数据库字符集,目前支持UTF8。 DBCharset *string `json:"DBCharset,omitnil,omitempty" name:"DBCharset"` // 项目ID。 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 私有网络ID。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例需要绑定的标签数组信息 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` }
Predefined struct for user
type CreateServerlessDBInstanceResponse ¶
type CreateServerlessDBInstanceResponse struct { *tchttp.BaseResponse Response *CreateServerlessDBInstanceResponseParams `json:"Response"` }
func NewCreateServerlessDBInstanceResponse ¶
func NewCreateServerlessDBInstanceResponse() (response *CreateServerlessDBInstanceResponse)
func (*CreateServerlessDBInstanceResponse) FromJsonString ¶
func (r *CreateServerlessDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServerlessDBInstanceResponse) ToJsonString ¶
func (r *CreateServerlessDBInstanceResponse) ToJsonString() string
type CreateServerlessDBInstanceResponseParams ¶ added in v1.0.426
type CreateServerlessDBInstanceResponseParams struct { // 实例ID,该ID全局唯一,如:postgres-xxxxx DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DBBackup ¶
type DBBackup struct { // 备份文件唯一标识 Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // 文件生成的开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 文件生成的结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 文件大小(K) Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // 策略(0-实例备份;1-多库备份) Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"` // 类型(0-定时) Way *int64 `json:"Way,omitnil,omitempty" name:"Way"` // 备份方式(1-完整) Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 状态(1-创建中;2-成功;3-失败) Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // DB列表 DbList []*string `json:"DbList,omitnil,omitempty" name:"DbList"` // 内网下载地址 InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"` // 外网下载地址 ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"` // 备份集ID // 注意:此字段可能返回 null,表示取不到有效值。 SetId *string `json:"SetId,omitnil,omitempty" name:"SetId"` }
type DBInstance ¶
type DBInstance struct { // 实例所属地域,如: ap-guangzhou,对应RegionSet的Region字段。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 实例所属可用区, 如:ap-guangzhou-3,对应ZoneSet的Zone字段。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 私有网络ID,形如vpc-e6w23k31。有效的VpcId可通过登录控制台查询;也可以调用接口 [DescribeVpcs](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的unVpcId字段获取。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-51lcif9y。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 [DescribeSubnets ](https://cloud.tencent.com/document/api/215/15784),从接口返回中的unSubnetId字段获取。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称。 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` // 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolating(隔离中)、isolated(已隔离)、disisolating(解隔离中)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)、audit-switching(审计状态变更中)、primary-switching(主备切换中) DBInstanceStatus *string `json:"DBInstanceStatus,omitnil,omitempty" name:"DBInstanceStatus"` // 实例分配的内存大小,单位:GB DBInstanceMemory *uint64 `json:"DBInstanceMemory,omitnil,omitempty" name:"DBInstanceMemory"` // 实例分配的存储空间大小,单位:GB DBInstanceStorage *uint64 `json:"DBInstanceStorage,omitnil,omitempty" name:"DBInstanceStorage"` // 实例分配的CPU数量,单位:个 DBInstanceCpu *uint64 `json:"DBInstanceCpu,omitnil,omitempty" name:"DBInstanceCpu"` // 售卖规格ID DBInstanceClass *string `json:"DBInstanceClass,omitnil,omitempty" name:"DBInstanceClass"` // PostgreSQL大版本号,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取,目前支持10,11,12,13,14,15这几个大版本。 // 注意:此字段可能返回 null,表示取不到有效值。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // PostgreSQL社区大版本+小版本号,如12.4,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // PostgreSQL内核版本号,如v12.7_r1.8,版本信息可从[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)获取。 // 注意:此字段可能返回 null,表示取不到有效值。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` // 实例类型,类型有: // <li>primary:主实例</li> // <li>readonly:只读实例</li> // <li>guard:灾备实例</li> // <li>temp:临时实例</li> DBInstanceType *string `json:"DBInstanceType,omitnil,omitempty" name:"DBInstanceType"` // 实例版本,目前只支持standard(双机高可用版, 一主一从)。 DBInstanceVersion *string `json:"DBInstanceVersion,omitnil,omitempty" name:"DBInstanceVersion"` // 实例字符集,目前只支持: // <li> UTF8</li> // <li> LATIN1</li> DBCharset *string `json:"DBCharset,omitnil,omitempty" name:"DBCharset"` // 实例创建时间。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 实例执行最后一次更新的时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 实例到期时间。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 实例隔离时间。 IsolatedTime *string `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"` // 计费模式: // <li>prepaid:包年包月,预付费</li> // <li>postpaid:按量计费,后付费</li> PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"` // 是否自动续费: // <li>0:手动续费</li> // <li>1:自动续费</li> // 默认值:0 AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // 实例网络连接信息。 DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitnil,omitempty" name:"DBInstanceNetInfo"` // 机器类型。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 用户的AppId。 AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 实例的Uid。 Uid *uint64 `json:"Uid,omitnil,omitempty" name:"Uid"` // 项目ID。 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 实例绑定的标签信息。 // 注意:此字段可能返回 null,表示取不到有效值。 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 主实例信息,仅在实例为只读实例时返回。 // 注意:此字段可能返回 null,表示取不到有效值。 MasterDBInstanceId *string `json:"MasterDBInstanceId,omitnil,omitempty" name:"MasterDBInstanceId"` // 只读实例数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ReadOnlyInstanceNum *int64 `json:"ReadOnlyInstanceNum,omitnil,omitempty" name:"ReadOnlyInstanceNum"` // 只读实例在只读组中的状态。 // 注意:此字段可能返回 null,表示取不到有效值。 StatusInReadonlyGroup *string `json:"StatusInReadonlyGroup,omitnil,omitempty" name:"StatusInReadonlyGroup"` // 下线时间。 // 注意:此字段可能返回 null,表示取不到有效值。 OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // 实例的节点信息。 // 注意:此字段可能返回 null,表示取不到有效值。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 实例是否支持TDE数据加密: // <li>0:不支持</li> // <li>1:支持</li> // 默认值:0 // TDE数据加密可参考[数据透明加密概述](https://cloud.tencent.com/document/product/409/71748) // 注意:此字段可能返回 null,表示取不到有效值。 IsSupportTDE *int64 `json:"IsSupportTDE,omitnil,omitempty" name:"IsSupportTDE"` // 数据库引擎,支持: // <li>postgresql:云数据库PostgreSQL</li> // <li>mssql_compatible:MSSQL兼容-云数据库PostgreSQL</li> // 默认值:postgresql // 注意:此字段可能返回 null,表示取不到有效值。 DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 数据库引擎的配置信息,配置格式如下: // {"$key1":"$value1", "$key2":"$value2"} // 各引擎支持如下: // mssql_compatible引擎: // <li>migrationMode:数据库模式,可选参数,可取值:single-db(单数据库模式),multi-db(多数据库模式)。默认为single-db。</li> // <li>defaultLocale:排序区域规则,可选参数,在初始化后不可修改,默认为en_US,可选值如下: // "af_ZA", "sq_AL", "ar_DZ", "ar_BH", "ar_EG", "ar_IQ", "ar_JO", "ar_KW", "ar_LB", "ar_LY", "ar_MA", "ar_OM", "ar_QA", "ar_SA", "ar_SY", "ar_TN", "ar_AE", "ar_YE", "hy_AM", "az_Cyrl_AZ", "az_Latn_AZ", "eu_ES", "be_BY", "bg_BG", "ca_ES", "zh_HK", "zh_MO", "zh_CN", "zh_SG", "zh_TW", "hr_HR", "cs_CZ", "da_DK", "nl_BE", "nl_NL", "en_AU", "en_BZ", "en_CA", "en_IE", "en_JM", "en_NZ", "en_PH", "en_ZA", "en_TT", "en_GB", "en_US", "en_ZW", "et_EE", "fo_FO", "fa_IR", "fi_FI", "fr_BE", "fr_CA", "fr_FR", "fr_LU", "fr_MC", "fr_CH", "mk_MK", "ka_GE", "de_AT", "de_DE", "de_LI", "de_LU", "de_CH", "el_GR", "gu_IN", "he_IL", "hi_IN", "hu_HU", "is_IS", "id_ID", "it_IT", "it_CH", "ja_JP", "kn_IN", "kok_IN", "ko_KR", "ky_KG", "lv_LV", "lt_LT", "ms_BN", "ms_MY", "mr_IN", "mn_MN", "nb_NO", "nn_NO", "pl_PL", "pt_BR", "pt_PT", "pa_IN", "ro_RO", "ru_RU", "sa_IN", "sr_Cyrl_RS", "sr_Latn_RS", "sk_SK", "sl_SI", "es_AR", "es_BO", "es_CL", "es_CO", "es_CR", "es_DO", "es_EC", "es_SV", "es_GT", "es_HN", "es_MX", "es_NI", "es_PA", "es_PY","es_PE", "es_PR", "es_ES", "es_TRADITIONAL", "es_UY", "es_VE", "sw_KE", "sv_FI", "sv_SE", "tt_RU", "te_IN", "th_TH", "tr_TR", "uk_UA", "ur_IN", "ur_PK", "uz_Cyrl_UZ", "uz_Latn_UZ", "vi_VN"。</li> // <li>serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:"bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。</li> // 注意:此字段可能返回 null,表示取不到有效值。 DBEngineConfig *string `json:"DBEngineConfig,omitnil,omitempty" name:"DBEngineConfig"` // 实例网络信息列表(此字段已废弃) // 注意:此字段可能返回 null,表示取不到有效值。 NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitnil,omitempty" name:"NetworkAccessList"` // 实例是否支持Ipv6: // <li>0:否</li> // <li>1:是</li> // 默认值:0 SupportIpv6 *uint64 `json:"SupportIpv6,omitnil,omitempty" name:"SupportIpv6"` }
type DBInstanceNetInfo ¶
type DBInstanceNetInfo struct { // DNS域名 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // IP地址 Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // 连接Port地址 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 网络类型,1、inner(基础网络内网地址);2、private(私有网络内网地址);3、public(基础网络或私有网络的外网地址); NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"` // 网络连接状态,1、initing(未开通);2、opened(已开通);3、closed(已关闭);4、opening(开通中);5、closing(关闭中); Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 私有网络ID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 连接数据库的协议类型,当前支持:postgresql、mssql(MSSQL兼容语法) // 注意:此字段可能返回 null,表示取不到有效值。 ProtocolType *string `json:"ProtocolType,omitnil,omitempty" name:"ProtocolType"` }
type DBNode ¶ added in v1.0.327
type DBNode struct { // 节点类型,值可以为: // Primary,代表主节点; // Standby,代表备节点。 Role *string `json:"Role,omitnil,omitempty" name:"Role"` // 节点所在可用区,例如 ap-guangzhou-1。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 专属集群ID // 注意:此字段可能返回 null,表示取不到有效值。 DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"` }
type Database ¶ added in v1.0.1009
type Database struct { // 数据库名 // 注意:此字段可能返回 null,表示取不到有效值。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 数据库所有者 // 注意:此字段可能返回 null,表示取不到有效值。 DatabaseOwner *string `json:"DatabaseOwner,omitnil,omitempty" name:"DatabaseOwner"` // 数据库字符编码 // 注意:此字段可能返回 null,表示取不到有效值。 Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 数据库排序规则 // 注意:此字段可能返回 null,表示取不到有效值。 Collate *string `json:"Collate,omitnil,omitempty" name:"Collate"` // 数据库字符分类 // 注意:此字段可能返回 null,表示取不到有效值。 Ctype *string `json:"Ctype,omitnil,omitempty" name:"Ctype"` // 数据库是否允许连接 // 注意:此字段可能返回 null,表示取不到有效值。 AllowConn *bool `json:"AllowConn,omitnil,omitempty" name:"AllowConn"` // 数据库最大连接数,-1表示无限制 // 注意:此字段可能返回 null,表示取不到有效值。 ConnLimit *int64 `json:"ConnLimit,omitnil,omitempty" name:"ConnLimit"` // 数据库权限列表 // 注意:此字段可能返回 null,表示取不到有效值。 Privileges *string `json:"Privileges,omitnil,omitempty" name:"Privileges"` }
type DatabaseObject ¶ added in v1.0.969
type DatabaseObject struct { // 支持使用的数据库对象类型有:account,database,schema,sequence,procedure,type,function,table,view,matview,column。 // 注意:此字段可能返回 null,表示取不到有效值。 ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"` // 所描述的数据库对象名称 // 注意:此字段可能返回 null,表示取不到有效值。 ObjectName *string `json:"ObjectName,omitnil,omitempty" name:"ObjectName"` // 所要描述的数据库对象,所属的数据库名称。当描述对象类型不为database时,此参数必选。 // 注意:此字段可能返回 null,表示取不到有效值。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 所要描述的数据库对象,所属的模式名称。当描述对象不为database、schema时,此参数必选。 // 注意:此字段可能返回 null,表示取不到有效值。 SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // 所要描述的数据库对象,所属的表名称。当描述的对象类型为column时,此参数必填。 // 注意:此字段可能返回 null,表示取不到有效值。 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
type DatabasePrivilege ¶ added in v1.0.969
type DatabasePrivilege struct { // 数据库对象,当ObjectType为database时,DataseName/SchemaName/TableName可为空;当ObjectType为schema时,SchemaName/TableName可为空;当ObjectType为column时,TableName不可为空,其余情况均可为空。 // 注意:此字段可能返回 null,表示取不到有效值。 Object *DatabaseObject `json:"Object,omitnil,omitempty" name:"Object"` // 指定账号对数据库对象拥有的权限列表 // 注意:此字段可能返回 null,表示取不到有效值。 PrivilegeSet []*string `json:"PrivilegeSet,omitnil,omitempty" name:"PrivilegeSet"` }
type DedicatedCluster ¶ added in v1.0.1010
type DedicatedCluster struct { // 专属集群ID // 注意:此字段可能返回 null,表示取不到有效值。 DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"` // 专属集群名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 专属集群所在可用区 // 注意:此字段可能返回 null,表示取不到有效值。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 灾备集群 // 注意:此字段可能返回 null,表示取不到有效值。 StandbyDedicatedClusterSet []*string `json:"StandbyDedicatedClusterSet,omitnil,omitempty" name:"StandbyDedicatedClusterSet"` // 实例数量 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // Cpu总量 // 注意:此字段可能返回 null,表示取不到有效值。 CpuTotal *int64 `json:"CpuTotal,omitnil,omitempty" name:"CpuTotal"` // Cpu可用数量 // 注意:此字段可能返回 null,表示取不到有效值。 CpuAvailable *int64 `json:"CpuAvailable,omitnil,omitempty" name:"CpuAvailable"` // 内存总量 // 注意:此字段可能返回 null,表示取不到有效值。 MemTotal *int64 `json:"MemTotal,omitnil,omitempty" name:"MemTotal"` // 内存可用量 // 注意:此字段可能返回 null,表示取不到有效值。 MemAvailable *int64 `json:"MemAvailable,omitnil,omitempty" name:"MemAvailable"` // 磁盘总量 // 注意:此字段可能返回 null,表示取不到有效值。 DiskTotal *int64 `json:"DiskTotal,omitnil,omitempty" name:"DiskTotal"` // 磁盘可用量 // 注意:此字段可能返回 null,表示取不到有效值。 DiskAvailable *int64 `json:"DiskAvailable,omitnil,omitempty" name:"DiskAvailable"` }
type DeleteAccountRequest ¶ added in v1.0.969
type DeleteAccountRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 删除的账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
func NewDeleteAccountRequest ¶ added in v1.0.969
func NewDeleteAccountRequest() (request *DeleteAccountRequest)
func (*DeleteAccountRequest) FromJsonString ¶ added in v1.0.969
func (r *DeleteAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccountRequest) ToJsonString ¶ added in v1.0.969
func (r *DeleteAccountRequest) ToJsonString() string
type DeleteAccountRequestParams ¶ added in v1.0.969
type DeleteAccountRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 删除的账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
Predefined struct for user
type DeleteAccountResponse ¶ added in v1.0.969
type DeleteAccountResponse struct { *tchttp.BaseResponse Response *DeleteAccountResponseParams `json:"Response"` }
func NewDeleteAccountResponse ¶ added in v1.0.969
func NewDeleteAccountResponse() (response *DeleteAccountResponse)
func (*DeleteAccountResponse) FromJsonString ¶ added in v1.0.969
func (r *DeleteAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccountResponse) ToJsonString ¶ added in v1.0.969
func (r *DeleteAccountResponse) ToJsonString() string
type DeleteAccountResponseParams ¶ added in v1.0.969
type DeleteAccountResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBaseBackupRequest ¶ added in v1.0.621
type DeleteBaseBackupRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 数据备份ID。 BaseBackupId *string `json:"BaseBackupId,omitnil,omitempty" name:"BaseBackupId"` }
func NewDeleteBaseBackupRequest ¶ added in v1.0.621
func NewDeleteBaseBackupRequest() (request *DeleteBaseBackupRequest)
func (*DeleteBaseBackupRequest) FromJsonString ¶ added in v1.0.621
func (r *DeleteBaseBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBaseBackupRequest) ToJsonString ¶ added in v1.0.621
func (r *DeleteBaseBackupRequest) ToJsonString() string
type DeleteBaseBackupRequestParams ¶ added in v1.0.621
type DeleteBaseBackupRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 数据备份ID。 BaseBackupId *string `json:"BaseBackupId,omitnil,omitempty" name:"BaseBackupId"` }
Predefined struct for user
type DeleteBaseBackupResponse ¶ added in v1.0.621
type DeleteBaseBackupResponse struct { *tchttp.BaseResponse Response *DeleteBaseBackupResponseParams `json:"Response"` }
func NewDeleteBaseBackupResponse ¶ added in v1.0.621
func NewDeleteBaseBackupResponse() (response *DeleteBaseBackupResponse)
func (*DeleteBaseBackupResponse) FromJsonString ¶ added in v1.0.621
func (r *DeleteBaseBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBaseBackupResponse) ToJsonString ¶ added in v1.0.621
func (r *DeleteBaseBackupResponse) ToJsonString() string
type DeleteBaseBackupResponseParams ¶ added in v1.0.621
type DeleteBaseBackupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDBInstanceNetworkAccessRequest ¶ added in v1.0.359
type DeleteDBInstanceNetworkAccessRequest struct { *tchttp.BaseRequest // 实例ID,形如:postgres-6bwgamo3。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 私有网络统一 ID,若是基础网络则传"0"。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID,若是基础网络则传"0"。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
func NewDeleteDBInstanceNetworkAccessRequest ¶ added in v1.0.359
func NewDeleteDBInstanceNetworkAccessRequest() (request *DeleteDBInstanceNetworkAccessRequest)
func (*DeleteDBInstanceNetworkAccessRequest) FromJsonString ¶ added in v1.0.359
func (r *DeleteDBInstanceNetworkAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDBInstanceNetworkAccessRequest) ToJsonString ¶ added in v1.0.359
func (r *DeleteDBInstanceNetworkAccessRequest) ToJsonString() string
type DeleteDBInstanceNetworkAccessRequestParams ¶ added in v1.0.426
type DeleteDBInstanceNetworkAccessRequestParams struct { // 实例ID,形如:postgres-6bwgamo3。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 私有网络统一 ID,若是基础网络则传"0"。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID,若是基础网络则传"0"。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
Predefined struct for user
type DeleteDBInstanceNetworkAccessResponse ¶ added in v1.0.359
type DeleteDBInstanceNetworkAccessResponse struct { *tchttp.BaseResponse Response *DeleteDBInstanceNetworkAccessResponseParams `json:"Response"` }
func NewDeleteDBInstanceNetworkAccessResponse ¶ added in v1.0.359
func NewDeleteDBInstanceNetworkAccessResponse() (response *DeleteDBInstanceNetworkAccessResponse)
func (*DeleteDBInstanceNetworkAccessResponse) FromJsonString ¶ added in v1.0.359
func (r *DeleteDBInstanceNetworkAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDBInstanceNetworkAccessResponse) ToJsonString ¶ added in v1.0.359
func (r *DeleteDBInstanceNetworkAccessResponse) ToJsonString() string
type DeleteDBInstanceNetworkAccessResponseParams ¶ added in v1.0.426
type DeleteDBInstanceNetworkAccessResponseParams struct { // 流程ID。 // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLogBackupRequest ¶ added in v1.0.621
type DeleteLogBackupRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 日志备份ID。 LogBackupId *string `json:"LogBackupId,omitnil,omitempty" name:"LogBackupId"` }
func NewDeleteLogBackupRequest ¶ added in v1.0.621
func NewDeleteLogBackupRequest() (request *DeleteLogBackupRequest)
func (*DeleteLogBackupRequest) FromJsonString ¶ added in v1.0.621
func (r *DeleteLogBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogBackupRequest) ToJsonString ¶ added in v1.0.621
func (r *DeleteLogBackupRequest) ToJsonString() string
type DeleteLogBackupRequestParams ¶ added in v1.0.621
type DeleteLogBackupRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 日志备份ID。 LogBackupId *string `json:"LogBackupId,omitnil,omitempty" name:"LogBackupId"` }
Predefined struct for user
type DeleteLogBackupResponse ¶ added in v1.0.621
type DeleteLogBackupResponse struct { *tchttp.BaseResponse Response *DeleteLogBackupResponseParams `json:"Response"` }
func NewDeleteLogBackupResponse ¶ added in v1.0.621
func NewDeleteLogBackupResponse() (response *DeleteLogBackupResponse)
func (*DeleteLogBackupResponse) FromJsonString ¶ added in v1.0.621
func (r *DeleteLogBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogBackupResponse) ToJsonString ¶ added in v1.0.621
func (r *DeleteLogBackupResponse) ToJsonString() string
type DeleteLogBackupResponseParams ¶ added in v1.0.621
type DeleteLogBackupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteParameterTemplateRequest ¶ added in v1.0.560
type DeleteParameterTemplateRequest struct { *tchttp.BaseRequest // 参数模板ID,用于唯一确认待操作的参数模板 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDeleteParameterTemplateRequest ¶ added in v1.0.560
func NewDeleteParameterTemplateRequest() (request *DeleteParameterTemplateRequest)
func (*DeleteParameterTemplateRequest) FromJsonString ¶ added in v1.0.560
func (r *DeleteParameterTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteParameterTemplateRequest) ToJsonString ¶ added in v1.0.560
func (r *DeleteParameterTemplateRequest) ToJsonString() string
type DeleteParameterTemplateRequestParams ¶ added in v1.0.560
type DeleteParameterTemplateRequestParams struct { // 参数模板ID,用于唯一确认待操作的参数模板 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteParameterTemplateResponse ¶ added in v1.0.560
type DeleteParameterTemplateResponse struct { *tchttp.BaseResponse Response *DeleteParameterTemplateResponseParams `json:"Response"` }
func NewDeleteParameterTemplateResponse ¶ added in v1.0.560
func NewDeleteParameterTemplateResponse() (response *DeleteParameterTemplateResponse)
func (*DeleteParameterTemplateResponse) FromJsonString ¶ added in v1.0.560
func (r *DeleteParameterTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteParameterTemplateResponse) ToJsonString ¶ added in v1.0.560
func (r *DeleteParameterTemplateResponse) ToJsonString() string
type DeleteParameterTemplateResponseParams ¶ added in v1.0.560
type DeleteParameterTemplateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteReadOnlyGroupNetworkAccessRequest ¶ added in v1.0.359
type DeleteReadOnlyGroupNetworkAccessRequest struct { *tchttp.BaseRequest // RO组ID,形如:pgro-4t9c6g7k。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 私有网络统一 ID,若是基础网络则传"0"。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID,若是基础网络则传"0"。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
func NewDeleteReadOnlyGroupNetworkAccessRequest ¶ added in v1.0.359
func NewDeleteReadOnlyGroupNetworkAccessRequest() (request *DeleteReadOnlyGroupNetworkAccessRequest)
func (*DeleteReadOnlyGroupNetworkAccessRequest) FromJsonString ¶ added in v1.0.359
func (r *DeleteReadOnlyGroupNetworkAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteReadOnlyGroupNetworkAccessRequest) ToJsonString ¶ added in v1.0.359
func (r *DeleteReadOnlyGroupNetworkAccessRequest) ToJsonString() string
type DeleteReadOnlyGroupNetworkAccessRequestParams ¶ added in v1.0.426
type DeleteReadOnlyGroupNetworkAccessRequestParams struct { // RO组ID,形如:pgro-4t9c6g7k。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 私有网络统一 ID,若是基础网络则传"0"。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID,若是基础网络则传"0"。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 目标VIP地址。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` }
Predefined struct for user
type DeleteReadOnlyGroupNetworkAccessResponse ¶ added in v1.0.359
type DeleteReadOnlyGroupNetworkAccessResponse struct { *tchttp.BaseResponse Response *DeleteReadOnlyGroupNetworkAccessResponseParams `json:"Response"` }
func NewDeleteReadOnlyGroupNetworkAccessResponse ¶ added in v1.0.359
func NewDeleteReadOnlyGroupNetworkAccessResponse() (response *DeleteReadOnlyGroupNetworkAccessResponse)
func (*DeleteReadOnlyGroupNetworkAccessResponse) FromJsonString ¶ added in v1.0.359
func (r *DeleteReadOnlyGroupNetworkAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteReadOnlyGroupNetworkAccessResponse) ToJsonString ¶ added in v1.0.359
func (r *DeleteReadOnlyGroupNetworkAccessResponse) ToJsonString() string
type DeleteReadOnlyGroupNetworkAccessResponseParams ¶ added in v1.0.426
type DeleteReadOnlyGroupNetworkAccessResponseParams struct { // 流程ID。 // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteReadOnlyGroupRequest ¶
type DeleteReadOnlyGroupRequest struct { *tchttp.BaseRequest // 待删除只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
func NewDeleteReadOnlyGroupRequest ¶
func NewDeleteReadOnlyGroupRequest() (request *DeleteReadOnlyGroupRequest)
func (*DeleteReadOnlyGroupRequest) FromJsonString ¶
func (r *DeleteReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteReadOnlyGroupRequest) ToJsonString ¶
func (r *DeleteReadOnlyGroupRequest) ToJsonString() string
type DeleteReadOnlyGroupRequestParams ¶ added in v1.0.426
type DeleteReadOnlyGroupRequestParams struct { // 待删除只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
Predefined struct for user
type DeleteReadOnlyGroupResponse ¶
type DeleteReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *DeleteReadOnlyGroupResponseParams `json:"Response"` }
func NewDeleteReadOnlyGroupResponse ¶
func NewDeleteReadOnlyGroupResponse() (response *DeleteReadOnlyGroupResponse)
func (*DeleteReadOnlyGroupResponse) FromJsonString ¶
func (r *DeleteReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteReadOnlyGroupResponse) ToJsonString ¶
func (r *DeleteReadOnlyGroupResponse) ToJsonString() string
type DeleteReadOnlyGroupResponseParams ¶ added in v1.0.426
type DeleteReadOnlyGroupResponseParams struct { // 流程ID // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteServerlessDBInstanceRequest ¶
type DeleteServerlessDBInstanceRequest struct { *tchttp.BaseRequest // DB实例名称,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` // DB实例ID,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDeleteServerlessDBInstanceRequest ¶
func NewDeleteServerlessDBInstanceRequest() (request *DeleteServerlessDBInstanceRequest)
func (*DeleteServerlessDBInstanceRequest) FromJsonString ¶
func (r *DeleteServerlessDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteServerlessDBInstanceRequest) ToJsonString ¶
func (r *DeleteServerlessDBInstanceRequest) ToJsonString() string
type DeleteServerlessDBInstanceRequestParams ¶ added in v1.0.426
type DeleteServerlessDBInstanceRequestParams struct { // DB实例名称,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` // DB实例ID,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DeleteServerlessDBInstanceResponse ¶
type DeleteServerlessDBInstanceResponse struct { *tchttp.BaseResponse Response *DeleteServerlessDBInstanceResponseParams `json:"Response"` }
func NewDeleteServerlessDBInstanceResponse ¶
func NewDeleteServerlessDBInstanceResponse() (response *DeleteServerlessDBInstanceResponse)
func (*DeleteServerlessDBInstanceResponse) FromJsonString ¶
func (r *DeleteServerlessDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteServerlessDBInstanceResponse) ToJsonString ¶
func (r *DeleteServerlessDBInstanceResponse) ToJsonString() string
type DeleteServerlessDBInstanceResponseParams ¶ added in v1.0.426
type DeleteServerlessDBInstanceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountPrivilegesRequest ¶ added in v1.0.969
type DescribeAccountPrivilegesRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询此账号对某数据库对象所拥有的权限信息。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 要查询的数据库对象信息 DatabaseObjectSet []*DatabaseObject `json:"DatabaseObjectSet,omitnil,omitempty" name:"DatabaseObjectSet"` }
func NewDescribeAccountPrivilegesRequest ¶ added in v1.0.969
func NewDescribeAccountPrivilegesRequest() (request *DescribeAccountPrivilegesRequest)
func (*DescribeAccountPrivilegesRequest) FromJsonString ¶ added in v1.0.969
func (r *DescribeAccountPrivilegesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountPrivilegesRequest) ToJsonString ¶ added in v1.0.969
func (r *DescribeAccountPrivilegesRequest) ToJsonString() string
type DescribeAccountPrivilegesRequestParams ¶ added in v1.0.969
type DescribeAccountPrivilegesRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询此账号对某数据库对象所拥有的权限信息。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 要查询的数据库对象信息 DatabaseObjectSet []*DatabaseObject `json:"DatabaseObjectSet,omitnil,omitempty" name:"DatabaseObjectSet"` }
Predefined struct for user
type DescribeAccountPrivilegesResponse ¶ added in v1.0.969
type DescribeAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *DescribeAccountPrivilegesResponseParams `json:"Response"` }
func NewDescribeAccountPrivilegesResponse ¶ added in v1.0.969
func NewDescribeAccountPrivilegesResponse() (response *DescribeAccountPrivilegesResponse)
func (*DescribeAccountPrivilegesResponse) FromJsonString ¶ added in v1.0.969
func (r *DescribeAccountPrivilegesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountPrivilegesResponse) ToJsonString ¶ added in v1.0.969
func (r *DescribeAccountPrivilegesResponse) ToJsonString() string
type DescribeAccountPrivilegesResponseParams ¶ added in v1.0.969
type DescribeAccountPrivilegesResponseParams struct { // 用户拥有数据库user_database的CREATE、CONNECT、TEMPORARY权限 PrivilegeSet []*DatabasePrivilege `json:"PrivilegeSet,omitnil,omitempty" name:"PrivilegeSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 分页返回,每页最大返回数目,默认20,取值范围为1-100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数据按照创建时间或者用户名排序。取值支持createTime、name、updateTime。createTime-按照创建时间排序;name-按照用户名排序; updateTime-按照更新时间排序。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 返回结果是升序还是降序。取值只能为desc或者asc。desc-降序;asc-升序 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeAccountsRequest ¶
func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)
func (*DescribeAccountsRequest) FromJsonString ¶
func (r *DescribeAccountsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountsRequest) ToJsonString ¶
func (r *DescribeAccountsRequest) ToJsonString() string
type DescribeAccountsRequestParams ¶ added in v1.0.426
type DescribeAccountsRequestParams struct { // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 分页返回,每页最大返回数目,默认20,取值范围为1-100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数据按照创建时间或者用户名排序。取值支持createTime、name、updateTime。createTime-按照创建时间排序;name-按照用户名排序; updateTime-按照更新时间排序。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 返回结果是升序还是降序。取值只能为desc或者asc。desc-降序;asc-升序 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *tchttp.BaseResponse Response *DescribeAccountsResponseParams `json:"Response"` }
func NewDescribeAccountsResponse ¶
func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)
func (*DescribeAccountsResponse) FromJsonString ¶
func (r *DescribeAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountsResponse) ToJsonString ¶
func (r *DescribeAccountsResponse) ToJsonString() string
type DescribeAccountsResponseParams ¶ added in v1.0.426
type DescribeAccountsResponseParams struct { // 本次调用接口共返回了多少条数据。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 账号列表详细信息。当CreateTime项为0000-00-00 00:00:00时,意味着对应账号是直连数据库创建的,并非通过CreateAccount接口创建。 Details []*AccountInfo `json:"Details,omitnil,omitempty" name:"Details"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailableRecoveryTimeRequest ¶ added in v1.0.329
type DescribeAvailableRecoveryTimeRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeAvailableRecoveryTimeRequest ¶ added in v1.0.329
func NewDescribeAvailableRecoveryTimeRequest() (request *DescribeAvailableRecoveryTimeRequest)
func (*DescribeAvailableRecoveryTimeRequest) FromJsonString ¶ added in v1.0.329
func (r *DescribeAvailableRecoveryTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableRecoveryTimeRequest) ToJsonString ¶ added in v1.0.329
func (r *DescribeAvailableRecoveryTimeRequest) ToJsonString() string
type DescribeAvailableRecoveryTimeRequestParams ¶ added in v1.0.426
type DescribeAvailableRecoveryTimeRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeAvailableRecoveryTimeResponse ¶ added in v1.0.329
type DescribeAvailableRecoveryTimeResponse struct { *tchttp.BaseResponse Response *DescribeAvailableRecoveryTimeResponseParams `json:"Response"` }
func NewDescribeAvailableRecoveryTimeResponse ¶ added in v1.0.329
func NewDescribeAvailableRecoveryTimeResponse() (response *DescribeAvailableRecoveryTimeResponse)
func (*DescribeAvailableRecoveryTimeResponse) FromJsonString ¶ added in v1.0.329
func (r *DescribeAvailableRecoveryTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableRecoveryTimeResponse) ToJsonString ¶ added in v1.0.329
func (r *DescribeAvailableRecoveryTimeResponse) ToJsonString() string
type DescribeAvailableRecoveryTimeResponseParams ¶ added in v1.0.426
type DescribeAvailableRecoveryTimeResponseParams struct { // 可恢复的最早时间,时区为东八区(UTC+8)。 RecoveryBeginTime *string `json:"RecoveryBeginTime,omitnil,omitempty" name:"RecoveryBeginTime"` // 可恢复的最晚时间,时区为东八区(UTC+8)。 RecoveryEndTime *string `json:"RecoveryEndTime,omitnil,omitempty" name:"RecoveryEndTime"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupDownloadRestrictionRequest ¶ added in v1.0.645
type DescribeBackupDownloadRestrictionRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBackupDownloadRestrictionRequest ¶ added in v1.0.645
func NewDescribeBackupDownloadRestrictionRequest() (request *DescribeBackupDownloadRestrictionRequest)
func (*DescribeBackupDownloadRestrictionRequest) FromJsonString ¶ added in v1.0.645
func (r *DescribeBackupDownloadRestrictionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupDownloadRestrictionRequest) ToJsonString ¶ added in v1.0.645
func (r *DescribeBackupDownloadRestrictionRequest) ToJsonString() string
type DescribeBackupDownloadRestrictionRequestParams ¶ added in v1.0.645
type DescribeBackupDownloadRestrictionRequestParams struct { }
Predefined struct for user
type DescribeBackupDownloadRestrictionResponse ¶ added in v1.0.645
type DescribeBackupDownloadRestrictionResponse struct { *tchttp.BaseResponse Response *DescribeBackupDownloadRestrictionResponseParams `json:"Response"` }
func NewDescribeBackupDownloadRestrictionResponse ¶ added in v1.0.645
func NewDescribeBackupDownloadRestrictionResponse() (response *DescribeBackupDownloadRestrictionResponse)
func (*DescribeBackupDownloadRestrictionResponse) FromJsonString ¶ added in v1.0.645
func (r *DescribeBackupDownloadRestrictionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupDownloadRestrictionResponse) ToJsonString ¶ added in v1.0.645
func (r *DescribeBackupDownloadRestrictionResponse) ToJsonString() string
type DescribeBackupDownloadRestrictionResponseParams ¶ added in v1.0.645
type DescribeBackupDownloadRestrictionResponseParams struct { // 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。 RestrictionType *string `json:"RestrictionType,omitnil,omitempty" name:"RestrictionType"` // vpc限制效力,ALLOW 允许;DENY 拒绝。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitnil,omitempty" name:"VpcRestrictionEffect"` // 允许或拒绝下载备份文件的vpcId列表。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcIdSet []*string `json:"VpcIdSet,omitnil,omitempty" name:"VpcIdSet"` // ip限制效力,ALLOW 允许;DENY 拒绝。 // 注意:此字段可能返回 null,表示取不到有效值。 IpRestrictionEffect *string `json:"IpRestrictionEffect,omitnil,omitempty" name:"IpRestrictionEffect"` // 允许或拒绝下载备份文件的ip列表。 // 注意:此字段可能返回 null,表示取不到有效值。 IpSet []*string `json:"IpSet,omitnil,omitempty" name:"IpSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupDownloadURLRequest ¶ added in v1.0.621
type DescribeBackupDownloadURLRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 备份类型,目前支持:LogBackup,BaseBackup。 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份的唯一ID。 BackupId *string `json:"BackupId,omitnil,omitempty" name:"BackupId"` // 链接的有效时间,默认为12小时。 URLExpireTime *uint64 `json:"URLExpireTime,omitnil,omitempty" name:"URLExpireTime"` // 备份下载限制 BackupDownloadRestriction *BackupDownloadRestriction `json:"BackupDownloadRestriction,omitnil,omitempty" name:"BackupDownloadRestriction"` }
func NewDescribeBackupDownloadURLRequest ¶ added in v1.0.621
func NewDescribeBackupDownloadURLRequest() (request *DescribeBackupDownloadURLRequest)
func (*DescribeBackupDownloadURLRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeBackupDownloadURLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupDownloadURLRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeBackupDownloadURLRequest) ToJsonString() string
type DescribeBackupDownloadURLRequestParams ¶ added in v1.0.621
type DescribeBackupDownloadURLRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 备份类型,目前支持:LogBackup,BaseBackup。 BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"` // 备份的唯一ID。 BackupId *string `json:"BackupId,omitnil,omitempty" name:"BackupId"` // 链接的有效时间,默认为12小时。 URLExpireTime *uint64 `json:"URLExpireTime,omitnil,omitempty" name:"URLExpireTime"` // 备份下载限制 BackupDownloadRestriction *BackupDownloadRestriction `json:"BackupDownloadRestriction,omitnil,omitempty" name:"BackupDownloadRestriction"` }
Predefined struct for user
type DescribeBackupDownloadURLResponse ¶ added in v1.0.621
type DescribeBackupDownloadURLResponse struct { *tchttp.BaseResponse Response *DescribeBackupDownloadURLResponseParams `json:"Response"` }
func NewDescribeBackupDownloadURLResponse ¶ added in v1.0.621
func NewDescribeBackupDownloadURLResponse() (response *DescribeBackupDownloadURLResponse)
func (*DescribeBackupDownloadURLResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeBackupDownloadURLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupDownloadURLResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeBackupDownloadURLResponse) ToJsonString() string
type DescribeBackupDownloadURLResponseParams ¶ added in v1.0.621
type DescribeBackupDownloadURLResponseParams struct { // 备份的下载地址。 BackupDownloadURL *string `json:"BackupDownloadURL,omitnil,omitempty" name:"BackupDownloadURL"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupOverviewRequest ¶ added in v1.0.621
type DescribeBackupOverviewRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBackupOverviewRequest ¶ added in v1.0.621
func NewDescribeBackupOverviewRequest() (request *DescribeBackupOverviewRequest)
func (*DescribeBackupOverviewRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeBackupOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupOverviewRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeBackupOverviewRequest) ToJsonString() string
type DescribeBackupOverviewRequestParams ¶ added in v1.0.621
type DescribeBackupOverviewRequestParams struct { }
Predefined struct for user
type DescribeBackupOverviewResponse ¶ added in v1.0.621
type DescribeBackupOverviewResponse struct { *tchttp.BaseResponse Response *DescribeBackupOverviewResponseParams `json:"Response"` }
func NewDescribeBackupOverviewResponse ¶ added in v1.0.621
func NewDescribeBackupOverviewResponse() (response *DescribeBackupOverviewResponse)
func (*DescribeBackupOverviewResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeBackupOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupOverviewResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeBackupOverviewResponse) ToJsonString() string
type DescribeBackupOverviewResponseParams ¶ added in v1.0.621
type DescribeBackupOverviewResponseParams struct { // 总免费空间大小,单位byte。 TotalFreeSize *uint64 `json:"TotalFreeSize,omitnil,omitempty" name:"TotalFreeSize"` // 已使用免费空间大小,单位byte。 UsedFreeSize *uint64 `json:"UsedFreeSize,omitnil,omitempty" name:"UsedFreeSize"` // 已使用收费空间大小,单位byte。 UsedBillingSize *uint64 `json:"UsedBillingSize,omitnil,omitempty" name:"UsedBillingSize"` // 日志备份数量。 LogBackupCount *uint64 `json:"LogBackupCount,omitnil,omitempty" name:"LogBackupCount"` // 日志备份大小,单位byte。 LogBackupSize *uint64 `json:"LogBackupSize,omitnil,omitempty" name:"LogBackupSize"` // 手动创建的基础备份数量。 ManualBaseBackupCount *uint64 `json:"ManualBaseBackupCount,omitnil,omitempty" name:"ManualBaseBackupCount"` // 手动创建的基础备份大小,单位byte。 ManualBaseBackupSize *uint64 `json:"ManualBaseBackupSize,omitnil,omitempty" name:"ManualBaseBackupSize"` // 自动创建的基础备份数量。 AutoBaseBackupCount *uint64 `json:"AutoBaseBackupCount,omitnil,omitempty" name:"AutoBaseBackupCount"` // 自动创建的基础备份大小,单位byte。 AutoBaseBackupSize *uint64 `json:"AutoBaseBackupSize,omitnil,omitempty" name:"AutoBaseBackupSize"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupPlansRequest ¶ added in v1.0.329
type DescribeBackupPlansRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeBackupPlansRequest ¶ added in v1.0.329
func NewDescribeBackupPlansRequest() (request *DescribeBackupPlansRequest)
func (*DescribeBackupPlansRequest) FromJsonString ¶ added in v1.0.329
func (r *DescribeBackupPlansRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupPlansRequest) ToJsonString ¶ added in v1.0.329
func (r *DescribeBackupPlansRequest) ToJsonString() string
type DescribeBackupPlansRequestParams ¶ added in v1.0.426
type DescribeBackupPlansRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeBackupPlansResponse ¶ added in v1.0.329
type DescribeBackupPlansResponse struct { *tchttp.BaseResponse Response *DescribeBackupPlansResponseParams `json:"Response"` }
func NewDescribeBackupPlansResponse ¶ added in v1.0.329
func NewDescribeBackupPlansResponse() (response *DescribeBackupPlansResponse)
func (*DescribeBackupPlansResponse) FromJsonString ¶ added in v1.0.329
func (r *DescribeBackupPlansResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupPlansResponse) ToJsonString ¶ added in v1.0.329
func (r *DescribeBackupPlansResponse) ToJsonString() string
type DescribeBackupPlansResponseParams ¶ added in v1.0.426
type DescribeBackupPlansResponseParams struct { // 实例的备份计划集 Plans []*BackupPlan `json:"Plans,omitnil,omitempty" name:"Plans"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupSummariesRequest ¶ added in v1.0.621
type DescribeBackupSummariesRequest struct { *tchttp.BaseRequest // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string。 // db-instance-name:按照实例名过滤,类型为string。 // db-instance-ip:按照实例私有网络IP地址过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 排序字段,支持TotalBackupSize,LogBackupSize,ManualBaseBackupSize,AutoBaseBackupSize。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc,降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeBackupSummariesRequest ¶ added in v1.0.621
func NewDescribeBackupSummariesRequest() (request *DescribeBackupSummariesRequest)
func (*DescribeBackupSummariesRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeBackupSummariesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupSummariesRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeBackupSummariesRequest) ToJsonString() string
type DescribeBackupSummariesRequestParams ¶ added in v1.0.621
type DescribeBackupSummariesRequestParams struct { // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string。 // db-instance-name:按照实例名过滤,类型为string。 // db-instance-ip:按照实例私有网络IP地址过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 排序字段,支持TotalBackupSize,LogBackupSize,ManualBaseBackupSize,AutoBaseBackupSize。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc,降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeBackupSummariesResponse ¶ added in v1.0.621
type DescribeBackupSummariesResponse struct { *tchttp.BaseResponse Response *DescribeBackupSummariesResponseParams `json:"Response"` }
func NewDescribeBackupSummariesResponse ¶ added in v1.0.621
func NewDescribeBackupSummariesResponse() (response *DescribeBackupSummariesResponse)
func (*DescribeBackupSummariesResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeBackupSummariesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupSummariesResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeBackupSummariesResponse) ToJsonString() string
type DescribeBackupSummariesResponseParams ¶ added in v1.0.621
type DescribeBackupSummariesResponseParams struct { // 备份统计信息列表。 BackupSummarySet []*BackupSummary `json:"BackupSummarySet,omitnil,omitempty" name:"BackupSummarySet"` // 查询到的所有备份信息数量。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBaseBackupsRequest ¶ added in v1.0.621
type DescribeBaseBackupsRequest struct { *tchttp.BaseRequest // 备份的最小结束时间,形如2018-01-01 00:00:00。默认为7天前。 MinFinishTime *string `json:"MinFinishTime,omitnil,omitempty" name:"MinFinishTime"` // 备份的最大结束时间,形如2018-01-01 00:00:00。默认为当前时间。 MaxFinishTime *string `json:"MaxFinishTime,omitnil,omitempty" name:"MaxFinishTime"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string。 // db-instance-name:按照实例名过滤,类型为string。 // db-instance-ip:按照实例私有网络IP地址过滤,类型为string。 // base-backup-id:按照备份集ID过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,支持StartTime,FinishTime,Size。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc,降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeBaseBackupsRequest ¶ added in v1.0.621
func NewDescribeBaseBackupsRequest() (request *DescribeBaseBackupsRequest)
func (*DescribeBaseBackupsRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeBaseBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaseBackupsRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeBaseBackupsRequest) ToJsonString() string
type DescribeBaseBackupsRequestParams ¶ added in v1.0.621
type DescribeBaseBackupsRequestParams struct { // 备份的最小结束时间,形如2018-01-01 00:00:00。默认为7天前。 MinFinishTime *string `json:"MinFinishTime,omitnil,omitempty" name:"MinFinishTime"` // 备份的最大结束时间,形如2018-01-01 00:00:00。默认为当前时间。 MaxFinishTime *string `json:"MaxFinishTime,omitnil,omitempty" name:"MaxFinishTime"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string。 // db-instance-name:按照实例名过滤,类型为string。 // db-instance-ip:按照实例私有网络IP地址过滤,类型为string。 // base-backup-id:按照备份集ID过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,支持StartTime,FinishTime,Size。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc,降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeBaseBackupsResponse ¶ added in v1.0.621
type DescribeBaseBackupsResponse struct { *tchttp.BaseResponse Response *DescribeBaseBackupsResponseParams `json:"Response"` }
func NewDescribeBaseBackupsResponse ¶ added in v1.0.621
func NewDescribeBaseBackupsResponse() (response *DescribeBaseBackupsResponse)
func (*DescribeBaseBackupsResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeBaseBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaseBackupsResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeBaseBackupsResponse) ToJsonString() string
type DescribeBaseBackupsResponseParams ¶ added in v1.0.621
type DescribeBaseBackupsResponseParams struct { // 查询到的数据备份数量。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 数据备份详细信息列表。 BaseBackupSet []*BaseBackup `json:"BaseBackupSet,omitnil,omitempty" name:"BaseBackupSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassesRequest ¶ added in v1.0.621
type DescribeClassesRequest struct { *tchttp.BaseRequest // 可用区ID。可以通过接口DescribeZones获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 数据库引擎,支持: // 1、postgresql(云数据库PostgreSQL); // 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL); DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 数据库主版本号。例如12,13,可以通过接口DescribeDBVersions获取。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` }
func NewDescribeClassesRequest ¶ added in v1.0.621
func NewDescribeClassesRequest() (request *DescribeClassesRequest)
func (*DescribeClassesRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeClassesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassesRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeClassesRequest) ToJsonString() string
type DescribeClassesRequestParams ¶ added in v1.0.621
type DescribeClassesRequestParams struct { // 可用区ID。可以通过接口DescribeZones获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 数据库引擎,支持: // 1、postgresql(云数据库PostgreSQL); // 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL); DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 数据库主版本号。例如12,13,可以通过接口DescribeDBVersions获取。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` }
Predefined struct for user
type DescribeClassesResponse ¶ added in v1.0.621
type DescribeClassesResponse struct { *tchttp.BaseResponse Response *DescribeClassesResponseParams `json:"Response"` }
func NewDescribeClassesResponse ¶ added in v1.0.621
func NewDescribeClassesResponse() (response *DescribeClassesResponse)
func (*DescribeClassesResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeClassesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassesResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeClassesResponse) ToJsonString() string
type DescribeClassesResponseParams ¶ added in v1.0.621
type DescribeClassesResponseParams struct { // 数据库规格列表 ClassInfoSet []*ClassInfo `json:"ClassInfoSet,omitnil,omitempty" name:"ClassInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCloneDBInstanceSpecRequest ¶ added in v1.0.329
type DescribeCloneDBInstanceSpecRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 基础备份集ID,此入参和RecoveryTargetTime必须选择一个传入。如与RecoveryTargetTime参数同时设置,则以此参数为准。 BackupSetId *string `json:"BackupSetId,omitnil,omitempty" name:"BackupSetId"` // 恢复目标时间,此入参和BackupSetId必须选择一个传入。时区以东八区(UTC+8)为准。 RecoveryTargetTime *string `json:"RecoveryTargetTime,omitnil,omitempty" name:"RecoveryTargetTime"` }
func NewDescribeCloneDBInstanceSpecRequest ¶ added in v1.0.329
func NewDescribeCloneDBInstanceSpecRequest() (request *DescribeCloneDBInstanceSpecRequest)
func (*DescribeCloneDBInstanceSpecRequest) FromJsonString ¶ added in v1.0.329
func (r *DescribeCloneDBInstanceSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloneDBInstanceSpecRequest) ToJsonString ¶ added in v1.0.329
func (r *DescribeCloneDBInstanceSpecRequest) ToJsonString() string
type DescribeCloneDBInstanceSpecRequestParams ¶ added in v1.0.426
type DescribeCloneDBInstanceSpecRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 基础备份集ID,此入参和RecoveryTargetTime必须选择一个传入。如与RecoveryTargetTime参数同时设置,则以此参数为准。 BackupSetId *string `json:"BackupSetId,omitnil,omitempty" name:"BackupSetId"` // 恢复目标时间,此入参和BackupSetId必须选择一个传入。时区以东八区(UTC+8)为准。 RecoveryTargetTime *string `json:"RecoveryTargetTime,omitnil,omitempty" name:"RecoveryTargetTime"` }
Predefined struct for user
type DescribeCloneDBInstanceSpecResponse ¶ added in v1.0.329
type DescribeCloneDBInstanceSpecResponse struct { *tchttp.BaseResponse Response *DescribeCloneDBInstanceSpecResponseParams `json:"Response"` }
func NewDescribeCloneDBInstanceSpecResponse ¶ added in v1.0.329
func NewDescribeCloneDBInstanceSpecResponse() (response *DescribeCloneDBInstanceSpecResponse)
func (*DescribeCloneDBInstanceSpecResponse) FromJsonString ¶ added in v1.0.329
func (r *DescribeCloneDBInstanceSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloneDBInstanceSpecResponse) ToJsonString ¶ added in v1.0.329
func (r *DescribeCloneDBInstanceSpecResponse) ToJsonString() string
type DescribeCloneDBInstanceSpecResponseParams ¶ added in v1.0.426
type DescribeCloneDBInstanceSpecResponseParams struct { // 可购买的最小规格码。 MinSpecCode *string `json:"MinSpecCode,omitnil,omitempty" name:"MinSpecCode"` // 可购买的最小磁盘容量,单位GB。 MinStorage *int64 `json:"MinStorage,omitnil,omitempty" name:"MinStorage"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBBackupsRequest ¶
type DescribeDBBackupsRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-4wdeb0zv。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 备份方式(1-全量)。目前只支持全量,取值为1。 Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 备份列表分页返回,每页返回数量,默认为 20,最小为1,最大值为 100。(当该参数不传或者传0时按默认值处理) Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 返回结果中的第几页,从第0页开始。默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeDBBackupsRequest ¶
func NewDescribeDBBackupsRequest() (request *DescribeDBBackupsRequest)
func (*DescribeDBBackupsRequest) FromJsonString ¶
func (r *DescribeDBBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBBackupsRequest) ToJsonString ¶
func (r *DescribeDBBackupsRequest) ToJsonString() string
type DescribeDBBackupsRequestParams ¶ added in v1.0.426
type DescribeDBBackupsRequestParams struct { // 实例ID,形如postgres-4wdeb0zv。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 备份方式(1-全量)。目前只支持全量,取值为1。 Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 备份列表分页返回,每页返回数量,默认为 20,最小为1,最大值为 100。(当该参数不传或者传0时按默认值处理) Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 返回结果中的第几页,从第0页开始。默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeDBBackupsResponse ¶
type DescribeDBBackupsResponse struct { *tchttp.BaseResponse Response *DescribeDBBackupsResponseParams `json:"Response"` }
func NewDescribeDBBackupsResponse ¶
func NewDescribeDBBackupsResponse() (response *DescribeDBBackupsResponse)
func (*DescribeDBBackupsResponse) FromJsonString ¶
func (r *DescribeDBBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBBackupsResponse) ToJsonString ¶
func (r *DescribeDBBackupsResponse) ToJsonString() string
type DescribeDBBackupsResponseParams ¶ added in v1.0.426
type DescribeDBBackupsResponseParams struct { // 返回备份列表中备份文件的个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 备份列表 BackupList []*DBBackup `json:"BackupList,omitnil,omitempty" name:"BackupList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBErrlogsRequest ¶
type DescribeDBErrlogsRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-01-01 00:00:00。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 搜索关键字。 SearchKeys []*string `json:"SearchKeys,omitnil,omitempty" name:"SearchKeys"` // 每页显示数量,取值范围为1-100。默认值为50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeDBErrlogsRequest ¶
func NewDescribeDBErrlogsRequest() (request *DescribeDBErrlogsRequest)
func (*DescribeDBErrlogsRequest) FromJsonString ¶
func (r *DescribeDBErrlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBErrlogsRequest) ToJsonString ¶
func (r *DescribeDBErrlogsRequest) ToJsonString() string
type DescribeDBErrlogsRequestParams ¶ added in v1.0.426
type DescribeDBErrlogsRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-01-01 00:00:00。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 搜索关键字。 SearchKeys []*string `json:"SearchKeys,omitnil,omitempty" name:"SearchKeys"` // 每页显示数量,取值范围为1-100。默认值为50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeDBErrlogsResponse ¶
type DescribeDBErrlogsResponse struct { *tchttp.BaseResponse Response *DescribeDBErrlogsResponseParams `json:"Response"` }
func NewDescribeDBErrlogsResponse ¶
func NewDescribeDBErrlogsResponse() (response *DescribeDBErrlogsResponse)
func (*DescribeDBErrlogsResponse) FromJsonString ¶
func (r *DescribeDBErrlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBErrlogsResponse) ToJsonString ¶
func (r *DescribeDBErrlogsResponse) ToJsonString() string
type DescribeDBErrlogsResponseParams ¶ added in v1.0.426
type DescribeDBErrlogsResponseParams struct { // 查询到的日志数量,最大值为10000条。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 错误日志详细信息集合。 Details []*ErrLogDetail `json:"Details,omitnil,omitempty" name:"Details"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceAttributeRequest ¶
type DescribeDBInstanceAttributeRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeDBInstanceAttributeRequest ¶
func NewDescribeDBInstanceAttributeRequest() (request *DescribeDBInstanceAttributeRequest)
func (*DescribeDBInstanceAttributeRequest) FromJsonString ¶
func (r *DescribeDBInstanceAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceAttributeRequest) ToJsonString ¶
func (r *DescribeDBInstanceAttributeRequest) ToJsonString() string
type DescribeDBInstanceAttributeRequestParams ¶ added in v1.0.426
type DescribeDBInstanceAttributeRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeDBInstanceAttributeResponse ¶
type DescribeDBInstanceAttributeResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceAttributeResponseParams `json:"Response"` }
func NewDescribeDBInstanceAttributeResponse ¶
func NewDescribeDBInstanceAttributeResponse() (response *DescribeDBInstanceAttributeResponse)
func (*DescribeDBInstanceAttributeResponse) FromJsonString ¶
func (r *DescribeDBInstanceAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceAttributeResponse) ToJsonString ¶
func (r *DescribeDBInstanceAttributeResponse) ToJsonString() string
type DescribeDBInstanceAttributeResponseParams ¶ added in v1.0.426
type DescribeDBInstanceAttributeResponseParams struct { // 实例详细信息。 DBInstance *DBInstance `json:"DBInstance,omitnil,omitempty" name:"DBInstance"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceHAConfigRequest ¶ added in v1.0.715
type DescribeDBInstanceHAConfigRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeDBInstanceHAConfigRequest ¶ added in v1.0.715
func NewDescribeDBInstanceHAConfigRequest() (request *DescribeDBInstanceHAConfigRequest)
func (*DescribeDBInstanceHAConfigRequest) FromJsonString ¶ added in v1.0.715
func (r *DescribeDBInstanceHAConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceHAConfigRequest) ToJsonString ¶ added in v1.0.715
func (r *DescribeDBInstanceHAConfigRequest) ToJsonString() string
type DescribeDBInstanceHAConfigRequestParams ¶ added in v1.0.715
type DescribeDBInstanceHAConfigRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeDBInstanceHAConfigResponse ¶ added in v1.0.715
type DescribeDBInstanceHAConfigResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceHAConfigResponseParams `json:"Response"` }
func NewDescribeDBInstanceHAConfigResponse ¶ added in v1.0.715
func NewDescribeDBInstanceHAConfigResponse() (response *DescribeDBInstanceHAConfigResponse)
func (*DescribeDBInstanceHAConfigResponse) FromJsonString ¶ added in v1.0.715
func (r *DescribeDBInstanceHAConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceHAConfigResponse) ToJsonString ¶ added in v1.0.715
func (r *DescribeDBInstanceHAConfigResponse) ToJsonString() string
type DescribeDBInstanceHAConfigResponseParams ¶ added in v1.0.715
type DescribeDBInstanceHAConfigResponseParams struct { // 主从同步方式: // <li>Semi-sync:半同步 // <li>Async:异步 SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` // 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。 // <li>单位:byte // <li>参数范围:[1073741824, 322122547200] MaxStandbyLatency *uint64 `json:"MaxStandbyLatency,omitnil,omitempty" name:"MaxStandbyLatency"` // 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。 // <li>单位:s // <li>参数范围:[5, 10] MaxStandbyLag *uint64 `json:"MaxStandbyLag,omitnil,omitempty" name:"MaxStandbyLag"` // 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。 // 该参数值针对SyncMode设置为Semi-sync的实例有效。 // 异步实例该字段返回null。 // 半同步实例禁止退化为异步复制时,该字段返回null。 // 注意:此字段可能返回 null,表示取不到有效值。 MaxSyncStandbyLatency *uint64 `json:"MaxSyncStandbyLatency,omitnil,omitempty" name:"MaxSyncStandbyLatency"` // 同步备机最大延迟时间。备机延迟时间小于等于该值,且该备机延迟数据量小于等于MaxSyncStandbyLatency时,则该备机采用同步复制;否则,采用异步复制。 // 该参数值针对SyncMode设置为Semi-sync的实例有效。 // 异步实例不返回该字段。 // 半同步实例禁止退化为异步复制时,不返回该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 MaxSyncStandbyLag *uint64 `json:"MaxSyncStandbyLag,omitnil,omitempty" name:"MaxSyncStandbyLag"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceParametersRequest ¶ added in v1.0.276
type DescribeDBInstanceParametersRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询指定参数详情。ParamName为空或不传,默认返回全部参数列表 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` }
func NewDescribeDBInstanceParametersRequest ¶ added in v1.0.276
func NewDescribeDBInstanceParametersRequest() (request *DescribeDBInstanceParametersRequest)
func (*DescribeDBInstanceParametersRequest) FromJsonString ¶ added in v1.0.276
func (r *DescribeDBInstanceParametersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceParametersRequest) ToJsonString ¶ added in v1.0.276
func (r *DescribeDBInstanceParametersRequest) ToJsonString() string
type DescribeDBInstanceParametersRequestParams ¶ added in v1.0.426
type DescribeDBInstanceParametersRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询指定参数详情。ParamName为空或不传,默认返回全部参数列表 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` }
Predefined struct for user
type DescribeDBInstanceParametersResponse ¶ added in v1.0.276
type DescribeDBInstanceParametersResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceParametersResponseParams `json:"Response"` }
func NewDescribeDBInstanceParametersResponse ¶ added in v1.0.276
func NewDescribeDBInstanceParametersResponse() (response *DescribeDBInstanceParametersResponse)
func (*DescribeDBInstanceParametersResponse) FromJsonString ¶ added in v1.0.276
func (r *DescribeDBInstanceParametersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceParametersResponse) ToJsonString ¶ added in v1.0.276
func (r *DescribeDBInstanceParametersResponse) ToJsonString() string
type DescribeDBInstanceParametersResponseParams ¶ added in v1.0.426
type DescribeDBInstanceParametersResponseParams struct { // 参数列表总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数列表返回详情 Detail []*ParamInfo `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceSecurityGroupsRequest ¶ added in v1.0.560
type DescribeDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // 实例ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
func NewDescribeDBInstanceSecurityGroupsRequest ¶ added in v1.0.560
func NewDescribeDBInstanceSecurityGroupsRequest() (request *DescribeDBInstanceSecurityGroupsRequest)
func (*DescribeDBInstanceSecurityGroupsRequest) FromJsonString ¶ added in v1.0.560
func (r *DescribeDBInstanceSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceSecurityGroupsRequest) ToJsonString ¶ added in v1.0.560
func (r *DescribeDBInstanceSecurityGroupsRequest) ToJsonString() string
type DescribeDBInstanceSecurityGroupsRequestParams ¶ added in v1.0.560
type DescribeDBInstanceSecurityGroupsRequestParams struct { // 实例ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
Predefined struct for user
type DescribeDBInstanceSecurityGroupsResponse ¶ added in v1.0.560
type DescribeDBInstanceSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceSecurityGroupsResponseParams `json:"Response"` }
func NewDescribeDBInstanceSecurityGroupsResponse ¶ added in v1.0.560
func NewDescribeDBInstanceSecurityGroupsResponse() (response *DescribeDBInstanceSecurityGroupsResponse)
func (*DescribeDBInstanceSecurityGroupsResponse) FromJsonString ¶ added in v1.0.560
func (r *DescribeDBInstanceSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstanceSecurityGroupsResponse) ToJsonString ¶ added in v1.0.560
func (r *DescribeDBInstanceSecurityGroupsResponse) ToJsonString() string
type DescribeDBInstanceSecurityGroupsResponseParams ¶ added in v1.0.560
type DescribeDBInstanceSecurityGroupsResponseParams struct { // 安全组信息数组 SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitnil,omitempty" name:"SecurityGroupSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstancesRequest ¶
type DescribeDBInstancesRequest struct { *tchttp.BaseRequest // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string // db-instance-name:按照实例名过滤,类型为string // db-project-id:按照项目ID过滤,类型为integer // db-pay-mode:按照实例付费模式过滤,类型为string // db-tag-key:按照标签键过滤,类型为string // db-private-ip: 按照实例私有网络IP过滤,类型为string // db-public-address: 按照实例外网地址过滤,类型为string // db-dedicated-cluster-id: 按照私有集群Id过滤,类型为string Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序指标,如实例名、创建时间等,支持DBInstanceId,CreateTime,Name,EndTime OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc、降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeDBInstancesRequest ¶
func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)
func (*DescribeDBInstancesRequest) FromJsonString ¶
func (r *DescribeDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstancesRequest) ToJsonString ¶
func (r *DescribeDBInstancesRequest) ToJsonString() string
type DescribeDBInstancesRequestParams ¶ added in v1.0.426
type DescribeDBInstancesRequestParams struct { // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string // db-instance-name:按照实例名过滤,类型为string // db-project-id:按照项目ID过滤,类型为integer // db-pay-mode:按照实例付费模式过滤,类型为string // db-tag-key:按照标签键过滤,类型为string // db-private-ip: 按照实例私有网络IP过滤,类型为string // db-public-address: 按照实例外网地址过滤,类型为string // db-dedicated-cluster-id: 按照私有集群Id过滤,类型为string Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序指标,如实例名、创建时间等,支持DBInstanceId,CreateTime,Name,EndTime OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc、降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeDBInstancesResponse ¶
type DescribeDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeDBInstancesResponseParams `json:"Response"` }
func NewDescribeDBInstancesResponse ¶
func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)
func (*DescribeDBInstancesResponse) FromJsonString ¶
func (r *DescribeDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBInstancesResponse) ToJsonString ¶
func (r *DescribeDBInstancesResponse) ToJsonString() string
type DescribeDBInstancesResponseParams ¶ added in v1.0.426
type DescribeDBInstancesResponseParams struct { // 查询到的实例数量。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例详细信息集合。 DBInstanceSet []*DBInstance `json:"DBInstanceSet,omitnil,omitempty" name:"DBInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBSlowlogsRequest ¶
type DescribeDBSlowlogsRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 按照何种指标排序,取值为sum_calls或者sum_cost_time。sum_calls-总调用次数;sum_cost_time-总的花费时间 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序规则。desc-降序;asc-升序 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 分页返回结果,每页最大返回数量,取值为1-100,默认20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页返回结果,返回结果的第几页,从0开始计数 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeDBSlowlogsRequest ¶
func NewDescribeDBSlowlogsRequest() (request *DescribeDBSlowlogsRequest)
func (*DescribeDBSlowlogsRequest) FromJsonString ¶
func (r *DescribeDBSlowlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSlowlogsRequest) ToJsonString ¶
func (r *DescribeDBSlowlogsRequest) ToJsonString() string
type DescribeDBSlowlogsRequestParams ¶ added in v1.0.426
type DescribeDBSlowlogsRequestParams struct { // 实例ID,形如postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 按照何种指标排序,取值为sum_calls或者sum_cost_time。sum_calls-总调用次数;sum_cost_time-总的花费时间 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序规则。desc-降序;asc-升序 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 分页返回结果,每页最大返回数量,取值为1-100,默认20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页返回结果,返回结果的第几页,从0开始计数 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeDBSlowlogsResponse ¶
type DescribeDBSlowlogsResponse struct { *tchttp.BaseResponse Response *DescribeDBSlowlogsResponseParams `json:"Response"` }
func NewDescribeDBSlowlogsResponse ¶
func NewDescribeDBSlowlogsResponse() (response *DescribeDBSlowlogsResponse)
func (*DescribeDBSlowlogsResponse) FromJsonString ¶
func (r *DescribeDBSlowlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSlowlogsResponse) ToJsonString ¶
func (r *DescribeDBSlowlogsResponse) ToJsonString() string
type DescribeDBSlowlogsResponseParams ¶ added in v1.0.426
type DescribeDBSlowlogsResponseParams struct { // 本次返回多少条数据 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 慢查询日志详情 Detail *SlowlogDetail `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBVersionsRequest ¶ added in v1.0.621
type DescribeDBVersionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDBVersionsRequest ¶ added in v1.0.621
func NewDescribeDBVersionsRequest() (request *DescribeDBVersionsRequest)
func (*DescribeDBVersionsRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeDBVersionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBVersionsRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeDBVersionsRequest) ToJsonString() string
type DescribeDBVersionsRequestParams ¶ added in v1.0.621
type DescribeDBVersionsRequestParams struct { }
Predefined struct for user
type DescribeDBVersionsResponse ¶ added in v1.0.621
type DescribeDBVersionsResponse struct { *tchttp.BaseResponse Response *DescribeDBVersionsResponseParams `json:"Response"` }
func NewDescribeDBVersionsResponse ¶ added in v1.0.621
func NewDescribeDBVersionsResponse() (response *DescribeDBVersionsResponse)
func (*DescribeDBVersionsResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeDBVersionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBVersionsResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeDBVersionsResponse) ToJsonString() string
type DescribeDBVersionsResponseParams ¶ added in v1.0.621
type DescribeDBVersionsResponseParams struct { // 数据库版本号信息列表 VersionSet []*Version `json:"VersionSet,omitnil,omitempty" name:"VersionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBXlogsRequest ¶
type DescribeDBXlogsRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-4wdeb0zv。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 分页返回,表示返回第几页的条目。从第0页开始计数。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回,表示每页有多少条目。取值为1-100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeDBXlogsRequest ¶
func NewDescribeDBXlogsRequest() (request *DescribeDBXlogsRequest)
func (*DescribeDBXlogsRequest) FromJsonString ¶
func (r *DescribeDBXlogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBXlogsRequest) ToJsonString ¶
func (r *DescribeDBXlogsRequest) ToJsonString() string
type DescribeDBXlogsRequestParams ¶ added in v1.0.426
type DescribeDBXlogsRequestParams struct { // 实例ID,形如postgres-4wdeb0zv。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询开始时间,形如2018-06-10 17:06:38,起始时间不得小于7天以前 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-06-10 17:06:38 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 分页返回,表示返回第几页的条目。从第0页开始计数。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回,表示每页有多少条目。取值为1-100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDBXlogsResponse ¶
type DescribeDBXlogsResponse struct { *tchttp.BaseResponse Response *DescribeDBXlogsResponseParams `json:"Response"` }
func NewDescribeDBXlogsResponse ¶
func NewDescribeDBXlogsResponse() (response *DescribeDBXlogsResponse)
func (*DescribeDBXlogsResponse) FromJsonString ¶
func (r *DescribeDBXlogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBXlogsResponse) ToJsonString ¶
func (r *DescribeDBXlogsResponse) ToJsonString() string
type DescribeDBXlogsResponseParams ¶ added in v1.0.426
type DescribeDBXlogsResponseParams struct { // 表示此次返回结果有多少条数据。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Xlog列表 XlogList []*Xlog `json:"XlogList,omitnil,omitempty" name:"XlogList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabaseObjectsRequest ¶ added in v1.0.969
type DescribeDatabaseObjectsRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询的对象类型。支持查询的数据对象有:database,schema,sequence,procedure,type,function,table,view,matview,column。 ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"` // 单次显示数量,默认20。可选范围为[0,100]。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 查询对象所属的数据库。当查询对象类型不为database时,此参数必填。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 查询对象所属的模式。当查询对象类型不为database、schema时,此参数必填。 SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // 查询对象所属的表。当查询对象类型为column时,此参数必填。 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
func NewDescribeDatabaseObjectsRequest ¶ added in v1.0.969
func NewDescribeDatabaseObjectsRequest() (request *DescribeDatabaseObjectsRequest)
func (*DescribeDatabaseObjectsRequest) FromJsonString ¶ added in v1.0.969
func (r *DescribeDatabaseObjectsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseObjectsRequest) ToJsonString ¶ added in v1.0.969
func (r *DescribeDatabaseObjectsRequest) ToJsonString() string
type DescribeDatabaseObjectsRequestParams ¶ added in v1.0.969
type DescribeDatabaseObjectsRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询的对象类型。支持查询的数据对象有:database,schema,sequence,procedure,type,function,table,view,matview,column。 ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"` // 单次显示数量,默认20。可选范围为[0,100]。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 查询对象所属的数据库。当查询对象类型不为database时,此参数必填。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 查询对象所属的模式。当查询对象类型不为database、schema时,此参数必填。 SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // 查询对象所属的表。当查询对象类型为column时,此参数必填。 TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
Predefined struct for user
type DescribeDatabaseObjectsResponse ¶ added in v1.0.969
type DescribeDatabaseObjectsResponse struct { *tchttp.BaseResponse Response *DescribeDatabaseObjectsResponseParams `json:"Response"` }
func NewDescribeDatabaseObjectsResponse ¶ added in v1.0.969
func NewDescribeDatabaseObjectsResponse() (response *DescribeDatabaseObjectsResponse)
func (*DescribeDatabaseObjectsResponse) FromJsonString ¶ added in v1.0.969
func (r *DescribeDatabaseObjectsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseObjectsResponse) ToJsonString ¶ added in v1.0.969
func (r *DescribeDatabaseObjectsResponse) ToJsonString() string
type DescribeDatabaseObjectsResponseParams ¶ added in v1.0.969
type DescribeDatabaseObjectsResponseParams struct { // 查询对象列表。 // 注意:此字段可能返回 null,表示取不到有效值。 ObjectSet []*string `json:"ObjectSet,omitnil,omitempty" name:"ObjectSet"` // 查询对象总数量 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:database-name:按照数据库名称过滤,类型为string。此处使用模糊匹配搜索符合条件的数据库。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 单次显示数量 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeDatabasesRequest ¶
func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)
func (*DescribeDatabasesRequest) FromJsonString ¶
func (r *DescribeDatabasesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabasesRequest) ToJsonString ¶
func (r *DescribeDatabasesRequest) ToJsonString() string
type DescribeDatabasesRequestParams ¶ added in v1.0.426
type DescribeDatabasesRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:database-name:按照数据库名称过滤,类型为string。此处使用模糊匹配搜索符合条件的数据库。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 单次显示数量 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDatabasesResponse ¶
type DescribeDatabasesResponse struct { *tchttp.BaseResponse Response *DescribeDatabasesResponseParams `json:"Response"` }
func NewDescribeDatabasesResponse ¶
func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)
func (*DescribeDatabasesResponse) FromJsonString ¶
func (r *DescribeDatabasesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabasesResponse) ToJsonString ¶
func (r *DescribeDatabasesResponse) ToJsonString() string
type DescribeDatabasesResponseParams ¶ added in v1.0.426
type DescribeDatabasesResponseParams struct { // 数据库信息 Items []*string `json:"Items,omitnil,omitempty" name:"Items"` // 数据库总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 数据库详情列表 Databases []*Database `json:"Databases,omitnil,omitempty" name:"Databases"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDedicatedClustersRequest ¶ added in v1.0.1010
type DescribeDedicatedClustersRequest struct { *tchttp.BaseRequest // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // dedicated-cluster-id: 按照专属集群ID筛选,类型为string Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeDedicatedClustersRequest ¶ added in v1.0.1010
func NewDescribeDedicatedClustersRequest() (request *DescribeDedicatedClustersRequest)
func (*DescribeDedicatedClustersRequest) FromJsonString ¶ added in v1.0.1010
func (r *DescribeDedicatedClustersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDedicatedClustersRequest) ToJsonString ¶ added in v1.0.1010
func (r *DescribeDedicatedClustersRequest) ToJsonString() string
type DescribeDedicatedClustersRequestParams ¶ added in v1.0.1010
type DescribeDedicatedClustersRequestParams struct { // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // dedicated-cluster-id: 按照专属集群ID筛选,类型为string Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeDedicatedClustersResponse ¶ added in v1.0.1010
type DescribeDedicatedClustersResponse struct { *tchttp.BaseResponse Response *DescribeDedicatedClustersResponseParams `json:"Response"` }
func NewDescribeDedicatedClustersResponse ¶ added in v1.0.1010
func NewDescribeDedicatedClustersResponse() (response *DescribeDedicatedClustersResponse)
func (*DescribeDedicatedClustersResponse) FromJsonString ¶ added in v1.0.1010
func (r *DescribeDedicatedClustersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDedicatedClustersResponse) ToJsonString ¶ added in v1.0.1010
func (r *DescribeDedicatedClustersResponse) ToJsonString() string
type DescribeDedicatedClustersResponseParams ¶ added in v1.0.1010
type DescribeDedicatedClustersResponseParams struct { // 专属集群信息 DedicatedClusterSet []*DedicatedCluster `json:"DedicatedClusterSet,omitnil,omitempty" name:"DedicatedClusterSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultParametersRequest ¶ added in v1.0.560
type DescribeDefaultParametersRequest struct { *tchttp.BaseRequest // 数据库版本,大版本号,例如11,12,13 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 数据库引擎,例如:postgresql,mssql_compatible DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` }
func NewDescribeDefaultParametersRequest ¶ added in v1.0.560
func NewDescribeDefaultParametersRequest() (request *DescribeDefaultParametersRequest)
func (*DescribeDefaultParametersRequest) FromJsonString ¶ added in v1.0.560
func (r *DescribeDefaultParametersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultParametersRequest) ToJsonString ¶ added in v1.0.560
func (r *DescribeDefaultParametersRequest) ToJsonString() string
type DescribeDefaultParametersRequestParams ¶ added in v1.0.560
type DescribeDefaultParametersRequestParams struct { // 数据库版本,大版本号,例如11,12,13 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 数据库引擎,例如:postgresql,mssql_compatible DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` }
Predefined struct for user
type DescribeDefaultParametersResponse ¶ added in v1.0.560
type DescribeDefaultParametersResponse struct { *tchttp.BaseResponse Response *DescribeDefaultParametersResponseParams `json:"Response"` }
func NewDescribeDefaultParametersResponse ¶ added in v1.0.560
func NewDescribeDefaultParametersResponse() (response *DescribeDefaultParametersResponse)
func (*DescribeDefaultParametersResponse) FromJsonString ¶ added in v1.0.560
func (r *DescribeDefaultParametersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultParametersResponse) ToJsonString ¶ added in v1.0.560
func (r *DescribeDefaultParametersResponse) ToJsonString() string
type DescribeDefaultParametersResponseParams ¶ added in v1.0.560
type DescribeDefaultParametersResponseParams struct { // 参数个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数信息 // 注意:此字段可能返回 null,表示取不到有效值。 ParamInfoSet []*ParamInfo `json:"ParamInfoSet,omitnil,omitempty" name:"ParamInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEncryptionKeysRequest ¶ added in v1.0.390
type DescribeEncryptionKeysRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeEncryptionKeysRequest ¶ added in v1.0.390
func NewDescribeEncryptionKeysRequest() (request *DescribeEncryptionKeysRequest)
func (*DescribeEncryptionKeysRequest) FromJsonString ¶ added in v1.0.390
func (r *DescribeEncryptionKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEncryptionKeysRequest) ToJsonString ¶ added in v1.0.390
func (r *DescribeEncryptionKeysRequest) ToJsonString() string
type DescribeEncryptionKeysRequestParams ¶ added in v1.0.426
type DescribeEncryptionKeysRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeEncryptionKeysResponse ¶ added in v1.0.390
type DescribeEncryptionKeysResponse struct { *tchttp.BaseResponse Response *DescribeEncryptionKeysResponseParams `json:"Response"` }
func NewDescribeEncryptionKeysResponse ¶ added in v1.0.390
func NewDescribeEncryptionKeysResponse() (response *DescribeEncryptionKeysResponse)
func (*DescribeEncryptionKeysResponse) FromJsonString ¶ added in v1.0.390
func (r *DescribeEncryptionKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEncryptionKeysResponse) ToJsonString ¶ added in v1.0.390
func (r *DescribeEncryptionKeysResponse) ToJsonString() string
type DescribeEncryptionKeysResponseParams ¶ added in v1.0.426
type DescribeEncryptionKeysResponseParams struct { // 实例密钥信息列表。 // 注意:此字段可能返回 null,表示取不到有效值。 EncryptionKeys []*EncryptionKey `json:"EncryptionKeys,omitnil,omitempty" name:"EncryptionKeys"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLogBackupsRequest ¶ added in v1.0.621
type DescribeLogBackupsRequest struct { *tchttp.BaseRequest // 备份的最小结束时间,形如2018-01-01 00:00:00。默认为7天前。 MinFinishTime *string `json:"MinFinishTime,omitnil,omitempty" name:"MinFinishTime"` // 备份的最大结束时间,形如2018-01-01 00:00:00。默认为当前时间。 MaxFinishTime *string `json:"MaxFinishTime,omitnil,omitempty" name:"MaxFinishTime"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string。 // db-instance-name:按照实例名过滤,类型为string。 // db-instance-ip:按照实例私有网络IP地址过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,支持StartTime,FinishTime,Size。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc,降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeLogBackupsRequest ¶ added in v1.0.621
func NewDescribeLogBackupsRequest() (request *DescribeLogBackupsRequest)
func (*DescribeLogBackupsRequest) FromJsonString ¶ added in v1.0.621
func (r *DescribeLogBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogBackupsRequest) ToJsonString ¶ added in v1.0.621
func (r *DescribeLogBackupsRequest) ToJsonString() string
type DescribeLogBackupsRequestParams ¶ added in v1.0.621
type DescribeLogBackupsRequestParams struct { // 备份的最小结束时间,形如2018-01-01 00:00:00。默认为7天前。 MinFinishTime *string `json:"MinFinishTime,omitnil,omitempty" name:"MinFinishTime"` // 备份的最大结束时间,形如2018-01-01 00:00:00。默认为当前时间。 MaxFinishTime *string `json:"MaxFinishTime,omitnil,omitempty" name:"MaxFinishTime"` // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-instance-id:按照实例ID过滤,类型为string。 // db-instance-name:按照实例名过滤,类型为string。 // db-instance-ip:按照实例私有网络IP地址过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,取值范围为1-100,默认为返回10条。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序字段,支持StartTime,FinishTime,Size。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc,降序:desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeLogBackupsResponse ¶ added in v1.0.621
type DescribeLogBackupsResponse struct { *tchttp.BaseResponse Response *DescribeLogBackupsResponseParams `json:"Response"` }
func NewDescribeLogBackupsResponse ¶ added in v1.0.621
func NewDescribeLogBackupsResponse() (response *DescribeLogBackupsResponse)
func (*DescribeLogBackupsResponse) FromJsonString ¶ added in v1.0.621
func (r *DescribeLogBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogBackupsResponse) ToJsonString ¶ added in v1.0.621
func (r *DescribeLogBackupsResponse) ToJsonString() string
type DescribeLogBackupsResponseParams ¶ added in v1.0.621
type DescribeLogBackupsResponseParams struct { // 查询到的日志备份数量。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 日志备份详细信息列表。 LogBackupSet []*LogBackup `json:"LogBackupSet,omitnil,omitempty" name:"LogBackupSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMaintainTimeWindowRequest ¶ added in v1.0.1078
type DescribeMaintainTimeWindowRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeMaintainTimeWindowRequest ¶ added in v1.0.1078
func NewDescribeMaintainTimeWindowRequest() (request *DescribeMaintainTimeWindowRequest)
func (*DescribeMaintainTimeWindowRequest) FromJsonString ¶ added in v1.0.1078
func (r *DescribeMaintainTimeWindowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMaintainTimeWindowRequest) ToJsonString ¶ added in v1.0.1078
func (r *DescribeMaintainTimeWindowRequest) ToJsonString() string
type DescribeMaintainTimeWindowRequestParams ¶ added in v1.0.1078
type DescribeMaintainTimeWindowRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeMaintainTimeWindowResponse ¶ added in v1.0.1078
type DescribeMaintainTimeWindowResponse struct { *tchttp.BaseResponse Response *DescribeMaintainTimeWindowResponseParams `json:"Response"` }
func NewDescribeMaintainTimeWindowResponse ¶ added in v1.0.1078
func NewDescribeMaintainTimeWindowResponse() (response *DescribeMaintainTimeWindowResponse)
func (*DescribeMaintainTimeWindowResponse) FromJsonString ¶ added in v1.0.1078
func (r *DescribeMaintainTimeWindowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMaintainTimeWindowResponse) ToJsonString ¶ added in v1.0.1078
func (r *DescribeMaintainTimeWindowResponse) ToJsonString() string
type DescribeMaintainTimeWindowResponseParams ¶ added in v1.0.1078
type DescribeMaintainTimeWindowResponseParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 维护开始时间。时区为东八区(UTC+8) MaintainStartTime *string `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 维护持续时间。单位:小时 MaintainDuration *uint64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 维护周期 MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOrdersRequest ¶
type DescribeOrdersRequest struct { *tchttp.BaseRequest // 订单名集合 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` }
func NewDescribeOrdersRequest ¶
func NewDescribeOrdersRequest() (request *DescribeOrdersRequest)
func (*DescribeOrdersRequest) FromJsonString ¶
func (r *DescribeOrdersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOrdersRequest) ToJsonString ¶
func (r *DescribeOrdersRequest) ToJsonString() string
type DescribeOrdersRequestParams ¶ added in v1.0.426
type DescribeOrdersRequestParams struct { // 订单名集合 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` }
Predefined struct for user
type DescribeOrdersResponse ¶
type DescribeOrdersResponse struct { *tchttp.BaseResponse Response *DescribeOrdersResponseParams `json:"Response"` }
func NewDescribeOrdersResponse ¶
func NewDescribeOrdersResponse() (response *DescribeOrdersResponse)
func (*DescribeOrdersResponse) FromJsonString ¶
func (r *DescribeOrdersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOrdersResponse) ToJsonString ¶
func (r *DescribeOrdersResponse) ToJsonString() string
type DescribeOrdersResponseParams ¶ added in v1.0.426
type DescribeOrdersResponseParams struct { // 订单数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 订单数组 Deals []*PgDeal `json:"Deals,omitnil,omitempty" name:"Deals"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParameterTemplateAttributesRequest ¶ added in v1.0.560
type DescribeParameterTemplateAttributesRequest struct { *tchttp.BaseRequest // 参数模板ID TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDescribeParameterTemplateAttributesRequest ¶ added in v1.0.560
func NewDescribeParameterTemplateAttributesRequest() (request *DescribeParameterTemplateAttributesRequest)
func (*DescribeParameterTemplateAttributesRequest) FromJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplateAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParameterTemplateAttributesRequest) ToJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplateAttributesRequest) ToJsonString() string
type DescribeParameterTemplateAttributesRequestParams ¶ added in v1.0.560
type DescribeParameterTemplateAttributesRequestParams struct { // 参数模板ID TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeParameterTemplateAttributesResponse ¶ added in v1.0.560
type DescribeParameterTemplateAttributesResponse struct { *tchttp.BaseResponse Response *DescribeParameterTemplateAttributesResponseParams `json:"Response"` }
func NewDescribeParameterTemplateAttributesResponse ¶ added in v1.0.560
func NewDescribeParameterTemplateAttributesResponse() (response *DescribeParameterTemplateAttributesResponse)
func (*DescribeParameterTemplateAttributesResponse) FromJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplateAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParameterTemplateAttributesResponse) ToJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplateAttributesResponse) ToJsonString() string
type DescribeParameterTemplateAttributesResponseParams ¶ added in v1.0.560
type DescribeParameterTemplateAttributesResponseParams struct { // 参数模板ID // 注意:此字段可能返回 null,表示取不到有效值。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 参数模板包含的参数个数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数模板包含的参数信息 // 注意:此字段可能返回 null,表示取不到有效值。 ParamInfoSet []*ParamInfo `json:"ParamInfoSet,omitnil,omitempty" name:"ParamInfoSet"` // 参数模板名称 // 注意:此字段可能返回 null,表示取不到有效值。 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 参数模板适用的数据库版本 // 注意:此字段可能返回 null,表示取不到有效值。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 参数模板适用的数据库引擎 // 注意:此字段可能返回 null,表示取不到有效值。 DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 参数模板描述 // 注意:此字段可能返回 null,表示取不到有效值。 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParameterTemplatesRequest ¶ added in v1.0.560
type DescribeParameterTemplatesRequest struct { *tchttp.BaseRequest // 过滤条件,目前支持的过滤条件有:TemplateName, TemplateId,DBMajorVersion,DBEngine Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,[0,100],默认 20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序指标,枚举值,支持:CreateTime,TemplateName,DBMajorVersion OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,枚举值,支持:asc(升序) ,desc(降序) OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeParameterTemplatesRequest ¶ added in v1.0.560
func NewDescribeParameterTemplatesRequest() (request *DescribeParameterTemplatesRequest)
func (*DescribeParameterTemplatesRequest) FromJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParameterTemplatesRequest) ToJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplatesRequest) ToJsonString() string
type DescribeParameterTemplatesRequestParams ¶ added in v1.0.560
type DescribeParameterTemplatesRequestParams struct { // 过滤条件,目前支持的过滤条件有:TemplateName, TemplateId,DBMajorVersion,DBEngine Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 每页显示数量,[0,100],默认 20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序指标,枚举值,支持:CreateTime,TemplateName,DBMajorVersion OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,枚举值,支持:asc(升序) ,desc(降序) OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeParameterTemplatesResponse ¶ added in v1.0.560
type DescribeParameterTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeParameterTemplatesResponseParams `json:"Response"` }
func NewDescribeParameterTemplatesResponse ¶ added in v1.0.560
func NewDescribeParameterTemplatesResponse() (response *DescribeParameterTemplatesResponse)
func (*DescribeParameterTemplatesResponse) FromJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParameterTemplatesResponse) ToJsonString ¶ added in v1.0.560
func (r *DescribeParameterTemplatesResponse) ToJsonString() string
type DescribeParameterTemplatesResponseParams ¶ added in v1.0.560
type DescribeParameterTemplatesResponseParams struct { // 符合查询条件的参数模板总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 参数模板列表 ParameterTemplateSet []*ParameterTemplate `json:"ParameterTemplateSet,omitnil,omitempty" name:"ParameterTemplateSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParamsEventRequest ¶ added in v1.0.276
type DescribeParamsEventRequest struct { *tchttp.BaseRequest // 实例DB ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDescribeParamsEventRequest ¶ added in v1.0.276
func NewDescribeParamsEventRequest() (request *DescribeParamsEventRequest)
func (*DescribeParamsEventRequest) FromJsonString ¶ added in v1.0.276
func (r *DescribeParamsEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParamsEventRequest) ToJsonString ¶ added in v1.0.276
func (r *DescribeParamsEventRequest) ToJsonString() string
type DescribeParamsEventRequestParams ¶ added in v1.0.426
type DescribeParamsEventRequestParams struct { // 实例DB ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DescribeParamsEventResponse ¶ added in v1.0.276
type DescribeParamsEventResponse struct { *tchttp.BaseResponse Response *DescribeParamsEventResponseParams `json:"Response"` }
func NewDescribeParamsEventResponse ¶ added in v1.0.276
func NewDescribeParamsEventResponse() (response *DescribeParamsEventResponse)
func (*DescribeParamsEventResponse) FromJsonString ¶ added in v1.0.276
func (r *DescribeParamsEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeParamsEventResponse) ToJsonString ¶ added in v1.0.276
func (r *DescribeParamsEventResponse) ToJsonString() string
type DescribeParamsEventResponseParams ¶ added in v1.0.426
type DescribeParamsEventResponseParams struct { // 参数修改事件总数,以参数为统计粒度 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例参数修改事件详情 EventItems []*EventItem `json:"EventItems,omitnil,omitempty" name:"EventItems"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProductConfigRequest ¶
type DescribeProductConfigRequest struct { *tchttp.BaseRequest // 可用区名称 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 数据库引擎,支持: // 1、postgresql(云数据库PostgreSQL); // 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL); // 如不指定默认使用postgresql。 DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` }
func NewDescribeProductConfigRequest ¶
func NewDescribeProductConfigRequest() (request *DescribeProductConfigRequest)
func (*DescribeProductConfigRequest) FromJsonString ¶
func (r *DescribeProductConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductConfigRequest) ToJsonString ¶
func (r *DescribeProductConfigRequest) ToJsonString() string
type DescribeProductConfigRequestParams ¶ added in v1.0.426
type DescribeProductConfigRequestParams struct { // 可用区名称 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 数据库引擎,支持: // 1、postgresql(云数据库PostgreSQL); // 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL); // 如不指定默认使用postgresql。 DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` }
Predefined struct for user
type DescribeProductConfigResponse ¶
type DescribeProductConfigResponse struct { *tchttp.BaseResponse Response *DescribeProductConfigResponseParams `json:"Response"` }
func NewDescribeProductConfigResponse ¶
func NewDescribeProductConfigResponse() (response *DescribeProductConfigResponse)
func (*DescribeProductConfigResponse) FromJsonString ¶
func (r *DescribeProductConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductConfigResponse) ToJsonString ¶
func (r *DescribeProductConfigResponse) ToJsonString() string
type DescribeProductConfigResponseParams ¶ added in v1.0.426
type DescribeProductConfigResponseParams struct { // 售卖规格列表。 SpecInfoList []*SpecInfo `json:"SpecInfoList,omitnil,omitempty" name:"SpecInfoList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeReadOnlyGroupsRequest ¶
type DescribeReadOnlyGroupsRequest struct { *tchttp.BaseRequest // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-master-instance-id:按照主实例过滤,类型为string。 // read-only-group-id:按照只读组ID过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询每一页的条数,默认为10 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询的页码,默认为1 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 查询排序依据,目前支持:ROGroupId,CreateTime,Name OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 查询排序依据类型,目前支持:desc,asc OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeReadOnlyGroupsRequest ¶
func NewDescribeReadOnlyGroupsRequest() (request *DescribeReadOnlyGroupsRequest)
func (*DescribeReadOnlyGroupsRequest) FromJsonString ¶
func (r *DescribeReadOnlyGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeReadOnlyGroupsRequest) ToJsonString ¶
func (r *DescribeReadOnlyGroupsRequest) ToJsonString() string
type DescribeReadOnlyGroupsRequestParams ¶ added in v1.0.426
type DescribeReadOnlyGroupsRequestParams struct { // 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有: // db-master-instance-id:按照主实例过滤,类型为string。 // read-only-group-id:按照只读组ID过滤,类型为string。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询每一页的条数,默认为10 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询的页码,默认为1 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 查询排序依据,目前支持:ROGroupId,CreateTime,Name OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 查询排序依据类型,目前支持:desc,asc OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeReadOnlyGroupsResponse ¶
type DescribeReadOnlyGroupsResponse struct { *tchttp.BaseResponse Response *DescribeReadOnlyGroupsResponseParams `json:"Response"` }
func NewDescribeReadOnlyGroupsResponse ¶
func NewDescribeReadOnlyGroupsResponse() (response *DescribeReadOnlyGroupsResponse)
func (*DescribeReadOnlyGroupsResponse) FromJsonString ¶
func (r *DescribeReadOnlyGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeReadOnlyGroupsResponse) ToJsonString ¶
func (r *DescribeReadOnlyGroupsResponse) ToJsonString() string
type DescribeReadOnlyGroupsResponseParams ¶ added in v1.0.426
type DescribeReadOnlyGroupsResponseParams struct { // 只读组列表 ReadOnlyGroupList []*ReadOnlyGroup `json:"ReadOnlyGroupList,omitnil,omitempty" name:"ReadOnlyGroupList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRegionsRequest ¶
func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)
func (*DescribeRegionsRequest) FromJsonString ¶
func (r *DescribeRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsRequest) ToJsonString ¶
func (r *DescribeRegionsRequest) ToJsonString() string
type DescribeRegionsRequestParams ¶ added in v1.0.426
type DescribeRegionsRequestParams struct { }
Predefined struct for user
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *DescribeRegionsResponseParams `json:"Response"` }
func NewDescribeRegionsResponse ¶
func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)
func (*DescribeRegionsResponse) FromJsonString ¶
func (r *DescribeRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsResponse) ToJsonString ¶
func (r *DescribeRegionsResponse) ToJsonString() string
type DescribeRegionsResponseParams ¶ added in v1.0.426
type DescribeRegionsResponseParams struct { // 返回的结果数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 地域信息集合。 RegionSet []*RegionInfo `json:"RegionSet,omitnil,omitempty" name:"RegionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServerlessDBInstancesRequest ¶
type DescribeServerlessDBInstancesRequest struct { *tchttp.BaseRequest // 查询条件。按照一个或者多个过滤条件进行查询,目前支持的过滤条件类型(name字段指定)有: // // - db-instance-id:按照实例ID过滤,类型为string // - db-instance-name:按照实例名过滤,类型为string // - db-tag-key:按照实例的tag过滤,类型为string // // value字段指定该类型过滤条件下具体要过滤的实例ID/实例名/实例tag-key。 Filter []*Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // 查询个数 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序指标,目前支持实例创建时间CreateTime OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序、降序 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
func NewDescribeServerlessDBInstancesRequest ¶
func NewDescribeServerlessDBInstancesRequest() (request *DescribeServerlessDBInstancesRequest)
func (*DescribeServerlessDBInstancesRequest) FromJsonString ¶
func (r *DescribeServerlessDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServerlessDBInstancesRequest) ToJsonString ¶
func (r *DescribeServerlessDBInstancesRequest) ToJsonString() string
type DescribeServerlessDBInstancesRequestParams ¶ added in v1.0.426
type DescribeServerlessDBInstancesRequestParams struct { // 查询条件。按照一个或者多个过滤条件进行查询,目前支持的过滤条件类型(name字段指定)有: // // - db-instance-id:按照实例ID过滤,类型为string // - db-instance-name:按照实例名过滤,类型为string // - db-tag-key:按照实例的tag过滤,类型为string // // value字段指定该类型过滤条件下具体要过滤的实例ID/实例名/实例tag-key。 Filter []*Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // 查询个数 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 排序指标,目前支持实例创建时间CreateTime OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序、降序 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeServerlessDBInstancesResponse ¶
type DescribeServerlessDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeServerlessDBInstancesResponseParams `json:"Response"` }
func NewDescribeServerlessDBInstancesResponse ¶
func NewDescribeServerlessDBInstancesResponse() (response *DescribeServerlessDBInstancesResponse)
func (*DescribeServerlessDBInstancesResponse) FromJsonString ¶
func (r *DescribeServerlessDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServerlessDBInstancesResponse) ToJsonString ¶
func (r *DescribeServerlessDBInstancesResponse) ToJsonString() string
type DescribeServerlessDBInstancesResponseParams ¶ added in v1.0.426
type DescribeServerlessDBInstancesResponseParams struct { // 查询结果数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 查询结果 // 注意:此字段可能返回 null,表示取不到有效值。 DBInstanceSet []*ServerlessDBInstance `json:"DBInstanceSet,omitnil,omitempty" name:"DBInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSlowQueryAnalysisRequest ¶ added in v1.0.233
type DescribeSlowQueryAnalysisRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-01-01 00:00:00。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 排序字段,取值范围[CallNum,CostTime,AvgCostTime]。默认值为CallNum。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc 降序:desc。默认值为desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 每页显示数量,取值范围为1-100。默认值为50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeSlowQueryAnalysisRequest ¶ added in v1.0.233
func NewDescribeSlowQueryAnalysisRequest() (request *DescribeSlowQueryAnalysisRequest)
func (*DescribeSlowQueryAnalysisRequest) FromJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryAnalysisRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryAnalysisRequest) ToJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryAnalysisRequest) ToJsonString() string
type DescribeSlowQueryAnalysisRequestParams ¶ added in v1.0.426
type DescribeSlowQueryAnalysisRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-01-01 00:00:00。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 排序字段,取值范围[CallNum,CostTime,AvgCostTime]。默认值为CallNum。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,包括升序:asc 降序:desc。默认值为desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 每页显示数量,取值范围为1-100。默认值为50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeSlowQueryAnalysisResponse ¶ added in v1.0.233
type DescribeSlowQueryAnalysisResponse struct { *tchttp.BaseResponse Response *DescribeSlowQueryAnalysisResponseParams `json:"Response"` }
func NewDescribeSlowQueryAnalysisResponse ¶ added in v1.0.233
func NewDescribeSlowQueryAnalysisResponse() (response *DescribeSlowQueryAnalysisResponse)
func (*DescribeSlowQueryAnalysisResponse) FromJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryAnalysisResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryAnalysisResponse) ToJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryAnalysisResponse) ToJsonString() string
type DescribeSlowQueryAnalysisResponseParams ¶ added in v1.0.426
type DescribeSlowQueryAnalysisResponseParams struct { // 查询到的总条数,最大值为10000条。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 查询到的慢SQL统计分析详细信息集合。 Detail *Detail `json:"Detail,omitnil,omitempty" name:"Detail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSlowQueryListRequest ¶ added in v1.0.233
type DescribeSlowQueryListRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-01-01 00:00:00。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 排序方式,包括升序:asc 降序:desc。默认值为desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 排序字段,取值范围[SessionStartTime,Duration]。默认值为SessionStartTime。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 每页显示数量,取值范围为1-100。默认值为50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeSlowQueryListRequest ¶ added in v1.0.233
func NewDescribeSlowQueryListRequest() (request *DescribeSlowQueryListRequest)
func (*DescribeSlowQueryListRequest) FromJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryListRequest) ToJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryListRequest) ToJsonString() string
type DescribeSlowQueryListRequestParams ¶ added in v1.0.426
type DescribeSlowQueryListRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 查询起始时间,形如2018-01-01 00:00:00。日志保留时间默认为7天,起始时间不能超出保留时间范围。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,形如2018-01-01 00:00:00。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 数据库名字。 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 排序方式,包括升序:asc 降序:desc。默认值为desc。 OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"` // 排序字段,取值范围[SessionStartTime,Duration]。默认值为SessionStartTime。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 每页显示数量,取值范围为1-100。默认值为50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据偏移量,从0开始。默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeSlowQueryListResponse ¶ added in v1.0.233
type DescribeSlowQueryListResponse struct { *tchttp.BaseResponse Response *DescribeSlowQueryListResponseParams `json:"Response"` }
func NewDescribeSlowQueryListResponse ¶ added in v1.0.233
func NewDescribeSlowQueryListResponse() (response *DescribeSlowQueryListResponse)
func (*DescribeSlowQueryListResponse) FromJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryListResponse) ToJsonString ¶ added in v1.0.233
func (r *DescribeSlowQueryListResponse) ToJsonString() string
type DescribeSlowQueryListResponseParams ¶ added in v1.0.426
type DescribeSlowQueryListResponseParams struct { // 查询到的慢日志数量,最大值为10000条。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 查询到的慢日志耗时分段分析结果。 // 注意:此字段可能返回 null,表示取不到有效值。 DurationAnalysis []*DurationAnalysis `json:"DurationAnalysis,omitnil,omitempty" name:"DurationAnalysis"` // 查询到的慢日志详细信息集合。 // 注意:此字段可能返回 null,表示取不到有效值。 RawSlowQueryList []*RawSlowQuery `json:"RawSlowQueryList,omitnil,omitempty" name:"RawSlowQueryList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZonesRequest ¶
type DescribeZonesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
func (r *DescribeZonesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesRequest) ToJsonString ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶ added in v1.0.426
type DescribeZonesRequestParams struct { }
Predefined struct for user
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *DescribeZonesResponseParams `json:"Response"` }
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
func (r *DescribeZonesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesResponse) ToJsonString ¶
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶ added in v1.0.426
type DescribeZonesResponseParams struct { // 返回的结果数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 可用区信息集合。 ZoneSet []*ZoneInfo `json:"ZoneSet,omitnil,omitempty" name:"ZoneSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyDBInstanceRequest ¶
type DestroyDBInstanceRequest struct { *tchttp.BaseRequest // 待下线实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewDestroyDBInstanceRequest ¶
func NewDestroyDBInstanceRequest() (request *DestroyDBInstanceRequest)
func (*DestroyDBInstanceRequest) FromJsonString ¶
func (r *DestroyDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyDBInstanceRequest) ToJsonString ¶
func (r *DestroyDBInstanceRequest) ToJsonString() string
type DestroyDBInstanceRequestParams ¶ added in v1.0.426
type DestroyDBInstanceRequestParams struct { // 待下线实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type DestroyDBInstanceResponse ¶
type DestroyDBInstanceResponse struct { *tchttp.BaseResponse Response *DestroyDBInstanceResponseParams `json:"Response"` }
func NewDestroyDBInstanceResponse ¶
func NewDestroyDBInstanceResponse() (response *DestroyDBInstanceResponse)
func (*DestroyDBInstanceResponse) FromJsonString ¶
func (r *DestroyDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyDBInstanceResponse) ToJsonString ¶
func (r *DestroyDBInstanceResponse) ToJsonString() string
type DestroyDBInstanceResponseParams ¶ added in v1.0.426
type DestroyDBInstanceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Detail ¶ added in v1.0.233
type Detail struct { // 输入时间范围内所有慢sql执行的总时间,单位毫秒(ms) TotalTime *float64 `json:"TotalTime,omitnil,omitempty" name:"TotalTime"` // 输入时间范围内所有慢sql总条数 TotalCallNum *uint64 `json:"TotalCallNum,omitnil,omitempty" name:"TotalCallNum"` // 慢SQL统计分析列表 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisItems []*AnalysisItems `json:"AnalysisItems,omitnil,omitempty" name:"AnalysisItems"` }
type DisIsolateDBInstancesRequest ¶
type DisIsolateDBInstancesRequest struct { *tchttp.BaseRequest // 实例ID列表。注意:当前已不支持同时解隔离多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36 // <li>后付费:只支持1 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 是否使用代金券: // <li>true:使用 // <li>false:不使用 // 默认值:false AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券id列表。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` }
func NewDisIsolateDBInstancesRequest ¶
func NewDisIsolateDBInstancesRequest() (request *DisIsolateDBInstancesRequest)
func (*DisIsolateDBInstancesRequest) FromJsonString ¶
func (r *DisIsolateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisIsolateDBInstancesRequest) ToJsonString ¶
func (r *DisIsolateDBInstancesRequest) ToJsonString() string
type DisIsolateDBInstancesRequestParams ¶ added in v1.0.426
type DisIsolateDBInstancesRequestParams struct { // 实例ID列表。注意:当前已不支持同时解隔离多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36 // <li>后付费:只支持1 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 是否使用代金券: // <li>true:使用 // <li>false:不使用 // 默认值:false AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券id列表。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` }
Predefined struct for user
type DisIsolateDBInstancesResponse ¶
type DisIsolateDBInstancesResponse struct { *tchttp.BaseResponse Response *DisIsolateDBInstancesResponseParams `json:"Response"` }
func NewDisIsolateDBInstancesResponse ¶
func NewDisIsolateDBInstancesResponse() (response *DisIsolateDBInstancesResponse)
func (*DisIsolateDBInstancesResponse) FromJsonString ¶
func (r *DisIsolateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisIsolateDBInstancesResponse) ToJsonString ¶
func (r *DisIsolateDBInstancesResponse) ToJsonString() string
type DisIsolateDBInstancesResponseParams ¶ added in v1.0.426
type DisIsolateDBInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DurationAnalysis ¶ added in v1.0.233
type EncryptionKey ¶ added in v1.0.390
type EncryptionKey struct { // KMS实例加密的KeyId。 // 注意:此字段可能返回 null,表示取不到有效值。 KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` // KMS实例加密Key的别名。 // 注意:此字段可能返回 null,表示取不到有效值。 KeyAlias *string `json:"KeyAlias,omitnil,omitempty" name:"KeyAlias"` // 实例加密密钥DEK的密文。 // 注意:此字段可能返回 null,表示取不到有效值。 DEKCipherTextBlob *string `json:"DEKCipherTextBlob,omitnil,omitempty" name:"DEKCipherTextBlob"` // 密钥是否启用,1-启用, 0-未启用。 // 注意:此字段可能返回 null,表示取不到有效值。 IsEnabled *int64 `json:"IsEnabled,omitnil,omitempty" name:"IsEnabled"` // KMS密钥所在地域。 // 注意:此字段可能返回 null,表示取不到有效值。 KeyRegion *string `json:"KeyRegion,omitnil,omitempty" name:"KeyRegion"` // DEK密钥创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type ErrLogDetail ¶
type ErrLogDetail struct { // 用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 数据库名字 Database *string `json:"Database,omitnil,omitempty" name:"Database"` // 错误发生时间 ErrTime *string `json:"ErrTime,omitnil,omitempty" name:"ErrTime"` // 错误消息 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` }
type EventInfo ¶ added in v1.0.276
type EventInfo struct { // 参数名 // 注意:此字段可能返回 null,表示取不到有效值。 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 原参数值 // 注意:此字段可能返回 null,表示取不到有效值。 OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"` // 本次修改期望参数值 // 注意:此字段可能返回 null,表示取不到有效值。 NewValue *string `json:"NewValue,omitnil,omitempty" name:"NewValue"` // 后台参数修改开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // 后台参数生效开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 EffectiveTime *string `json:"EffectiveTime,omitnil,omitempty" name:"EffectiveTime"` // 修改状态 // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitnil,omitempty" name:"State"` // 操作者(一般为用户sub UIN) // 注意:此字段可能返回 null,表示取不到有效值。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 时间日志。 // 注意:此字段可能返回 null,表示取不到有效值。 EventLog *string `json:"EventLog,omitnil,omitempty" name:"EventLog"` }
type EventItem ¶ added in v1.0.276
type EventItem struct { // 参数名 // 注意:此字段可能返回 null,表示取不到有效值。 ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // 修改事件数 // 注意:此字段可能返回 null,表示取不到有效值。 EventCount *int64 `json:"EventCount,omitnil,omitempty" name:"EventCount"` // 修改时间详情 // 注意:此字段可能返回 null,表示取不到有效值。 EventDetail []*EventInfo `json:"EventDetail,omitnil,omitempty" name:"EventDetail"` }
type InitDBInstancesRequest ¶
type InitDBInstancesRequest struct { *tchttp.BaseRequest // 实例ID集合。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 实例根账号用户名。 AdminName *string `json:"AdminName,omitnil,omitempty" name:"AdminName"` // 实例根账号用户名对应的密码。 AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"` // 实例字符集,目前只支持:UTF8、LATIN1。 Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` }
func NewInitDBInstancesRequest ¶
func NewInitDBInstancesRequest() (request *InitDBInstancesRequest)
func (*InitDBInstancesRequest) FromJsonString ¶
func (r *InitDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InitDBInstancesRequest) ToJsonString ¶
func (r *InitDBInstancesRequest) ToJsonString() string
type InitDBInstancesRequestParams ¶ added in v1.0.426
type InitDBInstancesRequestParams struct { // 实例ID集合。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 实例根账号用户名。 AdminName *string `json:"AdminName,omitnil,omitempty" name:"AdminName"` // 实例根账号用户名对应的密码。 AdminPassword *string `json:"AdminPassword,omitnil,omitempty" name:"AdminPassword"` // 实例字符集,目前只支持:UTF8、LATIN1。 Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"` }
Predefined struct for user
type InitDBInstancesResponse ¶
type InitDBInstancesResponse struct { *tchttp.BaseResponse Response *InitDBInstancesResponseParams `json:"Response"` }
func NewInitDBInstancesResponse ¶
func NewInitDBInstancesResponse() (response *InitDBInstancesResponse)
func (*InitDBInstancesResponse) FromJsonString ¶
func (r *InitDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InitDBInstancesResponse) ToJsonString ¶
func (r *InitDBInstancesResponse) ToJsonString() string
type InitDBInstancesResponseParams ¶ added in v1.0.426
type InitDBInstancesResponseParams struct { // 实例ID集合。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceCreateDBInstancesRequest ¶
type InquiryPriceCreateDBInstancesRequest struct { *tchttp.BaseRequest // 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 规格ID。该参数可以通过调用DescribeClasses接口的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 存储容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值。 Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 【弃字段,不再生效】,计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。 Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"` // 实例计费类型。目前只支持:PREPAID(预付费,即包年包月)。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例类型,默认primary,支持如下: // primary(双机高可用(一主一从)) // readonly(只读实例) InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // DB引擎,默认postgresql,支持如下: // postgresql(云数据库PostgreSQL) // mssql_compatible(MSSQL兼容-云数据库PostgreSQL) DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` }
func NewInquiryPriceCreateDBInstancesRequest ¶
func NewInquiryPriceCreateDBInstancesRequest() (request *InquiryPriceCreateDBInstancesRequest)
func (*InquiryPriceCreateDBInstancesRequest) FromJsonString ¶
func (r *InquiryPriceCreateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateDBInstancesRequest) ToJsonString ¶
func (r *InquiryPriceCreateDBInstancesRequest) ToJsonString() string
type InquiryPriceCreateDBInstancesRequestParams ¶ added in v1.0.426
type InquiryPriceCreateDBInstancesRequestParams struct { // 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 规格ID。该参数可以通过调用DescribeClasses接口的返回值中的SpecCode字段来获取。 SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // 存储容量大小,单位:GB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值。 Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // 【弃字段,不再生效】,计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。 Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"` // 实例计费类型。目前只支持:PREPAID(预付费,即包年包月)。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例类型,默认primary,支持如下: // primary(双机高可用(一主一从)) // readonly(只读实例) InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // DB引擎,默认postgresql,支持如下: // postgresql(云数据库PostgreSQL) // mssql_compatible(MSSQL兼容-云数据库PostgreSQL) DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` }
Predefined struct for user
type InquiryPriceCreateDBInstancesResponse ¶
type InquiryPriceCreateDBInstancesResponse struct { *tchttp.BaseResponse Response *InquiryPriceCreateDBInstancesResponseParams `json:"Response"` }
func NewInquiryPriceCreateDBInstancesResponse ¶
func NewInquiryPriceCreateDBInstancesResponse() (response *InquiryPriceCreateDBInstancesResponse)
func (*InquiryPriceCreateDBInstancesResponse) FromJsonString ¶
func (r *InquiryPriceCreateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateDBInstancesResponse) ToJsonString ¶
func (r *InquiryPriceCreateDBInstancesResponse) ToJsonString() string
type InquiryPriceCreateDBInstancesResponseParams ¶ added in v1.0.426
type InquiryPriceCreateDBInstancesResponseParams struct { // 刊例价,单位:分 OriginalPrice *uint64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折后实际付款金额,单位:分 Price *uint64 `json:"Price,omitnil,omitempty" name:"Price"` // 币种。例如,CNY:人民币。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceRenewDBInstanceRequest ¶
type InquiryPriceRenewDBInstanceRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 续费周期,按月计算,最大不超过48 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` }
func NewInquiryPriceRenewDBInstanceRequest ¶
func NewInquiryPriceRenewDBInstanceRequest() (request *InquiryPriceRenewDBInstanceRequest)
func (*InquiryPriceRenewDBInstanceRequest) FromJsonString ¶
func (r *InquiryPriceRenewDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewDBInstanceRequest) ToJsonString ¶
func (r *InquiryPriceRenewDBInstanceRequest) ToJsonString() string
type InquiryPriceRenewDBInstanceRequestParams ¶ added in v1.0.426
type InquiryPriceRenewDBInstanceRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 续费周期,按月计算,最大不超过48 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` }
Predefined struct for user
type InquiryPriceRenewDBInstanceResponse ¶
type InquiryPriceRenewDBInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceRenewDBInstanceResponseParams `json:"Response"` }
func NewInquiryPriceRenewDBInstanceResponse ¶
func NewInquiryPriceRenewDBInstanceResponse() (response *InquiryPriceRenewDBInstanceResponse)
func (*InquiryPriceRenewDBInstanceResponse) FromJsonString ¶
func (r *InquiryPriceRenewDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewDBInstanceResponse) ToJsonString ¶
func (r *InquiryPriceRenewDBInstanceResponse) ToJsonString() string
type InquiryPriceRenewDBInstanceResponseParams ¶ added in v1.0.426
type InquiryPriceRenewDBInstanceResponseParams struct { // 刊例价,单位为分。如24650表示246.5元 OriginalPrice *int64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折后实际付款金额,单位为分。如24650表示246.5元 Price *int64 `json:"Price,omitnil,omitempty" name:"Price"` // 币种。例如,CNY:人民币。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceUpgradeDBInstanceRequest ¶
type InquiryPriceUpgradeDBInstanceRequest struct { *tchttp.BaseRequest // 实例的磁盘大小,单位GB Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例的内存大小,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 实例ID,形如postgres-hez4fh0v DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 【废弃参数,不再生效】,实例计费类型。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例的Cpu大小,单位Core Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` }
func NewInquiryPriceUpgradeDBInstanceRequest ¶
func NewInquiryPriceUpgradeDBInstanceRequest() (request *InquiryPriceUpgradeDBInstanceRequest)
func (*InquiryPriceUpgradeDBInstanceRequest) FromJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceUpgradeDBInstanceRequest) ToJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceRequest) ToJsonString() string
type InquiryPriceUpgradeDBInstanceRequestParams ¶ added in v1.0.426
type InquiryPriceUpgradeDBInstanceRequestParams struct { // 实例的磁盘大小,单位GB Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例的内存大小,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 实例ID,形如postgres-hez4fh0v DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 【废弃参数,不再生效】,实例计费类型。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例的Cpu大小,单位Core Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` }
Predefined struct for user
type InquiryPriceUpgradeDBInstanceResponse ¶
type InquiryPriceUpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceUpgradeDBInstanceResponseParams `json:"Response"` }
func NewInquiryPriceUpgradeDBInstanceResponse ¶
func NewInquiryPriceUpgradeDBInstanceResponse() (response *InquiryPriceUpgradeDBInstanceResponse)
func (*InquiryPriceUpgradeDBInstanceResponse) FromJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceUpgradeDBInstanceResponse) ToJsonString ¶
func (r *InquiryPriceUpgradeDBInstanceResponse) ToJsonString() string
type InquiryPriceUpgradeDBInstanceResponseParams ¶ added in v1.0.426
type InquiryPriceUpgradeDBInstanceResponseParams struct { // 刊例价费用 OriginalPrice *int64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折后实际付款金额 Price *int64 `json:"Price,omitnil,omitempty" name:"Price"` // 币种。例如,CNY:人民币。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateDBInstancesRequest ¶
type IsolateDBInstancesRequest struct { *tchttp.BaseRequest // 实例ID集合。注意:当前已不支持同时隔离多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` }
func NewIsolateDBInstancesRequest ¶
func NewIsolateDBInstancesRequest() (request *IsolateDBInstancesRequest)
func (*IsolateDBInstancesRequest) FromJsonString ¶
func (r *IsolateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateDBInstancesRequest) ToJsonString ¶
func (r *IsolateDBInstancesRequest) ToJsonString() string
type IsolateDBInstancesRequestParams ¶ added in v1.0.426
type IsolateDBInstancesRequestParams struct { // 实例ID集合。注意:当前已不支持同时隔离多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` }
Predefined struct for user
type IsolateDBInstancesResponse ¶
type IsolateDBInstancesResponse struct { *tchttp.BaseResponse Response *IsolateDBInstancesResponseParams `json:"Response"` }
func NewIsolateDBInstancesResponse ¶
func NewIsolateDBInstancesResponse() (response *IsolateDBInstancesResponse)
func (*IsolateDBInstancesResponse) FromJsonString ¶
func (r *IsolateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateDBInstancesResponse) ToJsonString ¶
func (r *IsolateDBInstancesResponse) ToJsonString() string
type IsolateDBInstancesResponseParams ¶ added in v1.0.426
type IsolateDBInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LockAccountRequest ¶ added in v1.0.969
type LockAccountRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
func NewLockAccountRequest ¶ added in v1.0.969
func NewLockAccountRequest() (request *LockAccountRequest)
func (*LockAccountRequest) FromJsonString ¶ added in v1.0.969
func (r *LockAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LockAccountRequest) ToJsonString ¶ added in v1.0.969
func (r *LockAccountRequest) ToJsonString() string
type LockAccountRequestParams ¶ added in v1.0.969
type LockAccountRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
Predefined struct for user
type LockAccountResponse ¶ added in v1.0.969
type LockAccountResponse struct { *tchttp.BaseResponse Response *LockAccountResponseParams `json:"Response"` }
func NewLockAccountResponse ¶ added in v1.0.969
func NewLockAccountResponse() (response *LockAccountResponse)
func (*LockAccountResponse) FromJsonString ¶ added in v1.0.969
func (r *LockAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LockAccountResponse) ToJsonString ¶ added in v1.0.969
func (r *LockAccountResponse) ToJsonString() string
type LockAccountResponseParams ¶ added in v1.0.969
type LockAccountResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LogBackup ¶ added in v1.0.621
type LogBackup struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 备份文件唯一标识。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 备份文件名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 备份方式:物理备份、逻辑备份。 BackupMethod *string `json:"BackupMethod,omitnil,omitempty" name:"BackupMethod"` // 备份模式:自动备份、手动备份。 BackupMode *string `json:"BackupMode,omitnil,omitempty" name:"BackupMode"` // 备份任务状态。 State *string `json:"State,omitnil,omitempty" name:"State"` // 备份集大小,单位bytes。 Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"` // 备份的开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 备份的结束时间。 FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"` // 备份的过期时间。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` }
type ModifyAccountPrivilegesRequest ¶ added in v1.0.969
type ModifyAccountPrivilegesRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 修改此账号对某数据库对象的权限。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 修改的权限信息,支持批量修改,一次最高修改50条。 ModifyPrivilegeSet []*ModifyPrivilege `json:"ModifyPrivilegeSet,omitnil,omitempty" name:"ModifyPrivilegeSet"` }
func NewModifyAccountPrivilegesRequest ¶ added in v1.0.969
func NewModifyAccountPrivilegesRequest() (request *ModifyAccountPrivilegesRequest)
func (*ModifyAccountPrivilegesRequest) FromJsonString ¶ added in v1.0.969
func (r *ModifyAccountPrivilegesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountPrivilegesRequest) ToJsonString ¶ added in v1.0.969
func (r *ModifyAccountPrivilegesRequest) ToJsonString() string
type ModifyAccountPrivilegesRequestParams ¶ added in v1.0.969
type ModifyAccountPrivilegesRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 修改此账号对某数据库对象的权限。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 修改的权限信息,支持批量修改,一次最高修改50条。 ModifyPrivilegeSet []*ModifyPrivilege `json:"ModifyPrivilegeSet,omitnil,omitempty" name:"ModifyPrivilegeSet"` }
Predefined struct for user
type ModifyAccountPrivilegesResponse ¶ added in v1.0.969
type ModifyAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *ModifyAccountPrivilegesResponseParams `json:"Response"` }
func NewModifyAccountPrivilegesResponse ¶ added in v1.0.969
func NewModifyAccountPrivilegesResponse() (response *ModifyAccountPrivilegesResponse)
func (*ModifyAccountPrivilegesResponse) FromJsonString ¶ added in v1.0.969
func (r *ModifyAccountPrivilegesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountPrivilegesResponse) ToJsonString ¶ added in v1.0.969
func (r *ModifyAccountPrivilegesResponse) ToJsonString() string
type ModifyAccountPrivilegesResponseParams ¶ added in v1.0.969
type ModifyAccountPrivilegesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountRemarkRequest ¶
type ModifyAccountRemarkRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-4wdeb0zv DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 用户UserName对应的新备注 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewModifyAccountRemarkRequest ¶
func NewModifyAccountRemarkRequest() (request *ModifyAccountRemarkRequest)
func (*ModifyAccountRemarkRequest) FromJsonString ¶
func (r *ModifyAccountRemarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountRemarkRequest) ToJsonString ¶
func (r *ModifyAccountRemarkRequest) ToJsonString() string
type ModifyAccountRemarkRequestParams ¶ added in v1.0.426
type ModifyAccountRemarkRequestParams struct { // 实例ID,形如postgres-4wdeb0zv DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 用户UserName对应的新备注 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyAccountRemarkResponse ¶
type ModifyAccountRemarkResponse struct { *tchttp.BaseResponse Response *ModifyAccountRemarkResponseParams `json:"Response"` }
func NewModifyAccountRemarkResponse ¶
func NewModifyAccountRemarkResponse() (response *ModifyAccountRemarkResponse)
func (*ModifyAccountRemarkResponse) FromJsonString ¶
func (r *ModifyAccountRemarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccountRemarkResponse) ToJsonString ¶
func (r *ModifyAccountRemarkResponse) ToJsonString() string
type ModifyAccountRemarkResponseParams ¶ added in v1.0.426
type ModifyAccountRemarkResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupDownloadRestrictionRequest ¶ added in v1.0.645
type ModifyBackupDownloadRestrictionRequest struct { *tchttp.BaseRequest // 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。 RestrictionType *string `json:"RestrictionType,omitnil,omitempty" name:"RestrictionType"` // vpc限制效力,ALLOW 允许;DENY 拒绝。 VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitnil,omitempty" name:"VpcRestrictionEffect"` // 允许或拒绝下载备份文件的vpcId列表。 VpcIdSet []*string `json:"VpcIdSet,omitnil,omitempty" name:"VpcIdSet"` // ip限制效力,ALLOW 允许;DENY 拒绝。 IpRestrictionEffect *string `json:"IpRestrictionEffect,omitnil,omitempty" name:"IpRestrictionEffect"` // 允许或拒绝下载备份文件的ip列表。 IpSet []*string `json:"IpSet,omitnil,omitempty" name:"IpSet"` }
func NewModifyBackupDownloadRestrictionRequest ¶ added in v1.0.645
func NewModifyBackupDownloadRestrictionRequest() (request *ModifyBackupDownloadRestrictionRequest)
func (*ModifyBackupDownloadRestrictionRequest) FromJsonString ¶ added in v1.0.645
func (r *ModifyBackupDownloadRestrictionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupDownloadRestrictionRequest) ToJsonString ¶ added in v1.0.645
func (r *ModifyBackupDownloadRestrictionRequest) ToJsonString() string
type ModifyBackupDownloadRestrictionRequestParams ¶ added in v1.0.645
type ModifyBackupDownloadRestrictionRequestParams struct { // 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。 RestrictionType *string `json:"RestrictionType,omitnil,omitempty" name:"RestrictionType"` // vpc限制效力,ALLOW 允许;DENY 拒绝。 VpcRestrictionEffect *string `json:"VpcRestrictionEffect,omitnil,omitempty" name:"VpcRestrictionEffect"` // 允许或拒绝下载备份文件的vpcId列表。 VpcIdSet []*string `json:"VpcIdSet,omitnil,omitempty" name:"VpcIdSet"` // ip限制效力,ALLOW 允许;DENY 拒绝。 IpRestrictionEffect *string `json:"IpRestrictionEffect,omitnil,omitempty" name:"IpRestrictionEffect"` // 允许或拒绝下载备份文件的ip列表。 IpSet []*string `json:"IpSet,omitnil,omitempty" name:"IpSet"` }
Predefined struct for user
type ModifyBackupDownloadRestrictionResponse ¶ added in v1.0.645
type ModifyBackupDownloadRestrictionResponse struct { *tchttp.BaseResponse Response *ModifyBackupDownloadRestrictionResponseParams `json:"Response"` }
func NewModifyBackupDownloadRestrictionResponse ¶ added in v1.0.645
func NewModifyBackupDownloadRestrictionResponse() (response *ModifyBackupDownloadRestrictionResponse)
func (*ModifyBackupDownloadRestrictionResponse) FromJsonString ¶ added in v1.0.645
func (r *ModifyBackupDownloadRestrictionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupDownloadRestrictionResponse) ToJsonString ¶ added in v1.0.645
func (r *ModifyBackupDownloadRestrictionResponse) ToJsonString() string
type ModifyBackupDownloadRestrictionResponseParams ¶ added in v1.0.645
type ModifyBackupDownloadRestrictionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupPlanRequest ¶ added in v1.0.329
type ModifyBackupPlanRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例最早开始备份时间 MinBackupStartTime *string `json:"MinBackupStartTime,omitnil,omitempty" name:"MinBackupStartTime"` // 实例最晚开始备份时间 MaxBackupStartTime *string `json:"MaxBackupStartTime,omitnil,omitempty" name:"MaxBackupStartTime"` // 实例备份保留时长,取值范围为7-1830,单位是天 BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitnil,omitempty" name:"BaseBackupRetentionPeriod"` // 实例备份周期,按照星期维度,格式为小写星期英文单词 BackupPeriod []*string `json:"BackupPeriod,omitnil,omitempty" name:"BackupPeriod"` // 实例日志备份保留时长,取值范围为7-1830,单位是天 LogBackupRetentionPeriod *uint64 `json:"LogBackupRetentionPeriod,omitnil,omitempty" name:"LogBackupRetentionPeriod"` }
func NewModifyBackupPlanRequest ¶ added in v1.0.329
func NewModifyBackupPlanRequest() (request *ModifyBackupPlanRequest)
func (*ModifyBackupPlanRequest) FromJsonString ¶ added in v1.0.329
func (r *ModifyBackupPlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupPlanRequest) ToJsonString ¶ added in v1.0.329
func (r *ModifyBackupPlanRequest) ToJsonString() string
type ModifyBackupPlanRequestParams ¶ added in v1.0.426
type ModifyBackupPlanRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例最早开始备份时间 MinBackupStartTime *string `json:"MinBackupStartTime,omitnil,omitempty" name:"MinBackupStartTime"` // 实例最晚开始备份时间 MaxBackupStartTime *string `json:"MaxBackupStartTime,omitnil,omitempty" name:"MaxBackupStartTime"` // 实例备份保留时长,取值范围为7-1830,单位是天 BaseBackupRetentionPeriod *uint64 `json:"BaseBackupRetentionPeriod,omitnil,omitempty" name:"BaseBackupRetentionPeriod"` // 实例备份周期,按照星期维度,格式为小写星期英文单词 BackupPeriod []*string `json:"BackupPeriod,omitnil,omitempty" name:"BackupPeriod"` // 实例日志备份保留时长,取值范围为7-1830,单位是天 LogBackupRetentionPeriod *uint64 `json:"LogBackupRetentionPeriod,omitnil,omitempty" name:"LogBackupRetentionPeriod"` }
Predefined struct for user
type ModifyBackupPlanResponse ¶ added in v1.0.329
type ModifyBackupPlanResponse struct { *tchttp.BaseResponse Response *ModifyBackupPlanResponseParams `json:"Response"` }
func NewModifyBackupPlanResponse ¶ added in v1.0.329
func NewModifyBackupPlanResponse() (response *ModifyBackupPlanResponse)
func (*ModifyBackupPlanResponse) FromJsonString ¶ added in v1.0.329
func (r *ModifyBackupPlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBackupPlanResponse) ToJsonString ¶ added in v1.0.329
func (r *ModifyBackupPlanResponse) ToJsonString() string
type ModifyBackupPlanResponseParams ¶ added in v1.0.426
type ModifyBackupPlanResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBaseBackupExpireTimeRequest ¶ added in v1.0.621
type ModifyBaseBackupExpireTimeRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 数据备份ID。 BaseBackupId *string `json:"BaseBackupId,omitnil,omitempty" name:"BaseBackupId"` // 新过期时间。 NewExpireTime *string `json:"NewExpireTime,omitnil,omitempty" name:"NewExpireTime"` }
func NewModifyBaseBackupExpireTimeRequest ¶ added in v1.0.621
func NewModifyBaseBackupExpireTimeRequest() (request *ModifyBaseBackupExpireTimeRequest)
func (*ModifyBaseBackupExpireTimeRequest) FromJsonString ¶ added in v1.0.621
func (r *ModifyBaseBackupExpireTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBaseBackupExpireTimeRequest) ToJsonString ¶ added in v1.0.621
func (r *ModifyBaseBackupExpireTimeRequest) ToJsonString() string
type ModifyBaseBackupExpireTimeRequestParams ¶ added in v1.0.621
type ModifyBaseBackupExpireTimeRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 数据备份ID。 BaseBackupId *string `json:"BaseBackupId,omitnil,omitempty" name:"BaseBackupId"` // 新过期时间。 NewExpireTime *string `json:"NewExpireTime,omitnil,omitempty" name:"NewExpireTime"` }
Predefined struct for user
type ModifyBaseBackupExpireTimeResponse ¶ added in v1.0.621
type ModifyBaseBackupExpireTimeResponse struct { *tchttp.BaseResponse Response *ModifyBaseBackupExpireTimeResponseParams `json:"Response"` }
func NewModifyBaseBackupExpireTimeResponse ¶ added in v1.0.621
func NewModifyBaseBackupExpireTimeResponse() (response *ModifyBaseBackupExpireTimeResponse)
func (*ModifyBaseBackupExpireTimeResponse) FromJsonString ¶ added in v1.0.621
func (r *ModifyBaseBackupExpireTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBaseBackupExpireTimeResponse) ToJsonString ¶ added in v1.0.621
func (r *ModifyBaseBackupExpireTimeResponse) ToJsonString() string
type ModifyBaseBackupExpireTimeResponseParams ¶ added in v1.0.621
type ModifyBaseBackupExpireTimeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceChargeTypeRequest ¶ added in v1.0.645
type ModifyDBInstanceChargeTypeRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例计费类型,目前支持: // <li>PREPAID:预付费,即包年包月 // <li>POSTPAID_BY_HOUR:后付费,即按量计费 // 默认值:PREPAID InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36 // <li>后付费:只支持1 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 续费标记: // <li>0:手动续费 // <li>1:自动续费 // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 是否自动使用代金券: // <li>0:否 // <li>1:是 // 默认值:0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
func NewModifyDBInstanceChargeTypeRequest ¶ added in v1.0.645
func NewModifyDBInstanceChargeTypeRequest() (request *ModifyDBInstanceChargeTypeRequest)
func (*ModifyDBInstanceChargeTypeRequest) FromJsonString ¶ added in v1.0.645
func (r *ModifyDBInstanceChargeTypeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceChargeTypeRequest) ToJsonString ¶ added in v1.0.645
func (r *ModifyDBInstanceChargeTypeRequest) ToJsonString() string
type ModifyDBInstanceChargeTypeRequestParams ¶ added in v1.0.645
type ModifyDBInstanceChargeTypeRequestParams struct { // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例计费类型,目前支持: // <li>PREPAID:预付费,即包年包月 // <li>POSTPAID_BY_HOUR:后付费,即按量计费 // 默认值:PREPAID InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 购买时长,单位:月。 // <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36 // <li>后付费:只支持1 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 续费标记: // <li>0:手动续费 // <li>1:自动续费 // 默认值:0 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 是否自动使用代金券: // <li>0:否 // <li>1:是 // 默认值:0 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
Predefined struct for user
type ModifyDBInstanceChargeTypeResponse ¶ added in v1.0.645
type ModifyDBInstanceChargeTypeResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceChargeTypeResponseParams `json:"Response"` }
func NewModifyDBInstanceChargeTypeResponse ¶ added in v1.0.645
func NewModifyDBInstanceChargeTypeResponse() (response *ModifyDBInstanceChargeTypeResponse)
func (*ModifyDBInstanceChargeTypeResponse) FromJsonString ¶ added in v1.0.645
func (r *ModifyDBInstanceChargeTypeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceChargeTypeResponse) ToJsonString ¶ added in v1.0.645
func (r *ModifyDBInstanceChargeTypeResponse) ToJsonString() string
type ModifyDBInstanceChargeTypeResponseParams ¶ added in v1.0.645
type ModifyDBInstanceChargeTypeResponseParams struct { // 订单名 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceDeploymentRequest ¶ added in v1.0.329
type ModifyDBInstanceDeploymentRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。 // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 指定实例配置完成变更后的切换时间。 // <li>0:立即切换 </li> // <li>1:指定时间切换</li> // <li>2:维护时间窗口内切换</li> // 默认值:0 SwitchTag *int64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` }
func NewModifyDBInstanceDeploymentRequest ¶ added in v1.0.329
func NewModifyDBInstanceDeploymentRequest() (request *ModifyDBInstanceDeploymentRequest)
func (*ModifyDBInstanceDeploymentRequest) FromJsonString ¶ added in v1.0.329
func (r *ModifyDBInstanceDeploymentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceDeploymentRequest) ToJsonString ¶ added in v1.0.329
func (r *ModifyDBInstanceDeploymentRequest) ToJsonString() string
type ModifyDBInstanceDeploymentRequestParams ¶ added in v1.0.426
type ModifyDBInstanceDeploymentRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例节点部署信息,支持多可用区部署时需要指定每个节点的部署可用区信息。 // 可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。 DBNodeSet []*DBNode `json:"DBNodeSet,omitnil,omitempty" name:"DBNodeSet"` // 指定实例配置完成变更后的切换时间。 // <li>0:立即切换 </li> // <li>1:指定时间切换</li> // <li>2:维护时间窗口内切换</li> // 默认值:0 SwitchTag *int64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` }
Predefined struct for user
type ModifyDBInstanceDeploymentResponse ¶ added in v1.0.329
type ModifyDBInstanceDeploymentResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceDeploymentResponseParams `json:"Response"` }
func NewModifyDBInstanceDeploymentResponse ¶ added in v1.0.329
func NewModifyDBInstanceDeploymentResponse() (response *ModifyDBInstanceDeploymentResponse)
func (*ModifyDBInstanceDeploymentResponse) FromJsonString ¶ added in v1.0.329
func (r *ModifyDBInstanceDeploymentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceDeploymentResponse) ToJsonString ¶ added in v1.0.329
func (r *ModifyDBInstanceDeploymentResponse) ToJsonString() string
type ModifyDBInstanceDeploymentResponseParams ¶ added in v1.0.426
type ModifyDBInstanceDeploymentResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceHAConfigRequest ¶ added in v1.0.715
type ModifyDBInstanceHAConfigRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 主从同步方式: // <li>Semi-sync:半同步 // <li>Async:异步 SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` // 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。 // <li>单位:byte // <li>参数范围:[1073741824, 322122547200] MaxStandbyLatency *uint64 `json:"MaxStandbyLatency,omitnil,omitempty" name:"MaxStandbyLatency"` // 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。 // <li>单位:s // <li>参数范围:[5, 10] MaxStandbyLag *uint64 `json:"MaxStandbyLag,omitnil,omitempty" name:"MaxStandbyLag"` // 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。 // 该参数值针对SyncMode设置为Semi-sync的实例有效。 // 半同步实例禁止退化为异步复制时,不设置MaxSyncStandbyLatency、MaxSyncStandbyLag。 // 半同步实例允许退化异步复制时,PostgreSQL 9版本的实例须设置MaxSyncStandbyLatency且不设置MaxSyncStandbyLag,PostgreSQL 10及以上版本的实例须设置MaxSyncStandbyLatency、MaxSyncStandbyLag。 MaxSyncStandbyLatency *uint64 `json:"MaxSyncStandbyLatency,omitnil,omitempty" name:"MaxSyncStandbyLatency"` // 同步备机最大延迟时间。备机延迟时间小于等于该值,且该备机延迟数据量小于等于MaxSyncStandbyLatency时,则该备机采用同步复制;否则,采用异步复制。 // 该参数值针对SyncMode设置为Semi-sync的实例有效。 // 半同步实例禁止退化为异步复制时,不设置MaxSyncStandbyLatency、MaxSyncStandbyLag。 // 半同步实例允许退化异步复制时,PostgreSQL 9版本的实例须设置MaxSyncStandbyLatency且不设置MaxSyncStandbyLag,PostgreSQL 10及以上版本的实例须设置MaxSyncStandbyLatency、MaxSyncStandbyLag, MaxSyncStandbyLag *uint64 `json:"MaxSyncStandbyLag,omitnil,omitempty" name:"MaxSyncStandbyLag"` }
func NewModifyDBInstanceHAConfigRequest ¶ added in v1.0.715
func NewModifyDBInstanceHAConfigRequest() (request *ModifyDBInstanceHAConfigRequest)
func (*ModifyDBInstanceHAConfigRequest) FromJsonString ¶ added in v1.0.715
func (r *ModifyDBInstanceHAConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceHAConfigRequest) ToJsonString ¶ added in v1.0.715
func (r *ModifyDBInstanceHAConfigRequest) ToJsonString() string
type ModifyDBInstanceHAConfigRequestParams ¶ added in v1.0.715
type ModifyDBInstanceHAConfigRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 主从同步方式: // <li>Semi-sync:半同步 // <li>Async:异步 SyncMode *string `json:"SyncMode,omitnil,omitempty" name:"SyncMode"` // 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。 // <li>单位:byte // <li>参数范围:[1073741824, 322122547200] MaxStandbyLatency *uint64 `json:"MaxStandbyLatency,omitnil,omitempty" name:"MaxStandbyLatency"` // 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。 // <li>单位:s // <li>参数范围:[5, 10] MaxStandbyLag *uint64 `json:"MaxStandbyLag,omitnil,omitempty" name:"MaxStandbyLag"` // 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。 // 该参数值针对SyncMode设置为Semi-sync的实例有效。 // 半同步实例禁止退化为异步复制时,不设置MaxSyncStandbyLatency、MaxSyncStandbyLag。 // 半同步实例允许退化异步复制时,PostgreSQL 9版本的实例须设置MaxSyncStandbyLatency且不设置MaxSyncStandbyLag,PostgreSQL 10及以上版本的实例须设置MaxSyncStandbyLatency、MaxSyncStandbyLag。 MaxSyncStandbyLatency *uint64 `json:"MaxSyncStandbyLatency,omitnil,omitempty" name:"MaxSyncStandbyLatency"` // 同步备机最大延迟时间。备机延迟时间小于等于该值,且该备机延迟数据量小于等于MaxSyncStandbyLatency时,则该备机采用同步复制;否则,采用异步复制。 // 该参数值针对SyncMode设置为Semi-sync的实例有效。 // 半同步实例禁止退化为异步复制时,不设置MaxSyncStandbyLatency、MaxSyncStandbyLag。 // 半同步实例允许退化异步复制时,PostgreSQL 9版本的实例须设置MaxSyncStandbyLatency且不设置MaxSyncStandbyLag,PostgreSQL 10及以上版本的实例须设置MaxSyncStandbyLatency、MaxSyncStandbyLag, MaxSyncStandbyLag *uint64 `json:"MaxSyncStandbyLag,omitnil,omitempty" name:"MaxSyncStandbyLag"` }
Predefined struct for user
type ModifyDBInstanceHAConfigResponse ¶ added in v1.0.715
type ModifyDBInstanceHAConfigResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceHAConfigResponseParams `json:"Response"` }
func NewModifyDBInstanceHAConfigResponse ¶ added in v1.0.715
func NewModifyDBInstanceHAConfigResponse() (response *ModifyDBInstanceHAConfigResponse)
func (*ModifyDBInstanceHAConfigResponse) FromJsonString ¶ added in v1.0.715
func (r *ModifyDBInstanceHAConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceHAConfigResponse) ToJsonString ¶ added in v1.0.715
func (r *ModifyDBInstanceHAConfigResponse) ToJsonString() string
type ModifyDBInstanceHAConfigResponseParams ¶ added in v1.0.715
type ModifyDBInstanceHAConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceNameRequest ¶
type ModifyDBInstanceNameRequest struct { *tchttp.BaseRequest // 数据库实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
func NewModifyDBInstanceNameRequest ¶
func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)
func (*ModifyDBInstanceNameRequest) FromJsonString ¶
func (r *ModifyDBInstanceNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceNameRequest) ToJsonString ¶
func (r *ModifyDBInstanceNameRequest) ToJsonString() string
type ModifyDBInstanceNameRequestParams ¶ added in v1.0.426
type ModifyDBInstanceNameRequestParams struct { // 数据库实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"未命名"。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyDBInstanceNameResponse ¶
type ModifyDBInstanceNameResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceNameResponseParams `json:"Response"` }
func NewModifyDBInstanceNameResponse ¶
func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)
func (*ModifyDBInstanceNameResponse) FromJsonString ¶
func (r *ModifyDBInstanceNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceNameResponse) ToJsonString ¶
func (r *ModifyDBInstanceNameResponse) ToJsonString() string
type ModifyDBInstanceNameResponseParams ¶ added in v1.0.426
type ModifyDBInstanceNameResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceParametersRequest ¶ added in v1.0.276
type ModifyDBInstanceParametersRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 待修改参数及期望值。 ParamList []*ParamEntry `json:"ParamList,omitnil,omitempty" name:"ParamList"` }
func NewModifyDBInstanceParametersRequest ¶ added in v1.0.276
func NewModifyDBInstanceParametersRequest() (request *ModifyDBInstanceParametersRequest)
func (*ModifyDBInstanceParametersRequest) FromJsonString ¶ added in v1.0.276
func (r *ModifyDBInstanceParametersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceParametersRequest) ToJsonString ¶ added in v1.0.276
func (r *ModifyDBInstanceParametersRequest) ToJsonString() string
type ModifyDBInstanceParametersRequestParams ¶ added in v1.0.426
type ModifyDBInstanceParametersRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 待修改参数及期望值。 ParamList []*ParamEntry `json:"ParamList,omitnil,omitempty" name:"ParamList"` }
Predefined struct for user
type ModifyDBInstanceParametersResponse ¶ added in v1.0.276
type ModifyDBInstanceParametersResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceParametersResponseParams `json:"Response"` }
func NewModifyDBInstanceParametersResponse ¶ added in v1.0.276
func NewModifyDBInstanceParametersResponse() (response *ModifyDBInstanceParametersResponse)
func (*ModifyDBInstanceParametersResponse) FromJsonString ¶ added in v1.0.276
func (r *ModifyDBInstanceParametersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceParametersResponse) ToJsonString ¶ added in v1.0.276
func (r *ModifyDBInstanceParametersResponse) ToJsonString() string
type ModifyDBInstanceParametersResponseParams ¶ added in v1.0.426
type ModifyDBInstanceParametersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceReadOnlyGroupRequest ¶
type ModifyDBInstanceReadOnlyGroupRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 当前实例所在只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 实例修改的目标只读组ID NewReadOnlyGroupId *string `json:"NewReadOnlyGroupId,omitnil,omitempty" name:"NewReadOnlyGroupId"` }
func NewModifyDBInstanceReadOnlyGroupRequest ¶
func NewModifyDBInstanceReadOnlyGroupRequest() (request *ModifyDBInstanceReadOnlyGroupRequest)
func (*ModifyDBInstanceReadOnlyGroupRequest) FromJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceReadOnlyGroupRequest) ToJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupRequest) ToJsonString() string
type ModifyDBInstanceReadOnlyGroupRequestParams ¶ added in v1.0.426
type ModifyDBInstanceReadOnlyGroupRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 当前实例所在只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 实例修改的目标只读组ID NewReadOnlyGroupId *string `json:"NewReadOnlyGroupId,omitnil,omitempty" name:"NewReadOnlyGroupId"` }
Predefined struct for user
type ModifyDBInstanceReadOnlyGroupResponse ¶
type ModifyDBInstanceReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceReadOnlyGroupResponseParams `json:"Response"` }
func NewModifyDBInstanceReadOnlyGroupResponse ¶
func NewModifyDBInstanceReadOnlyGroupResponse() (response *ModifyDBInstanceReadOnlyGroupResponse)
func (*ModifyDBInstanceReadOnlyGroupResponse) FromJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceReadOnlyGroupResponse) ToJsonString ¶
func (r *ModifyDBInstanceReadOnlyGroupResponse) ToJsonString() string
type ModifyDBInstanceReadOnlyGroupResponseParams ¶ added in v1.0.426
type ModifyDBInstanceReadOnlyGroupResponseParams struct { // 流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsRequest ¶ added in v1.0.560
type ModifyDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // 实例或只读组要绑定的安全组列表。 // 安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。 SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitnil,omitempty" name:"SecurityGroupIdSet"` // 实例ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
func NewModifyDBInstanceSecurityGroupsRequest ¶ added in v1.0.560
func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)
func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString ¶ added in v1.0.560
func (r *ModifyDBInstanceSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString ¶ added in v1.0.560
func (r *ModifyDBInstanceSecurityGroupsRequest) ToJsonString() string
type ModifyDBInstanceSecurityGroupsRequestParams ¶ added in v1.0.560
type ModifyDBInstanceSecurityGroupsRequestParams struct { // 实例或只读组要绑定的安全组列表。 // 安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。 SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitnil,omitempty" name:"SecurityGroupIdSet"` // 实例ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID,DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsResponse ¶ added in v1.0.560
type ModifyDBInstanceSecurityGroupsResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"` }
func NewModifyDBInstanceSecurityGroupsResponse ¶ added in v1.0.560
func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)
func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString ¶ added in v1.0.560
func (r *ModifyDBInstanceSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString ¶ added in v1.0.560
func (r *ModifyDBInstanceSecurityGroupsResponse) ToJsonString() string
type ModifyDBInstanceSecurityGroupsResponseParams ¶ added in v1.0.560
type ModifyDBInstanceSecurityGroupsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceSpecRequest ¶ added in v1.0.285
type ModifyDBInstanceSpecRequest struct { *tchttp.BaseRequest // 实例ID,形如:postgres-6bwgamo3。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 修改后的实例内存大小,单位GiB。 Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 修改后的实例磁盘大小,单位GiB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 是否自动使用代金券: // <li>0:否</li> // <li>1:是</li> // 默认值:0 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 活动ID。 ActivityId *uint64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 指定实例配置完成变更后的切换时间。 // <li>0:立即切换 </li> // <li>1:指定时间切换</li> // <li>2:维护时间窗口内</li>切换 // 默认值:0 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` // 修改后的实例CPU大小,单位Core。 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` }
func NewModifyDBInstanceSpecRequest ¶ added in v1.0.285
func NewModifyDBInstanceSpecRequest() (request *ModifyDBInstanceSpecRequest)
func (*ModifyDBInstanceSpecRequest) FromJsonString ¶ added in v1.0.285
func (r *ModifyDBInstanceSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSpecRequest) ToJsonString ¶ added in v1.0.285
func (r *ModifyDBInstanceSpecRequest) ToJsonString() string
type ModifyDBInstanceSpecRequestParams ¶ added in v1.0.426
type ModifyDBInstanceSpecRequestParams struct { // 实例ID,形如:postgres-6bwgamo3。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 修改后的实例内存大小,单位GiB。 Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 修改后的实例磁盘大小,单位GiB。 Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 是否自动使用代金券: // <li>0:否</li> // <li>1:是</li> // 默认值:0 AutoVoucher *uint64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 活动ID。 ActivityId *uint64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 指定实例配置完成变更后的切换时间。 // <li>0:立即切换 </li> // <li>1:指定时间切换</li> // <li>2:维护时间窗口内</li>切换 // 默认值:0 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` // 修改后的实例CPU大小,单位Core。 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` }
Predefined struct for user
type ModifyDBInstanceSpecResponse ¶ added in v1.0.285
type ModifyDBInstanceSpecResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceSpecResponseParams `json:"Response"` }
func NewModifyDBInstanceSpecResponse ¶ added in v1.0.285
func NewModifyDBInstanceSpecResponse() (response *ModifyDBInstanceSpecResponse)
func (*ModifyDBInstanceSpecResponse) FromJsonString ¶ added in v1.0.285
func (r *ModifyDBInstanceSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSpecResponse) ToJsonString ¶ added in v1.0.285
func (r *ModifyDBInstanceSpecResponse) ToJsonString() string
type ModifyDBInstanceSpecResponseParams ¶ added in v1.0.426
type ModifyDBInstanceSpecResponseParams struct { // 订单号。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 冻结流水号。 BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstancesProjectRequest ¶
type ModifyDBInstancesProjectRequest struct { *tchttp.BaseRequest // 实例ID集合。注意:当前已不支持同时操作多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 所属新项目的ID ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewModifyDBInstancesProjectRequest ¶
func NewModifyDBInstancesProjectRequest() (request *ModifyDBInstancesProjectRequest)
func (*ModifyDBInstancesProjectRequest) FromJsonString ¶
func (r *ModifyDBInstancesProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstancesProjectRequest) ToJsonString ¶
func (r *ModifyDBInstancesProjectRequest) ToJsonString() string
type ModifyDBInstancesProjectRequestParams ¶ added in v1.0.426
type ModifyDBInstancesProjectRequestParams struct { // 实例ID集合。注意:当前已不支持同时操作多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 所属新项目的ID ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type ModifyDBInstancesProjectResponse ¶
type ModifyDBInstancesProjectResponse struct { *tchttp.BaseResponse Response *ModifyDBInstancesProjectResponseParams `json:"Response"` }
func NewModifyDBInstancesProjectResponse ¶
func NewModifyDBInstancesProjectResponse() (response *ModifyDBInstancesProjectResponse)
func (*ModifyDBInstancesProjectResponse) FromJsonString ¶
func (r *ModifyDBInstancesProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstancesProjectResponse) ToJsonString ¶
func (r *ModifyDBInstancesProjectResponse) ToJsonString() string
type ModifyDBInstancesProjectResponseParams ¶ added in v1.0.426
type ModifyDBInstancesProjectResponseParams struct { // 转移项目成功的实例个数 Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDatabaseOwnerRequest ¶ added in v1.0.1009
type ModifyDatabaseOwnerRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 数据库名称 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 数据库新所有者 DatabaseOwner *string `json:"DatabaseOwner,omitnil,omitempty" name:"DatabaseOwner"` }
func NewModifyDatabaseOwnerRequest ¶ added in v1.0.1009
func NewModifyDatabaseOwnerRequest() (request *ModifyDatabaseOwnerRequest)
func (*ModifyDatabaseOwnerRequest) FromJsonString ¶ added in v1.0.1009
func (r *ModifyDatabaseOwnerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseOwnerRequest) ToJsonString ¶ added in v1.0.1009
func (r *ModifyDatabaseOwnerRequest) ToJsonString() string
type ModifyDatabaseOwnerRequestParams ¶ added in v1.0.1009
type ModifyDatabaseOwnerRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 数据库名称 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 数据库新所有者 DatabaseOwner *string `json:"DatabaseOwner,omitnil,omitempty" name:"DatabaseOwner"` }
Predefined struct for user
type ModifyDatabaseOwnerResponse ¶ added in v1.0.1009
type ModifyDatabaseOwnerResponse struct { *tchttp.BaseResponse Response *ModifyDatabaseOwnerResponseParams `json:"Response"` }
func NewModifyDatabaseOwnerResponse ¶ added in v1.0.1009
func NewModifyDatabaseOwnerResponse() (response *ModifyDatabaseOwnerResponse)
func (*ModifyDatabaseOwnerResponse) FromJsonString ¶ added in v1.0.1009
func (r *ModifyDatabaseOwnerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseOwnerResponse) ToJsonString ¶ added in v1.0.1009
func (r *ModifyDatabaseOwnerResponse) ToJsonString() string
type ModifyDatabaseOwnerResponseParams ¶ added in v1.0.1009
type ModifyDatabaseOwnerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMaintainTimeWindowRequest ¶ added in v1.0.1078
type ModifyMaintainTimeWindowRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 维护开始时间。时区为东八区(UTC+8) MaintainStartTime *string `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 维护持续时间。单位:小时 MaintainDuration *uint64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 维护周期 MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"` }
func NewModifyMaintainTimeWindowRequest ¶ added in v1.0.1078
func NewModifyMaintainTimeWindowRequest() (request *ModifyMaintainTimeWindowRequest)
func (*ModifyMaintainTimeWindowRequest) FromJsonString ¶ added in v1.0.1078
func (r *ModifyMaintainTimeWindowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMaintainTimeWindowRequest) ToJsonString ¶ added in v1.0.1078
func (r *ModifyMaintainTimeWindowRequest) ToJsonString() string
type ModifyMaintainTimeWindowRequestParams ¶ added in v1.0.1078
type ModifyMaintainTimeWindowRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 维护开始时间。时区为东八区(UTC+8) MaintainStartTime *string `json:"MaintainStartTime,omitnil,omitempty" name:"MaintainStartTime"` // 维护持续时间。单位:小时 MaintainDuration *uint64 `json:"MaintainDuration,omitnil,omitempty" name:"MaintainDuration"` // 维护周期 MaintainWeekDays []*string `json:"MaintainWeekDays,omitnil,omitempty" name:"MaintainWeekDays"` }
Predefined struct for user
type ModifyMaintainTimeWindowResponse ¶ added in v1.0.1078
type ModifyMaintainTimeWindowResponse struct { *tchttp.BaseResponse Response *ModifyMaintainTimeWindowResponseParams `json:"Response"` }
func NewModifyMaintainTimeWindowResponse ¶ added in v1.0.1078
func NewModifyMaintainTimeWindowResponse() (response *ModifyMaintainTimeWindowResponse)
func (*ModifyMaintainTimeWindowResponse) FromJsonString ¶ added in v1.0.1078
func (r *ModifyMaintainTimeWindowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMaintainTimeWindowResponse) ToJsonString ¶ added in v1.0.1078
func (r *ModifyMaintainTimeWindowResponse) ToJsonString() string
type ModifyMaintainTimeWindowResponseParams ¶ added in v1.0.1078
type ModifyMaintainTimeWindowResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyParameterTemplateRequest ¶ added in v1.0.560
type ModifyParameterTemplateRequest struct { *tchttp.BaseRequest // 参数模板ID,用于唯一确认参数模板,不可修改 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 参数模板名称,长度为1~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ 注:若该字段为空 ,则保持原参数模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 参数模板描述,长度为0~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ 注:若不传入该参数,则保持原参数模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 需要修改或添加的参数集合,注:同一参数不能同时出现在修改添加集合和删除集合中 ModifyParamEntrySet []*ParamEntry `json:"ModifyParamEntrySet,omitnil,omitempty" name:"ModifyParamEntrySet"` // 需要从模板中删除的参数集合,注:同一参数不能同时出现在修改添加集合和删除集合中 DeleteParamSet []*string `json:"DeleteParamSet,omitnil,omitempty" name:"DeleteParamSet"` }
func NewModifyParameterTemplateRequest ¶ added in v1.0.560
func NewModifyParameterTemplateRequest() (request *ModifyParameterTemplateRequest)
func (*ModifyParameterTemplateRequest) FromJsonString ¶ added in v1.0.560
func (r *ModifyParameterTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyParameterTemplateRequest) ToJsonString ¶ added in v1.0.560
func (r *ModifyParameterTemplateRequest) ToJsonString() string
type ModifyParameterTemplateRequestParams ¶ added in v1.0.560
type ModifyParameterTemplateRequestParams struct { // 参数模板ID,用于唯一确认参数模板,不可修改 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 参数模板名称,长度为1~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ 注:若该字段为空 ,则保持原参数模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 参数模板描述,长度为0~60个字符,仅支持数字,英文大小写字母、中文以及特殊字符_-./()()[]+=::@ 注:若不传入该参数,则保持原参数模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` // 需要修改或添加的参数集合,注:同一参数不能同时出现在修改添加集合和删除集合中 ModifyParamEntrySet []*ParamEntry `json:"ModifyParamEntrySet,omitnil,omitempty" name:"ModifyParamEntrySet"` // 需要从模板中删除的参数集合,注:同一参数不能同时出现在修改添加集合和删除集合中 DeleteParamSet []*string `json:"DeleteParamSet,omitnil,omitempty" name:"DeleteParamSet"` }
Predefined struct for user
type ModifyParameterTemplateResponse ¶ added in v1.0.560
type ModifyParameterTemplateResponse struct { *tchttp.BaseResponse Response *ModifyParameterTemplateResponseParams `json:"Response"` }
func NewModifyParameterTemplateResponse ¶ added in v1.0.560
func NewModifyParameterTemplateResponse() (response *ModifyParameterTemplateResponse)
func (*ModifyParameterTemplateResponse) FromJsonString ¶ added in v1.0.560
func (r *ModifyParameterTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyParameterTemplateResponse) ToJsonString ¶ added in v1.0.560
func (r *ModifyParameterTemplateResponse) ToJsonString() string
type ModifyParameterTemplateResponseParams ¶ added in v1.0.560
type ModifyParameterTemplateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPrivilege ¶ added in v1.0.969
type ModifyPrivilege struct { // 要修改的数据库对象及权限列表 // 注意:此字段可能返回 null,表示取不到有效值。 DatabasePrivilege *DatabasePrivilege `json:"DatabasePrivilege,omitnil,omitempty" name:"DatabasePrivilege"` // 修改的方式,当前仅支持grantObject、revokeObject、alterRole。grantObject代表授权、revokeObject代表收回权、alterRole代表修改账号类型。 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"` // 当ModifyType为revokeObject才需要此参数,参数为true时,撤销权限会级联撤销。默认为false。 // 注意:此字段可能返回 null,表示取不到有效值。 IsCascade *bool `json:"IsCascade,omitnil,omitempty" name:"IsCascade"` }
type ModifyReadOnlyGroupConfigRequest ¶
type ModifyReadOnlyGroupConfigRequest struct { *tchttp.BaseRequest // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 只读组名称 ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"` // 延迟时间配置开关:0关、1开 ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitnil,omitempty" name:"ReplayLagEliminate"` // 延迟日志大小配置开关:0关、1开 ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitnil,omitempty" name:"ReplayLatencyEliminate"` // 延迟日志大小阈值,单位MB MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitnil,omitempty" name:"MaxReplayLatency"` // 延迟时间大小阈值,单位ms MaxReplayLag *uint64 `json:"MaxReplayLag,omitnil,omitempty" name:"MaxReplayLag"` // 自动负载均衡开关:0关、1开 Rebalance *uint64 `json:"Rebalance,omitnil,omitempty" name:"Rebalance"` // 延迟剔除最小保留实例数 MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitnil,omitempty" name:"MinDelayEliminateReserve"` }
func NewModifyReadOnlyGroupConfigRequest ¶
func NewModifyReadOnlyGroupConfigRequest() (request *ModifyReadOnlyGroupConfigRequest)
func (*ModifyReadOnlyGroupConfigRequest) FromJsonString ¶
func (r *ModifyReadOnlyGroupConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyReadOnlyGroupConfigRequest) ToJsonString ¶
func (r *ModifyReadOnlyGroupConfigRequest) ToJsonString() string
type ModifyReadOnlyGroupConfigRequestParams ¶ added in v1.0.426
type ModifyReadOnlyGroupConfigRequestParams struct { // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 只读组名称 ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"` // 延迟时间配置开关:0关、1开 ReplayLagEliminate *uint64 `json:"ReplayLagEliminate,omitnil,omitempty" name:"ReplayLagEliminate"` // 延迟日志大小配置开关:0关、1开 ReplayLatencyEliminate *uint64 `json:"ReplayLatencyEliminate,omitnil,omitempty" name:"ReplayLatencyEliminate"` // 延迟日志大小阈值,单位MB MaxReplayLatency *uint64 `json:"MaxReplayLatency,omitnil,omitempty" name:"MaxReplayLatency"` // 延迟时间大小阈值,单位ms MaxReplayLag *uint64 `json:"MaxReplayLag,omitnil,omitempty" name:"MaxReplayLag"` // 自动负载均衡开关:0关、1开 Rebalance *uint64 `json:"Rebalance,omitnil,omitempty" name:"Rebalance"` // 延迟剔除最小保留实例数 MinDelayEliminateReserve *uint64 `json:"MinDelayEliminateReserve,omitnil,omitempty" name:"MinDelayEliminateReserve"` }
Predefined struct for user
type ModifyReadOnlyGroupConfigResponse ¶
type ModifyReadOnlyGroupConfigResponse struct { *tchttp.BaseResponse Response *ModifyReadOnlyGroupConfigResponseParams `json:"Response"` }
func NewModifyReadOnlyGroupConfigResponse ¶
func NewModifyReadOnlyGroupConfigResponse() (response *ModifyReadOnlyGroupConfigResponse)
func (*ModifyReadOnlyGroupConfigResponse) FromJsonString ¶
func (r *ModifyReadOnlyGroupConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyReadOnlyGroupConfigResponse) ToJsonString ¶
func (r *ModifyReadOnlyGroupConfigResponse) ToJsonString() string
type ModifyReadOnlyGroupConfigResponseParams ¶ added in v1.0.426
type ModifyReadOnlyGroupConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySwitchTimePeriodRequest ¶ added in v1.0.214
type ModifySwitchTimePeriodRequest struct { *tchttp.BaseRequest // 处于等待切换状态中的实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 入参取值为 0 ,代表立即切换。 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` }
func NewModifySwitchTimePeriodRequest ¶ added in v1.0.214
func NewModifySwitchTimePeriodRequest() (request *ModifySwitchTimePeriodRequest)
func (*ModifySwitchTimePeriodRequest) FromJsonString ¶ added in v1.0.214
func (r *ModifySwitchTimePeriodRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySwitchTimePeriodRequest) ToJsonString ¶ added in v1.0.214
func (r *ModifySwitchTimePeriodRequest) ToJsonString() string
type ModifySwitchTimePeriodRequestParams ¶ added in v1.0.426
type ModifySwitchTimePeriodRequestParams struct { // 处于等待切换状态中的实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 入参取值为 0 ,代表立即切换。 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` }
Predefined struct for user
type ModifySwitchTimePeriodResponse ¶ added in v1.0.214
type ModifySwitchTimePeriodResponse struct { *tchttp.BaseResponse Response *ModifySwitchTimePeriodResponseParams `json:"Response"` }
func NewModifySwitchTimePeriodResponse ¶ added in v1.0.214
func NewModifySwitchTimePeriodResponse() (response *ModifySwitchTimePeriodResponse)
func (*ModifySwitchTimePeriodResponse) FromJsonString ¶ added in v1.0.214
func (r *ModifySwitchTimePeriodResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySwitchTimePeriodResponse) ToJsonString ¶ added in v1.0.214
func (r *ModifySwitchTimePeriodResponse) ToJsonString() string
type ModifySwitchTimePeriodResponseParams ¶ added in v1.0.426
type ModifySwitchTimePeriodResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NetworkAccess ¶ added in v1.0.298
type NetworkAccess struct { // 网络资源id,实例id或RO组id // 注意:此字段可能返回 null,表示取不到有效值。 ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` // 资源类型,1-实例 2-RO组 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceType *uint64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // 私有网络ID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // IPV4地址 // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // IPV6地址 // 注意:此字段可能返回 null,表示取不到有效值。 Vip6 *string `json:"Vip6,omitnil,omitempty" name:"Vip6"` // 访问端口 // 注意:此字段可能返回 null,表示取不到有效值。 Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 网络状态,1-申请中,2-使用中,3-删除中,4-已删除 // 注意:此字段可能返回 null,表示取不到有效值。 VpcStatus *int64 `json:"VpcStatus,omitnil,omitempty" name:"VpcStatus"` }
type NormalQueryItem ¶
type NormalQueryItem struct { // 用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 调用次数 Calls *int64 `json:"Calls,omitnil,omitempty" name:"Calls"` // 粒度点 CallsGrids []*int64 `json:"CallsGrids,omitnil,omitempty" name:"CallsGrids"` // 花费总时间 CostTime *float64 `json:"CostTime,omitnil,omitempty" name:"CostTime"` // 影响的行数 Rows *int64 `json:"Rows,omitnil,omitempty" name:"Rows"` // 花费最小时间 MinCostTime *float64 `json:"MinCostTime,omitnil,omitempty" name:"MinCostTime"` // 花费最大时间 MaxCostTime *float64 `json:"MaxCostTime,omitnil,omitempty" name:"MaxCostTime"` // 最早一条慢SQL时间 FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // 最晚一条慢SQL时间 LastTime *string `json:"LastTime,omitnil,omitempty" name:"LastTime"` SharedReadBlks *int64 `json:"SharedReadBlks,omitnil,omitempty" name:"SharedReadBlks"` SharedWriteBlks *int64 `json:"SharedWriteBlks,omitnil,omitempty" name:"SharedWriteBlks"` // 读io总耗时 ReadCostTime *int64 `json:"ReadCostTime,omitnil,omitempty" name:"ReadCostTime"` // 写io总耗时 WriteCostTime *int64 `json:"WriteCostTime,omitnil,omitempty" name:"WriteCostTime"` // 数据库名字 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 脱敏后的慢SQL NormalQuery *string `json:"NormalQuery,omitnil,omitempty" name:"NormalQuery"` }
type OpenDBExtranetAccessRequest ¶
type OpenDBExtranetAccessRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-hez4fh0v DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否开通Ipv6外网,1:是,0:否 IsIpv6 *int64 `json:"IsIpv6,omitnil,omitempty" name:"IsIpv6"` }
func NewOpenDBExtranetAccessRequest ¶
func NewOpenDBExtranetAccessRequest() (request *OpenDBExtranetAccessRequest)
func (*OpenDBExtranetAccessRequest) FromJsonString ¶
func (r *OpenDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenDBExtranetAccessRequest) ToJsonString ¶
func (r *OpenDBExtranetAccessRequest) ToJsonString() string
type OpenDBExtranetAccessRequestParams ¶ added in v1.0.426
type OpenDBExtranetAccessRequestParams struct { // 实例ID,形如postgres-hez4fh0v DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否开通Ipv6外网,1:是,0:否 IsIpv6 *int64 `json:"IsIpv6,omitnil,omitempty" name:"IsIpv6"` }
Predefined struct for user
type OpenDBExtranetAccessResponse ¶
type OpenDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *OpenDBExtranetAccessResponseParams `json:"Response"` }
func NewOpenDBExtranetAccessResponse ¶
func NewOpenDBExtranetAccessResponse() (response *OpenDBExtranetAccessResponse)
func (*OpenDBExtranetAccessResponse) FromJsonString ¶
func (r *OpenDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenDBExtranetAccessResponse) ToJsonString ¶
func (r *OpenDBExtranetAccessResponse) ToJsonString() string
type OpenDBExtranetAccessResponseParams ¶ added in v1.0.426
type OpenDBExtranetAccessResponseParams struct { // 异步任务流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenServerlessDBExtranetAccessRequest ¶
type OpenServerlessDBExtranetAccessRequest struct { *tchttp.BaseRequest // 实例的唯一标识符 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` }
func NewOpenServerlessDBExtranetAccessRequest ¶
func NewOpenServerlessDBExtranetAccessRequest() (request *OpenServerlessDBExtranetAccessRequest)
func (*OpenServerlessDBExtranetAccessRequest) FromJsonString ¶
func (r *OpenServerlessDBExtranetAccessRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenServerlessDBExtranetAccessRequest) ToJsonString ¶
func (r *OpenServerlessDBExtranetAccessRequest) ToJsonString() string
type OpenServerlessDBExtranetAccessRequestParams ¶ added in v1.0.426
type OpenServerlessDBExtranetAccessRequestParams struct { // 实例的唯一标识符 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` }
Predefined struct for user
type OpenServerlessDBExtranetAccessResponse ¶
type OpenServerlessDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *OpenServerlessDBExtranetAccessResponseParams `json:"Response"` }
func NewOpenServerlessDBExtranetAccessResponse ¶
func NewOpenServerlessDBExtranetAccessResponse() (response *OpenServerlessDBExtranetAccessResponse)
func (*OpenServerlessDBExtranetAccessResponse) FromJsonString ¶
func (r *OpenServerlessDBExtranetAccessResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenServerlessDBExtranetAccessResponse) ToJsonString ¶
func (r *OpenServerlessDBExtranetAccessResponse) ToJsonString() string
type OpenServerlessDBExtranetAccessResponseParams ¶ added in v1.0.426
type OpenServerlessDBExtranetAccessResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ParamEntry ¶ added in v1.0.276
type ParamInfo ¶ added in v1.0.276
type ParamInfo struct { // 参数ID // 注意:此字段可能返回 null,表示取不到有效值。 ID *int64 `json:"ID,omitnil,omitempty" name:"ID"` // 参数名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数值类型:integer(整型)、real(浮点型)、bool(布尔型)、enum(枚举类型)、mutil_enum(枚举类型、支持多选)。 // 当参数类型为integer(整型)、real(浮点型)时,参数的取值范围根据返回值的Max、Min确定; // 当参数类型为bool(布尔型)时,参数设置值取值范围是true | false; // 当参数类型为enum(枚举类型)、mutil_enum(多枚举类型)时,参数的取值范围由返回值中的EnumValue确定。 // 注意:此字段可能返回 null,表示取不到有效值。 ParamValueType *string `json:"ParamValueType,omitnil,omitempty" name:"ParamValueType"` // 参数值 单位。参数没有单位时,该字段返回空 // 注意:此字段可能返回 null,表示取不到有效值。 Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // 参数默认值。以字符串形式返回 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` // 参数当前运行值。以字符串形式返回 // 注意:此字段可能返回 null,表示取不到有效值。 CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"` // 数值类型(integer、real)参数,取值下界 // 注意:此字段可能返回 null,表示取不到有效值。 Max *float64 `json:"Max,omitnil,omitempty" name:"Max"` // 枚举类型参数,取值范围 // 注意:此字段可能返回 null,表示取不到有效值。 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` // 数值类型(integer、real)参数,取值上界 // 注意:此字段可能返回 null,表示取不到有效值。 Min *float64 `json:"Min,omitnil,omitempty" name:"Min"` // 参数中文描述 // 注意:此字段可能返回 null,表示取不到有效值。 ParamDescriptionCH *string `json:"ParamDescriptionCH,omitnil,omitempty" name:"ParamDescriptionCH"` // 参数英文描述 // 注意:此字段可能返回 null,表示取不到有效值。 ParamDescriptionEN *string `json:"ParamDescriptionEN,omitnil,omitempty" name:"ParamDescriptionEN"` // 参数修改,是否重启生效。(true为需要,false为不需要) // 注意:此字段可能返回 null,表示取不到有效值。 NeedReboot *bool `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"` // 参数中文分类 // 注意:此字段可能返回 null,表示取不到有效值。 ClassificationCN *string `json:"ClassificationCN,omitnil,omitempty" name:"ClassificationCN"` // 参数英文分类 // 注意:此字段可能返回 null,表示取不到有效值。 ClassificationEN *string `json:"ClassificationEN,omitnil,omitempty" name:"ClassificationEN"` // 是否和规格相关。(true为相关,false为不想关) // 注意:此字段可能返回 null,表示取不到有效值。 SpecRelated *bool `json:"SpecRelated,omitnil,omitempty" name:"SpecRelated"` // 是否为重点参数。(true为重点参数,修改是需要重点关注,可能会影响实例性能) // 注意:此字段可能返回 null,表示取不到有效值。 Advanced *bool `json:"Advanced,omitnil,omitempty" name:"Advanced"` // 参数最后一次修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastModifyTime *string `json:"LastModifyTime,omitnil,omitempty" name:"LastModifyTime"` // 参数主备制约,0:无主备制约关系,1:备机参数值需比主机大,2:主机参数值需比备机大 // 注意:此字段可能返回 null,表示取不到有效值。 StandbyRelated *int64 `json:"StandbyRelated,omitnil,omitempty" name:"StandbyRelated"` // 参数版本关联信息,内容为相应内核版本下的参数详细信息 // 注意:此字段可能返回 null,表示取不到有效值。 VersionRelationSet []*ParamVersionRelation `json:"VersionRelationSet,omitnil,omitempty" name:"VersionRelationSet"` // 参数规格关联信息,内容为相应规格下的参数详细信息 // 注意:此字段可能返回 null,表示取不到有效值。 SpecRelationSet []*ParamSpecRelation `json:"SpecRelationSet,omitnil,omitempty" name:"SpecRelationSet"` }
type ParamSpecRelation ¶ added in v1.0.547
type ParamSpecRelation struct { // 参数名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数信息所属规格 // 注意:此字段可能返回 null,表示取不到有效值。 Memory *string `json:"Memory,omitnil,omitempty" name:"Memory"` // 参数在该规格下的默认值 // 注意:此字段可能返回 null,表示取不到有效值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` // 参数值单位。参数没有单位时,该字段返回空 // 注意:此字段可能返回 null,表示取不到有效值。 Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // 数值类型(integer、real)参数,取值上界 // 注意:此字段可能返回 null,表示取不到有效值。 Max *float64 `json:"Max,omitnil,omitempty" name:"Max"` // 数值类型(integer、real)参数,取值下界 // 注意:此字段可能返回 null,表示取不到有效值。 Min *float64 `json:"Min,omitnil,omitempty" name:"Min"` // 枚举类型参数,取值范围 // 注意:此字段可能返回 null,表示取不到有效值。 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` }
type ParamVersionRelation ¶ added in v1.0.547
type ParamVersionRelation struct { // 参数名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数信息所属内核版本 // 注意:此字段可能返回 null,表示取不到有效值。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` // 参数在该版本该规格下的默认值 // 注意:此字段可能返回 null,表示取不到有效值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` // 参数值单位。参数没有单位时,该字段返回空 // 注意:此字段可能返回 null,表示取不到有效值。 Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // 数值类型(integer、real)参数,取值上界 // 注意:此字段可能返回 null,表示取不到有效值。 Max *float64 `json:"Max,omitnil,omitempty" name:"Max"` // 数值类型(integer、real)参数,取值下界 // 注意:此字段可能返回 null,表示取不到有效值。 Min *float64 `json:"Min,omitnil,omitempty" name:"Min"` // 枚举类型参数,取值范围 // 注意:此字段可能返回 null,表示取不到有效值。 EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"` }
type ParameterTemplate ¶ added in v1.0.560
type ParameterTemplate struct { // 参数模板ID TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 参数模板名称 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 参数模板适用的数据库版本 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 参数模板适用的数据库引擎 DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 参数模板描述 TemplateDescription *string `json:"TemplateDescription,omitnil,omitempty" name:"TemplateDescription"` }
type PgDeal ¶
type PgDeal struct { // 订单名 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 所属用户 OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"` // 订单涉及多少个实例 Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 付费模式。1-预付费;0-后付费 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 异步任务流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 实例ID数组 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` }
type PolicyRule ¶ added in v1.0.560
type PolicyRule struct { // 策略,ACCEPT 或者 DROP Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 来源或目的 IP 或 IP 段,例如172.16.0.0/12 CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"` // 端口 PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"` // 网络协议,支持 UDP、TCP 等 IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"` // 规则描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
type RawSlowQuery ¶ added in v1.0.233
type RawSlowQuery struct { // 慢SQL 语句 RawQuery *string `json:"RawQuery,omitnil,omitempty" name:"RawQuery"` // 慢SQL 查询的数据库 DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // 慢SQL执行 耗时 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 执行慢SQL的客户端 ClientAddr *string `json:"ClientAddr,omitnil,omitempty" name:"ClientAddr"` // 执行慢SQL的用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 慢SQL执行的开始时间 SessionStartTime *string `json:"SessionStartTime,omitnil,omitempty" name:"SessionStartTime"` }
type ReadOnlyGroup ¶
type ReadOnlyGroup struct { // 只读组标识 // 注意:此字段可能返回 null,表示取不到有效值。 ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` // 只读组名字 // 注意:此字段可能返回 null,表示取不到有效值。 ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"` // 项目id // 注意:此字段可能返回 null,表示取不到有效值。 ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 主实例id // 注意:此字段可能返回 null,表示取不到有效值。 MasterDBInstanceId *string `json:"MasterDBInstanceId,omitnil,omitempty" name:"MasterDBInstanceId"` // 最小保留实例数 // 注意:此字段可能返回 null,表示取不到有效值。 MinDelayEliminateReserve *int64 `json:"MinDelayEliminateReserve,omitnil,omitempty" name:"MinDelayEliminateReserve"` // 延迟空间大小阈值 MaxReplayLatency *int64 `json:"MaxReplayLatency,omitnil,omitempty" name:"MaxReplayLatency"` // 延迟大小开关 ReplayLatencyEliminate *int64 `json:"ReplayLatencyEliminate,omitnil,omitempty" name:"ReplayLatencyEliminate"` // 延迟时间大小阈值 MaxReplayLag *float64 `json:"MaxReplayLag,omitnil,omitempty" name:"MaxReplayLag"` // 延迟时间开关 ReplayLagEliminate *int64 `json:"ReplayLagEliminate,omitnil,omitempty" name:"ReplayLagEliminate"` // 虚拟网络id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网id // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 地域id Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 地区id Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例详细信息 ReadOnlyDBInstanceList []*DBInstance `json:"ReadOnlyDBInstanceList,omitnil,omitempty" name:"ReadOnlyDBInstanceList"` // 自动负载均衡开关 Rebalance *int64 `json:"Rebalance,omitnil,omitempty" name:"Rebalance"` // 网络信息 DBInstanceNetInfo []*DBInstanceNetInfo `json:"DBInstanceNetInfo,omitnil,omitempty" name:"DBInstanceNetInfo"` // 只读组网络信息列表(此字段已废弃) // 注意:此字段可能返回 null,表示取不到有效值。 NetworkAccessList []*NetworkAccess `json:"NetworkAccessList,omitnil,omitempty" name:"NetworkAccessList"` }
type RebalanceReadOnlyGroupRequest ¶
type RebalanceReadOnlyGroupRequest struct { *tchttp.BaseRequest // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
func NewRebalanceReadOnlyGroupRequest ¶
func NewRebalanceReadOnlyGroupRequest() (request *RebalanceReadOnlyGroupRequest)
func (*RebalanceReadOnlyGroupRequest) FromJsonString ¶
func (r *RebalanceReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebalanceReadOnlyGroupRequest) ToJsonString ¶
func (r *RebalanceReadOnlyGroupRequest) ToJsonString() string
type RebalanceReadOnlyGroupRequestParams ¶ added in v1.0.426
type RebalanceReadOnlyGroupRequestParams struct { // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
Predefined struct for user
type RebalanceReadOnlyGroupResponse ¶
type RebalanceReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *RebalanceReadOnlyGroupResponseParams `json:"Response"` }
func NewRebalanceReadOnlyGroupResponse ¶
func NewRebalanceReadOnlyGroupResponse() (response *RebalanceReadOnlyGroupResponse)
func (*RebalanceReadOnlyGroupResponse) FromJsonString ¶
func (r *RebalanceReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebalanceReadOnlyGroupResponse) ToJsonString ¶
func (r *RebalanceReadOnlyGroupResponse) ToJsonString() string
type RebalanceReadOnlyGroupResponseParams ¶ added in v1.0.426
type RebalanceReadOnlyGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegionInfo ¶
type RegionInfo struct { // 该地域对应的英文名称 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 该地域对应的中文名称 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 该地域对应的数字编号 RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // 可用状态,UNAVAILABLE表示不可用,AVAILABLE表示可用 RegionState *string `json:"RegionState,omitnil,omitempty" name:"RegionState"` // 该地域是否支持国际站售卖,0:不支持,1:支持 // 注意:此字段可能返回 null,表示取不到有效值。 SupportInternational *uint64 `json:"SupportInternational,omitnil,omitempty" name:"SupportInternational"` }
type RemoveDBInstanceFromReadOnlyGroupRequest ¶
type RemoveDBInstanceFromReadOnlyGroupRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
func NewRemoveDBInstanceFromReadOnlyGroupRequest ¶
func NewRemoveDBInstanceFromReadOnlyGroupRequest() (request *RemoveDBInstanceFromReadOnlyGroupRequest)
func (*RemoveDBInstanceFromReadOnlyGroupRequest) FromJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveDBInstanceFromReadOnlyGroupRequest) ToJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupRequest) ToJsonString() string
type RemoveDBInstanceFromReadOnlyGroupRequestParams ¶ added in v1.0.426
type RemoveDBInstanceFromReadOnlyGroupRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 只读组ID ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"` }
Predefined struct for user
type RemoveDBInstanceFromReadOnlyGroupResponse ¶
type RemoveDBInstanceFromReadOnlyGroupResponse struct { *tchttp.BaseResponse Response *RemoveDBInstanceFromReadOnlyGroupResponseParams `json:"Response"` }
func NewRemoveDBInstanceFromReadOnlyGroupResponse ¶
func NewRemoveDBInstanceFromReadOnlyGroupResponse() (response *RemoveDBInstanceFromReadOnlyGroupResponse)
func (*RemoveDBInstanceFromReadOnlyGroupResponse) FromJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveDBInstanceFromReadOnlyGroupResponse) ToJsonString ¶
func (r *RemoveDBInstanceFromReadOnlyGroupResponse) ToJsonString() string
type RemoveDBInstanceFromReadOnlyGroupResponseParams ¶ added in v1.0.426
type RemoveDBInstanceFromReadOnlyGroupResponseParams struct { // 流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RenewInstanceRequest ¶
type RenewInstanceRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 续费多少个月 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 是否自动使用代金券,1是,0否,默认不使用 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` }
func NewRenewInstanceRequest ¶
func NewRenewInstanceRequest() (request *RenewInstanceRequest)
func (*RenewInstanceRequest) FromJsonString ¶
func (r *RenewInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewInstanceRequest) ToJsonString ¶
func (r *RenewInstanceRequest) ToJsonString() string
type RenewInstanceRequestParams ¶ added in v1.0.426
type RenewInstanceRequestParams struct { // 实例ID,形如postgres-6fego161 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 续费多少个月 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 是否自动使用代金券,1是,0否,默认不使用 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` }
Predefined struct for user
type RenewInstanceResponse ¶
type RenewInstanceResponse struct { *tchttp.BaseResponse Response *RenewInstanceResponseParams `json:"Response"` }
func NewRenewInstanceResponse ¶
func NewRenewInstanceResponse() (response *RenewInstanceResponse)
func (*RenewInstanceResponse) FromJsonString ¶
func (r *RenewInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewInstanceResponse) ToJsonString ¶
func (r *RenewInstanceResponse) ToJsonString() string
type RenewInstanceResponseParams ¶ added in v1.0.426
type RenewInstanceResponseParams struct { // 订单名 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-4wdeb0zv DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例账户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // UserName账户对应的新密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
func NewResetAccountPasswordRequest ¶
func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
func (*ResetAccountPasswordRequest) FromJsonString ¶
func (r *ResetAccountPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordRequest) ToJsonString ¶
func (r *ResetAccountPasswordRequest) ToJsonString() string
type ResetAccountPasswordRequestParams ¶ added in v1.0.426
type ResetAccountPasswordRequestParams struct { // 实例ID,形如postgres-4wdeb0zv DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例账户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // UserName账户对应的新密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
Predefined struct for user
type ResetAccountPasswordResponse ¶
type ResetAccountPasswordResponse struct { *tchttp.BaseResponse Response *ResetAccountPasswordResponseParams `json:"Response"` }
func NewResetAccountPasswordResponse ¶
func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
func (*ResetAccountPasswordResponse) FromJsonString ¶
func (r *ResetAccountPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAccountPasswordResponse) ToJsonString ¶
func (r *ResetAccountPasswordResponse) ToJsonString() string
type ResetAccountPasswordResponseParams ¶ added in v1.0.426
type ResetAccountPasswordResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RestartDBInstanceRequest ¶
type RestartDBInstanceRequest struct { *tchttp.BaseRequest // 实例ID,形如postgres-6r233v55 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
func NewRestartDBInstanceRequest ¶
func NewRestartDBInstanceRequest() (request *RestartDBInstanceRequest)
func (*RestartDBInstanceRequest) FromJsonString ¶
func (r *RestartDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartDBInstanceRequest) ToJsonString ¶
func (r *RestartDBInstanceRequest) ToJsonString() string
type RestartDBInstanceRequestParams ¶ added in v1.0.426
type RestartDBInstanceRequestParams struct { // 实例ID,形如postgres-6r233v55 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` }
Predefined struct for user
type RestartDBInstanceResponse ¶
type RestartDBInstanceResponse struct { *tchttp.BaseResponse Response *RestartDBInstanceResponseParams `json:"Response"` }
func NewRestartDBInstanceResponse ¶
func NewRestartDBInstanceResponse() (response *RestartDBInstanceResponse)
func (*RestartDBInstanceResponse) FromJsonString ¶
func (r *RestartDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartDBInstanceResponse) ToJsonString ¶
func (r *RestartDBInstanceResponse) ToJsonString() string
type RestartDBInstanceResponseParams ¶ added in v1.0.426
type RestartDBInstanceResponseParams struct { // 异步流程ID FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RestoreDBInstanceObjectsRequest ¶ added in v1.0.938
type RestoreDBInstanceObjectsRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 需要恢复的对象列表。假设需要恢复的对象名为user,则恢复后的名称为user_bak_${LinuxTime}。${LinuxTime}无法指定,由系统根据任务发起的linux时间设定。 RestoreObjects []*string `json:"RestoreObjects,omitnil,omitempty" name:"RestoreObjects"` // 恢复所用备份集。BackupSetId与RestoreTargetTime有且只能传一个。 BackupSetId *string `json:"BackupSetId,omitnil,omitempty" name:"BackupSetId"` // 恢复目标时间,北京时间。BackupSetId与RestoreTargetTime有且只能传一个。 RestoreTargetTime *string `json:"RestoreTargetTime,omitnil,omitempty" name:"RestoreTargetTime"` }
func NewRestoreDBInstanceObjectsRequest ¶ added in v1.0.938
func NewRestoreDBInstanceObjectsRequest() (request *RestoreDBInstanceObjectsRequest)
func (*RestoreDBInstanceObjectsRequest) FromJsonString ¶ added in v1.0.938
func (r *RestoreDBInstanceObjectsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestoreDBInstanceObjectsRequest) ToJsonString ¶ added in v1.0.938
func (r *RestoreDBInstanceObjectsRequest) ToJsonString() string
type RestoreDBInstanceObjectsRequestParams ¶ added in v1.0.938
type RestoreDBInstanceObjectsRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 需要恢复的对象列表。假设需要恢复的对象名为user,则恢复后的名称为user_bak_${LinuxTime}。${LinuxTime}无法指定,由系统根据任务发起的linux时间设定。 RestoreObjects []*string `json:"RestoreObjects,omitnil,omitempty" name:"RestoreObjects"` // 恢复所用备份集。BackupSetId与RestoreTargetTime有且只能传一个。 BackupSetId *string `json:"BackupSetId,omitnil,omitempty" name:"BackupSetId"` // 恢复目标时间,北京时间。BackupSetId与RestoreTargetTime有且只能传一个。 RestoreTargetTime *string `json:"RestoreTargetTime,omitnil,omitempty" name:"RestoreTargetTime"` }
Predefined struct for user
type RestoreDBInstanceObjectsResponse ¶ added in v1.0.938
type RestoreDBInstanceObjectsResponse struct { *tchttp.BaseResponse Response *RestoreDBInstanceObjectsResponseParams `json:"Response"` }
func NewRestoreDBInstanceObjectsResponse ¶ added in v1.0.938
func NewRestoreDBInstanceObjectsResponse() (response *RestoreDBInstanceObjectsResponse)
func (*RestoreDBInstanceObjectsResponse) FromJsonString ¶ added in v1.0.938
func (r *RestoreDBInstanceObjectsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestoreDBInstanceObjectsResponse) ToJsonString ¶ added in v1.0.938
func (r *RestoreDBInstanceObjectsResponse) ToJsonString() string
type RestoreDBInstanceObjectsResponseParams ¶ added in v1.0.938
type RestoreDBInstanceObjectsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SecurityGroup ¶ added in v1.0.560
type SecurityGroup struct { // 项目Id ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 入站规则 Inbound []*PolicyRule `json:"Inbound,omitnil,omitempty" name:"Inbound"` // 出站规则 Outbound []*PolicyRule `json:"Outbound,omitnil,omitempty" name:"Outbound"` // 安全组ID SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"` // 安全组名称 SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"` // 安全组备注 SecurityGroupDescription *string `json:"SecurityGroupDescription,omitnil,omitempty" name:"SecurityGroupDescription"` }
type ServerlessDBAccount ¶
type ServerlessDBAccount struct { // 用户名 // 注意:此字段可能返回 null,表示取不到有效值。 DBUser *string `json:"DBUser,omitnil,omitempty" name:"DBUser"` // 密码 // 注意:此字段可能返回 null,表示取不到有效值。 DBPassword *string `json:"DBPassword,omitnil,omitempty" name:"DBPassword"` // 连接数限制 // 注意:此字段可能返回 null,表示取不到有效值。 DBConnLimit *int64 `json:"DBConnLimit,omitnil,omitempty" name:"DBConnLimit"` }
type ServerlessDBInstance ¶
type ServerlessDBInstance struct { // 实例id,唯一标识符 // 注意:此字段可能返回 null,表示取不到有效值。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 DBInstanceName *string `json:"DBInstanceName,omitnil,omitempty" name:"DBInstanceName"` // 实例状态 // 注意:此字段可能返回 null,表示取不到有效值。 DBInstanceStatus *string `json:"DBInstanceStatus,omitnil,omitempty" name:"DBInstanceStatus"` // 地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 可用区 // 注意:此字段可能返回 null,表示取不到有效值。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 项目id // 注意:此字段可能返回 null,表示取不到有效值。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 私有网络Id // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网id // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 字符集 // 注意:此字段可能返回 null,表示取不到有效值。 DBCharset *string `json:"DBCharset,omitnil,omitempty" name:"DBCharset"` // 数据库版本 // 注意:此字段可能返回 null,表示取不到有效值。 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 实例网络信息 // 注意:此字段可能返回 null,表示取不到有效值。 DBInstanceNetInfo []*ServerlessDBInstanceNetInfo `json:"DBInstanceNetInfo,omitnil,omitempty" name:"DBInstanceNetInfo"` // 实例账户信息 // 注意:此字段可能返回 null,表示取不到有效值。 DBAccountSet []*ServerlessDBAccount `json:"DBAccountSet,omitnil,omitempty" name:"DBAccountSet"` // 实例下的db信息 // 注意:此字段可能返回 null,表示取不到有效值。 DBDatabaseList []*string `json:"DBDatabaseList,omitnil,omitempty" name:"DBDatabaseList"` // 实例绑定的标签数组 // 注意:此字段可能返回 null,表示取不到有效值。 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` // 数据库内核版本 // 注意:此字段可能返回 null,表示取不到有效值。 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` // 数据库主要版本 // 注意:此字段可能返回 null,表示取不到有效值。 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` }
type ServerlessDBInstanceNetInfo ¶
type ServerlessDBInstanceNetInfo struct { // 地址 // 注意:此字段可能返回 null,表示取不到有效值。 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // ip地址 // 注意:此字段可能返回 null,表示取不到有效值。 Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // 端口号 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 网络类型 // 注意:此字段可能返回 null,表示取不到有效值。 NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"` }
type SetAutoRenewFlagRequest ¶
type SetAutoRenewFlagRequest struct { *tchttp.BaseRequest // 实例ID集合。注意:当前已不支持同时操作多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 续费标记。0-正常续费;1-自动续费;2-到期不续费 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` }
func NewSetAutoRenewFlagRequest ¶
func NewSetAutoRenewFlagRequest() (request *SetAutoRenewFlagRequest)
func (*SetAutoRenewFlagRequest) FromJsonString ¶
func (r *SetAutoRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAutoRenewFlagRequest) ToJsonString ¶
func (r *SetAutoRenewFlagRequest) ToJsonString() string
type SetAutoRenewFlagRequestParams ¶ added in v1.0.426
type SetAutoRenewFlagRequestParams struct { // 实例ID集合。注意:当前已不支持同时操作多个实例,这里只能传入单个实例ID。 DBInstanceIdSet []*string `json:"DBInstanceIdSet,omitnil,omitempty" name:"DBInstanceIdSet"` // 续费标记。0-正常续费;1-自动续费;2-到期不续费 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` }
Predefined struct for user
type SetAutoRenewFlagResponse ¶
type SetAutoRenewFlagResponse struct { *tchttp.BaseResponse Response *SetAutoRenewFlagResponseParams `json:"Response"` }
func NewSetAutoRenewFlagResponse ¶
func NewSetAutoRenewFlagResponse() (response *SetAutoRenewFlagResponse)
func (*SetAutoRenewFlagResponse) FromJsonString ¶
func (r *SetAutoRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAutoRenewFlagResponse) ToJsonString ¶
func (r *SetAutoRenewFlagResponse) ToJsonString() string
type SetAutoRenewFlagResponseParams ¶ added in v1.0.426
type SetAutoRenewFlagResponseParams struct { // 设置成功的实例个数 Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SlowlogDetail ¶
type SlowlogDetail struct { // 花费总时间 TotalTime *float64 `json:"TotalTime,omitnil,omitempty" name:"TotalTime"` // 调用总次数 TotalCalls *int64 `json:"TotalCalls,omitnil,omitempty" name:"TotalCalls"` // 脱敏后的慢SQL列表 NormalQueries []*NormalQueryItem `json:"NormalQueries,omitnil,omitempty" name:"NormalQueries"` }
type SpecInfo ¶
type SpecInfo struct { // 地域英文编码,对应RegionSet的Region字段 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 区域英文编码,对应ZoneSet的Zone字段 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 规格详细信息列表 SpecItemInfoList []*SpecItemInfo `json:"SpecItemInfoList,omitnil,omitempty" name:"SpecItemInfoList"` // 支持KMS的地域 // 注意:此字段可能返回 null,表示取不到有效值。 SupportKMSRegions []*string `json:"SupportKMSRegions,omitnil,omitempty" name:"SupportKMSRegions"` }
type SpecItemInfo ¶
type SpecItemInfo struct { // 规格ID SpecCode *string `json:"SpecCode,omitnil,omitempty" name:"SpecCode"` // PostgreSQL的版本编号 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // 内核编号对应的完整版本名称 VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"` // CPU核数 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存大小,单位:MB Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 该规格所支持最大存储容量,单位:GB MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"` // 该规格所支持最小存储容量,单位:GB MinStorage *uint64 `json:"MinStorage,omitnil,omitempty" name:"MinStorage"` // 该规格的预估QPS Qps *uint64 `json:"Qps,omitnil,omitempty" name:"Qps"` // 【该字段废弃】 Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"` // 机器类型 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // PostgreSQL的主要版本编号 // 注意:此字段可能返回 null,表示取不到有效值。 MajorVersion *string `json:"MajorVersion,omitnil,omitempty" name:"MajorVersion"` // PostgreSQL的内核版本编号 // 注意:此字段可能返回 null,表示取不到有效值。 KernelVersion *string `json:"KernelVersion,omitnil,omitempty" name:"KernelVersion"` // 是否支持TDE数据加密功能,0-不支持,1-支持 // 注意:此字段可能返回 null,表示取不到有效值。 IsSupportTDE *int64 `json:"IsSupportTDE,omitnil,omitempty" name:"IsSupportTDE"` }
type SwitchDBInstancePrimaryRequest ¶ added in v1.0.715
type SwitchDBInstancePrimaryRequest struct { *tchttp.BaseRequest // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否强制切换。强制切换时只要备节点可访问,无论主备延迟多大都会发起切换。只有SwitchTag为0时,才可使用立即切换。 // <li>默认:false Force *bool `json:"Force,omitnil,omitempty" name:"Force"` // 指定实例配置完成变更后的切换时间。 // <li>0:立即切换 // <li>1:指定时间切换 // <li>2:维护时间窗口内切换 // <li>默认值:0 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` }
func NewSwitchDBInstancePrimaryRequest ¶ added in v1.0.715
func NewSwitchDBInstancePrimaryRequest() (request *SwitchDBInstancePrimaryRequest)
func (*SwitchDBInstancePrimaryRequest) FromJsonString ¶ added in v1.0.715
func (r *SwitchDBInstancePrimaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchDBInstancePrimaryRequest) ToJsonString ¶ added in v1.0.715
func (r *SwitchDBInstancePrimaryRequest) ToJsonString() string
type SwitchDBInstancePrimaryRequestParams ¶ added in v1.0.715
type SwitchDBInstancePrimaryRequestParams struct { // 实例ID DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否强制切换。强制切换时只要备节点可访问,无论主备延迟多大都会发起切换。只有SwitchTag为0时,才可使用立即切换。 // <li>默认:false Force *bool `json:"Force,omitnil,omitempty" name:"Force"` // 指定实例配置完成变更后的切换时间。 // <li>0:立即切换 // <li>1:指定时间切换 // <li>2:维护时间窗口内切换 // <li>默认值:0 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` }
Predefined struct for user
type SwitchDBInstancePrimaryResponse ¶ added in v1.0.715
type SwitchDBInstancePrimaryResponse struct { *tchttp.BaseResponse Response *SwitchDBInstancePrimaryResponseParams `json:"Response"` }
func NewSwitchDBInstancePrimaryResponse ¶ added in v1.0.715
func NewSwitchDBInstancePrimaryResponse() (response *SwitchDBInstancePrimaryResponse)
func (*SwitchDBInstancePrimaryResponse) FromJsonString ¶ added in v1.0.715
func (r *SwitchDBInstancePrimaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchDBInstancePrimaryResponse) ToJsonString ¶ added in v1.0.715
func (r *SwitchDBInstancePrimaryResponse) ToJsonString() string
type SwitchDBInstancePrimaryResponseParams ¶ added in v1.0.715
type SwitchDBInstancePrimaryResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UnlockAccountRequest ¶ added in v1.0.969
type UnlockAccountRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
func NewUnlockAccountRequest ¶ added in v1.0.969
func NewUnlockAccountRequest() (request *UnlockAccountRequest)
func (*UnlockAccountRequest) FromJsonString ¶ added in v1.0.969
func (r *UnlockAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnlockAccountRequest) ToJsonString ¶ added in v1.0.969
func (r *UnlockAccountRequest) ToJsonString() string
type UnlockAccountRequestParams ¶ added in v1.0.969
type UnlockAccountRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 账号名称。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
Predefined struct for user
type UnlockAccountResponse ¶ added in v1.0.969
type UnlockAccountResponse struct { *tchttp.BaseResponse Response *UnlockAccountResponseParams `json:"Response"` }
func NewUnlockAccountResponse ¶ added in v1.0.969
func NewUnlockAccountResponse() (response *UnlockAccountResponse)
func (*UnlockAccountResponse) FromJsonString ¶ added in v1.0.969
func (r *UnlockAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnlockAccountResponse) ToJsonString ¶ added in v1.0.969
func (r *UnlockAccountResponse) ToJsonString() string
type UnlockAccountResponseParams ¶ added in v1.0.969
type UnlockAccountResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeDBInstanceKernelVersionRequest ¶ added in v1.0.621
type UpgradeDBInstanceKernelVersionRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 升级的目标内核版本号。可以通过接口[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)的返回字段AvailableUpgradeTarget获取。 TargetDBKernelVersion *string `json:"TargetDBKernelVersion,omitnil,omitempty" name:"TargetDBKernelVersion"` // 指定实例升级内核版本号完成后的切换时间。可选值: // <li>0:立即切换 // <li>1:指定时间切换 // <li>2:维护时间窗口内切换 // 默认值:0 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` // 是否对本次升级实例内核版本号操作执行预检查。 // <li>true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。 // <li>false:发送正常请求(默认值),通过检查后直接升级内核版本号。 // 默认值:false DryRun *bool `json:"DryRun,omitnil,omitempty" name:"DryRun"` }
func NewUpgradeDBInstanceKernelVersionRequest ¶ added in v1.0.621
func NewUpgradeDBInstanceKernelVersionRequest() (request *UpgradeDBInstanceKernelVersionRequest)
func (*UpgradeDBInstanceKernelVersionRequest) FromJsonString ¶ added in v1.0.621
func (r *UpgradeDBInstanceKernelVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceKernelVersionRequest) ToJsonString ¶ added in v1.0.621
func (r *UpgradeDBInstanceKernelVersionRequest) ToJsonString() string
type UpgradeDBInstanceKernelVersionRequestParams ¶ added in v1.0.621
type UpgradeDBInstanceKernelVersionRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 升级的目标内核版本号。可以通过接口[DescribeDBVersions](https://cloud.tencent.com/document/api/409/89018)的返回字段AvailableUpgradeTarget获取。 TargetDBKernelVersion *string `json:"TargetDBKernelVersion,omitnil,omitempty" name:"TargetDBKernelVersion"` // 指定实例升级内核版本号完成后的切换时间。可选值: // <li>0:立即切换 // <li>1:指定时间切换 // <li>2:维护时间窗口内切换 // 默认值:0 SwitchTag *uint64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` // 是否对本次升级实例内核版本号操作执行预检查。 // <li>true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。 // <li>false:发送正常请求(默认值),通过检查后直接升级内核版本号。 // 默认值:false DryRun *bool `json:"DryRun,omitnil,omitempty" name:"DryRun"` }
Predefined struct for user
type UpgradeDBInstanceKernelVersionResponse ¶ added in v1.0.621
type UpgradeDBInstanceKernelVersionResponse struct { *tchttp.BaseResponse Response *UpgradeDBInstanceKernelVersionResponseParams `json:"Response"` }
func NewUpgradeDBInstanceKernelVersionResponse ¶ added in v1.0.621
func NewUpgradeDBInstanceKernelVersionResponse() (response *UpgradeDBInstanceKernelVersionResponse)
func (*UpgradeDBInstanceKernelVersionResponse) FromJsonString ¶ added in v1.0.621
func (r *UpgradeDBInstanceKernelVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceKernelVersionResponse) ToJsonString ¶ added in v1.0.621
func (r *UpgradeDBInstanceKernelVersionResponse) ToJsonString() string
type UpgradeDBInstanceKernelVersionResponseParams ¶ added in v1.0.621
type UpgradeDBInstanceKernelVersionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeDBInstanceMajorVersionRequest ¶ added in v1.0.761
type UpgradeDBInstanceMajorVersionRequest struct { *tchttp.BaseRequest // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 目标内核版本号,可以通过API DescribeDBVersions获取可以升级的目标内核版本号。 TargetDBKernelVersion *string `json:"TargetDBKernelVersion,omitnil,omitempty" name:"TargetDBKernelVersion"` // 是否为校验模式,若UpgradeCheck为True,表示仅进行内核版本兼容性检查,不会进行实质性的升级操作,对原实例无影响。检查结果可以通过升级日志查看。 UpgradeCheck *bool `json:"UpgradeCheck,omitnil,omitempty" name:"UpgradeCheck"` // 升级前备份选项。True,表示升级前需要创建全量备份,False,表示升级前不需要创建全量备份。当实例已有备份集可以恢复到升级前的状态时,可选择False,否则需要指定为True。UpgradeCheck为True时,此参数无效。 BackupBeforeUpgrade *bool `json:"BackupBeforeUpgrade,omitnil,omitempty" name:"BackupBeforeUpgrade"` // 统计信息收集选项,对主例运行 ANALYZE 以在升级后更新系统统计信息。可选值包括, // 0:不需要收集统计信息; // 1:实例恢复写之前收集统计信息; // 3:实例恢复写之后收集统计信息。 // UpgradeCheck为True时,此参数无效。 StatisticsRefreshOption *int64 `json:"StatisticsRefreshOption,omitnil,omitempty" name:"StatisticsRefreshOption"` // 插件升级选项,pg_upgrade不会升级任何插件,需要在升级完成后在创建过插件的库上执行"ALTER EXTENSION UPDATE"。发起升级实例大版本时可以指定在实例恢复写前/后是否需要升级任务自动升级插件版本。可选值包括: // 0:不需要自动升级插件; // 1:恢复写之前升级插件; // 2:恢复写之后升级插件。 // UpgradeCheck为True时,此参数无效。 ExtensionUpgradeOption *int64 `json:"ExtensionUpgradeOption,omitnil,omitempty" name:"ExtensionUpgradeOption"` // 升级时间选项,升级过程中会有一段时间实例只读,并会有一次秒级闪断,发起升级时需要选择这段影响的时间窗。可选值包括: // 0:自动执行,不需要指定时间窗; // 1:指定本次升级任务的时间窗,通过参数UpgradeTimeBegin和UpgradeTimeEnd设置; // 2:在实例运维时间窗内执行。 // UpgradeCheck为True时,此参数无效。 UpgradeTimeOption *int64 `json:"UpgradeTimeOption,omitnil,omitempty" name:"UpgradeTimeOption"` // 升级时间窗开始时间,时间格式:HH:MM:SS,例如:01:00:00。当UpgradeTimeOption为1时,该参数有效。 // UpgradeCheck为True时,此参数无效。 UpgradeTimeBegin *string `json:"UpgradeTimeBegin,omitnil,omitempty" name:"UpgradeTimeBegin"` // 升级时间窗截止时间,时间格式:HH:MM:SS,例如:02:00:00。当UpgradeTimeOption为1时,该参数有效。 // UpgradeCheck为True时,此参数无效。 UpgradeTimeEnd *string `json:"UpgradeTimeEnd,omitnil,omitempty" name:"UpgradeTimeEnd"` }
func NewUpgradeDBInstanceMajorVersionRequest ¶ added in v1.0.761
func NewUpgradeDBInstanceMajorVersionRequest() (request *UpgradeDBInstanceMajorVersionRequest)
func (*UpgradeDBInstanceMajorVersionRequest) FromJsonString ¶ added in v1.0.761
func (r *UpgradeDBInstanceMajorVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceMajorVersionRequest) ToJsonString ¶ added in v1.0.761
func (r *UpgradeDBInstanceMajorVersionRequest) ToJsonString() string
type UpgradeDBInstanceMajorVersionRequestParams ¶ added in v1.0.761
type UpgradeDBInstanceMajorVersionRequestParams struct { // 实例ID。 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 目标内核版本号,可以通过API DescribeDBVersions获取可以升级的目标内核版本号。 TargetDBKernelVersion *string `json:"TargetDBKernelVersion,omitnil,omitempty" name:"TargetDBKernelVersion"` // 是否为校验模式,若UpgradeCheck为True,表示仅进行内核版本兼容性检查,不会进行实质性的升级操作,对原实例无影响。检查结果可以通过升级日志查看。 UpgradeCheck *bool `json:"UpgradeCheck,omitnil,omitempty" name:"UpgradeCheck"` // 升级前备份选项。True,表示升级前需要创建全量备份,False,表示升级前不需要创建全量备份。当实例已有备份集可以恢复到升级前的状态时,可选择False,否则需要指定为True。UpgradeCheck为True时,此参数无效。 BackupBeforeUpgrade *bool `json:"BackupBeforeUpgrade,omitnil,omitempty" name:"BackupBeforeUpgrade"` // 统计信息收集选项,对主例运行 ANALYZE 以在升级后更新系统统计信息。可选值包括, // 0:不需要收集统计信息; // 1:实例恢复写之前收集统计信息; // 3:实例恢复写之后收集统计信息。 // UpgradeCheck为True时,此参数无效。 StatisticsRefreshOption *int64 `json:"StatisticsRefreshOption,omitnil,omitempty" name:"StatisticsRefreshOption"` // 插件升级选项,pg_upgrade不会升级任何插件,需要在升级完成后在创建过插件的库上执行"ALTER EXTENSION UPDATE"。发起升级实例大版本时可以指定在实例恢复写前/后是否需要升级任务自动升级插件版本。可选值包括: // 0:不需要自动升级插件; // 1:恢复写之前升级插件; // 2:恢复写之后升级插件。 // UpgradeCheck为True时,此参数无效。 ExtensionUpgradeOption *int64 `json:"ExtensionUpgradeOption,omitnil,omitempty" name:"ExtensionUpgradeOption"` // 升级时间选项,升级过程中会有一段时间实例只读,并会有一次秒级闪断,发起升级时需要选择这段影响的时间窗。可选值包括: // 0:自动执行,不需要指定时间窗; // 1:指定本次升级任务的时间窗,通过参数UpgradeTimeBegin和UpgradeTimeEnd设置; // 2:在实例运维时间窗内执行。 // UpgradeCheck为True时,此参数无效。 UpgradeTimeOption *int64 `json:"UpgradeTimeOption,omitnil,omitempty" name:"UpgradeTimeOption"` // 升级时间窗开始时间,时间格式:HH:MM:SS,例如:01:00:00。当UpgradeTimeOption为1时,该参数有效。 // UpgradeCheck为True时,此参数无效。 UpgradeTimeBegin *string `json:"UpgradeTimeBegin,omitnil,omitempty" name:"UpgradeTimeBegin"` // 升级时间窗截止时间,时间格式:HH:MM:SS,例如:02:00:00。当UpgradeTimeOption为1时,该参数有效。 // UpgradeCheck为True时,此参数无效。 UpgradeTimeEnd *string `json:"UpgradeTimeEnd,omitnil,omitempty" name:"UpgradeTimeEnd"` }
Predefined struct for user
type UpgradeDBInstanceMajorVersionResponse ¶ added in v1.0.761
type UpgradeDBInstanceMajorVersionResponse struct { *tchttp.BaseResponse Response *UpgradeDBInstanceMajorVersionResponseParams `json:"Response"` }
func NewUpgradeDBInstanceMajorVersionResponse ¶ added in v1.0.761
func NewUpgradeDBInstanceMajorVersionResponse() (response *UpgradeDBInstanceMajorVersionResponse)
func (*UpgradeDBInstanceMajorVersionResponse) FromJsonString ¶ added in v1.0.761
func (r *UpgradeDBInstanceMajorVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceMajorVersionResponse) ToJsonString ¶ added in v1.0.761
func (r *UpgradeDBInstanceMajorVersionResponse) ToJsonString() string
type UpgradeDBInstanceMajorVersionResponseParams ¶ added in v1.0.761
type UpgradeDBInstanceMajorVersionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeDBInstanceRequest ¶
type UpgradeDBInstanceRequest struct { *tchttp.BaseRequest // 升级后的实例内存大小,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 升级后的实例磁盘大小,单位GB Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例ID,形如postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否自动使用代金券,1是,0否,默认不使用 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 活动ID ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 指定实例配置完成变更后的切换时间,默认为 立即切换,入参为 0 :立即切换 。1:指定时间切换。 SwitchTag *int64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` }
func NewUpgradeDBInstanceRequest ¶
func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)
func (*UpgradeDBInstanceRequest) FromJsonString ¶
func (r *UpgradeDBInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceRequest) ToJsonString ¶
func (r *UpgradeDBInstanceRequest) ToJsonString() string
type UpgradeDBInstanceRequestParams ¶ added in v1.0.426
type UpgradeDBInstanceRequestParams struct { // 升级后的实例内存大小,单位GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 升级后的实例磁盘大小,单位GB Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"` // 实例ID,形如postgres-lnp6j617 DBInstanceId *string `json:"DBInstanceId,omitnil,omitempty" name:"DBInstanceId"` // 是否自动使用代金券,1是,0否,默认不使用 AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券 VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"` // 活动ID ActivityId *int64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 指定实例配置完成变更后的切换时间,默认为 立即切换,入参为 0 :立即切换 。1:指定时间切换。 SwitchTag *int64 `json:"SwitchTag,omitnil,omitempty" name:"SwitchTag"` // 切换开始时间 SwitchStartTime *string `json:"SwitchStartTime,omitnil,omitempty" name:"SwitchStartTime"` // 切换截止时间 SwitchEndTime *string `json:"SwitchEndTime,omitnil,omitempty" name:"SwitchEndTime"` }
Predefined struct for user
type UpgradeDBInstanceResponse ¶
type UpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *UpgradeDBInstanceResponseParams `json:"Response"` }
func NewUpgradeDBInstanceResponse ¶
func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)
func (*UpgradeDBInstanceResponse) FromJsonString ¶
func (r *UpgradeDBInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeDBInstanceResponse) ToJsonString ¶
func (r *UpgradeDBInstanceResponse) ToJsonString() string
type UpgradeDBInstanceResponseParams ¶ added in v1.0.426
type UpgradeDBInstanceResponseParams struct { // 交易名字。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 冻结流水号 BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Version ¶ added in v1.0.621
type Version struct { // 数据库引擎,支持: // 1、postgresql(云数据库PostgreSQL); // 2、mssql_compatible(MSSQL兼容-云数据库PostgreSQL); DBEngine *string `json:"DBEngine,omitnil,omitempty" name:"DBEngine"` // 数据库版本,例如:12.4 DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"` // 数据库主要版本,例如:12 DBMajorVersion *string `json:"DBMajorVersion,omitnil,omitempty" name:"DBMajorVersion"` // 数据库内核版本,例如:v12.4_r1.3 DBKernelVersion *string `json:"DBKernelVersion,omitnil,omitempty" name:"DBKernelVersion"` // 数据库内核支持的特性列表。例如, // TDE:支持数据加密。 SupportedFeatureNames []*string `json:"SupportedFeatureNames,omitnil,omitempty" name:"SupportedFeatureNames"` // 数据库版本状态,包括: // AVAILABLE:可用; // DEPRECATED:已弃用。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 该数据库版本(DBKernelVersion)可以升级到的版本号列表。其中包含可升级的小版本号和可升级的大版本号(完整内核版本格式示例:v15.1_v1.6)。 AvailableUpgradeTarget []*string `json:"AvailableUpgradeTarget,omitnil,omitempty" name:"AvailableUpgradeTarget"` }
type Xlog ¶
type Xlog struct { // 备份文件唯一标识 Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // 文件生成的开始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 文件生成的结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 内网下载地址 InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"` // 外网下载地址 ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"` // 备份文件大小 Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` }
type ZoneInfo ¶
type ZoneInfo struct { // 该可用区的英文名称 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 该可用区的中文名称 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 该可用区对应的数字编号 ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 可用状态包含, // UNAVAILABLE:不可用。 // AVAILABLE:可用。 // SELLOUT:售罄。 // SUPPORTMODIFYONLY:支持变配。 ZoneState *string `json:"ZoneState,omitnil,omitempty" name:"ZoneState"` // 该可用区是否支持Ipv6 ZoneSupportIpv6 *uint64 `json:"ZoneSupportIpv6,omitnil,omitempty" name:"ZoneSupportIpv6"` // 该可用区对应的备可用区集合 // 注意:此字段可能返回 null,表示取不到有效值。 StandbyZoneSet []*string `json:"StandbyZoneSet,omitnil,omitempty" name:"StandbyZoneSet"` }