Microsoft.EventHub 命名空間/eventhubs/authorizationRules 2021-01-01-preview
Bicep 資源定義
命名空間/eventhubs/authorizationRules 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.EventHub/namespaces/eventhubs/authorizationRules 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-01-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
rights: [
'string'
]
}
}
屬性值
AuthorizationRuleProperties
名字 | 描述 | 價值 |
---|---|---|
權利 | 與規則相關聯的許可權。 | 包含任何的字串數組: 'Listen' 'Manage' 'Send' (必要) |
Microsoft.EventHub/namespaces/eventhubs/authorizationRules
名字 | 描述 | 價值 |
---|---|---|
名字 | 資源名稱 | 字串 約束: 最小長度 = 1 (必要) |
父母 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:命名空間/eventhubs |
性能 | 提供用來建立或更新 AuthorizationRule 的屬性 | AuthorizationRuleProperties |
快速入門範例
下列快速入門範例會部署此資源類型。
Bicep 檔案 | 描述 |
---|---|
部署 MedTech 服務 | MedTech 服務是 Azure Health Data Services 的其中一個,其設計目的是從多個裝置內嵌裝置數據,將裝置數據轉換成 FHIR 觀察,然後保存在 Azure Health Data Services FHIR 服務中。 |
Moesif API分析和獲利 | 此範本會將來自 Azure API 管理的 API 呼叫記錄至 Moesif API 分析和獲利平臺 |
ARM 樣本資源定義
命名空間/eventhubs/authorizationRules 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.EventHub/namespaces/eventhubs/authorizationRules 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules",
"apiVersion": "2021-01-01-preview",
"name": "string",
"properties": {
"rights": [ "string" ]
}
}
屬性值
AuthorizationRuleProperties
名字 | 描述 | 價值 |
---|---|---|
權利 | 與規則相關聯的許可權。 | 包含任何的字串數組: 'Listen' 'Manage' 'Send' (必要) |
Microsoft.EventHub/namespaces/eventhubs/authorizationRules
名字 | 描述 | 價值 |
---|---|---|
apiVersion | API 版本 | '2021-01-01-preview' |
名字 | 資源名稱 | 字串 約束: 最小長度 = 1 (必要) |
性能 | 提供用來建立或更新 AuthorizationRule 的屬性 | AuthorizationRuleProperties |
類型 | 資源類型 | 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules' |
快速入門範本
下列快速入門範本會部署此資源類型。
範本 | 描述 |
---|---|
部署 MedTech 服務 |
MedTech 服務是 Azure Health Data Services 的其中一個,其設計目的是從多個裝置內嵌裝置數據,將裝置數據轉換成 FHIR 觀察,然後保存在 Azure Health Data Services FHIR 服務中。 |
Moesif API分析和獲利 |
此範本會將來自 Azure API 管理的 API 呼叫記錄至 Moesif API 分析和獲利平臺 |
Terraform (AzAPI 提供者) 資源定義
命名空間/eventhubs/authorizationRules 資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.EventHub/namespaces/eventhubs/authorizationRules 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-01-01-preview"
name = "string"
body = jsonencode({
properties = {
rights = [
"string"
]
}
})
}
屬性值
AuthorizationRuleProperties
名字 | 描述 | 價值 |
---|---|---|
權利 | 與規則相關聯的許可權。 | 包含任何的字串數組: 'Listen' 'Manage' 'Send' (必要) |
Microsoft.EventHub/namespaces/eventhubs/authorizationRules
名字 | 描述 | 價值 |
---|---|---|
名字 | 資源名稱 | 字串 約束: 最小長度 = 1 (必要) |
parent_id | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:命名空間/eventhubs |
性能 | 提供用來建立或更新 AuthorizationRule 的屬性 | AuthorizationRuleProperties |
類型 | 資源類型 | “Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-01-01-preview” |