MENU
      使用量制限変更

        使用量制限変更


        記事の要約

        以下の項目に対して、Domainに使用量制限を設定できます。

      • document_upload : アップロードDocumentサイズ / uploaded documnet byte
      • reindex : 再インデックス(セクション、インデックスを追加する時に発生)Documentサイズ / reindexed document byte
      • autocomplete_reindex : 自動完成が適用されたDocumentの数 / reindexed document count for autocomplete
      • search_response : Search Queryネットワーク使用量/ response size of searching, unit is byte
      • PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/quota/{type}
        HTTP

        リクエスト

        リクエストパラメータ

        パラメータ名必須タイプ制約事項説明
        nameYesstring作成されているDomain名
        typeYesstring使用量を制限する項目search_response, document_upload, reindex, autocomplete_reindex

        リクエストボディ

        パラメータ名必須タイプ制約事項説明
        intervalYesstring1Month, 1Day使用量初期化周期
      • 1Month(reset: 毎月1日, 0:00:00)
      • 1Day(reset: 00:00)
      • quotaYesnumber0に設定する場合、使用量制限が解除されます。制限使用量

        レスポンス

        レスポンスStatus

        HTTP StatusDesc
        200OK(設定完了)
        400Bad Request
        401Unauthorized
        403Forbidden
        404Not Found
        500Internal Server Error

        例示

        リクエスト例示

        PUT /CloudSearch/beta/v1/domain/my_service/quota/search_response HTTP/1.1
        Host: cloudsearch.apigw.ntruss.com
        accept:application/json
        x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
        x-ncp-apigw-signature-v2: +Ln++MqcKHckKli2y/bB76xLUu8qR9rLvo6j2yIYuYg=
        x-ncp-apigw-timestamp: 1551453306138
        
        {
          "interval": "1Month",
          "quota": 10000000000
        }
        HTTP

        レスポンス例示

        {"result":"ok"}
        JSON

        この記事は役に立ちましたか?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.