tencent cloud

Feedback

ModifyDBInstanceRenewFlag

Last updated: 2019-09-09 14:59:26

    1. API Description

    API domain name: sqlserver.tencentcloudapi.com.

    This API (ModifyDBInstanceRenewFlag) modifies the renewal flag for the specified instance.

    API request rate limit: 20 requests/sec.

    2. Input Parameters

    The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

    Parameter name Required Type Description
    Action Yes String Common parameter. The name of this API: ModifyDBInstanceRenewFlag
    Version Yes String Common parameter. The version of this API: 2018-03-28
    Region Yes String Common parameter. For more information, see the list of regions supported by the product.
    RenewFlags.N Yes Array of InstanceRenewInfo Instance renewal flag information

    3. Output Parameters

    Parameter name Type Description
    Count Integer Number of successfully modified items
    RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

    4. Samples

    Sample 1. Setting the Renewal Flag of an Instance

    Input Sample Code

    https://sqlserver.tencentcloudapi.com/?Action=ModifyDBInstanceRenewFlag
    &RenewFlags.0.InstanceId=mssql-j8kv137v
    &RenewFlags.0.RenewFlag=1
    &<Common request parameter>

    Output Sample Code

    {
      "Response": {
        "RequestId": "4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3",
        "Count": 1
      }
    }

    5. Developer Resources

    API Explorer

    This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.

    6. Error Codes

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

    Error Code Description
    InternalError.SystemError System error.
    InvalidParameter.InputIllegal Invalid input.
    InvalidParameter.ParamsAssertFailed Parameter assertion conversion error.
    ResourceNotFound.InstanceNotFound The instance does not exist.
    ResourceUnavailable.InstanceStatusInvalid Invalid instance status.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support