Artikel
06/29/2022
2 menit untuk membaca
1 kontributor
Dalam artikel ini
The videoAnalyzers resource type can be deployed to: Resource groups .
To learn about resource group deployments, see Bicep or ARM template .
For a list of changed properties in each API version, see change log .
To create a Microsoft.Media/videoAnalyzers resource, add the following Bicep or JSON to your template.
resource symbolicname 'Microsoft.Media/videoAnalyzers@2021-11-01-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
identity: {
type: 'string'
userAssignedIdentities: {}
}
properties: {
encryption: {
identity: {
userAssignedIdentity: 'string'
}
keyVaultProperties: {
keyIdentifier: 'string'
}
type: 'string'
}
iotHubs: [
{
id: 'string'
identity: {
userAssignedIdentity: 'string'
}
}
]
networkAccessControl: {
consumption: {
publicNetworkAccess: 'string'
}
ingestion: {
publicNetworkAccess: 'string'
}
integration: {
publicNetworkAccess: 'string'
}
}
publicNetworkAccess: 'string'
storageAccounts: [
{
id: 'string'
identity: {
userAssignedIdentity: 'string'
}
}
]
}
}
{
"type": "Microsoft.Media/videoAnalyzers",
"apiVersion": "2021-11-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"identity": {
"type": "string",
"userAssignedIdentities": {}
},
"properties": {
"encryption": {
"identity": {
"userAssignedIdentity": "string"
},
"keyVaultProperties": {
"keyIdentifier": "string"
},
"type": "string"
},
"iotHubs": [
{
"id": "string",
"identity": {
"userAssignedIdentity": "string"
}
}
],
"networkAccessControl": {
"consumption": {
"publicNetworkAccess": "string"
},
"ingestion": {
"publicNetworkAccess": "string"
},
"integration": {
"publicNetworkAccess": "string"
}
},
"publicNetworkAccess": "string",
"storageAccounts": [
{
"id": "string",
"identity": {
"userAssignedIdentity": "string"
}
}
]
}
}
Property values
videoAnalyzers
Name
Description
Value
type
The resource type For Bicep, set this value in the resource declaration .
'Microsoft.Media/videoAnalyzers'
apiVersion
The resource api version For Bicep, set this value in the resource declaration .
'2021-11-01-preview'
name
The resource name
string (required)
location
The geo-location where the resource lives
string (required)
tags
Resource tags.
Dictionary of tag names and values. See Tags in templates
identity
The identities associated to the Video Analyzer resource.
VideoAnalyzerIdentity
properties
The resource properties.
VideoAnalyzerProperties
VideoAnalyzerIdentity
Name
Description
Value
type
The identity type.
string (required)
userAssignedIdentities
The User Assigned Managed Identities.
object
VideoAnalyzerProperties
Name
Description
Value
encryption
The account encryption properties.
AccountEncryption
iotHubs
The IoT Hubs for this resource.
IotHub []
networkAccessControl
Network access control for Video Analyzer.
NetworkAccessControl
publicNetworkAccess
Whether or not public network access is allowed for resources under the Video Analyzer account.
'Disabled' 'Enabled'
storageAccounts
The storage accounts for this resource.
StorageAccount [] (required)
AccountEncryption
Name
Description
Value
identity
The Key Vault identity.
ResourceIdentity
keyVaultProperties
The properties of the key used to encrypt the account.
KeyVaultProperties
type
The type of key used to encrypt the Account Key.
'CustomerKey' 'SystemKey'
ResourceIdentity
Name
Description
Value
userAssignedIdentity
The user assigned managed identity's resource identifier to use when accessing a resource.
string (required)
KeyVaultProperties
Name
Description
Value
keyIdentifier
The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
string (required)
IotHub
Name
Description
Value
id
The IoT Hub resource identifier.
string (required)
identity
The IoT Hub identity.
ResourceIdentity (required)
NetworkAccessControl
GroupLevelAccessControl
Name
Description
Value
publicNetworkAccess
Whether or not public network access is allowed for specified resources under the Video Analyzer account.
'Disabled' 'Enabled'
StorageAccount
Name
Description
Value
id
The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage).
string (required)
identity
A managed identity that Video Analyzer will use to access the storage account.
ResourceIdentity