Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 8 additions & 24 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220097,7 +220097,7 @@ paths:
/api/v2/usage/quotas/{quota_namespace}:
get:
description: |-
Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Lists usage quotas for the caller's organization in a quota namespace. You can optionally include descendant organizations in the same datacenter as the caller. Requires the `billing_edit` permission.
operationId: ListQuotas
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -220170,9 +220170,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: List usage quotas
tags:
- Usage Metering
Expand All @@ -220182,17 +220180,15 @@ paths:
limitParam: page[limit]
resultsPath: data
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
post:
description: |-
Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied scope, it is updated; otherwise, a new quota is created. Requires the `billing_edit` permission.
operationId: CreateQuotas
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -220280,25 +220276,21 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: Create or update usage quotas
tags:
- Usage Metering
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/usage/quotas/{quota_namespace}/{id}:
delete:
description: |-
Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Deletes a usage quota by its opaque identifier. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.
operationId: DeleteQuota
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -220336,24 +220328,20 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: Delete a usage quota
tags:
- Usage Metering
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
patch:
description: |-
Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `user_access_manage`, `billing_edit`, and `org_management` permissions.
Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.
operationId: UpdateQuota
parameters:
- description: The product-specific namespace whose usage quotas are being managed.
Expand Down Expand Up @@ -220429,18 +220417,14 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- user_access_manage
- billing_edit
- org_management
summary: Update a usage quota
tags:
- Usage Metering
"x-permission":
operator: AND
operator: OR
permissions:
- user_access_manage
- billing_edit
- org_management
x-unstable: |-
**Note**: This endpoint is in Preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ public CompletableFuture<UsageQuotasBulkResponse> createQuotasAsync(

/**
* Creates or updates one or more usage quotas by scope. If a quota already exists for a supplied
* scope, it is updated; otherwise, a new quota is created. Requires the <code>user_access_manage
* </code>, <code>billing_edit</code>, and <code>org_management</code> permissions.
* scope, it is updated; otherwise, a new quota is created. Requires the <code>billing_edit</code>
* permission.
*
* @param quotaNamespace The product-specific namespace whose usage quotas are being managed.
* (required)
Expand Down Expand Up @@ -366,8 +366,7 @@ public CompletableFuture<Void> deleteQuotaAsync(String quotaNamespace, String id
/**
* Deletes a usage quota by its opaque identifier. The quota must belong to the caller's
* organization or one of its descendants, and its opaque identifier must belong to the requested
* quota namespace. Requires the <code>user_access_manage</code>, <code>billing_edit</code>, and
* <code>org_management</code> permissions.
* quota namespace. Requires the <code>billing_edit</code> permission.
*
* @param quotaNamespace The product-specific namespace whose usage quotas are being managed.
* (required)
Expand Down Expand Up @@ -3791,8 +3790,7 @@ public PaginationIterable<UsageQuotaResponseData> listQuotasWithPagination(
/**
* Lists usage quotas for the caller's organization in a quota namespace. You can optionally
* include descendant organizations in the same datacenter as the caller. Requires the <code>
* user_access_manage</code>, <code>billing_edit</code>, and <code>org_management</code>
* permissions.
* billing_edit</code> permission.
*
* @param quotaNamespace The product-specific namespace whose usage quotas are being managed.
* (required)
Expand Down Expand Up @@ -3984,8 +3982,8 @@ public CompletableFuture<UsageQuotaResponse> updateQuotaAsync(
/**
* Updates the supplied fields on a usage quota and leaves omitted fields unchanged. The quota
* must belong to the caller's organization or one of its descendants, and its opaque identifier
* must belong to the requested quota namespace. Requires the <code>user_access_manage</code>,
* <code>billing_edit</code>, and <code>org_management</code> permissions.
* must belong to the requested quota namespace. Requires the <code>billing_edit</code>
* permission.
*
* @param quotaNamespace The product-specific namespace whose usage quotas are being managed.
* (required)
Expand Down
Loading