共用方式為


Microsoft.App connectedEnvironments 2023-05-02-preview

Bicep 資源定義

connectedEnvironments 資源類型可以使用目標作業來部署:

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

資源格式

若要建立 Microsoft.App/connectedEnvironments 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.App/connectedEnvironments@2023-05-02-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    customDomainConfiguration: {
      certificatePassword: 'string'
      certificateValue: any(Azure.Bicep.Types.Concrete.AnyType)
      dnsSuffix: 'string'
    }
    daprAIConnectionString: 'string'
    staticIp: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

ConnectedEnvironmentProperties

名字 描述 價值
customDomainConfiguration 環境的自定義網域組態 CustomDomainConfiguration
daprAIConnectionString Dapr 用來將服務導出至服務通訊遙測的 Application Insights 連接字串 字串

約束:
敏感性值。 以安全參數的形式傳入。
staticIp connectedEnvironment 的靜態 IP 字串

CustomDomainConfiguration

名字 描述 價值
certificatePassword 憑證密碼 字串

約束:
敏感性值。 以安全參數的形式傳入。
certificateValue PFX 或 PEM Blob 任何
dnsSuffix 環境網域的 Dns 後綴 字串

ExtendedLocation

名字 描述 價值
名字 擴充位置的名稱。 字串
類型 擴充位置的類型。 'CustomLocation'

Microsoft.App/connectedEnvironments

名字 描述 價值
extendedLocation 擴充位置的複雜類型。 ExtendedLocation
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 ConnectedEnvironment 資源特定屬性 ConnectedEnvironmentProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

TrackedResourceTags

名字 描述 價值

ARM 樣本資源定義

connectedEnvironments 資源類型可以使用目標作業來部署:

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

資源格式

若要建立 Microsoft.App/connectedEnvironments 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.App/connectedEnvironments",
  "apiVersion": "2023-05-02-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
    "customDomainConfiguration": {
      "certificatePassword": "string",
      "certificateValue": {},
      "dnsSuffix": "string"
    },
    "daprAIConnectionString": "string",
    "staticIp": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

ConnectedEnvironmentProperties

名字 描述 價值
customDomainConfiguration 環境的自定義網域組態 CustomDomainConfiguration
daprAIConnectionString Dapr 用來將服務導出至服務通訊遙測的 Application Insights 連接字串 字串

約束:
敏感性值。 以安全參數的形式傳入。
staticIp connectedEnvironment 的靜態 IP 字串

CustomDomainConfiguration

名字 描述 價值
certificatePassword 憑證密碼 字串

約束:
敏感性值。 以安全參數的形式傳入。
certificateValue PFX 或 PEM Blob 任何
dnsSuffix 環境網域的 Dns 後綴 字串

ExtendedLocation

名字 描述 價值
名字 擴充位置的名稱。 字串
類型 擴充位置的類型。 'CustomLocation'

Microsoft.App/connectedEnvironments

名字 描述 價值
apiVersion API 版本 '2023-05-02-preview'
extendedLocation 擴充位置的複雜類型。 ExtendedLocation
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 ConnectedEnvironment 資源特定屬性 ConnectedEnvironmentProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.App/connectedEnvironments'

TrackedResourceTags

名字 描述 價值

Terraform (AzAPI 提供者) 資源定義

connectedEnvironments 資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

若要建立 Microsoft.App/connectedEnvironments 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.App/connectedEnvironments@2023-05-02-preview"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      customDomainConfiguration = {
        certificatePassword = "string"
        certificateValue = ?
        dnsSuffix = "string"
      }
      daprAIConnectionString = "string"
      staticIp = "string"
    }
  })
}

屬性值

ConnectedEnvironmentProperties

名字 描述 價值
customDomainConfiguration 環境的自定義網域組態 CustomDomainConfiguration
daprAIConnectionString Dapr 用來將服務導出至服務通訊遙測的 Application Insights 連接字串 字串

約束:
敏感性值。 以安全參數的形式傳入。
staticIp connectedEnvironment 的靜態 IP 字串

CustomDomainConfiguration

名字 描述 價值
certificatePassword 憑證密碼 字串

約束:
敏感性值。 以安全參數的形式傳入。
certificateValue PFX 或 PEM Blob 任何
dnsSuffix 環境網域的 Dns 後綴 字串

ExtendedLocation

名字 描述 價值
名字 擴充位置的名稱。 字串
類型 擴充位置的類型。 'CustomLocation'

Microsoft.App/connectedEnvironments

名字 描述 價值
extendedLocation 擴充位置的複雜類型。 ExtendedLocation
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 ConnectedEnvironment 資源特定屬性 ConnectedEnvironmentProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.App/connectedEnvironments@2023-05-02-preview”

TrackedResourceTags

名字 描述 價值