次の方法で共有


Managed Environments Diagnostics - Get Root

コンテナー アプリのホストに使用されるマネージド環境のプロパティを取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/detectorProperties/rootApi/?api-version=2024-03-01

URI パラメーター

名前 / 必須 説明
environmentName
path True

string

環境の名前。

resourceGroupName
path True

string

minLength: 1
maxLength: 90

リソース グループの名前。 名前では大文字と小文字が区別されません。

subscriptionId
path True

string

minLength: 1

ターゲット サブスクリプションの ID。

api-version
query True

string

minLength: 1

この操作に使用する API バージョン。

応答

名前 説明
200 OK

ManagedEnvironment

わかりました

Other Status Codes

DefaultErrorResponse

一般的なエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

Get environments by name

要求のサンプル

GET https://management.azure.com/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1/detectorProperties/rootApi/?api-version=2024-03-01

応答のサンプル

{
  "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/jlaw-demo1",
  "name": "jlaw-demo1",
  "type": "Microsoft.App/managedEnvironments",
  "location": "North Central US",
  "tags": {},
  "properties": {
    "provisioningState": "Succeeded",
    "deploymentErrors": null,
    "defaultDomain": "jlaw-demo1.k4apps.io",
    "staticIp": "20.42.33.145",
    "zoneRedundant": true,
    "vnetConfiguration": {
      "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1"
    },
    "customDomainConfiguration": {
      "customDomainVerificationId": "custom domain verification id",
      "dnsSuffix": "www.my-name.com",
      "subjectName": "CN=www.my-name.com",
      "expirationDate": "2022-11-06T04:00:00Z",
      "thumbprint": "CERTIFICATE_THUMBPRINT"
    },
    "eventStreamEndpoint": "testEndpoint",
    "workloadProfiles": [
      {
        "name": "My-GP-01",
        "workloadProfileType": "GeneralPurpose",
        "minimumCount": 3,
        "maximumCount": 12
      },
      {
        "name": "My-MO-01",
        "workloadProfileType": "MemoryOptimized",
        "minimumCount": 3,
        "maximumCount": 6
      },
      {
        "name": "My-CO-01",
        "workloadProfileType": "ComputeOptimized",
        "minimumCount": 3,
        "maximumCount": 6
      },
      {
        "name": "My-consumption-01",
        "workloadProfileType": "Consumption"
      }
    ],
    "kedaConfiguration": {
      "version": "2.8.1"
    },
    "daprConfiguration": {
      "version": "1.9"
    },
    "infrastructureResourceGroup": "capp-svc-jlaw-demo1-northcentralus",
    "peerAuthentication": {
      "mtls": {
        "enabled": true
      }
    },
    "peerTrafficConfiguration": {
      "encryption": {
        "enabled": true
      }
    }
  }
}

定義

名前 説明
AppLogsConfiguration

アプリケーション ログの構成

createdByType

リソースを作成した ID の種類。

CustomDomainConfiguration

アプリ環境カスタム ドメインの構成プロパティ

DaprConfiguration

構成プロパティ Dapr コンポーネント

DefaultErrorResponse

App Service エラー応答。

Details

詳細またはエラー

Encryption

マネージド環境のピア トラフィック暗号化設定

EnvironmentProvisioningState

環境のプロビジョニング状態。

Error

エラー モデル。

KedaConfiguration

構成プロパティ Keda コンポーネント

LogAnalyticsConfiguration

Log Analytics の構成は、宛先が 'log-analytics' として構成されている場合にのみ指定する必要があります

ManagedEnvironment

コンテナー アプリをホストするための環境

Mtls

相互 TLS 認証の構成プロパティ

PeerAuthentication

マネージド環境のピア認証設定

PeerTrafficConfiguration

マネージド環境のピア トラフィック設定

systemData

リソースの作成と最後の変更に関連するメタデータ。

VnetConfiguration

仮想ネットワークに参加するためのアプリ環境の構成プロパティ

WorkloadProfile

コンテナー アプリの実行をスコープにするワークロード プロファイル。

AppLogsConfiguration

アプリケーション ログの構成

名前 説明
destination

string

ログの宛先は、"log-analytics"、"azure-monitor"、または "none" にすることができます

logAnalyticsConfiguration

LogAnalyticsConfiguration

Log Analytics の構成は、宛先が 'log-analytics' として構成されている場合にのみ指定する必要があります

createdByType

リソースを作成した ID の種類。

説明
Application
Key
ManagedIdentity
User

CustomDomainConfiguration

アプリ環境カスタム ドメインの構成プロパティ

名前 説明
certificatePassword

string

証明書のパスワード

certificateValue

string (byte)

PFX または PEM BLOB

customDomainVerificationId

string

ドメイン名の所有権を確認するために使用される ID

dnsSuffix

string

環境ドメインの DNS サフィックス

expirationDate

string (date-time)

証明書の有効期限。

subjectName

string

証明書のサブジェクト名。

thumbprint

string

証明書の拇印。

DaprConfiguration

構成プロパティ Dapr コンポーネント

名前 説明
version

string

Dapr のバージョン

DefaultErrorResponse

App Service エラー応答。

名前 説明
error

Error

エラー モデル。

Details

詳細またはエラー

名前 説明
code

string

プログラムによってエラーを識別するための標準化された文字列。

