Skip to content

Commit 64a6844

Browse files
author
SDKAuto
committed
CodeGen from PR 16439 in Azure/azure-rest-api-specs
First time adding VideoIndexer to public repo (#16439) * First time adding VideoIndexer to public repo * Fix spelling * Fix more spelling * remove preview only api for now
1 parent 49dd421 commit 64a6844

File tree

2 files changed

+172
-0
lines changed

2 files changed

+172
-0
lines changed
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-10-18-preview/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+
"2021-10-18-preview"
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-z0-9]+(-[a-z0-9]+)*",
36+
"maxLength": 50
37+
},
38+
{
39+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
40+
}
41+
],
42+
"description": "The name of the Azure Video Analyzer for Media account."
43+
},
44+
"properties": {
45+
"oneOf": [
46+
{
47+
"$ref": "#/definitions/AccountPropertiesForPutRequest"
48+
},
49+
{
50+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
51+
}
52+
],
53+
"description": "Azure Video Analyzer for Media account properties"
54+
},
55+
"tags": {
56+
"oneOf": [
57+
{
58+
"type": "object",
59+
"additionalProperties": {
60+
"type": "string"
61+
},
62+
"properties": {}
63+
},
64+
{
65+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
66+
}
67+
],
68+
"description": "Resource tags."
69+
},
70+
"type": {
71+
"type": "string",
72+
"enum": [
73+
"Microsoft.VideoIndexer/accounts"
74+
]
75+
}
76+
},
77+
"required": [
78+
"apiVersion",
79+
"location",
80+
"name",
81+
"properties",
82+
"type"
83+
],
84+
"description": "Microsoft.VideoIndexer/accounts"
85+
}
86+
},
87+
"definitions": {
88+
"AccountPropertiesForPutRequest": {
89+
"type": "object",
90+
"properties": {
91+
"accountId": {
92+
"type": "string",
93+
"description": "The account's data-plane ID"
94+
},
95+
"mediaServices": {
96+
"oneOf": [
97+
{
98+
"$ref": "#/definitions/MediaServicesForPutRequest"
99+
},
100+
{
101+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
102+
}
103+
],
104+
"description": "The media services details"
105+
}
106+
},
107+
"description": "Azure Video Analyzer for Media account properties"
108+
},
109+
"ManagedServiceIdentity": {
110+
"type": "object",
111+
"properties": {
112+
"type": {
113+
"oneOf": [
114+
{
115+
"type": "string",
116+
"enum": [
117+
"None",
118+
"SystemAssigned",
119+
"UserAssigned",
120+
"SystemAssigned,UserAssigned"
121+
]
122+
},
123+
{
124+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
125+
}
126+
]
127+
},
128+
"userAssignedIdentities": {
129+
"oneOf": [
130+
{
131+
"type": "object",
132+
"additionalProperties": {
133+
"$ref": "#/definitions/UserAssignedIdentity"
134+
},
135+
"properties": {}
136+
},
137+
{
138+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
139+
}
140+
],
141+
"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."
142+
}
143+
},
144+
"required": [
145+
"type"
146+
],
147+
"description": "Managed service identity (system assigned and/or user assigned identities)"
148+
},
149+
"MediaServicesForPutRequest": {
150+
"type": "object",
151+
"properties": {
152+
"resourceId": {
153+
"type": "string",
154+
"description": "The media services resource id"
155+
},
156+
"userAssignedIdentity": {
157+
"type": "string",
158+
"description": "The user assigned identity to be used to grant permissions"
159+
}
160+
},
161+
"description": "The media services details"
162+
},
163+
"UserAssignedIdentity": {
164+
"type": "object",
165+
"properties": {},
166+
"description": "User assigned identity properties"
167+
}
168+
}
169+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13162,6 +13162,9 @@
1316213162
{
1316313163
"$ref": "https://schema.management.azure.com/schemas/2021-06-30-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets"
1316413164
},
13165+
{
13166+
"$ref": "https://schema.management.azure.com/schemas/2021-10-18-preview/Microsoft.VideoIndexer.json#/resourceDefinitions/accounts"
13167+
},
1316513168
{
1316613169
"$ref": "https://schema.management.azure.com/schemas/2018-02-01-preview/Microsoft.VirtualMachineImages.json#/resourceDefinitions/imageTemplates"
1316713170
},

0 commit comments

Comments
 (0)