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

[AutoPR cost-management] [Hub Generated] Review request for Microsoft.CostManagement to add version stable/2019-11-01 #1631

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
602 changes: 602 additions & 0 deletions schemas/2018-05-31/Microsoft.CostManagement.json

Large diffs are not rendered by default.

742 changes: 742 additions & 0 deletions schemas/2018-08-01-preview/Microsoft.CostManagement.json

Large diffs are not rendered by default.

606 changes: 606 additions & 0 deletions schemas/2019-01-01/Microsoft.CostManagement.json

Large diffs are not rendered by default.

374 changes: 374 additions & 0 deletions schemas/2019-03-01-preview/Microsoft.CostManagement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,374 @@
{
"id": "https://schema.management.azure.com/schemas/2019-03-01-preview/Microsoft.CostManagement.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.CostManagement",
"description": "Microsoft CostManagement Resource Types",
"resourceDefinitions": {},
"managementGroup_resourceDefinitions": {
"externalSubscriptions": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2019-03-01-preview"
]
},
"name": {
"type": "string",
"description": "External Subscription Name. (eg 'aws-{UsageAccountId}')"
},
"type": {
"type": "string",
"enum": [
"Microsoft.CostManagement/externalSubscriptions"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "Microsoft.CostManagement/externalSubscriptions"
}
},
"tenant_resourceDefinitions": {
"cloudConnectors": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2019-03-01-preview"
]
},
"kind": {
"type": "string",
"description": "Connector kind (eg aws)"
},
"name": {
"type": "string",
"description": "Connector Name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ConnectorProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of a Connector"
},
"type": {
"type": "string",
"enum": [
"Microsoft.CostManagement/cloudConnectors"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.CostManagement/cloudConnectors"
}
},
"extension_resourceDefinitions": {
"showbackRules": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2019-03-01-preview"
]
},
"name": {
"type": "string",
"description": "Showback rule name"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ShowbackRuleProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of a showback rule."
},
"type": {
"type": "string",
"enum": [
"Microsoft.CostManagement/showbackRules"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.CostManagement/showbackRules"
}
},
"definitions": {
"ConnectorProperties": {
"type": "object",
"properties": {
"billingModel": {
"oneOf": [
{
"type": "string",
"enum": [
"trial",
"autoUpgrade",
"premium",
"expired"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Connector billing model."
},
"credentialsKey": {
"type": "string",
"description": "Credentials authentication key (eg AWS ARN)"
},
"credentialsSecret": {
"type": "string",
"description": "Credentials secret (eg AWS ExternalId)"
},
"defaultManagementGroupId": {
"type": "string",
"description": "Default ManagementGroupId"
},
"displayName": {
"type": "string",
"description": "Connector DisplayName"
},
"reportId": {
"type": "string",
"description": "Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)"
},
"subscriptionId": {
"type": "string",
"description": "Billing SubscriptionId"
}
},
"description": "The properties of a Connector"
},
"CostAllocationDetails": {
"type": "object",
"properties": {
"policy": {
"oneOf": [
{
"type": "string",
"enum": [
"Proportional",
"Evenly",
"Fixed"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Cost allocation policy."
}
},
"description": "Represents CostAllocation showback rule model"
},
"CostAllocationDetailsKind": {
"type": "object",
"properties": {
"details": {
"oneOf": [
{
"$ref": "#/definitions/CostAllocationDetails"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Represents CostAllocation showback rule model"
},
"ruleType": {
"type": "string",
"enum": [
"CostAllocation"
]
}
},
"required": [
"ruleType"
],
"description": "Represents CostAllocation showback rule model"
},
"CustomPriceDetails": {
"type": "object",
"properties": {
"benefits": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"Sum",
"None",
"All",
"AHUB",
"Reservations"
]
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Array of benefits."
},
"markups": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Markup"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "List of markups."
},
"pricesheet": {
"type": "string"
}
},
"description": "Represents Custom price showback rule model"
},
"CustomPriceDetailsKind": {
"type": "object",
"properties": {
"details": {
"oneOf": [
{
"$ref": "#/definitions/CustomPriceDetails"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Represents Custom price showback rule model"
},
"ruleType": {
"type": "string",
"enum": [
"CustomPrice"
]
}
},
"required": [
"ruleType"
],
"description": "Represents Custom price showback rule model"
},
"Markup": {
"type": "object",
"properties": {
"percentage": {
"type": "string"
}
},
"description": "The Markup model definition"
},
"Scope": {
"type": "object",
"properties": {
"childScope": {
"oneOf": [
{
"$ref": "#/definitions/Scope"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The Scope model definition"
},
"id": {
"type": "string",
"description": "Scope id"
},
"name": {
"type": "string",
"description": "Scope name"
},
"type": {
"type": "string",
"description": "Scope type"
}
},
"description": "The Scope model definition"
},
"ShowbackRuleProperties": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/CustomPriceDetailsKind"
},
{
"$ref": "#/definitions/CostAllocationDetailsKind"
}
],
"properties": {
"description": {
"type": "string",
"description": "Description of a showback rule."
},
"scopes": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Scope"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "List of authorized assigned scopes."
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"NotActive",
"Active"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The current status of the showback rule."
}
},
"description": "The properties of a showback rule."
}
}
}
Loading