Microsoft.AppPlatform Spring/monitoringSettings 2020-07-01

Bicep リソース定義

Spring/monitoringSettings リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.AppPlatform/Spring/monitoringSettings リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.AppPlatform/Spring/monitoringSettings@2020-07-01' = {
  name: 'default'
  parent: resourceSymbolicName
  properties: {
    appInsightsInstrumentationKey: 'string'
    error: {
      code: 'string'
      message: 'string'
    }
    traceEnabled: bool
  }
}

プロパティ値

Spring/monitoringSettings

名前 形容 価値
名前 リソース名

Bicepで子リソースの名前と種類 設定する方法を参照してください。
'default'
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: Spring
プロパティ 監視設定リソースのプロパティ MonitoringSettingProperties

MonitoringSettingProperties

名前 形容 価値
appInsightsInstrumentationKey ターゲット アプリケーション分析情報インストルメンテーション キー
エラー 監視設定の変更を適用するときにエラーが発生しました。 エラー
traceEnabled トレース機能を有効にするかどうかを示します bool

エラー

名前 形容 価値
コード エラーのコード。
メッセージ エラーのメッセージ。

クイック スタート テンプレート

次のクイック スタート テンプレートでは、このリソースの種類をデプロイします。

テンプレート 形容
単純な Azure Spring Apps マイクロサービス アプリケーション をデプロイする

Azure にデプロイする
このテンプレートは、Azure 上で実行する単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイします。

ARM テンプレート リソース定義

Spring/monitoringSettings リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.AppPlatform/Spring/monitoringSettings リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.AppPlatform/Spring/monitoringSettings",
  "apiVersion": "2020-07-01",
  "name": "default",
  "properties": {
    "appInsightsInstrumentationKey": "string",
    "error": {
      "code": "string",
      "message": "string"
    },
    "traceEnabled": "bool"
  }
}

プロパティ値

Spring/monitoringSettings

名前 形容 価値
種類 リソースの種類 'Microsoft.AppPlatform/Spring/monitoringSettings'
apiVersion リソース API のバージョン '2020-07-01'
名前 リソース名

JSON ARM テンプレートで子リソースの名前と型 設定する方法を参照してください。
'default'
プロパティ 監視設定リソースのプロパティ MonitoringSettingProperties

MonitoringSettingProperties

名前 形容 価値
appInsightsInstrumentationKey ターゲット アプリケーション分析情報インストルメンテーション キー
エラー 監視設定の変更を適用するときにエラーが発生しました。 エラー
traceEnabled トレース機能を有効にするかどうかを示します bool

エラー

名前 形容 価値
コード エラーのコード。
メッセージ エラーのメッセージ。

クイック スタート テンプレート

次のクイック スタート テンプレートでは、このリソースの種類をデプロイします。

テンプレート 形容
単純な Azure Spring Apps マイクロサービス アプリケーション をデプロイする

Azure にデプロイする
このテンプレートは、Azure 上で実行する単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイします。

Terraform (AzAPI プロバイダー) リソース定義

Spring/monitoringSettings リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループの

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.AppPlatform/Spring/monitoringSettings リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/monitoringSettings@2020-07-01"
  name = "default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      appInsightsInstrumentationKey = "string"
      error = {
        code = "string"
        message = "string"
      }
      traceEnabled = bool
    }
  })
}

プロパティ値

Spring/monitoringSettings

名前 形容 価値
種類 リソースの種類 "Microsoft.AppPlatform/Spring/monitoringSettings@2020-07-01"
名前 リソース名 "default"
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: Spring
プロパティ 監視設定リソースのプロパティ MonitoringSettingProperties

MonitoringSettingProperties

名前 形容 価値
appInsightsInstrumentationKey ターゲット アプリケーション分析情報インストルメンテーション キー
エラー 監視設定の変更を適用するときにエラーが発生しました。 エラー
traceEnabled トレース機能を有効にするかどうかを示します bool

エラー

名前 形容 価値
コード エラーのコード。
メッセージ エラーのメッセージ。