Skip to content

Commit 103eae0

Browse files
author
msftbot[bot]
authored
2 parents 09d1884 + 783bd2e commit 103eae0

File tree

2 files changed

+174
-0
lines changed

2 files changed

+174
-0
lines changed
Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.VideoIndexer.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.VideoIndexer",
5+
"description": "Microsoft VideoIndexer Resource Types",
6+
"resourceDefinitions": {
7+
"accounts": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2022-08-01"
14+
]
15+
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/ManagedServiceIdentity"
20+
},
21+
{
22+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+
}
24+
],
25+
"description": "Managed service identity (system assigned and/or user assigned identities)"
26+
},
27+
"location": {
28+
"type": "string",
29+
"description": "The geo-location where the resource lives"
30+
},
31+
"name": {
32+
"oneOf": [
33+
{
34+
"type": "string",
35+
"pattern": "^[A-Za-z0-9-]+$",
36+
"minLength": 3,
37+
"maxLength": 50
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
43+
"description": "The name of the Azure Video Indexer account."
44+
},
45+
"properties": {
46+
"oneOf": [
47+
{
48+
"$ref": "#/definitions/AccountPropertiesForPutRequest"
49+
},
50+
{
51+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
52+
}
53+
],
54+
"description": "Azure Video Indexer account properties"
55+
},
56+
"tags": {
57+
"oneOf": [
58+
{
59+
"type": "object",
60+
"additionalProperties": {
61+
"type": "string"
62+
},
63+
"properties": {}
64+
},
65+
{
66+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67+
}
68+
],
69+
"description": "Resource tags."
70+
},
71+
"type": {
72+
"type": "string",
73+
"enum": [
74+
"Microsoft.VideoIndexer/accounts"
75+
]
76+
}
77+
},
78+
"required": [
79+
"apiVersion",
80+
"location",
81+
"name",
82+
"properties",
83+
"type"
84+
],
85+
"description": "Microsoft.VideoIndexer/accounts"
86+
}
87+
},
88+
"definitions": {
89+
"AccountPropertiesForPutRequest": {
90+
"type": "object",
91+
"properties": {
92+
"accountId": {
93+
"type": "string",
94+
"default": "00000000-0000-0000-0000-000000000000",
95+
"description": "The account's data-plane ID. This can be set only when connecting an existing classic account"
96+
},
97+
"mediaServices": {
98+
"oneOf": [
99+
{
100+
"$ref": "#/definitions/MediaServicesForPutRequest"
101+
},
102+
{
103+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
104+
}
105+
],
106+
"description": "The media services details"
107+
}
108+
},
109+
"description": "Azure Video Indexer account properties"
110+
},
111+
"ManagedServiceIdentity": {
112+
"type": "object",
113+
"properties": {
114+
"type": {
115+
"oneOf": [
116+
{
117+
"type": "string",
118+
"enum": [
119+
"None",
120+
"SystemAssigned",
121+
"UserAssigned",
122+
"SystemAssigned,UserAssigned"
123+
]
124+
},
125+
{
126+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
127+
}
128+
]
129+
},
130+
"userAssignedIdentities": {
131+
"oneOf": [
132+
{
133+
"type": "object",
134+
"additionalProperties": {
135+
"$ref": "#/definitions/UserAssignedIdentity"
136+
},
137+
"properties": {}
138+
},
139+
{
140+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
141+
}
142+
],
143+
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."
144+
}
145+
},
146+
"required": [
147+
"type"
148+
],
149+
"description": "Managed service identity (system assigned and/or user assigned identities)"
150+
},
151+
"MediaServicesForPutRequest": {
152+
"type": "object",
153+
"properties": {
154+
"resourceId": {
155+
"type": "string",
156+
"description": "The media services resource id"
157+
},
158+
"userAssignedIdentity": {
159+
"type": "string",
160+
"description": "The user assigned identity to be used to grant permissions"
161+
}
162+
},
163+
"description": "The media services details"
164+
},
165+
"UserAssignedIdentity": {
166+
"type": "object",
167+
"properties": {},
168+
"description": "User assigned identity properties"
169+
}
170+
}
171+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18172,6 +18172,9 @@
1817218172
{
1817318173
"$ref": "https://schema.management.azure.com/schemas/2022-04-13-preview/Microsoft.VideoIndexer.json#/resourceDefinitions/accounts"
1817418174
},
18175+
{
18176+
"$ref": "https://schema.management.azure.com/schemas/2022-08-01/Microsoft.VideoIndexer.json#/resourceDefinitions/accounts"
18177+
},
1817518178
{
1817618179
"$ref": "https://schema.management.azure.com/schemas/2018-02-01-preview/Microsoft.VirtualMachineImages.json#/resourceDefinitions/imageTemplates"
1817718180
},

0 commit comments

Comments
 (0)