Skip to content

Commit

Permalink
CodeGen from PR 22373 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Publish private branch 'release-graphservicesprod-Microsoft.GraphServices-2022-09-22-preview' (#22373)

* add or modify files

* Fix typo

---------

Co-authored-by: amatukmolina <81262128+amatukmolina@users.noreply.github.com>
  • Loading branch information
SDKAuto and amatukmolina committed Mar 2, 2023
1 parent e263b7d commit de10552
Showing 2 changed files with 92 additions and 0 deletions.
89 changes: 89 additions & 0 deletions schemas/2022-09-22-preview/Microsoft.GraphServices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"id": "https://schema.management.azure.com/schemas/2022-09-22-preview/Microsoft.GraphServices.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.GraphServices",
"description": "Microsoft GraphServices Resource Types",
"resourceDefinitions": {
"accounts": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-09-22-preview"
]
},
"location": {
"type": "string",
"description": "Location of the resource."
},
"name": {
"type": "string",
"description": "The name of the resource."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AccountResourceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Property bag from billing account"
},
"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.GraphServices/accounts"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.GraphServices/accounts"
}
},
"definitions": {
"AccountResourceProperties": {
"type": "object",
"properties": {
"applicationId": {
"oneOf": [
{
"type": "string",
"pattern": "(^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}?)$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Customer owned application ID"
}
},
"required": [
"applicationId"
],
"description": "Property bag from billing account"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
@@ -12757,6 +12757,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.FluidRelay.json#/resourceDefinitions/fluidRelayServers"
},
{
"$ref": "https://schema.management.azure.com/schemas/2022-09-22-preview/Microsoft.GraphServices.json#/resourceDefinitions/accounts"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-11-03-preview/Microsoft.HanaOnAzure.json#/resourceDefinitions/hanaInstances"
},

0 comments on commit de10552

Please sign in to comment.