Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01 #13402

Merged
merged 5 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/events": {
"/{scope}/providers/Microsoft.Consumption/events": {
"get": {
"tags": [
"Events"
Expand All @@ -1609,15 +1609,12 @@
"x-ms-examples": {
"EventsListByBillingProfile": {
"$ref": "./examples/EventsListByBillingProfile.json"
},
"EventsList-Modern": {
"$ref": "./examples/EventsListByCustomer.json"
}
},
"parameters": [
{
"$ref": "#/parameters/billingAccountIdParameter"
},
{
"$ref": "#/parameters/billingProfileIdParameter"
},
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
},
Expand All @@ -1626,6 +1623,9 @@
},
{
"$ref": "#/parameters/endDateParameter"
},
{
"$ref": "#/parameters/scopeEventsParameter"
}
],
"responses": {
Expand All @@ -1647,7 +1647,7 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/lots": {
"/{scope}/providers/Microsoft.Consumption/lots": {
"get": {
"tags": [
"Lots"
Expand All @@ -1658,16 +1658,16 @@
"url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
},
"x-ms-examples": {
"EventsListByBillingProfile": {
"LotsListByBillingProfile": {
"$ref": "./examples/LotsListByBillingProfile.json"
},
"LotsList-Modern": {
"$ref": "./examples/LotsListByCustomer.json"
}
},
"parameters": [
{
"$ref": "#/parameters/billingAccountIdParameter"
},
{
"$ref": "#/parameters/billingProfileIdParameter"
"$ref": "#/parameters/scopeLotsParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
Expand All @@ -1692,7 +1692,7 @@
}
}
},
"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/credits/balanceSummary": {
"/{scope}/providers/Microsoft.Consumption/credits/balanceSummary": {
"get": {
"tags": [
"Credits"
Expand All @@ -1703,19 +1703,19 @@
"url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
},
"x-ms-examples": {
"CreditSummaryByBillingProfile": {
"CreditsBalanceSummaryByBillingProfile": {
"$ref": "./examples/CreditSummaryByBillingProfile.json"
},
"CreditsBalanceSummary-Modern": {
"$ref": "./examples/CreditSummaryByCustomer.json"
}
},
"parameters": [
{
"$ref": "#/parameters/billingAccountIdParameter"
},
"parameters": [
{
"$ref": "#/parameters/billingProfileIdParameter"
"$ref": "#/parameters/apiVersionParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
"$ref": "#/parameters/scopeCreditsParameter"
}
],
"responses": {
Expand Down Expand Up @@ -4796,6 +4796,16 @@
"EventProperties": {
"description": "The event properties.",
"properties": {
"creditCurrency": {
"description": "Credit Currency",
"type": "string",
"readOnly": true
},
"billingCurrency": {
"description": "Billing Currency.",
"type": "string",
"readOnly": true
},
"transactionDate": {
"description": "Transaction date.",
"type": "string",
Expand All @@ -4812,26 +4822,51 @@
"readOnly": true,
"$ref": "#/definitions/amount"
},
"newCreditInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"adjustments": {
"description": "Adjustments amount.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"adjustmentsInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"creditExpired": {
"description": "Credit expired.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"creditExpiredInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"charges": {
"description": "Charges amount.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"chargesInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"closedBalance": {
"description": "Closed balance.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"closedBalanceInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"eventType": {
"description": "The type of event.",
"type": "string",
Expand All @@ -4853,6 +4888,11 @@
"description": "Invoice number.",
"type": "string",
"readOnly": true
},
"reseller": {
"description": "Reseller details.",
"readOnly": true,
"$ref": "#/definitions/Reseller"
}
}
},
Expand Down Expand Up @@ -4893,16 +4933,36 @@
"LotProperties": {
"description": "The lot properties.",
"properties": {
"creditCurrency": {
"description": "Credit Currency",
"type": "string",
"readOnly": true
},
"billingCurrency": {
"description": "Billing Currency.",
"type": "string",
"readOnly": true
},
"originalAmount": {
"description": "Original amount.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"originalAmountInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"closedBalance": {
"description": "Closed balance.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"closedBalanceInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"source": {
"description": "Lot source.",
"type": "string",
Expand Down Expand Up @@ -4932,6 +4992,11 @@
"description": "PO number.",
"type": "string",
"readOnly": true
},
"reseller": {
"description": "Reseller details.",
"readOnly": true,
"$ref": "#/definitions/Reseller"
}
}
},
Expand All @@ -4955,26 +5020,41 @@
"description": "The properties of the credit summary.",
"type": "object",
"properties": {
"balanceSummary": {
"description": "Summary of balances associated with this credit summary.",
"readOnly": true,
"$ref": "#/definitions/CreditBalanceSummary"
},
"pendingCreditAdjustments": {
"description": "Pending credit adjustments.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"expiredCredit": {
"description": "Expired credit.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"pendingEligibleCharges": {
"description": "Pending eligible charges.",
"readOnly": true,
"$ref": "#/definitions/amount"
}
"creditCurrency": {
"description": "Credit Currency",
"type": "string",
"readOnly": true
},
"billingCurrency": {
"description": "Billing Currency.",
"type": "string",
"readOnly": true
},
"balanceSummary": {
"description": "Summary of balances associated with this credit summary.",
"readOnly": true,
"$ref": "#/definitions/CreditBalanceSummary"
},
"pendingCreditAdjustments": {
"description": "Pending credit adjustments.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"expiredCredit": {
"description": "Expired credit.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"pendingEligibleCharges": {
"description": "Pending eligible charges.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"reseller": {
"description": "Reseller details.",
"readOnly": true,
"$ref": "#/definitions/Reseller"
}
}
},
"CreditBalanceSummary": {
Expand All @@ -4989,6 +5069,16 @@
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/amount"
},
"estimatedBalanceInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
},
"currentBalanceInBillingCurrency": {
"description": "Current balance.",
"readOnly": true,
"$ref": "#/definitions/AmountWithExchangeRate"
}
}
},
Expand All @@ -5008,6 +5098,42 @@
}
}
},
"AmountWithExchangeRate": {
"description": "Reseller details",
"allOf": [
{
"$ref": "#/definitions/amount"
}
],
"properties": {
"exchangeRate": {
"description": "Exchange Rate.",
"type": "number",
"format": "decimal",
"readOnly": true
},
"exchangeRateMonth": {
"description": "Exchange rate month.",
"type": "number",
"readOnly": true
}
}
},
"Reseller": {
"description": "Reseller details",
"properties": {
"resellerId": {
"description": "Reseller id.",
"type": "string",
"readOnly": true
},
"resellerDescription": {
"description": "Reseller Description.",
"type": "string",
"readOnly": true
}
}
},
"Resource": {
"description": "The Resource model definition.",
"properties": {
Expand Down Expand Up @@ -5122,6 +5248,33 @@
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
"scopeCreditsParameter": {
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The scope associated with credits operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfile/{billingProfileId}' for Billing Profile scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
"scopeEventsParameter": {
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The scope associated with events operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfile/{billingProfileId}' for Billing Profile scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
"scopeLotsParameter": {
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The scope associated with Lots operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfile/{billingProfileId}' for Billing Profile scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
"scopeUsageDetailsParameter": {
"name": "scope",
"in": "path",
Expand Down
Loading