你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Microsoft。媒体视频分析 2021-11-01-preview

Bicep 资源定义

videoAnalyzers 资源类型可部署到:

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

创建Microsoft。Media/videoAnalyzers 资源,将以下 Bicep 添加到模板。

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'
        }
      }
    ]
  }
}

属性值

videoAnalyzers

名称 说明
name 资源名称 字符串 (必需)
location 资源所在的地理位置 字符串 (必需)
标记 资源标记。 标记名称和值的字典。 请参阅 模板中的标记
identity 与视频分析器资源关联的标识。 VideoAnalyzerIdentity
properties 资源属性。 VideoAnalyzerProperties

VideoAnalyzerIdentity

名称 说明 Value
type 标识类型。 字符串 (必需)
userAssignedIdentities 用户分配的托管标识。 对象

VideoAnalyzerProperties

名称 说明 Value
加密 帐户加密属性。 AccountEncryption
iotHubs 此资源的 IoT 中心。 IotHub[]
networkAccessControl 视频分析器的网络访问控制。 NetworkAccessControl
publicNetworkAccess 视频分析器帐户下的资源是否允许公用网络访问。 “Disabled”
“已启用”
storageAccounts 此资源的存储帐户。 StorageAccount[] (必需的)

AccountEncryption

名称 说明
identity 密钥保管库标识。 ResourceIdentity
keyVaultProperties 用于加密帐户的密钥的属性。 KeyVaultProperties
type 用于加密帐户密钥的密钥类型。 “CustomerKey”
“SystemKey” (必需)

ResourceIdentity

名称 说明 Value
userAssignedIdentity 用户分配的托管标识的资源标识符在访问资源时使用。 字符串 (必需)

KeyVaultProperties

名称 说明
keyIdentifier 用于加密帐户的密钥保管库密钥的 URL。 密钥可以 (版本控制,例如 https://vault/keys/mykey/version1) 或引用没有版本 (的密钥,例如 https://vault/keys/mykey) 。 字符串 (必需)

IotHub

名称 说明 Value
id IoT 中心资源标识符。 字符串 (必需)
identity IoT 中心标识。 ResourceIdentity (必需)

NetworkAccessControl

名称 说明
消费 使用组的公共网络访问。 GroupLevelAccessControl
摄入 引入组的公共网络访问。 GroupLevelAccessControl
集成 集成组的公共网络访问。 GroupLevelAccessControl

GroupLevelAccessControl

名称 说明
publicNetworkAccess 是否允许视频分析器帐户下的指定资源访问公用网络。 “Disabled”
“已启用”

StorageAccount

名称 说明 Value
id 存储帐户资源的 ID。 视频分析器依赖于表、队列和 Blob。 主存储帐户必须是标准存储帐户, (Microsoft。ClassicStorage 或 Microsoft。存储) 。 字符串 (必需)
identity 视频分析器将用于访问存储帐户的托管标识。 ResourceIdentity

ARM 模板资源定义

videoAnalyzers 资源类型可部署到:

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

创建Microsoft。媒体/视频分析器资源,将以下 JSON 添加到模板。

{
  "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"
        }
      }
    ]
  }
}

属性值

videoAnalyzers

名称 说明 Value
type 资源类型 “Microsoft。Media/videoAnalyzers'
apiVersion 资源 API 版本 “2021-11-01-preview”
name 资源名称 字符串 (必需)
location 资源所在的地理位置 字符串 (必需)
标记 资源标记。 标记名称和值的字典。 请参阅 模板中的标记
identity 与视频分析器资源关联的标识。 VideoAnalyzerIdentity
properties 资源属性。 VideoAnalyzerProperties

VideoAnalyzerIdentity

名称 说明 Value
type 标识类型。 字符串 (必需)
userAssignedIdentities 用户分配的托管标识。 对象

VideoAnalyzerProperties

名称 说明
加密 帐户加密属性。 AccountEncryption
iotHubs 此资源的 IoT 中心。 IotHub[]
networkAccessControl 视频分析器的网络访问控制。 NetworkAccessControl
publicNetworkAccess 视频分析器帐户下的资源是否允许公用网络访问。 “Disabled”
“已启用”
storageAccounts 此资源的存储帐户。 StorageAccount[] (必需的)

AccountEncryption

名称 说明 Value
identity 密钥保管库标识。 ResourceIdentity
keyVaultProperties 用于加密帐户的密钥的属性。 KeyVaultProperties
type 用于加密帐户密钥的密钥类型。 “CustomerKey”
“SystemKey” (必需)

