DATASOURCE::ARMS::XTraceApp は、アプリケーション監視タスクに関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::ARMS::XTraceApp",
"Properties": {
"Pid": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | 型 | 必須 | 編集可能 | 説明 | 制約 |
Pid | String | はい | はい | アプリケーションの ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソースリソースのリフレッシュポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
ResourceGroupId: リソースグループの ID。
CreateTime: タスクが作成されたときのタイムスタンプ。
Pid: アプリケーションの ID。
Tags: アプリケーションのタグ。
XTraceAppName: アプリケーションの名前。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Pid:
Type: String
Description:
en: The process identifier (PID) of the application.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::ARMS::XTraceApp
Properties:
Pid:
Ref: Pid
Outputs:
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
CreateTime:
Description: The timestamp generated when the task was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
Pid:
Description: The process identifier (PID) of the application.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Pid
Tags:
Description: The tags of the application.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
XTraceAppName:
Description: The name of the application.
Value:
Fn::GetAtt:
- ExtensionDataSource
- XTraceAppName
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Pid": {
"Type": "String",
"Description": {
"en": "The process identifier (PID) of the application."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ARMS::XTraceApp",
"Properties": {
"Pid": {
"Ref": "Pid"
}
}
}
},
"Outputs": {
"ResourceGroupId": {
"Description": "リソースグループの ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"CreateTime": {
"Description": "タスクが作成されたときに生成されたタイムスタンプ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"Pid": {
"Description": "アプリケーションのプロセス ID (PID)。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Pid"
]
}
},
"Tags": {
"Description": "アプリケーションのタグ。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"XTraceAppName": {
"Description": "アプリケーションの名前。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"XTraceAppName"
]
}
}
}
}