diff --git a/api/iam/v1alpha1/iam_sdk.go b/api/iam/v1alpha1/iam_sdk.go index e31307ac8..f46c8ad56 100644 --- a/api/iam/v1alpha1/iam_sdk.go +++ b/api/iam/v1alpha1/iam_sdk.go @@ -1667,6 +1667,9 @@ type ListQuotaRequest struct { // OrganizationID: filter by Organization ID. OrganizationID string `json:"-"` + + // QuotumNames: list of quotum names to filter from. + QuotumNames []string `json:"-"` } // ListQuotaResponse: list quota response. @@ -3047,6 +3050,7 @@ func (s *API) ListQuota(req *ListQuotaRequest, opts ...scw.RequestOption) (*List parameter.AddToQuery(query, "page_size", req.PageSize) parameter.AddToQuery(query, "page", req.Page) parameter.AddToQuery(query, "organization_id", req.OrganizationID) + parameter.AddToQuery(query, "quotum_names", req.QuotumNames) scwReq := &scw.ScalewayRequest{ Method: "GET",