Bicep 資源定義
您可以使用目標作業來部署組織資源類型:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.Confluent/organizations 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.Confluent/organizations@2026-05-01-preview' = {
location: 'string'
name: 'string'
properties: {
linkOrganization: {
token: 'string'
}
offerDetail: {
id: 'string'
planId: 'string'
planName: 'string'
privateOfferId: 'string'
privateOfferIds: [
'string'
]
publisherId: 'string'
termId: 'string'
termUnit: 'string'
}
userDetail: {
aadEmail: 'string'
emailAddress: 'string'
firstName: 'string'
lastName: 'string'
userPrincipalName: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.Confluent/organizations
| Name | Description | 價值 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | 字串 (必要) |
| 屬性 | 組織資源屬性 | OrganizationResourceProperties (必需) |
| tags | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
連結組織
| Name | Description | 價值 |
|---|---|---|
| Token | 用戶驗證令牌 | string 約束: 敏感性值。 以安全參數的形式傳入。 (必要) |
OfferDetail
| Name | Description | 價值 |
|---|---|---|
| id | 供應項目標識碼 | string 約束: 最大長度 = 50 (必要) |
| planId | 供應專案方案標識碼 | string 約束: 最大長度 = 200 (必要) |
| planName | 供應專案方案名稱 | string 約束: 最大長度 = 200 (必要) |
| privateOfferId | 私人供應項目標識碼 | string 約束: 最大長度 = 255 |
| privateOfferIds | 私人供應項目識別碼的陣列 | string[] |
| publisherId | 發行者標識碼 | string 約束: 最大長度 = 50 (必要) |
| termId | 供應專案方案字詞標識碼 | string 約束: 最大長度 = 50 |
| termUnit | 供應專案方案字詞單位 | string 約束: 最大長度 = 25 (必要) |
OrganizationResourceProperties
| Name | Description | 價值 |
|---|---|---|
| 連結組織 | 鏈接現有的 Confluent 組織 | 連結組織 |
| offerDetail | Confluent 供應項目詳細數據 | OfferDetail (必填) |
| userDetail | 訂閱者詳細數據 | UserDetail (必填) |
TrackedResourceTags
| Name | Description | 價值 |
|---|
UserDetail
| Name | Description | 價值 |
|---|---|---|
| aadEmail | AAD 電子郵件位址 | 字串 |
| emailAddress | 電子郵件地址 | string 約束: 模式 = ^\S+@\S+\.\S+$ (必要) |
| firstName | 名字 | string 約束: 最大長度 = 50 |
| lastName | 姓氏 | string 約束: 最大長度 = 50 |
| userPrincipalName | 使用者主體名稱 | 字串 |
ARM 樣本資源定義
您可以使用目標作業來部署組織資源類型:
使用範例
資源格式
若要建立 Microsoft.Confluent/organizations 資源,請將下列 JSON 新增至您的範本。
{
"type": "Microsoft.Confluent/organizations",
"apiVersion": "2026-05-01-preview",
"name": "string",
"location": "string",
"properties": {
"linkOrganization": {
"token": "string"
},
"offerDetail": {
"id": "string",
"planId": "string",
"planName": "string",
"privateOfferId": "string",
"privateOfferIds": [ "string" ],
"publisherId": "string",
"termId": "string",
"termUnit": "string"
},
"userDetail": {
"aadEmail": "string",
"emailAddress": "string",
"firstName": "string",
"lastName": "string",
"userPrincipalName": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.Confluent/organizations
| Name | Description | 價值 |
|---|---|---|
| apiVersion | API 版本 | 『2026-05-01-預覽』 |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | 字串 (必要) |
| 屬性 | 組織資源屬性 | OrganizationResourceProperties (必需) |
| tags | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 | 資源類型 | 'Microsoft.Confluent/organizations' |
連結組織
| Name | Description | 價值 |
|---|---|---|
| Token | 用戶驗證令牌 | string 約束: 敏感性值。 以安全參數的形式傳入。 (必要) |
OfferDetail
| Name | Description | 價值 |
|---|---|---|
| id | 供應項目標識碼 | string 約束: 最大長度 = 50 (必要) |
| planId | 供應專案方案標識碼 | string 約束: 最大長度 = 200 (必要) |
| planName | 供應專案方案名稱 | string 約束: 最大長度 = 200 (必要) |
| privateOfferId | 私人供應項目標識碼 | string 約束: 最大長度 = 255 |
| privateOfferIds | 私人供應項目識別碼的陣列 | string[] |
| publisherId | 發行者標識碼 | string 約束: 最大長度 = 50 (必要) |
| termId | 供應專案方案字詞標識碼 | string 約束: 最大長度 = 50 |
| termUnit | 供應專案方案字詞單位 | string 約束: 最大長度 = 25 (必要) |
OrganizationResourceProperties
| Name | Description | 價值 |
|---|---|---|
| 連結組織 | 鏈接現有的 Confluent 組織 | 連結組織 |
| offerDetail | Confluent 供應項目詳細數據 | OfferDetail (必填) |
| userDetail | 訂閱者詳細數據 | UserDetail (必填) |
TrackedResourceTags
| Name | Description | 價值 |
|---|
UserDetail
| Name | Description | 價值 |
|---|---|---|
| aadEmail | AAD 電子郵件位址 | 字串 |
| emailAddress | 電子郵件地址 | string 約束: 模式 = ^\S+@\S+\.\S+$ (必要) |
| firstName | 名字 | string 約束: 最大長度 = 50 |
| lastName | 姓氏 | string 約束: 最大長度 = 50 |
| userPrincipalName | 使用者主體名稱 | 字串 |
Terraform (AzAPI 提供者) 資源定義
您可以使用目標作業來部署組織資源類型:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
若要建立 Microsoft.Confluent/organizations 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Confluent/organizations@2026-05-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
linkOrganization = {
token = "string"
}
offerDetail = {
id = "string"
planId = "string"
planName = "string"
privateOfferId = "string"
privateOfferIds = [
"string"
]
publisherId = "string"
termId = "string"
termUnit = "string"
}
userDetail = {
aadEmail = "string"
emailAddress = "string"
firstName = "string"
lastName = "string"
userPrincipalName = "string"
}
}
}
}
屬性值
Microsoft.Confluent/organizations
| Name | Description | 價值 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | 字串 (必要) |
| 屬性 | 組織資源屬性 | OrganizationResourceProperties (必需) |
| tags | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | 「Microsoft。Confluent/organizations@2026-05-01-preview” |
連結組織
| Name | Description | 價值 |
|---|---|---|
| Token | 用戶驗證令牌 | string 約束: 敏感性值。 以安全參數的形式傳入。 (必要) |
OfferDetail
| Name | Description | 價值 |
|---|---|---|
| id | 供應項目標識碼 | string 約束: 最大長度 = 50 (必要) |
| planId | 供應專案方案標識碼 | string 約束: 最大長度 = 200 (必要) |
| planName | 供應專案方案名稱 | string 約束: 最大長度 = 200 (必要) |
| privateOfferId | 私人供應項目標識碼 | string 約束: 最大長度 = 255 |
| privateOfferIds | 私人供應項目識別碼的陣列 | string[] |
| publisherId | 發行者標識碼 | string 約束: 最大長度 = 50 (必要) |
| termId | 供應專案方案字詞標識碼 | string 約束: 最大長度 = 50 |
| termUnit | 供應專案方案字詞單位 | string 約束: 最大長度 = 25 (必要) |
OrganizationResourceProperties
| Name | Description | 價值 |
|---|---|---|
| 連結組織 | 鏈接現有的 Confluent 組織 | 連結組織 |
| offerDetail | Confluent 供應項目詳細數據 | OfferDetail (必填) |
| userDetail | 訂閱者詳細數據 | UserDetail (必填) |
TrackedResourceTags
| Name | Description | 價值 |
|---|
UserDetail
| Name | Description | 價值 |
|---|---|---|
| aadEmail | AAD 電子郵件位址 | 字串 |
| emailAddress | 電子郵件地址 | string 約束: 模式 = ^\S+@\S+\.\S+$ (必要) |
| firstName | 名字 | string 約束: 最大長度 = 50 |
| lastName | 姓氏 | string 約束: 最大長度 = 50 |
| userPrincipalName | 使用者主體名稱 | 字串 |