Microsoft.Mission 社區 2025-05-01-preview

Bicep 資源定義

社區資源類型可以與面向以下目標的作一起部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

資源格式

若要創建 Microsoft.Mission/communities 資源,請將以下 Bicep 添加到範本。

resource symbolicname 'Microsoft.Mission/communities@2025-05-01-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    addressSpace: 'string'
    approvalSettings: {
      connectionCreation: 'string'
      connectionDeletion: 'string'
      connectionUpdate: 'string'
      enclaveCreation: 'string'
      enclaveDeletion: 'string'
      endpointCreation: 'string'
      endpointDeletion: 'string'
      endpointUpdate: 'string'
      maintenanceMode: 'string'
      mandatoryApprovers: [
        {
          approverEntraId: 'string'
        }
      ]
      minimumApproversRequired: int
      notificationOnApprovalAction: 'string'
      notificationOnApprovalCreation: 'string'
      notificationOnApprovalDeletion: 'string'
      serviceCatalogDeployment: 'string'
    }
    communityRoleAssignments: [
      {
        principals: [
          {
            id: 'string'
            type: 'string'
          }
        ]
        roleDefinitionId: 'string'
      }
    ]
    dnsServers: [
      'string'
    ]
    firewallSku: 'string'
    governedServiceList: [
      {
        enforcement: 'string'
        option: 'string'
        policyAction: 'string'
        serviceId: 'string'
      }
    ]
    maintenanceModeConfiguration: {
      justification: 'string'
      mode: 'string'
      principals: [
        {
          id: 'string'
          type: 'string'
        }
      ]
    }
    policyOverride: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.Mission/社區

名稱 說明 價值觀
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名稱 資源名稱 字串

Constraints:
模式 = ^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$ (必要)
屬性 此資源的資源特定屬性。 社區屬性
標記 資源標籤 標記名稱和值的字典。 請參閱 範本中的標記

ApprovalSettings

名稱 說明 價值觀
連接創建 創建 enclave 連接需要批准(Required 或 NotRequired)。 “不需要”
'Required'
連接刪除 刪除 enclave 連接需要批准(Required 或 NotRequired)。 “不需要”
'Required'
連接更新 enclave 連接更新需要批准(“必需”或“非必需”)。 “不需要”
'Required'
飛地創建 創建虛擬 enclave 需要批准(必需或非必需)。 “不需要”
'Required'
enclave刪除 刪除虛擬 enclave 需要批准(Required 或 NotRequired)。 “不需要”
'Required'
端點創建 創建終結點需要批准(Required 或 NotRequired)。 “不需要”
'Required'
端點刪除 刪除終結點需要批准(必需或非必需)。 “不需要”
'Required'
端點更新 終結點更新需要批准(必需或非必需)。 “不需要”
'Required'
維護模式 切換維護模式(Required 或 NotRequired)需要批准。 “不需要”
'Required'
mandatory批准者 審批請求的強制審批者清單 強制批准者[]
minimumApproversRequired 批准請求所需的最小審批者數 整數 (int)
通知OnApproval作 將針對批准請求執行的任何作(批准/拒絕)發送通知 “不需要”
'Required'
notificationOnApprovalCreation 創建批准請求時將發送通知 “不需要”
'Required'
通知時批准刪除 刪除批准請求時將發送通知 “不需要”
'Required'
serviceCatalog部署 部署服務目錄範本需要批准(必需或非必需)。 “不需要”
'Required'

社區屬性

名稱 說明 價值觀
地址空間 位址空間。 字串
批准設置 對社區資源的各種作的批准要求。 審批設置
社區角色分配 社區角色分配 角色分配項[]
dns伺服器 DNS 伺服器。 字串[]
firewallSku 社區的 Azure 防火牆(基本、標準、高級)的 SKU。 標準是預設值 'Basic'
'Premium'
'Standard'
governedServiceList 由社區管理的服務清單。 治理服務項[]
維護模式配置 維護模式配置。 維護模式配置模型
policyOverride 社區的策略替代設置。 指定是應用特定於 enclave 的策略還是禁用策略實施。 “飛地”
'None'

治理服務項

名稱 說明 價值觀
執法 計劃實施(已啟用或已禁用)。 'Disabled'
'Enabled'
選項 此服務的治理選項(允許、拒絕、ExceptionOnly 或 NotApplicable)。 '允許'
“否認”
“僅例外”
'NotApplicable'
policy作 策略的強制模式。 AuditOnly、Enforce 或 None。 “僅審計”
“執行”
'None'
serviceId 服務 ID 服務識別碼 'AKS'
“AppService”
“Azure防火牆”
'ContainerRegistry'
“CosmosDB”
“資料連接器”
“見解”
“金鑰庫”
“邏輯”
“微軟SQL”
“監控”
'PostgreSQL'
“PrivateDNSZones”
'ServiceBus'
“存儲”(必填)

維護模式配置模型

名稱 說明 價值觀
理由 進入或退出維護模式的理由 “治理”
「網路」
'Off'
模式 維護模式配置的當前模式 “高級”
“不能刪除”
'General'
'Off'
'On' (必要)
principals 受維護模式影響的使用者、組或服務主體物件 主體[]

ManagedServiceIdentity

名稱 說明 價值觀
型別 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
使用者指派的身份 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

強制審批者

名稱 說明 價值觀
approverEntraId 審批者的 EntraId 字串 (必要)

校長

名稱 說明 價值觀
識別碼 與主體關聯的物件ID 字串 (必要)
型別 物件ID的類型。我們目前允許使用者、組和服務主體 '組'
“ServicePrincipal”
'User' (必要)

角色分配項

名稱 說明 價值觀
principals 要向其分配此角色定義的主體ID清單 主體[]
角色定義ID 角色定義標識碼 字串 (必要)

TrackedResourceTags

名稱 說明 價值觀

UserAssignedIdentities

名稱 說明 價值觀

UserAssignedIdentity

名稱 說明 價值觀

ARM 樣本資源定義

社區資源類型可以與面向以下目標的作一起部署:

使用範例

資源格式

若要創建 Microsoft.Mission/communities 資源,請將以下 JSON 添加到範本。

{
  "type": "Microsoft.Mission/communities",
  "apiVersion": "2025-05-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "addressSpace": "string",
    "approvalSettings": {
      "connectionCreation": "string",
      "connectionDeletion": "string",
      "connectionUpdate": "string",
      "enclaveCreation": "string",
      "enclaveDeletion": "string",
      "endpointCreation": "string",
      "endpointDeletion": "string",
      "endpointUpdate": "string",
      "maintenanceMode": "string",
      "mandatoryApprovers": [
        {
          "approverEntraId": "string"
        }
      ],
      "minimumApproversRequired": "int",
      "notificationOnApprovalAction": "string",
      "notificationOnApprovalCreation": "string",
      "notificationOnApprovalDeletion": "string",
      "serviceCatalogDeployment": "string"
    },
    "communityRoleAssignments": [
      {
        "principals": [
          {
            "id": "string",
            "type": "string"
          }
        ],
        "roleDefinitionId": "string"
      }
    ],
    "dnsServers": [ "string" ],
    "firewallSku": "string",
    "governedServiceList": [
      {
        "enforcement": "string",
        "option": "string",
        "policyAction": "string",
        "serviceId": "string"
      }
    ],
    "maintenanceModeConfiguration": {
      "justification": "string",
      "mode": "string",
      "principals": [
        {
          "id": "string",
          "type": "string"
        }
      ]
    },
    "policyOverride": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.Mission/社區

名稱 說明 價值觀
apiVersion API 版本 '2025-05-01-preview'
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名稱 資源名稱 字串

Constraints:
模式 = ^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$ (必要)
屬性 此資源的資源特定屬性。 社區屬性
標記 資源標籤 標記名稱和值的字典。 請參閱 範本中的標記
型別 資源類型 “Microsoft.Mission/communities”

ApprovalSettings

名稱 說明 價值觀
連接創建 創建 enclave 連接需要批准(Required 或 NotRequired)。 “不需要”
'Required'
連接刪除 刪除 enclave 連接需要批准(Required 或 NotRequired)。 “不需要”
'Required'
連接更新 enclave 連接更新需要批准(“必需”或“非必需”)。 “不需要”
'Required'
飛地創建 創建虛擬 enclave 需要批准(必需或非必需)。 “不需要”
'Required'
enclave刪除 刪除虛擬 enclave 需要批准(Required 或 NotRequired)。 “不需要”
'Required'
端點創建 創建終結點需要批准(Required 或 NotRequired)。 “不需要”
'Required'
端點刪除 刪除終結點需要批准(必需或非必需)。 “不需要”
'Required'
端點更新 終結點更新需要批准(必需或非必需)。 “不需要”
'Required'
維護模式 切換維護模式(Required 或 NotRequired)需要批准。 “不需要”
'Required'
mandatory批准者 審批請求的強制審批者清單 強制批准者[]
minimumApproversRequired 批准請求所需的最小審批者數 整數 (int)
通知OnApproval作 將針對批准請求執行的任何作(批准/拒絕)發送通知 “不需要”
'Required'
notificationOnApprovalCreation 創建批准請求時將發送通知 “不需要”
'Required'
通知時批准刪除 刪除批准請求時將發送通知 “不需要”
'Required'
serviceCatalog部署 部署服務目錄範本需要批准(必需或非必需)。 “不需要”
'Required'

社區屬性

名稱 說明 價值觀
地址空間 位址空間。 字串
批准設置 對社區資源的各種作的批准要求。 審批設置
社區角色分配 社區角色分配 角色分配項[]
dns伺服器 DNS 伺服器。 字串[]
firewallSku 社區的 Azure 防火牆(基本、標準、高級)的 SKU。 標準是預設值 'Basic'
'Premium'
'Standard'
governedServiceList 由社區管理的服務清單。 治理服務項[]
維護模式配置 維護模式配置。 維護模式配置模型
policyOverride 社區的策略替代設置。 指定是應用特定於 enclave 的策略還是禁用策略實施。 “飛地”
'None'

治理服務項

名稱 說明 價值觀
執法 計劃實施(已啟用或已禁用)。 'Disabled'
'Enabled'
選項 此服務的治理選項(允許、拒絕、ExceptionOnly 或 NotApplicable)。 '允許'
“否認”
“僅例外”
'NotApplicable'
policy作 策略的強制模式。 AuditOnly、Enforce 或 None。 “僅審計”
“執行”
'None'
serviceId 服務 ID 服務識別碼 'AKS'
“AppService”
“Azure防火牆”
'ContainerRegistry'
“CosmosDB”
“資料連接器”
“見解”
“金鑰庫”
“邏輯”
“微軟SQL”
“監控”
'PostgreSQL'
“PrivateDNSZones”
'ServiceBus'
“存儲”(必填)

維護模式配置模型

名稱 說明 價值觀
理由 進入或退出維護模式的理由 “治理”
「網路」
'Off'
模式 維護模式配置的當前模式 “高級”
“不能刪除”
'General'
'Off'
'On' (必要)
principals 受維護模式影響的使用者、組或服務主體物件 主體[]

ManagedServiceIdentity

名稱 說明 價值觀
型別 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
使用者指派的身份 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

強制審批者

名稱 說明 價值觀
approverEntraId 審批者的 EntraId 字串 (必要)

校長

名稱 說明 價值觀
識別碼 與主體關聯的物件ID 字串 (必要)
型別 物件ID的類型。我們目前允許使用者、組和服務主體 '組'
“ServicePrincipal”
'User' (必要)

角色分配項

名稱 說明 價值觀
principals 要向其分配此角色定義的主體ID清單 主體[]
角色定義ID 角色定義標識碼 字串 (必要)

TrackedResourceTags

名稱 說明 價值觀

UserAssignedIdentities

名稱 說明 價值觀

UserAssignedIdentity

名稱 說明 價值觀

Terraform (AzAPI 提供者) 資源定義

社區資源類型可以與面向以下目標的作一起部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要創建 Microsoft.Mission/communities 資源,請將以下 Terraform 添加到範本中。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Mission/communities@2025-05-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      addressSpace = "string"
      approvalSettings = {
        connectionCreation = "string"
        connectionDeletion = "string"
        connectionUpdate = "string"
        enclaveCreation = "string"
        enclaveDeletion = "string"
        endpointCreation = "string"
        endpointDeletion = "string"
        endpointUpdate = "string"
        maintenanceMode = "string"
        mandatoryApprovers = [
          {
            approverEntraId = "string"
          }
        ]
        minimumApproversRequired = int
        notificationOnApprovalAction = "string"
        notificationOnApprovalCreation = "string"
        notificationOnApprovalDeletion = "string"
        serviceCatalogDeployment = "string"
      }
      communityRoleAssignments = [
        {
          principals = [
            {
              id = "string"
              type = "string"
            }
          ]
          roleDefinitionId = "string"
        }
      ]
      dnsServers = [
        "string"
      ]
      firewallSku = "string"
      governedServiceList = [
        {
          enforcement = "string"
          option = "string"
          policyAction = "string"
          serviceId = "string"
        }
      ]
      maintenanceModeConfiguration = {
        justification = "string"
        mode = "string"
        principals = [
          {
            id = "string"
            type = "string"
          }
        ]
      }
      policyOverride = "string"
    }
  }
}

屬性值

Microsoft.Mission/社區

名稱 說明 價值觀
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名稱 資源名稱 字串

Constraints:
模式 = ^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$ (必要)
屬性 此資源的資源特定屬性。 社區屬性
標記 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.Mission/communities@2025-05-01-preview”

ApprovalSettings

名稱 說明 價值觀
連接創建 創建 enclave 連接需要批准(Required 或 NotRequired)。 “不需要”
'Required'
連接刪除 刪除 enclave 連接需要批准(Required 或 NotRequired)。 “不需要”
'Required'
連接更新 enclave 連接更新需要批准(“必需”或“非必需”)。 “不需要”
'Required'
飛地創建 創建虛擬 enclave 需要批准(必需或非必需)。 “不需要”
'Required'
enclave刪除 刪除虛擬 enclave 需要批准(Required 或 NotRequired)。 “不需要”
'Required'
端點創建 創建終結點需要批准(Required 或 NotRequired)。 “不需要”
'Required'
端點刪除 刪除終結點需要批准(必需或非必需)。 “不需要”
'Required'
端點更新 終結點更新需要批准(必需或非必需)。 “不需要”
'Required'
維護模式 切換維護模式(Required 或 NotRequired)需要批准。 “不需要”
'Required'
mandatory批准者 審批請求的強制審批者清單 強制批准者[]
minimumApproversRequired 批准請求所需的最小審批者數 整數 (int)
通知OnApproval作 將針對批准請求執行的任何作(批准/拒絕)發送通知 “不需要”
'Required'
notificationOnApprovalCreation 創建批准請求時將發送通知 “不需要”
'Required'
通知時批准刪除 刪除批准請求時將發送通知 “不需要”
'Required'
serviceCatalog部署 部署服務目錄範本需要批准(必需或非必需)。 “不需要”
'Required'

社區屬性

名稱 說明 價值觀
地址空間 位址空間。 字串
批准設置 對社區資源的各種作的批准要求。 審批設置
社區角色分配 社區角色分配 角色分配項[]
dns伺服器 DNS 伺服器。 字串[]
firewallSku 社區的 Azure 防火牆(基本、標準、高級)的 SKU。 標準是預設值 'Basic'
'Premium'
'Standard'
governedServiceList 由社區管理的服務清單。 治理服務項[]
維護模式配置 維護模式配置。 維護模式配置模型
policyOverride 社區的策略替代設置。 指定是應用特定於 enclave 的策略還是禁用策略實施。 “飛地”
'None'

治理服務項

名稱 說明 價值觀
執法 計劃實施(已啟用或已禁用)。 'Disabled'
'Enabled'
選項 此服務的治理選項(允許、拒絕、ExceptionOnly 或 NotApplicable)。 '允許'
“否認”
“僅例外”
'NotApplicable'
policy作 策略的強制模式。 AuditOnly、Enforce 或 None。 “僅審計”
“執行”
'None'
serviceId 服務 ID 服務識別碼 'AKS'
“AppService”
“Azure防火牆”
'ContainerRegistry'
“CosmosDB”
“資料連接器”
“見解”
“金鑰庫”
“邏輯”
“微軟SQL”
“監控”
'PostgreSQL'
“PrivateDNSZones”
'ServiceBus'
“存儲”(必填)

維護模式配置模型

名稱 說明 價值觀
理由 進入或退出維護模式的理由 “治理”
「網路」
'Off'
模式 維護模式配置的當前模式 “高級”
“不能刪除”
'General'
'Off'
'On' (必要)
principals 受維護模式影響的使用者、組或服務主體物件 主體[]

ManagedServiceIdentity

名稱 說明 價值觀
型別 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
使用者指派的身份 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

強制審批者

名稱 說明 價值觀
approverEntraId 審批者的 EntraId 字串 (必要)

校長

名稱 說明 價值觀
識別碼 與主體關聯的物件ID 字串 (必要)
型別 物件ID的類型。我們目前允許使用者、組和服務主體 '組'
“ServicePrincipal”
'User' (必要)

角色分配項

名稱 說明 價值觀
principals 要向其分配此角色定義的主體ID清單 主體[]
角色定義ID 角色定義標識碼 字串 (必要)

TrackedResourceTags

名稱 說明 價值觀

UserAssignedIdentities

名稱 說明 價值觀

UserAssignedIdentity

名稱 說明 價值觀