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.CostManagement to add version stable/2019-11-01 #13788

Merged
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
3 changes: 2 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"words": [
"Creds",
"partiallycompleted",
"subchannel",
"umls"
],
"dictionaryDefinitions": [
Expand Down Expand Up @@ -795,4 +796,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,7 @@
}
},
"Setting": {
"description": "State of Setting",
"description": "State of the myscope setting.",
"type": "object",
"allOf": [
{
Expand Down Expand Up @@ -1785,9 +1785,66 @@
"description": "The properties of the setting.",
"properties": {
"scope": {
"description": "For the myscope setting, sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.",
"description": "Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.",
"type": "string"
},
"startOn": {
"description": "Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.",
"type": "string",
"enum": [
"LastUsed",
"ScopePicker",
"SpecificScope"
],
"x-nullable": true
},
"cache": {
"$ref": "#/definitions/Cache"
}
},
"required": [
"scope"
]
},
"Cache": {
"type": "array",
"description": "Array of scopes with additional details used by Cost Management in the Azure portal.",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Resource ID used by Resource Manager to uniquely identify the scope.",
"type": "string"
},
"name": {
"description": "Display name for the scope.",
"type": "string"
},
"channel": {
"description": "Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.",
"type": "string"
},
"subchannel": {
"description": "Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable",
"type": "string"
},
"parent": {
"description": "Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.",
"type": "string",
"x-nullable": true
},
"status": {
"description": "Indicates the status of the scope. Status only applies to subscriptions and billing accounts.",
"type": "string",
"x-nullable": true
}
},
"required": [
"id",
"name",
"channel",
"subchannel"
]
}
},
"ViewProperties": {
Expand Down Expand Up @@ -1994,23 +2051,23 @@
"id": {
"readOnly": true,
"type": "string",
"description": "Resource Id"
"description": "Resource Id."
},
"name": {
"readOnly": true,
"type": "string",
"description": "Resource name"
"description": "Resource name."
},
"kind": {
"readOnly": true,
"type": "string",
"description": "Resource kind",
"description": "Resource kind.",
"maxLength": 10
},
"type": {
"readOnly": true,
"type": "string",
"description": "Resource type"
"description": "Resource type."
}
},
"x-ms-azure-resource": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,20 @@
"id": "/providers/Microsoft.CostManagement/settings/myscope",
"name": "myscope",
"kind": "user",
"type": "Microsoft.CostManagement/settings",
"type": "Microsoft.CostManagement/Settings",
"properties": {
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000"
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000",
"startOn": "LastUsed",
"cache": [
{
"id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"channel": "Modern",
"subchannel": "NotApplicable",
"parent": "/providers/Microsoft.Management/managementGroups/acm",
"status": "enabled"
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@
"settingName": "myscope",
"parameters": {
"properties": {
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000"
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000",
"startOn": "LastUsed",
"cache": [
{
"id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"channel": "Modern",
"subchannel": "NotApplicable",
"parent": "/providers/Microsoft.Management/managementGroups/acm",
"status": "enabled"
}
]
}
}
},
Expand All @@ -14,9 +25,20 @@
"id": "/providers/Microsoft.CostManagement/settings/myscope",
"name": "myscope",
"kind": "user",
"type": "Microsoft.CostManagement/settings",
"type": "Microsoft.CostManagement/Settings",
"properties": {
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000"
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000",
"startOn": "LastUsed",
"cache": [
{
"id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"channel": "Modern",
"subchannel": "NotApplicable",
"parent": "/providers/Microsoft.Management/managementGroups/acm",
"status": "enabled"
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,28 @@
"id": "/providers/Microsoft.CostManagement/settings/myscope",
"name": "myscope",
"kind": "user",
"type": "Microsoft.CostManagement/settings",
"type": "Microsoft.CostManagement/Settings",
"properties": {
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000"
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000",
"startOn": "LastUsed",
"cache": [
{
"id": "/subscriptions/ec9de2f7-b65b-408d-ac59-da71ceb340bc",
"name": "Azure Cost Management",
"channel": "Modern",
"subchannel": "Individual",
"parent": "/providers/Microsoft.Management/managementGroups/b8f458df-48b6-4215-b307-e71221f1fb79",
"status": "enabled"
},
{
"id": "/providers/Microsoft.Management/managementGroups/b8f458df-48b6-4215-b307-e71221f1fb79",
"name": "Cloudyn",
"channel": "Modern",
"subchannel": "Individual",
"parent": "/providers/Microsoft.Management/managementGroups/acm",
"status": "enabled"
}
]
}
}
]
Expand Down