All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::ARMS::XTraceApps

更新時間:Jan 23, 2025

DATASOURCE::ARMS::XTraceApps is used to query all the application monitoring tasks in a region.

Syntax

{
  "Type": "DATASOURCE::ARMS::XTraceApps",
  "Properties": {
    "ResourceGroupId": String,
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

ResourceGroupId

String

No

Yes

The ID of the resource group.

None.

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values

Fn::GetAtt

  • XTraceApps: details of the application monitoring tasks.

  • Pids: the IDs of the applications.

Property

Type

Description

Constraint

Pids

List

The IDs of the applications.

None.

XTraceApps

List

Details of the application monitoring tasks.

None.

XTraceAppName

String

The name of the application.

None.

Pid

String

The ID of the application.

None.

CreateTime

String

The time when the application was created.

None.

ResourceGroupId

String

The ID of the resource group.

None.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::ARMS::XTraceApps
    Properties: {}
Outputs:
  XTraceApps:
    Description: The list of Application Monitoring tasks.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - XTraceApps
  Pids:
    Description: The list of Pids.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Pids
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::ARMS::XTraceApps",
      "Properties": {
      }
    }
  },
  "Outputs": {
    "XTraceApps": {
      "Description": "The list of Application Monitoring tasks.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "XTraceApps"
        ]
      }
    },
    "Pids": {
      "Description": "The list of Pids.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Pids"
        ]
      }
    }
  }
}