forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 17105 in Azure/azure-rest-api-specs
Merge d8ca6977b88da6b825538f87e64223357e08caf1 into 58891380ba22c3565ca884dee3831445f638b545
- Loading branch information
SDKAuto
committed
Dec 15, 2021
1 parent
6492306
commit f8b3625
Showing
2 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
97 changes: 97 additions & 0 deletions
97
schemas/2021-06-01-preview/Microsoft.OpenEnergyPlatform.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters