Skip to content

Commit e99a780

Browse files
authored
Merge pull request #41107 from github/repo-sync
Repo sync
2 parents 8fa827d + e7f3c61 commit e99a780

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+472
-170
lines changed
70.8 KB
Loading
540 KB
Loading
-105 KB
Binary file not shown.

content/billing/concepts/cost-centers.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ contentType: concepts
1212
product: '{% data variables.product.prodname_ghe_cloud %}'
1313
---
1414

15-
You can create cost centers to attribute usage and spending to business units, improving accountability, forecasting, and cost allocation.
15+
Cost centers allow you to attribute usage and spending to business units, improving accountability, forecasting, and cost allocation. You can also apply one or more budgets to them to control costs.
1616

17-
If your account is billed through Azure, you can add an Azure subscription to a cost center to bill usage to a different Azure subscription than the enterprise default.
17+
## Cost center creation
18+
19+
* **Enterprise owners and billing managers** can create and edit cost centers for **any resource**.
20+
* **Organization owners** can create and edit cost centers that contain **resources in their organization**.
21+
22+
When you create a cost center, you define which resources it contains from users, repositories, and organizations. If your account is billed through Azure, you can also add an Azure subscription to bill usage to a different Azure subscription than the enterprise default.
1823

1924
To get started with cost centers, see [AUTOTITLE](/billing/tutorials/use-cost-centers).
2025

content/billing/reference/cost-center-allocation.md

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,39 @@ This article contains reference information for how spending is assigned to cost
2424
| ------- | ----------------------------------------------------- |
2525
| {% data variables.product.prodname_actions %} | The repository or organization where the workflow runs. |
2626
| {% data variables.product.prodname_github_codespaces %} | The repository or organization where the codespace is created. |
27-
| {% data variables.product.prodname_copilot %} | The user who receives the license (priority), or the organization that is billed for the {% data variables.product.prodname_copilot_short %} license. |
28-
| Git Large File Storage | The repository or organization where Git LFS is used. |
29-
| {% data variables.product.prodname_GH_cs_and_sp %} | The user who receives the license. |
27+
| {% data variables.product.prodname_copilot %} license | The user who receives the license (priority), or the organization that is billed for the {% data variables.product.prodname_copilot_short %} license. |
3028
| {% data variables.product.prodname_enterprise %} | The user who receives the license (priority), or the organization that is billed for the license. |
29+
| Git Large File Storage | The repository or organization where Git LFS is used. |
3130
| {% data variables.product.prodname_registry %} | The repository or organization that owns the package. |
31+
| {% data variables.product.prodname_prus_caps %} | The user who triggered the use of the {% data variables.product.prodname_pru %} (priority), or the organization they belong to. |
32+
| {% data variables.product.prodname_GH_cs_and_sp %} | A user who uses a license. |
3233

3334
## Details for license-based products
3435

35-
To ensure your cost centers reflect spending as intended, it's important to understand how spending is allocated to cost centers for license-based products like {% data variables.product.prodname_copilot %}, and how changes are reflected in your bill.
36+
To ensure your cost centers reflect spending as intended, it's important to understand how the cost of licenses is allocated to cost centers, and how changes are reflected in your bill.
3637

37-
### {% data variables.product.prodname_copilot %}
38+
### {% data variables.product.prodname_GH_cs_and_sp %}
3839

39-
* If a user belongs to a cost center, all usage associated with the user is charged to the cost center.
40-
* If a user does not belong to any cost center but the organization that is billed for the {% data variables.product.prodname_copilot_short %} license does, all usage associated with the user is charged to that cost center.
41-
* If the user receives access to {% data variables.product.prodname_copilot_short %} through **multiple organizations**, only one of the organizations is billed, and any cost center containing that organization is charged accordingly. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-the-copilot-subscription-for-your-enterprise/about-billing-for-github-copilot-in-your-enterprise#about-seat-assignment-for-copilot-in-your-enterprise).
40+
| User associated with a cost center | License usage charged |
41+
|--|--|
42+
| Direct assignment | To the cost center the user is assigned to |
43+
| By organization membership only | To the enterprise |
4244

43-
### {% data variables.product.prodname_GH_cs_and_sp %}
45+
### {% data variables.product.prodname_enterprise %} and {% data variables.product.prodname_copilot %}
4446

45-
* If a user belongs to a cost center, licenses consumed by the user are charged to the cost center.
46-
* If a user does not belong to any cost center, licenses consumed by the user are charged to the enterprise.
47+
Cost center allocation is slightly different for {% data variables.product.prodname_enterprise %} licenses and {% data variables.product.prodname_copilot %} licenses and usage.
4748

