共用方式為


Microsoft.Solutions 應用程式 2018-02-01

Bicep 資源定義

應用程式資源類型可以部署到: 資源群組

若要瞭解資源群組部署,請參閱 Bicep

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

資源格式

若要建立 Microsoft.Solutions/applications 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.Solutions/applications@2018-02-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    family: 'string'
    model: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  kind: 'string'
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  managedBy: 'string'
  plan: {
    name: 'string'
    product: 'string'
    promotionCode: 'string'
    publisher: 'string'
    version: 'string'
  }
  properties: {
    applicationDefinitionId: 'string'
    managedResourceGroupId: 'string'
    parameters: any()
    publisherPackageId: 'string'
  }
}

屬性值

應用程式所需

名稱 描述
NAME 資源名稱 需要字串 ()
location 資源位置 字串
tags 資源標籤 標記名稱和值的字典。 請參閱 範本中的標籤
sku 資源的 SKU。 Sku
kind 受控應用程式的種類。 允許的值為 MarketPlace 和 ServiceCatalog。 需要字串 ()
身分識別 資源的身分識別。 身分識別
managedBy 管理此資源之資源的識別碼。 字串
計劃 計畫資訊。 方案
properties 受控應用程式屬性。 需要 ApplicationProperties ()

Identity

名称 描述
type 識別類型。 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為資源識別碼:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 object

計畫

名稱 描述
NAME 計畫名稱。 需要字串 ()
product 產品代碼。 需要字串 ()
promotionCode 促銷碼。 字串
publisher 發行者識別碼。 需要字串 ()
version 方案的版本。 需要字串 ()

ApplicationProperties

名稱 描述
applicationDefinitionId 受控應用程式定義識別碼的完整路徑。 字串
managedResourceGroupId 受控資源群組識別碼。 字串
parameters 定義受控應用程式參數的名稱和值組。 它可以是 JObject 或格式正確的 JSON 字串。 針對 Bicep,您可以使用 any () 函式。
publisherPackageId 發行者套件識別碼。 字串

SKU

名稱 描述
處理能力 SKU 容量。 int
family SKU 系列。 字串
model SKU 模型。 字串
NAME SKU 名稱。 字串 (必要)
{1}size{2} SKU 大小。 字串
tier SKU 層。 字串

快速入門範本

下列快速入門範本會部署此資源類型。

[範本] 描述
使用自訂檢視建立受控應用程式

部署至 Azure
此範本會建立具有自訂預設檢視的受控應用程式。
建立部署連結範本的受控應用程式

部署至 Azure
此範本會建立可部署連結範本的受控應用程式。
使用計量和警示建立受控應用程式

部署至 Azure
此範本會建立具有應用程式計量和警示的受控應用程式。

ARM 範本資源定義

應用程式資源類型可以部署到: 資源群組

若要瞭解資源群組部署,請參閱 ARM 範本

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

資源格式

若要建立 Microsoft.Solutions/applications 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.Solutions/applications",
  "apiVersion": "2018-02-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "model": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "kind": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {}
  },
  "managedBy": "string",
  "plan": {
    "name": "string",
    "product": "string",
    "promotionCode": "string",
    "publisher": "string",
    "version": "string"
  },
  "properties": {
    "applicationDefinitionId": "string",
    "managedResourceGroupId": "string",
    "parameters": {},
    "publisherPackageId": "string"
  }
}

屬性值

應用程式所需

名稱 描述
type 資源類型 'Microsoft.Solutions/applications'
apiVersion 資源 API 版本 '2018-02-01'
NAME 資源名稱 字串 (必要)
location 資源位置 字串
tags 資源標籤 標記名稱和值的字典。 請參閱 範本中的標記
sku 資源的 SKU。 Sku
kind 受控應用程式的種類。 允許的值是 MarketPlace 和 ServiceCatalog。 字串 (必要)
身分識別 資源的身分識別。 身分識別
managedBy 管理此資源之資源的識別碼。 字串
計劃 計畫資訊。 方案
properties Managed 應用程式屬性。 需要 ApplicationProperties ()

Identity

名称 描述
type 識別類型。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為資源識別碼:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 object

計畫

名稱 描述
NAME 計畫名稱。 需要字串 ()
product 產品代碼。 需要字串 ()
promotionCode 促銷碼。 字串
publisher 發行者識別碼。 需要字串 ()
version 方案的版本。 需要字串 ()

ApplicationProperties

名稱 描述
applicationDefinitionId 受控應用程式定義識別碼的完整路徑。 字串
managedResourceGroupId 受控資源群組識別碼。 字串
parameters 定義受控應用程式參數的名稱和值組。 它可以是 JObject 或格式正確的 JSON 字串。
publisherPackageId 發行者套件識別碼。 字串

SKU

名稱 描述
處理能力 SKU 容量。 int
family SKU 系列。 字串
model SKU 模型。 字串
NAME SKU 名稱。 需要字串 ()
{1}size{2} SKU 大小。 字串
tier SKU 層。 字串

快速入門範本

下列快速入門範本會部署此資源類型。

[範本] 描述
使用自訂檢視建立受控應用程式

部署至 Azure
此範本會建立具有自訂預設檢視的受控應用程式。
建立部署連結範本的受控應用程式

部署至 Azure
此範本會建立部署連結範本的受控應用程式。
使用計量和警示建立受控應用程式

部署至 Azure
此範本會建立具有應用程式計量和警示的受控應用程式。

Terraform (AzAPI 提供者) 資源定義

應用程式資源類型可以部署到: 資源群組

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

資源格式

若要建立 Microsoft.Solutions/applications 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Solutions/applications@2018-02-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      applicationDefinitionId = "string"
      managedResourceGroupId = "string"
      publisherPackageId = "string"
    }
    sku = {
      capacity = int
      family = "string"
      model = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
    kind = "string"
    managedBy = "string"
    plan = {
      name = "string"
      product = "string"
      promotionCode = "string"
      publisher = "string"
      version = "string"
    }
  })
}

屬性值

應用程式所需

名稱 描述
type 資源類型 「Microsoft.Solutions/applications@2018-02-01」
NAME 資源名稱 需要字串 ()
location 資源位置 字串
parent_id 若要部署至資源群組,請使用該資源群組的識別碼。 需要字串 ()
tags 資源標籤 標記名稱和值的字典。
sku 資源的 SKU。 Sku
kind 受控應用程式的種類。 允許的值為 MarketPlace 和 ServiceCatalog。 需要字串 ()
身分識別 資源的身分識別。 身分識別
managedBy 管理此資源之資源的識別碼。 字串
計劃 計畫資訊。 方案
properties 受控應用程式屬性。 需要 ApplicationProperties ()

Identity

名称 描述
type 識別類型。 「SystemAssigned」
「SystemAssigned, UserAssigned」
「UserAssigned」
identity_ids 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為資源識別碼:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 使用者身分識別識別碼的陣列。

計畫

名稱 描述
NAME 計畫名稱。 需要字串 ()
product 產品代碼。 需要字串 ()
promotionCode 促銷碼。 字串
publisher 發行者識別碼。 需要字串 ()
version 方案的版本。 需要字串 ()

ApplicationProperties

名稱 描述
applicationDefinitionId 受控應用程式定義識別碼的完整路徑。 字串
managedResourceGroupId 受控資源群組識別碼。 字串
parameters 定義受控應用程式參數的名稱和值組。 它可以是 JObject 或格式正確的 JSON 字串。
publisherPackageId 發行者套件識別碼。 字串

SKU

名稱 描述
處理能力 SKU 容量。 int
family SKU 系列。 字串
model SKU 模型。 字串
NAME SKU 名稱。 需要字串 ()
{1}size{2} SKU 大小。 字串
tier SKU 層。 字串