message

string

エラーの詳細な説明とデバッグ情報。

target

string

エラーの詳細な説明とデバッグ情報。

Encryption

マネージド環境のピア トラフィック暗号化設定

名前 説明
enabled

boolean

ピア トラフィック暗号化が有効かどうかを示すブール値

EnvironmentProvisioningState

環境のプロビジョニング状態。

説明
Canceled
Failed
InfrastructureSetupComplete
InfrastructureSetupInProgress
InitializationInProgress
ScheduledForDelete
Succeeded
UpgradeFailed
UpgradeRequested
Waiting

Error

エラー モデル。

名前 説明
code

string

プログラムによってエラーを識別するための標準化された文字列。

details

Details[]

詳細またはエラー

innererror

string

デバッグ エラーの詳細。

message

string

エラーの詳細な説明とデバッグ情報。

target

string

エラーの詳細な説明とデバッグ情報。

KedaConfiguration

構成プロパティ Keda コンポーネント

名前 説明
version

string

Keda のバージョン

LogAnalyticsConfiguration

Log Analytics の構成は、宛先が 'log-analytics' として構成されている場合にのみ指定する必要があります

名前 説明
customerId

string

Log Analytics の顧客 ID

sharedKey

string

Log Analytics カスタマー キー

ManagedEnvironment

コンテナー アプリをホストするための環境

名前 説明
id

string

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind

string

環境の種類。

location

string

リソースが存在する地理的な場所

name

string

リソースの名前

properties.appLogsConfiguration

AppLogsConfiguration

ログ デーモンが構成された宛先にアプリ ログをエクスポートできるようにするクラスター構成。

properties.customDomainConfiguration

CustomDomainConfiguration

環境のカスタム ドメイン構成

properties.daprAIConnectionString

string

サービスからサービスへの通信テレメトリのエクスポートに Dapr によって使用される Application Insights 接続文字列

properties.daprAIInstrumentationKey

string

サービス間通信テレメトリをエクスポートするために Dapr によって使用される Azure Monitor インストルメンテーション キー

properties.daprConfiguration

DaprConfiguration

Dapr コンポーネントの構成。

properties.defaultDomain

string

クラスターの既定のドメイン名

properties.deploymentErrors

string

デプロイまたはデプロイの検証中に発生したエラー

properties.eventStreamEndpoint

string

環境のイベントストリームのエンドポイント。

properties.infrastructureResourceGroup

string

インフラストラクチャ リソースをホストするために Managed Environment 用に作成されたプラットフォームマネージド リソース グループの名前。 サブネット ID が指定されている場合、このリソース グループはサブネットと同じサブスクリプションに作成されます。

properties.kedaConfiguration

KedaConfiguration

Keda コンポーネントの構成。

properties.peerAuthentication

PeerAuthentication

マネージド環境のピア認証設定

properties.peerTrafficConfiguration

PeerTrafficConfiguration

マネージド環境のピア トラフィック設定

properties.provisioningState

EnvironmentProvisioningState

環境のプロビジョニング状態。

properties.staticIp

string

環境の静的 IP

properties.vnetConfiguration

VnetConfiguration

環境の Vnet 構成

properties.workloadProfiles

WorkloadProfile[]

マネージド環境用に構成されたワークロード プロファイル。

properties.zoneRedundant

boolean

このマネージド環境がゾーン冗長であるかどうか。

systemData

systemData

createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。

tags

object

リソース タグ。

type

string

リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

Mtls

相互 TLS 認証の構成プロパティ

名前 説明
enabled

boolean

相互 TLS 認証が有効かどうかを示すブール値

PeerAuthentication

マネージド環境のピア認証設定

名前 説明
mtls

Mtls

マネージド環境の相互 TLS 認証設定

PeerTrafficConfiguration

マネージド環境のピア トラフィック設定

名前 説明
encryption

Encryption

マネージド環境のピア トラフィック暗号化設定

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string (date-time)

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string (date-time)

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。

VnetConfiguration

仮想ネットワークに参加するためのアプリ環境の構成プロパティ

名前 説明
dockerBridgeCidr

string

Docker ブリッジ、ネットワークに割り当てられた CIDR 表記 IP 範囲。 他の指定された IP 範囲と重複してはなりません。

infrastructureSubnetId

string

インフラストラクチャ コンポーネントのサブネットのリソース ID。 他の指定された IP 範囲と重複してはなりません。

internal

boolean

環境に内部ロード バランサーのみが存在することを示すブール値。 これらの環境には、パブリック静的 IP リソースがありません。 このプロパティを有効にする場合は、infrastructureSubnetId を指定する必要があります

platformReservedCidr

string

環境インフラストラクチャの IP アドレス用に予約できる CIDR 表記の IP 範囲。 他の指定された IP 範囲と重複してはなりません。

platformReservedDnsIP

string

内部 DNS サーバー用に予約される platformReservedCidr によって定義された IP 範囲の IP アドレス。

WorkloadProfile

コンテナー アプリの実行をスコープにするワークロード プロファイル。

名前 説明
maximumCount

integer (int32)

最大容量。

minimumCount

integer (int32)

最小容量。

name

string

実行するワークロードのワークロード プロファイルの種類。

workloadProfileType

string

実行するワークロードのワークロード プロファイルの種類。