48-
### {% data variables.product.prodname_enterprise %}
49+
| User associated with a cost center | {% data variables.product.prodname_copilot_short %} license granted | License and product costs charged |
50+
|--|--|--|
51+
| Direct assignment | By any organization | To the cost center the user is assigned to |
52+
| By organization membership only | By an organization assigned to a cost center | To the **cost center** the organization belongs to. If the organization does not belong to a cost center, to the **enterprise** |
4953

50-
* If a user belongs to a cost center, the license consumed by the user is charged to the cost center.
51-
* If a user does not belong to any cost center, the license consumed by the user is charged to the enterprise.
54+
Users who belong to multiple organizations in an enterprise or who receive a {% data variables.product.prodname_copilot_short %} license from multiple organizations:
55+
56+
* **{% data variables.product.prodname_enterprise %}** license usage is allocated to the oldest organization and charges are allocated to the cost center containing that organization.
57+
* **{% data variables.product.prodname_copilot_short %}** license and product usage is allocated to one of the organizations and charges are allocated to the cost center containing that organization.
58+
59+
See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-the-copilot-subscription-for-your-enterprise/about-billing-for-github-copilot-in-your-enterprise#about-seat-assignment-for-copilot-in-your-enterprise).
5260

5361
## Understanding cost center usage and attribution
5462

@@ -86,6 +94,8 @@ The following example illustrates how usage is assigned to cost centers for lice
8694

8795
### The users
8896

97+
![Diagram illustrating the description of four users and their organization membership.](/assets/images/help/billing/cost-center-example-1.png)
98+
8999
There are four users, each a member of one or more organizations in the enterprise.
90100

91101
| User | Organization membership |
@@ -114,12 +124,14 @@ There are two cost centers in the enterprise, each with different users or organ
114124

115125
The following table illustrates how spending for each user is allocated to a cost center based on their membership of an organization or cost center. Any usage not assigned to a cost center is categorized as "Enterprise Only" spending.
116126

127+
![Diagram illustrating the assignment of users and organizations to cost centers, with the allocation of costs for the four users.](/assets/images/help/billing/cost-center-example-2.png)
128+
117129
{% rowheaders %}
118130

119131
| | Copilot charges | GHSP charges | GHE charges | Explanation |
120132
| ----------- | --------------- | ------------ | ----------- | ----------- |
121133
| Cost Center A | `user-1`, `user-3` | `user-1`, `user-3` | `user-1`, `user-3` | These users are assigned directly to the cost center. |
122-
| Cost Center B | `user-2`, `user-4` | {% octicon "dash" aria-label="Not applicable" %} | {% octicon "dash" aria-label="Not applicable" %} | These users aren't directly assigned to a cost center, so Copilot charges are assigned based on organization membership, whereas GHSP and GHE default to enterprise spending. |
123-
| Enterprise Only (default) | {% octicon "dash" aria-label="Not applicable" %} | `user-2`, `user-4` | `user-2`, `user-4` | These users aren't directly assigned to a cost center, so GHSP and GHE default to enterprise spending. |
134+
| Cost Center B | `user-2`, `user-4` | {% octicon "dash" aria-label="Not applicable" %} | `user-2`, `user-4` | These users aren't directly assigned to a cost center, so Copilot and GHE charges are assigned based on organization membership, whereas GHSP defaults to enterprise spending. |
135+
| Enterprise Only (default) | {% octicon "dash" aria-label="Not applicable" %} | `user-2`, `user-4` | {% octicon "dash" aria-label="Not applicable" %} | These users aren't directly assigned to a cost center, so GHSP defaults to enterprise spending. |
124136

125137
{% endrowheaders %}

