Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
784ba2a
forecast external scope
taleib May 5, 2019
a415de8
endfile newline
taleib May 6, 2019
6ca4723
new line
taleib May 6, 2019
e3b5080
fix
taleib May 6, 2019
7e03363
Update costmanagement.json
taleib May 6, 2019
3304634
using the externalBillingAccountName
taleib May 6, 2019
74fbc6f
Merge branch 'dev-cost-management-Microsoft.CostManagement-2019-03-01…
taleib May 6, 2019
748a05f
d
taleib May 6, 2019
aafeba5
changed response id
taleib May 6, 2019
1cc0852
fixed response
taleib May 6, 2019
1f6442d
json formatting
taleib May 6, 2019
3adf2c7
bad char
taleib May 6, 2019
ea65c8e
badc char
taleib May 6, 2019
581eaba
add 2019-03-preview to Go SDK
jhendrixMSFT May 7, 2019
06de9b9
updated readme file
taleib May 12, 2019
d386758
Adds suppression to readme
taleib May 12, 2019
91ce8df
Adds suppression to readme
taleib May 12, 2019
4f25c6a
Adds suppression to readme
taleib May 12, 2019
ec45194
Adds suppression to readme
taleib May 12, 2019
cdfc69f
readme
taleib May 12, 2019
35cc169
Merge branch 'dev-cost-management-Microsoft.CostManagement-2019-03-01…
taleib May 12, 2019
79c14d8
Adds suppression to readme
taleib May 12, 2019
e63f6bb
Merge branch 'dev-cost-management-Microsoft.CostManagement-2019-03-01…
taleib May 12, 2019
b49a3f2
Adds suppression to readme
taleib May 16, 2019
32ac46b
Adds suppression to readme
taleib May 16, 2019
a9127d8
Merge branch 'dev-cost-management-Microsoft.CostManagement-2019-03-01…
taleib May 16, 2019
7767e9a
Date time examples
taleib May 16, 2019
698b00a
no suppression
taleib May 16, 2019
31d65b7
showbacks changes
taleib May 16, 2019
5160ef2
revert showbacks changes
taleib May 16, 2019
f7ea289
Showback changes 19-5
taleib May 19, 2019
217d249
formatting
taleib May 19, 2019
a228e53
minor change
taleib May 19, 2019
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 @@ -1146,6 +1146,57 @@
}
}
},
"/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}/Forecast": {
"post": {
"tags": [
"Forecast"
],
"operationId": "Forecast_UsageByExternalBillingAccount",
"description": "Forecast the usage data for external billing account.",
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
},
"x-ms-examples": {
"ExternalBillingAccountForecast": {
"$ref": "./examples/ExternalBillingAccountForecast.json"
}
},
"parameters": [
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"$ref": "#/parameters/externalBillingAccountNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ReportConfigDefinition"
},
"description": "Parameters supplied to the CreateOrUpdate Report Config operation."
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/QueryResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/providers/Microsoft.CostManagement/cloudConnectors": {
"get": {
"tags": [
Expand Down Expand Up @@ -1775,7 +1826,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ShowbackRuleProperties"
"$ref": "#/definitions/ShowbackRule"
},
"description": "Showback rule to create or update."
}
Expand Down Expand Up @@ -2846,8 +2897,11 @@
}
},
"ShowbackRuleProperties": {
"required": [
"ruleType"
],
"description": "The properties of a showback rule.",
"discriminator": "RuleType",
"discriminator": "ruleType",
"properties": {
"description": {
"description": "Description of a showback rule.",
Expand Down Expand Up @@ -2894,32 +2948,69 @@
"format": "date-time",
"type": "string",
"readOnly": true
},
"ruleType": {
"type": "string",
"description": "The rule type of the showback rule solution.",
"enum": [
"CustomPrice",
"CostAllocation"
],
"x-ms-enum": {
"name": "RuleType",
"modelAsString": true
}
}
},
"allOf": [
{
"$ref": "#/definitions/ShowbackRulesKind"
}
},
"Scope": {
"type": "object",
"description": "The Scope model definition",
"properties": {
"id": {
"type": "string",
"description": "Scope id"
},
"name": {
"type": "string",
"description": "Scope name"
},
"type": {
"type": "string",
"description": "Scope type"
},
"childScope": {
"$ref": "#/definitions/Scope"
}
]
}
},
"CustomPrice": {
"x-ms-discriminator-value": "CustomPrice",
"Markup": {
"type": "object",
"description": "Represents Custom price showback rule model",
"description": "The Markup model definition",
"properties": {
"percentage": {
"type": "string"
}
}
},
"CustomPriceDetailsKind": {
"properties": {
"details": {
"x-ms-client-flatten": true,
"description": "The Custom price properties to validate.",
"$ref": "#/definitions/CustomPriceDetails"
}
},
"allOf": [
{
"$ref": "#/definitions/ShowbackRuleProperties"
}
],
"properties": {
"details": {
"$ref": "#/definitions/CustomPriceProperties"
}
}
"description": "Represents Custom price showback rule model",
"x-ms-discriminator-value": "CustomPrice"
},
"CustomPriceProperties": {
"type": "object",
"title": "Custom price showback rule properties",
"CustomPriceDetails": {
"description": "Represents Custom price showback rule model",
"properties": {
"pricesheet": {
"type": "string"
Expand Down Expand Up @@ -2950,122 +3041,39 @@
}
}
},
"CustomCharge": {
"x-ms-discriminator-value": "CustomCharge",
"type": "object",
"description": "Represents custom charge showback rule model",
"allOf": [
{
"$ref": "#/definitions/ShowbackRuleProperties"
}
],
"CostAllocationDetailsKind": {
"properties": {
"details": {
"$ref": "#/definitions/CustomChargeProperties"
}
}
},
"CustomChargeProperties": {
"type": "object",
"title": "Custom charge showback rule properties",
"properties": {
"recurring": {
"description": "Recurring of the charge.",
"type": "string",
"readOnly": true,
"enum": [
"true",
"false"
],
"x-ms-enum": {
"name": "CustomChargeRecurring",
"modelAsString": true
}
},
"chargeType": {
"type": "string"
},
"ChargeValue": {
"type": "string"
},
"EffectiveMonth": {
"format": "date-time",
"type": "string"
},
"EndMonth": {
"format": "date-time",
"type": "string"
"x-ms-client-flatten": true,
"description": "The CostAllocation properties to validate.",
"$ref": "#/definitions/CostAllocationDetails"
}
}
},
"CostAllocation": {
"x-ms-discriminator-value": "CostAllocation",
"type": "object",
"description": "Represents cost allocation showback rule model",
},
"allOf": [
{
"$ref": "#/definitions/ShowbackRuleProperties"
}
],
"properties": {
"details": {
"$ref": "#/definitions/CostAllocationProperties"
}
}
},
"CostAllocationProperties": {
"type": "object",
"title": "Cost allocation showback rule properties",
"properties": {}
"description": "Represents CostAllocation showback rule model",
"x-ms-discriminator-value": "CostAllocation"
},
"ShowbackRulesKind": {
"type": "object",
"description": "Describes Showback rule with rule type",
"CostAllocationDetails": {
"description": "Represents CostAllocation showback rule model",
"properties": {
"RuleType": {
"policy": {
"description": "Cost allocation policy.",
"type": "string",
"description": "The rule type of the showback rule solution",
"enum": [
"CustomPrice",
"CustomChange",
"CostAllocation"
"Proportional",
"Evenly",
"Fixed"
],
"x-ms-enum": {
"name": "ShowbackRulesKind",
"name": "CostAllocationPolicy",
"modelAsString": true
}
}
}
},
"Scope": {
"type": "object",
"description": "The Scope model definition",
"properties": {
"id": {
"type": "string",
"description": "Scope id"
},
"name": {
"type": "string",
"description": "Scope name"
},
"type": {
"type": "string",
"description": "Scope type"
},
"childScope": {
"$ref": "#/definitions/Scope"
}
}
},
"Markup": {
"type": "object",
"description": "The Markup model definition",
"properties": {
"percentage": {
"type": "string"
}
}
}
},
"parameters": {
Expand Down
Loading