調用CLI命令獲取Project信息。
請求語法
aliyunlog log get_project --project_name=<value> [--access-id=<value>] [--access-key=<value>] [--sts-token=<value>] [--region-endpoint=<value>] [--client-name=<value>] [--jmes-filter=<value>] [--format-output=<value>] [--decode-output=<value>]
請求參數
示例
請求示例
使用默認賬號獲取一個名為project-a的Project信息。
aliyunlog log get_project --project_name="project-a"
返回示例
{ "createTime": "2024-06-18 13:20:22", "dataRedundancyType": "LRS", "description": "", "lastModifyTime": "2024-06-18 13:20:22", "location": "cn-chengdu", "owner": "************", "projectName": "project-a", "quota": { "ETL": 100, "alert": 100, "chart": 200, "config": 200, "dashboard": 100, "export": 100, "ingestion": 100, "logstore": 200, "machineGroup": 200, "readQpsPerMin": 600000, "report": 100, "savedsearch": 100, "scheduledSQL": 100, "shard": 400, "storeView": 10, "storeViewStore": 50, "writeQpsPerMin": 600000, "writeSizePerMin": 100000000000 }, "region": "cn-chengdu", "resourceGroupId": "rg-acfmykd63gtpfpa", "status": "Normal", "transferAcceleration": "Enabled" }
錯誤碼
如果返回報錯信息,請參見具體接口的錯誤碼處理。更多信息,請參見錯誤碼。
API參考
文檔內容是否對您有幫助?