azure-resource-manager-schemas/schemas/2024-01-01/Microsoft.VideoIndexer.json

171 строка
5.4 KiB
JSON

{
"id": "https://schema.management.azure.com/schemas/2024-01-01/Microsoft.VideoIndexer.json#",
"title": "Microsoft.VideoIndexer",
"description": "Microsoft VideoIndexer Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"accounts": {
"description": "Microsoft.VideoIndexer/accounts",
"properties": {
"apiVersion": {
"enum": [
"2024-01-01"
],
"type": "string"
},
"identity": {
"description": "Managed service identity (system assigned and/or user assigned identities)",
"oneOf": [
{
"$ref": "#/definitions/ManagedServiceIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"location": {
"description": "The geo-location where the resource lives",
"type": "string"
},
"name": {
"description": "The name of the Azure Video Indexer account.",
"oneOf": [
{
"maxLength": 50,
"minLength": 3,
"pattern": "^[A-Za-z0-9-]+$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "List of account properties",
"oneOf": [
{
"$ref": "#/definitions/AccountPropertiesForPutRequest"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.VideoIndexer/accounts"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"AccountPropertiesForPutRequest": {
"description": "Azure Video Indexer account properties",
"properties": {
"accountId": {
"default": "00000000-0000-0000-0000-000000000000",
"description": "The account's data-plane ID. This can be set only when connecting an existing classic account",
"type": "string"
},
"storageServices": {
"description": "The storage services details",
"oneOf": [
{
"$ref": "#/definitions/StorageServicesForPutRequest"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ManagedServiceIdentity": {
"description": "Managed service identity (system assigned and/or user assigned identities)",
"properties": {
"type": {
"description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
"oneOf": [
{
"enum": [
"None",
"SystemAssigned",
"UserAssigned",
"SystemAssigned,UserAssigned"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"userAssignedIdentities": {
"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.",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/UserAssignedIdentity"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"type"
],
"type": "object"
},
"StorageServicesForPutRequest": {
"description": "The storage services details",
"properties": {
"resourceId": {
"description": "The storage services resource id",
"type": "string"
},
"userAssignedIdentity": {
"description": "The user assigned identity to be used to grant permissions",
"type": "string"
}
},
"type": "object"
},
"UserAssignedIdentity": {
"description": "User assigned identity properties",
"properties": {},
"type": "object"
}
}
}