content/billing/reference/index.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@ title: Reference for billing
33
shortTitle: Reference
44
intro: Find information to support your use of billing.
55
versions:
6-
fpt: "*"
7-
ghec: "*"
8-
ghes: "*"
6+
fpt: '*'
7+
ghec: '*'
8+
ghes: '*'
99
topics:
1010
- Billing
1111
children:
12-
- /product-usage-included
1312
- /actions-runner-pricing
14-
- /billing-reports
15-
- /supported-payment-methods
1613
- /azure-billing
1714
- /azure-subscription
15+
- /billing-reports
1816
- /billing-roles
1917
- /cost-center-allocation
20-
- /roles-for-visual-studio
21-
- /github-license-users
22-
- /license-reports
2318
- /costs-for-github-models
2419
- /enterprise-license-troubleshooting
20+
- /github-license-users
21+
- /license-reports
22+
- /product-and-sku-names
23+
- /product-usage-included
24+
- /roles-for-visual-studio
25+
- /supported-payment-methods
2526
contentType: reference
2627
---
28+
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
title: GitHub Product and SKU names
3+
shortTitle: Product and SKU names
4+
intro: Learn about the product and SKU identifiers used in the billing platform and REST API.
5+
versions:
6+
fpt: '*'
7+
ghec: '*'
8+
topics:
9+
- Billing
10+
- Enterprise
11+
contentType: reference
12+
---
13+
14+
When working with billing through the REST API to create budgets or query usage, you'll need to use specific product and SKU identifiers. This reference provides the valid values for these identifiers.
15+
16+
## Product-level identifiers
17+
18+
For **ProductPricing** budgets or to query usage by product, use one of the following values:
19+
20+
* `actions` - {% data variables.product.prodname_actions %}
21+
* `packages` - {% data variables.product.prodname_registry %}
22+
* `codespaces` - {% data variables.product.prodname_github_codespaces %}
23+
* `copilot` - {% data variables.product.prodname_copilot %}
24+
* `ghas` - {% data variables.product.prodname_GH_advanced_security %}
25+
* `ghec` - {% data variables.product.prodname_ghe_cloud %}
26+
27+
## SKU-level identifiers
28+
29+
For **SkuPricing** budgets or to query usage by SKU, use one of the following values:
30+
31+
### {% data variables.product.prodname_actions %} SKUs
32+
33+
<!-- markdownlint-disable GHD046 -->
34+
35+
* `actions_beta_classroom_repository` - Actions beta classroom repository
36+
* `actions_beta_custom_runner_azure` - Actions beta custom runner (Azure)
37+
* `actions_beta_macos_xl_runner` - Actions beta macOS XL runner
38+
* `actions_beta_public_repository` - Actions beta public repository
39+
* `actions_beta_self_hosted_runner` - Actions beta self-hosted runner <!-- markdownlint-enable GHD046 -->
40+
* `actions_cache_storage` - Actions cache storage
41+
* `actions_custom_image_storage` - Actions custom image storage
42+
* `actions_linux` - Actions Linux runners
43+
* `actions_linux_16_core_perf` - Actions Linux 16-core performance
44+
* `actions_linux_20_core_mem` - Actions Linux 20-core memory
45+
* `actions_linux_2_core_advanced` - Actions Linux 2-core advanced
46+
* `actions_linux_2_core_arm` - Actions Linux 2-core ARM
47+
* `actions_linux_32_core` - Actions Linux 32-core
48+
* `actions_linux_32_core_arm` - Actions Linux 32-core ARM
49+
* `actions_linux_32_core_stor` - Actions Linux 32-core storage
50+
* `actions_linux_4_core` - Actions Linux 4-core
51+
* `actions_linux_4_core_advanced` - Actions Linux 4-core advanced
52+
* `actions_linux_4_core_gpu` - Actions Linux 4-core GPU
53+
* `actions_linux_64_core` - Actions Linux 64-core
54+
* `actions_linux_64_core_arm` - Actions Linux 64-core ARM
55+
* `actions_linux_8_core` - Actions Linux 8-core
56+
* `actions_linux_8_core_arm` - Actions Linux 8-core ARM
57+
* `actions_linux_8_core_stor` - Actions Linux 8-core storage
58+
* `actions_linux_96_core` - Actions Linux 96-core
59+
* `actions_linux_a100_24_core_gpu` - Actions Linux A100 24-core GPU
60+
* `actions_linux_a10_36_core_gpu` - Actions Linux A10 36-core GPU
61+
* `actions_linux_arm` - Actions Linux ARM
62+
* `actions_linux_slim` - Actions Linux slim
63+
* `actions_macos` - Actions macOS runners
64+
* `actions_macos_12_core` - Actions macOS 12-core
65+
* `actions_macos_8_core` - Actions macOS 8-core
66+
* `actions_macos_l` - Actions macOS large
67+
* `actions_macos_xl` - Actions macOS XL
68+
* `actions_self_hosted_linux` - Actions self-hosted Linux
69+
* `actions_self_hosted_macos` - Actions self-hosted macOS
70+
* `actions_self_hosted_unknown` - Actions self-hosted unknown
71+
* `actions_self_hosted_windows` - Actions self-hosted Windows
72+
* `actions_storage` - Actions storage
73+
* `actions_unknown` - Actions unknown
74+
* `actions_windows` - Actions Windows runners
75+
* `actions_windows_16_core` - Actions Windows 16-core
76+
* `actions_windows_176_core_perf` - Actions Windows 176-core performance
77+
* `actions_windows_2_core` - Actions Windows 2-core
78+
* `actions_windows_2_core_advanced` - Actions Windows 2-core advanced
79+
* `actions_windows_2_core_arm` - Actions Windows 2-core ARM
80+
* `actions_windows_32_core` - Actions Windows 32-core
81+
* `actions_windows_32_core_arm` - Actions Windows 32-core ARM
82+
* `actions_windows_32_core_stor` - Actions Windows 32-core storage
83+
* `actions_windows_4_core` - Actions Windows 4-core
84+
* `actions_windows_4_core_gpu` - Actions Windows 4-core GPU
85+
* `actions_windows_64_core` - Actions Windows 64-core
86+
* `actions_windows_64_core_arm` - Actions Windows 64-core ARM
87+
* `actions_windows_8_core` - Actions Windows 8-core
88+
* `actions_windows_8_core_arm` - Actions Windows 8-core ARM
89+
* `actions_windows_8_core_mem` - Actions Windows 8-core memory
90+
* `actions_windows_8_core_stor` - Actions Windows 8-core storage
91+
* `actions_windows_a100_24_core_gpu` - Actions Windows A100 24-core GPU
92+
* `actions_windows_a10_36_core_gpu` - Actions Windows A10 36-core GPU
93+
* `actions_windows_arm` - Actions Windows ARM
94+
95+
### {% data variables.product.prodname_github_codespaces %} SKUs
96+
97+
* `codespaces_compute_d16` - Codespaces compute (16-core)
98+
* `codespaces_compute_d2` - Codespaces compute (2-core)
99+
* `codespaces_compute_d32` - Codespaces compute (32-core)
100+
* `codespaces_compute_d4` - Codespaces compute (4-core)
101+
* `codespaces_compute_d8` - Codespaces compute (8-core)
102+
* `codespaces_prebuild_storage` - Codespaces prebuild storage
103+
* `codespaces_storage` - Codespaces storage
104+
105+
### {% data variables.product.prodname_copilot %} SKUs
106+
107+
* `copilot_agent_premium_request` - Copilot agent premium request
108+
* `copilot_enterprise` - Copilot Enterprise
109+
* `copilot_for_business` - Copilot for Business
110+
* `copilot_premium_request` - Copilot premium request
111+
* `copilot_standalone` - Copilot standalone
112+
113+
### {% data variables.product.prodname_GH_advanced_security %} SKUs
114+
115+
* `ghas_code_security_licenses` - GHAS code security licenses
116+
* `ghas_licenses` - GHAS licenses
117+
* `ghas_secret_protection_licenses` - GHAS secret protection licenses
118+
119+
### Other SKUs
120+
121+
* `ghec_licenses` - {% data variables.product.prodname_ghe_cloud %} licenses
122+
* `git_lfs_bandwidth` - Git LFS bandwidth
123+
* `git_lfs_storage` - Git LFS storage
124+
* `models_inference` - Models inference
125+
* `packages_bandwidth` - Packages bandwidth
126+
* `packages_storage` - Packages storage
127+
* `spark_premium_request` - Spark premium request
128+
129+
> [!NOTE]
130+
> The exact SKUs available may vary depending on your enterprise or organization configuration and the features enabled. If you receive a `404` error when creating a budget through the REST API, look at the error response to see the current list of valid SKUs for your account.

data/reusables/actions/actions-spending-limit-detailed.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

data/reusables/advanced-security/starter-workflows-beta.md

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
To allocate metered spending to a cost center, you add repositories, organizations, or users to the cost center.
22

3-
* For **metered** products like {% data variables.product.prodname_actions %}, cost centers are charged based on the **repositories or organizations** in the cost center, as this is where the usage takes place.
4-
* For **metered license-based** products like {% data variables.product.prodname_copilot %}, cost centers are charged based on the **users** in the cost center.
3+
* For **usage-based** products, like {% data variables.product.prodname_actions %}, cost centers are charged based on the **repositories or organizations** in the cost center, as this is where the usage takes place.
4+
* For **license-based** products, like {% data variables.product.prodname_copilot %}, cost centers are charged based on the **users** in the cost center.
5+
* For products billed by **{% data variables.product.prodname_pru %}** usage, like {% data variables.copilot.copilot_coding_agent %}, cost centers are also charged based on the **users** in the cost center.
56

67
Cost centers only apply to metered usage, and do not work with volume or subscription billing.

0 commit comments

Comments
 (0)