cost 262 ms
已刪除/已創建資源的 Cloud Asset Organization 提要

[英]Cloud Asset Organization feed for deleted/created resource

我正在為已刪除/創建的資源創建資產提要。 下面的代碼和鏈接僅在創建資源時顯示表達式,但我只需要在刪除資源時使用另一個提要。 參考鏈接 - https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cl ...

谷歌雲資產 assets.list REST API 配額超出錯誤返回

[英]Google cloud asset assets.list REST API Quota exceeded error returned

我正在嘗試使用我的代碼中的雲資產庫存 assets.list REST API 請求,在達到最大配額后,我收到以下錯誤:“配額指標“ListAssets Requests”超出配額並限制“ListAssets Requests per minute”服務'cloudasset.googleapis. ...

GCP:使用 gcloud CLI 列出組織中所有組的成員,輸出到 BigQuery

[英]GCP: List members of all groups in an organization using gcloud CLI, output to BigQuery

我想使用 gcloud CLI 創建我們組織中 Google IAM 組中所有用戶的表,並輸出到 BQ 表。 我知道它涉及“gcloud 身份組成員資格列表”,但不清楚如何遍歷組並將輸出生成為 CSV。 我已經找到了一種遍歷項目並獲取每個項目的 iam 綁定的方法 - https://rajat ...

如何找到具有 COS 映像的 Compute Engine 實例數與具有非 COS 映像的實例數?

[英]How can I find the number of Compute Engine Instances with a COS image vs the number of instances with a non-COS image?

我能夠識別可用於我的 Compute Engine 實例的所有映像,並且可以識別單個實例的 sourceImage 但是我需要始終聲明一個區域,因此我正在努力弄清楚如何構建命令 gcloud 計算磁盤描述“實例名稱”--zone='zone' 能夠了解使用 Cos 鏡像的實例數量和使用非 ...

如何最好地使用雲功能處理來自谷歌長期運行操作的異步響應

[英]How best to handle async response from google long running operation with cloud functions

我正在使用 Google Cloud Functions (python) 通過在此處調用 exportAssets() 方法從 GCP 啟動資產清單導出。 該方法返回此處定義的操作 object,可用於輪詢操作,直到操作完成。 當然,因為這是一個雲 function 我被限制在 540 秒,所以不 ...

“錯誤:(gcloud.asset.export) 用戶沒有權限”僅在使用服務帳戶進行身份驗證時

[英]"ERROR: (gcloud.asset.export) User does not have permission" only when authenticated with a service account

我正在嘗試使用通過服務帳戶進行身份驗證的Google Cloud Asset Inventory和gcloud命令(版本 314.0.0)導出項目資產: # 1. authenticate with service account my-service-account@$PROJECT_ID.iam ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM