-
Notifications
You must be signed in to change notification settings - Fork 518
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 22373 in Azure/azure-rest-api-specs
[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
1 parent
e263b7d
commit de10552
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
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,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" | ||
} | ||
} | ||
} |
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