ResourceIdentity

名称 说明
userAssignedIdentity 用户分配的托管标识的资源标识符在访问资源时使用。 字符串 (必需)

KeyVaultProperties

名称 说明
keyIdentifier 用于加密帐户的密钥保管库密钥的 URL。 密钥可以 (版本控制,例如 https://vault/keys/mykey/version1) 或引用没有版本 (的密钥,例如 https://vault/keys/mykey) 。 字符串 (必需)

IotHub

名称 说明 Value
id IoT 中心资源标识符。 字符串 (必需)
identity IoT 中心标识。 ResourceIdentity (必需)

NetworkAccessControl

名称 说明
消费 使用组的公共网络访问。 GroupLevelAccessControl
摄入 引入组的公共网络访问。 GroupLevelAccessControl
集成 集成组的公共网络访问。 GroupLevelAccessControl

GroupLevelAccessControl

名称 说明 Value
publicNetworkAccess 是否允许视频分析器帐户下的指定资源访问公用网络。 “Disabled”
“已启用”

StorageAccount

名称 说明 Value
id 存储帐户资源的 ID。 视频分析器依赖于表、队列和 Blob。 主存储帐户必须是标准存储帐户, (Microsoft。ClassicStorage 或 Microsoft。存储) 。 字符串 (必需)
identity 视频分析器将用于访问存储帐户的托管标识。 ResourceIdentity

Terraform (AzAPI 提供程序) 资源定义

videoAnalyzers 资源类型可部署到:

  • 资源组

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

创建Microsoft。媒体/视频Analyzers 资源,将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Media/videoAnalyzers@2021-11-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    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"
          }
        }
      ]
    }
  })
}

属性值

videoAnalyzers

名称 说明 Value
type 资源类型 “Microsoft。Media/videoAnalyzers@2021-11-01-preview”
name 资源名称 字符串 (必需)
location 资源所在的地理位置 字符串 (必需)
parent_id 若要部署到资源组,请使用该资源组的 ID。 字符串 (必需)
标记 资源标记。 标记名称和值的字典。
identity 与视频分析器资源关联的标识。 VideoAnalyzerIdentity
properties 资源属性。 VideoAnalyzerProperties

VideoAnalyzerIdentity

名称 说明 Value
type 标识类型。 字符串 (必需)
identity_ids 用户分配的托管标识。 用户标识 ID 的数组。

VideoAnalyzerProperties

名称 说明
加密 帐户加密属性。 AccountEncryption
iotHubs 此资源的 IoT 中心。 IotHub[]
networkAccessControl 视频分析器的网络访问控制。 NetworkAccessControl
publicNetworkAccess 视频分析器帐户下的资源是否允许公用网络访问。 “Disabled”
“Enabled”
storageAccounts 此资源的存储帐户。 StorageAccount[] (必需)

AccountEncryption

名称 说明
identity 密钥保管库标识。 ResourceIdentity
keyVaultProperties 用于加密帐户的密钥的属性。 KeyVaultProperties
type 用于加密帐户密钥的密钥类型。 “CustomerKey”
“SystemKey” (必需)

ResourceIdentity

名称 说明
userAssignedIdentity 用户分配的托管标识的资源标识符,用于访问资源。 字符串 (必需)

KeyVaultProperties

名称 说明 Value
keyIdentifier 用于加密帐户的密钥保管库密钥的 URL。 该密钥可以 (版本控制,例如 https://vault/keys/mykey/version1) 或引用没有版本 (的密钥,例如 https://vault/keys/mykey) 。 字符串 (必需)

IotHub

名称 说明 Value
id IoT 中心资源标识符。 字符串 (必需)
identity IoT 中心标识。 需要 resourceIdentity ()

NetworkAccessControl

名称 说明
消费 消耗组的公用网络访问。 GroupLevelAccessControl
摄入 引入组的公用网络访问。 GroupLevelAccessControl
集成 集成组的公用网络访问。 GroupLevelAccessControl

GroupLevelAccessControl

名称 说明
publicNetworkAccess 视频分析器帐户下的指定资源是否允许公用网络访问。 “Disabled”
“Enabled”

StorageAccount

名称 说明 Value
id 存储帐户资源的 ID。 视频分析器依赖于表、队列和 Blob。 主存储帐户必须是标准存储帐户, (Microsoft。ClassicStorage 或 Microsoft。存储) 。 字符串 (必需)
identity 视频分析器将用于访问存储帐户的托管标识。 ResourceIdentity