-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding 2024-11-01-preview API version
Revert .npmrc Running prettier revert .npmrc
- Loading branch information
1 parent
e7b8bf6
commit b1b07cc
Showing
36 changed files
with
2,690 additions
and
270 deletions.
There are no files selected for viewing
1,619 changes: 1,399 additions & 220 deletions
1,619
...esource-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/billingbenefits.json
Large diffs are not rendered by default.
Oops, something went wrong.
78 changes: 78 additions & 0 deletions
78
...icrosoft.BillingBenefits/preview/2024-11-01-preview/examples/ApplicableDiscountsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"parameters": { | ||
"scope": "providers/Microsoft.Billing/billingAccounts/{acctId}", | ||
"api-version": "2024-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/providers/Microsoft.BillingBenefits/applicableDiscounts/13810867107109237", | ||
"name": "13810867107109237", | ||
"type": "Microsoft.BillingBenefits/applicableDiscounts", | ||
"properties": { | ||
"benefitResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Primary", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Active", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"appliedScopeType": "BillingAccount", | ||
"discountTypeProperties": { | ||
"discountType": "Sku", | ||
"applyDiscountOn": "Purchase", | ||
"productFamilyName": "Azure", | ||
"productId": "DZH318Z0BQ35", | ||
"skuId": "0001", | ||
"discountPercentage": 14, | ||
"conditions": [ | ||
{ | ||
"type": "equalAny", | ||
"conditionName": "Cloud", | ||
"value": [ | ||
"US-Sec" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
}, | ||
{ | ||
"id": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/providers/Microsoft.BillingBenefits/applicableDiscounts/63810867107109237", | ||
"name": "63810867107109237", | ||
"type": "Microsoft.BillingBenefits/applicableDiscounts", | ||
"properties": { | ||
"benefitResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Affiliate", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount", | ||
"systemId": "63810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Active", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31" | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/DiscountCancel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "30000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"discountName": "testdiscount" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"name": "testprimarydiscount", | ||
"type": "Microsoft.BillingBenefits/discounts", | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Primary", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Canceled", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000", | ||
"appliedScopeType": "account", | ||
"discountTypeProperties": { | ||
"discountType": "Sku", | ||
"applyDiscountOn": "Purchase", | ||
"productFamilyName": "Azure", | ||
"productId": "DZH318Z0BQ35", | ||
"skuId": "0001", | ||
"discountPercentage": 14, | ||
"conditions": [ | ||
{ | ||
"type": "equalAny", | ||
"conditionName": "Cloud", | ||
"value": [ | ||
"US-Sec" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"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", | ||
"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", | ||
"Retry-After": 5 | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...ce-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/DiscountGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "30000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"discountName": "testprimarydiscount", | ||
"api-version": "2024-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"name": "testprimarydiscount", | ||
"type": "Microsoft.BillingBenefits/discounts", | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Primary", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Active", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000", | ||
"appliedScopeType": "BillingAccount", | ||
"discountTypeProperties": { | ||
"discountType": "Sku", | ||
"applyDiscountOn": "Purchase", | ||
"productFamilyName": "Azure", | ||
"productId": "DZH318Z0BQ35", | ||
"skuId": "0001", | ||
"discountPercentage": 14, | ||
"conditions": [ | ||
{ | ||
"type": "equalAny", | ||
"conditionName": "Cloud", | ||
"value": [ | ||
"US-Sec" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...e-manager/Microsoft.BillingBenefits/preview/2024-11-01-preview/examples/DiscountList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "30000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"discountName": "testprimarydiscount", | ||
"api-version": "2024-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"name": "testprimarydiscount", | ||
"type": "Microsoft.BillingBenefits/discounts", | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Primary", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Active", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000", | ||
"appliedScopeType": "BillingAccount", | ||
"discountTypeProperties": { | ||
"discountType": "Sku", | ||
"applyDiscountOn": "Purchase", | ||
"productFamilyName": "Azure", | ||
"productId": "DZH318Z0BQ35", | ||
"skuId": "0001", | ||
"discountPercentage": 14, | ||
"conditions": [ | ||
{ | ||
"type": "equalAny", | ||
"conditionName": "Cloud", | ||
"value": [ | ||
"US-Sec" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"name": "testprimarydiscount", | ||
"type": "Microsoft.BillingBenefits/discounts", | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Affiliate", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Active", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000" | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...crosoft.BillingBenefits/preview/2024-11-01-preview/examples/DiscountsCreateAffiliate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "30000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"discountName": "testaffiliatediscount", | ||
"api-version": "2024-11-01-preview", | ||
"body": { | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Affiliate", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"systemId": "13810867107109237" | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"name": "testprimarydiscount", | ||
"type": "Microsoft.BillingBenefits/discounts", | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Affiliate", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Pending", | ||
"status": "Pending", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000" | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testprimarydiscount", | ||
"name": "testprimarydiscount", | ||
"type": "Microsoft.BillingBenefits/discounts", | ||
"properties": { | ||
"displayName": "Virtual Machines D Series", | ||
"entityType": "Affiliate", | ||
"productCode": "0001d726-0000-0160-330f-a0b98cdbbdc4", | ||
"startAt": "2023-07-01T00:00:00Z", | ||
"endAt": "2024-07-01T23:59:59Z", | ||
"primaryResourceId": "/subscriptions/30000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.BillingBenefits/discounts/testaffiliatediscount", | ||
"systemId": "13810867107109237", | ||
"provisioningState": "Succeeded", | ||
"status": "Active", | ||
"billingProfileResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/billingProfiles/KPSV-DWNE-BG7-TGB", | ||
"billingAccountResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31", | ||
"customerResourceId": "/providers/Microsoft.Billing/billingAccounts/20000000-1000-0000-0000-000000000000:20000000-0000-3000-0000-000000000000_2019-05-31/customers/40000000-0000-0000-0000-000000000000" | ||
}, | ||
"location": "global", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.