tencent cloud

TencentDB for PostgreSQL

DisIsolateDBInstances

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-04-01 18:23:14

1. API Description

Domain name for API request: postgres.intl.tencentcloudapi.com.

This API is used to remove one or more instances from isolation.

A maximum of 100 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DisIsolateDBInstances.
Version Yes String Common Params. The value used for this API: 2017-03-12.
Region Yes String Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shanghai-fsi, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo.
DBInstanceIdSet.N Yes Array of String Instance ID list. obtain through the api DescribeDBInstances. supports de-isolating multiple instances simultaneously.
Period No Integer Purchase duration, in months.
  • Prepaid: Yearly/monthly subscription, supports 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36.
  • .
  • Postpaid: Pay-as-you-go, this parameter does not take effect.
  • .
    AutoVoucher No Boolean Whether to use vouchers.
  • true: use.
  • .
  • false: non-use.
  • .
    Default value: false.
    VoucherIds.N No Array of String Voucher ID list

    3. Output Parameters

    Parameter Name Type Description
    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Restoring an Isolated Instance

    This example shows you how to perform the isolation operation of the instance.

    Input Example

    POST / HTTP/1.1
    Host: postgres.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DisIsolateDBInstances
    <Common request parameters>
    
    {
        "Period": 1,
        "AutoVoucher": false,
        "DBInstanceIdSet": [
            "postgres-xxxxxxxx"
        ]
    }
    

    Output Example

    {
        "Response": {
            "RequestId": "ad1ca88b-5cc8-4c4c-ab10-a882123f8daa"
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    AuthFailure CAM signature/authentication error.
    FailedOperation.CamAuthFailed CAM authentication failed.
    FailedOperation.CamCheckResourceError Failed to get permissions. Please try again later. If the problem persists, please contact customer service.
    FailedOperation.CamCheckResourceFailed Failed to check resource permissions through CAM.
    FailedOperation.CamSigAndAuthError Authentication failed. Please try again later. If the problem persists, please contact customer service.
    FailedOperation.DatabaseAccessError Failed to access database management service. Please try again later. If the problem persists, please contact customer service.
    FailedOperation.FailedOperationError Operation failed. Please try again later.
    FailedOperation.FlowCreateError Failed to create a task. Please try again later. If the problem persists, please contact customer service.
    FailedOperation.InvalidTradeOperate Billing error. Corresponding purchase/renewal/configuration change operations are not allowed for the current instance.
    FailedOperation.QueryTradeStatusError Failed to query the order status.
    FailedOperation.TradeAccessError Failed to access the billing platform. Please try again later. If the problem persists, please contact customer service.
    FailedOperation.TradeCreateError Failed to request the billing platform to create an order.
    FailedOperation.TradePayOrdersError Failed to request to pay for the order.
    FailedOperation.TradeQueryOrderError Failed to query order information. Please try again later. If the problem persists, please contact customer service.
    FailedOperation.TradeQueryPriceError Failed to query pricing information. Please try again later. If the problem persists, please contact customer service.
    InternalError.InternalHttpServerError An exception occurred while executing the request.
    InvalidInstanceStatus Incorrect instance status.
    InvalidParameter Parameter error.
    InvalidParameter.ParameterCheckError Failed to check the parameter.
    InvalidParameter.TradeAccessDeniedError Incorrect PID
    InvalidParameterValue.InvalidParameterValueError Incorrect parameter value
    InvalidParameterValue.ParameterCharacterLimitError The parameter is invalid. Please modify it and try again.
    InvalidParameterValue.ParameterLengthLimitError The length of parameter exceeds the limit.
    InvalidParameterValue.StructParseFailed An error occurred while parsing parameters.
    LimitExceeded Quota limit exceeded.
    LimitOperation Operations are not allowed on the instance.
    MissingParameter Missing parameters.
    OperationDenied.CamDeniedError This operation cannot be performed.
    OperationDenied.InstanceAccessDeniedError You do not have the permission to operate this resource.
    OperationDenied.InstanceStatusDeniedError This operation cannot be performed on an instance in this status.
    OperationDenied.InstanceStatusLimitError This operation cannot be performed on an instance in this status.
    OperationDenied.InstanceStatusLimitOpError This operation cannot be performed on an instance in this status.
    OperationDenied.InsufficientBalanceError Insufficient account balance.
    OperationDenied.TradePermissionError No payment permission. activation failed.
    OperationDenied.UserNotAuthenticatedError You need to verify your identity to make a purchase.
    ResourceNotFound.InstanceNotFoundError The instance does not exist.
    UnknownParameter Unknown parameter error.

    Ajuda e Suporte

    Esta página foi útil?

    comentários