次の方法で共有


Monitors - Get

特定のモニター リソースのプロパティを取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}?api-version=2023-10-20

URI パラメーター

名前 / 必須 説明
monitorName
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

DatadogMonitorResource

成功

Other Status Codes

ErrorResponse

既定のエラー応答。

Monitors_Get

要求のサンプル

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Datadog/monitors/myMonitor?api-version=2023-10-20

応答のサンプル

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
  "name": "myMonitor",
  "type": "Microsoft.Datadog/monitors",
  "properties": {
    "provisioningState": "Succeeded",
    "monitoringStatus": "Enabled",
    "datadogOrganizationProperties": {
      "name": "myOrg",
      "id": "myOrg123",
      "linkingAuthCode": null,
      "linkingClientId": null,
      "enterpriseAppId": null,
      "cspm": false
    },
    "liftrResourceCategory": "MonitorLogs",
    "liftrResourcePreference": 1
  },
  "tags": {
    "Environment": "Dev"
  },
  "location": "West US"
}

定義

名前 説明
createdByType

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

DatadogMonitorResource
DatadogOrganizationProperties

Datadog 組織名を指定します。 既存の組織にリンクする場合は、ID、ApiKey、Applicationkey も必要です。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

IdentityProperties
LiftrResourceCategories
ManagedIdentityTypes

Datadog Monitor の ID の種類を指定します。 現時点では、使用可能な値は 'SystemAssigned' のみです。

MarketplaceSubscriptionStatus

リソースの Marketplace サブスクリプションの状態を指定するフラグ。 支払いが時間内に行われなければ、リソースは中断状態になります。

MonitoringStatus

リソース監視を有効または無効にするかどうかを指定するフラグ。

MonitorProperties

監視リソースに固有のプロパティ。

ProvisioningState
ResourceSku
systemData

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

UserInfo

名前、電子メール、および必要に応じて電話番号が含まれます。 ユーザー情報を null にすることはできません。

createdByType

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

説明
Application
Key
ManagedIdentity
User

DatadogMonitorResource

名前 説明
id

string

監視リソースの ARM ID。

identity

IdentityProperties

location

string

name

string

監視リソースの名前。

properties

MonitorProperties

監視リソースに固有のプロパティ。

sku

ResourceSku

systemData

systemData

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

tags

object

type

string

監視リソースの種類。

DatadogOrganizationProperties

Datadog 組織名を指定します。 既存の組織にリンクする場合は、ID、ApiKey、Applicationkey も必要です。

名前 説明
apiKey

string

Datadog 組織に関連付けられている API キー。

applicationKey

string

Datadog 組織に関連付けられているアプリケーション キー。

cspm

boolean

クラウド セキュリティ体制管理の状態を記述する構成。 これにより、サブスクリプション内のすべてのリソースの構成情報が収集され、業界ベンチマークへの準拠が追跡されます。

enterpriseAppId

string

シングル サインオンに使用されるエンタープライズ アプリの ID。

id

string

Datadog 組織の ID。

linkingAuthCode

string

既存の Datadog 組織へのリンクに使用される認証コード。

linkingClientId

string

組織をリンクするための認証トークンと引き換えに、既存のclient_id。

name

string

Datadog 組織の名前。

redirectUri

string

リンクのリダイレクト URI。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

IdentityProperties

名前 説明
principalId

string

ID ID。

tenantId

string

リソースのテナント ID。

type

ManagedIdentityTypes

Datadog Monitor の ID の種類を指定します。 現時点では、使用可能な値は 'SystemAssigned' のみです。

LiftrResourceCategories

説明
MonitorLogs
Unknown

ManagedIdentityTypes

Datadog Monitor の ID の種類を指定します。 現時点では、使用可能な値は 'SystemAssigned' のみです。

説明
SystemAssigned
UserAssigned

MarketplaceSubscriptionStatus

リソースの Marketplace サブスクリプションの状態を指定するフラグ。 支払いが時間内に行われなければ、リソースは中断状態になります。

説明
Active
Provisioning
Suspended
Unsubscribed

MonitoringStatus

リソース監視を有効または無効にするかどうかを指定するフラグ。

説明
Disabled
Enabled

MonitorProperties

監視リソースに固有のプロパティ。

名前 規定値 説明
datadogOrganizationProperties

DatadogOrganizationProperties

Datadog 組織名を指定します。 既存の組織にリンクする場合は、ID、ApiKey、Applicationkey も必要です。

liftrResourceCategory

LiftrResourceCategories

liftrResourcePreference

integer (int32)

リソースの優先順位。

marketplaceSubscriptionStatus

MarketplaceSubscriptionStatus

リソースの Marketplace サブスクリプションの状態を指定するフラグ。 支払いが時間内に行われなければ、リソースは中断状態になります。

monitoringStatus

MonitoringStatus

Enabled

リソース監視を有効または無効にするかどうかを指定するフラグ。

provisioningState

ProvisioningState

userInfo

UserInfo

名前、電子メール、および必要に応じて電話番号が含まれます。 ユーザー情報を null にすることはできません。

ProvisioningState

説明
Accepted
Canceled
Creating
Deleted
Deleting
Failed
NotSpecified
Succeeded
Updating

ResourceSku

名前 説明
name

string

{PlanId} 形式の SKU の名前。 Terraform の場合、許可される値は 'Linked' のみです。

systemData

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

名前 説明
createdAt

string (date-time)

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

createdBy

string

リソースを作成した ID。

createdByType

createdByType

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

lastModifiedAt

string (date-time)

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

lastModifiedBy

string

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

lastModifiedByType

createdByType

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

UserInfo

名前、電子メール、および必要に応じて電話番号が含まれます。 ユーザー情報を null にすることはできません。

名前 説明
emailAddress

string

pattern: ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$

必要に応じて、Datadog から連絡するために使用されたユーザーの電子メール

name

string

maxLength: 50

ユーザーの名前

phoneNumber

string

maxLength: 40

必要に応じて、Datadog から連絡するために使用されるユーザーの電話番号