Optional
options: IRequestOptionsOptional
apiVersion: stringOptional
apiVersion: stringDelete the billing info for an organization.
Delete the meter usage history from Primary SU for an organization.
Get all billable committers details, including those not matched with a VSID.
Optional
billingDate: DateThe date to query, or if not provided, today
Get the billing info for an organization.
Organization ID to get billing info for.
Estimate the committers that would be added to the customer's usage if Advanced Security was enabled for this organization.
Estimate the number of committers that would be added to the customer's usage if Advanced Security was enabled for this project.
Project ID or project name
Estimate the committers that would be added to the customer's usage if Advanced Security was enabled for this repository.
Project ID or project name
The name or ID of the repository
Get commiters used when calculating billing information.
Optional
billingDate: DateThe date to query, or if not provided, today
Get the current status of Advanced Security for the organization
Optional
includeAllProperties: booleanWhen true, also determine if pushes are blocked if they contain secrets
Get the current status of Advanced Security for a project
Project ID or project name
Optional
includeAllProperties: booleanWhen true, also determine if pushes are blocked if they contain secrets
Determine if Advanced Security is enabled for a repository
Project ID or project name
The name or ID of the repository
Optional
includeAllProperties: booleanWhen true, will also determine if pushes are blocked when secrets are detected
Save the billing info for an organization.
Update the status of Advanced Security for the organization
The new status
Update the status of Advanced Security for the project
The new status
Project ID or project name
Update the enablement of Advanced Security for a repository
new status
Project ID or project name
Name or ID of the repository
During multi-org billing computation in primary scale unit(EUS21), this API is used to create billing snapshot for a specific org. Primary scale unit will call this API for each org in different scsle units to create billing snapshot. Data will be stored in the org specific partition DB -> billing snapshot table. This is needed as customers will fetch billing data from their org specific partition DB.