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 oep] Dev oep microsoft.open energy platform 2021 06 01 preview #5287

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
97 changes: 97 additions & 0 deletions schemas/2021-06-01-preview/Microsoft.OpenEnergyPlatform.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"id": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.OpenEnergyPlatform.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.OpenEnergyPlatform",
"description": "Microsoft OpenEnergyPlatform Resource Types",
"resourceDefinitions": {
"energyServices": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-06-01-preview"
]
},
"location": {
"type": "string",
"description": "Geo-location where the resource lives."
},
"name": {
"type": "string",
"description": "The resource name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/OepProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.OpenEnergyPlatform/energyServices"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.OpenEnergyPlatform/energyServices"
}
},
"definitions": {
"Item": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"OepProperties": {
"type": "object",
"properties": {
"authAppId": {
"type": "string"
},
"dataPartitionNames": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Item"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -9991,6 +9991,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-07/Microsoft.OffAzure.json#/resourceDefinitions/VMwareSites_vCenters"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.OpenEnergyPlatform.json#/resourceDefinitions/energyServices"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-03-20/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces_savedSearches"
},
Expand Down