Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 3e74e85

Browse files
authored
Release BillingBenefits microsoft.billingbenefits preview/2024-11-01-preview (Azure#32829)
* Copy files from stable/2022-11-01 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2024-11-01-preview Updated the API version from stable/2022-11-01 to preview/2024-11-01-preview. * Added tag for 2024-11-01-preview in readme file * Adding 2024-11-01-preview API version Revert .npmrc Running prettier revert .npmrc Fixing tag defintion in readme revert spacing in readme.go.md fixing indentation error
1 parent b9300c9 commit 3e74e85

35 files changed

+5743
-24
lines changed

specification/billingbenefits/resource-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/billingbenefits.json

Lines changed: 3104 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"parameters": {
3+
"scope": "providers/Microsoft.Billing/billingAccounts/{acctId}",
4+
"api-version": "2024-11-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/providers/Microsoft.BillingBenefits/applicableDiscounts/13810867107109237",
12+
"name": "13810867107109237",
13+
"type": "Microsoft.BillingBenefits/applicableDiscounts",
14+
"properties": {
15+
"benefitResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
16+
"displayName": "Virtual Machines D Series",
17+
"entityType": "Primary",
18+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
19+
"startAt": "2023-07-01T00:00:00Z",
20+
"endAt": "2024-07-01T23:59:59Z",
21+
"systemId": "13810867107109237",
22+
"provisioningState": "Succeeded",
23+
"status": "Active",
24+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
25+
"appliedScopeType": "BillingAccount",
26+
"discountTypeProperties": {
27+
"discountType": "Sku",
28+
"applyDiscountOn": "Purchase",
29+
"productFamilyName": "Azure",
30+
"productId": "DZH318Z0BQ35",
31+
"skuId": "0001",
32+
"discountPercentage": 14,
33+
"conditions": [
34+
{
35+
"type": "equalAny",
36+
"conditionName": "Cloud",
37+
"value": [
38+
"US-Sec"
39+
]
40+
}
41+
]
42+
}
43+
},
44+
"location": "global",
45+
"tags": {
46+
"key1": "value1",
47+
"key2": "value2"
48+
}
49+
},
50+
{
51+
"id": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/providers/Microsoft.BillingBenefits/applicableDiscounts/63810867107109237",
52+
"name": "63810867107109237",
53+
"type": "Microsoft.BillingBenefits/applicableDiscounts",
54+
"properties": {
55+
"benefitResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
56+
"displayName": "Virtual Machines D Series",
57+
"entityType": "Affiliate",
58+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
59+
"startAt": "2023-07-01T00:00:00Z",
60+
"endAt": "2024-07-01T23:59:59Z",
61+
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount",
62+
"systemId": "63810867107109237",
63+
"provisioningState": "Succeeded",
64+
"status": "Active",
65+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
66+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31"
67+
},
68+
"location": "global",
69+
"tags": {
70+
"key1": "value1",
71+
"key2": "value2"
72+
}
73+
}
74+
]
75+
}
76+
}
77+
}
78+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "30000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "testrg",
5+
"discountName": "testdiscount"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
11+
"name": "testprimarydiscount",
12+
"type": "Microsoft.BillingBenefits/discounts",
13+
"properties": {
14+
"displayName": "Virtual Machines D Series",
15+
"entityType": "Primary",
16+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
17+
"startAt": "2023-07-01T00:00:00Z",
18+
"endAt": "2024-07-01T23:59:59Z",
19+
"systemId": "13810867107109237",
20+
"provisioningState": "Succeeded",
21+
"status": "Canceled",
22+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
23+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
24+
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000",
25+
"appliedScopeType": "account",
26+
"discountTypeProperties": {
27+
"discountType": "Sku",
28+
"applyDiscountOn": "Purchase",
29+
"productFamilyName": "Azure",
30+
"productId": "DZH318Z0BQ35",
31+
"skuId": "0001",
32+
"discountPercentage": 14,
33+
"conditions": [
34+
{
35+
"type": "equalAny",
36+
"conditionName": "Cloud",
37+
"value": [
38+
"US-Sec"
39+
]
40+
}
41+
]
42+
}
43+
},
44+
"location": "global",
45+
"tags": {
46+
"key1": "value1",
47+
"key2": "value2"
48+
}
49+
}
50+
},
51+
"202": {
52+
"headers": {
53+
"Location": "https://management.azure.com/subscriptions/30000000-0000-0000-0000-000000000000/Microsoft.BillingBenefits/operationStatuses/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2024-11-01-preview",
54+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/30000000-0000-0000-0000-000000000000/providers/Microsoft.BillingBenefits/operationStatuses/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2024-11-01-preview",
55+
"Retry-After": 5
56+
}
57+
}
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "30000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "testrg",
5+
"discountName": "testprimarydiscount",
6+
"api-version": "2024-11-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
12+
"name": "testprimarydiscount",
13+
"type": "Microsoft.BillingBenefits/discounts",
14+
"properties": {
15+
"displayName": "Virtual Machines D Series",
16+
"entityType": "Primary",
17+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
18+
"startAt": "2023-07-01T00:00:00Z",
19+
"endAt": "2024-07-01T23:59:59Z",
20+
"systemId": "13810867107109237",
21+
"provisioningState": "Succeeded",
22+
"status": "Active",
23+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
24+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
25+
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000",
26+
"appliedScopeType": "BillingAccount",
27+
"discountTypeProperties": {
28+
"discountType": "Sku",
29+
"applyDiscountOn": "Purchase",
30+
"productFamilyName": "Azure",
31+
"productId": "DZH318Z0BQ35",
32+
"skuId": "0001",
33+
"discountPercentage": 14,
34+
"conditions": [
35+
{
36+
"type": "equalAny",
37+
"conditionName": "Cloud",
38+
"value": [
39+
"US-Sec"
40+
]
41+
}
42+
]
43+
}
44+
},
45+
"location": "global",
46+
"tags": {
47+
"key1": "value1",
48+
"key2": "value2"
49+
}
50+
}
51+
}
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "30000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "testrg",
5+
"discountName": "testprimarydiscount",
6+
"api-version": "2024-11-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
14+
"name": "testprimarydiscount",
15+
"type": "Microsoft.BillingBenefits/discounts",
16+
"properties": {
17+
"displayName": "Virtual Machines D Series",
18+
"entityType": "Primary",
19+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
20+
"startAt": "2023-07-01T00:00:00Z",
21+
"endAt": "2024-07-01T23:59:59Z",
22+
"systemId": "13810867107109237",
23+
"provisioningState": "Succeeded",
24+
"status": "Active",
25+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
26+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
27+
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000",
28+
"appliedScopeType": "BillingAccount",
29+
"discountTypeProperties": {
30+
"discountType": "Sku",
31+
"applyDiscountOn": "Purchase",
32+
"productFamilyName": "Azure",
33+
"productId": "DZH318Z0BQ35",
34+
"skuId": "0001",
35+
"discountPercentage": 14,
36+
"conditions": [
37+
{
38+
"type": "equalAny",
39+
"conditionName": "Cloud",
40+
"value": [
41+
"US-Sec"
42+
]
43+
}
44+
]
45+
}
46+
},
47+
"location": "global",
48+
"tags": {
49+
"key1": "value1",
50+
"key2": "value2"
51+
}
52+
},
53+
{
54+
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
55+
"name": "testprimarydiscount",
56+
"type": "Microsoft.BillingBenefits/discounts",
57+
"properties": {
58+
"displayName": "Virtual Machines D Series",
59+
"entityType": "Affiliate",
60+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
61+
"startAt": "2023-07-01T00:00:00Z",
62+
"endAt": "2024-07-01T23:59:59Z",
63+
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount",
64+
"systemId": "13810867107109237",
65+
"provisioningState": "Succeeded",
66+
"status": "Active",
67+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
68+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
69+
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000"
70+
},
71+
"location": "global",
72+
"tags": {
73+
"key1": "value1",
74+
"key2": "value2"
75+
}
76+
}
77+
]
78+
}
79+
}
80+
}
81+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "30000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "testrg",
5+
"discountName": "testaffiliatediscount",
6+
"api-version": "2024-11-01-preview",
7+
"body": {
8+
"properties": {
9+
"displayName": "Virtual Machines D Series",
10+
"entityType": "Affiliate",
11+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
12+
"startAt": "2023-07-01T00:00:00Z",
13+
"systemId": "13810867107109237"
14+
},
15+
"location": "global",
16+
"tags": {
17+
"key1": "value1",
18+
"key2": "value2"
19+
}
20+
}
21+
},
22+
"responses": {
23+
"201": {
24+
"body": {
25+
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
26+
"name": "testprimarydiscount",
27+
"type": "Microsoft.BillingBenefits/discounts",
28+
"properties": {
29+
"displayName": "Virtual Machines D Series",
30+
"entityType": "Affiliate",
31+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
32+
"startAt": "2023-07-01T00:00:00Z",
33+
"endAt": "2024-07-01T23:59:59Z",
34+
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount",
35+
"systemId": "13810867107109237",
36+
"provisioningState": "Pending",
37+
"status": "Pending",
38+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
39+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
40+
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000"
41+
},
42+
"location": "global",
43+
"tags": {
44+
"key1": "value1",
45+
"key2": "value2"
46+
}
47+
}
48+
},
49+
"200": {
50+
"body": {
51+
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount",
52+
"name": "testprimarydiscount",
53+
"type": "Microsoft.BillingBenefits/discounts",
54+
"properties": {
55+
"displayName": "Virtual Machines D Series",
56+
"entityType": "Affiliate",
57+
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4",
58+
"startAt": "2023-07-01T00:00:00Z",
59+
"endAt": "2024-07-01T23:59:59Z",
60+
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount",
61+
"systemId": "13810867107109237",
62+
"provisioningState": "Succeeded",
63+
"status": "Active",
64+
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB",
65+
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31",
66+
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000"
67+
},
68+
"location": "global",
69+
"tags": {
70+
"key1": "value1",
71+
"key2": "value2"
72+
}
73+
}
74+
}
75+
}
76+
}

0 commit comments

Comments
 (0)