The ALIYUN::NLB::HdMonitorRegionConfig type configures second-level monitoring storage.
Syntax
{
"Type": "ALIYUN::NLB::HdMonitorRegionConfig",
"Properties": {
"LogProject": String,
"MetricStore": String
}
}Properties
Parameter | Type | Required | Update allowed | Description | Constraints |
LogProject | String | Yes | Yes | The name of the Log Service LogProject. | None |
MetricStore | String | Yes | Yes | The name of the Log Service MetricStore. | None |
Return values
Fn::GetAtt
MetricStore: The name of the specified MetricStore.
LogProject: The name of the specified LogProject.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
LogProject:
Description:
en: The name of the LogProject.
Required: true
Type: String
MetricStore:
Description:
en: The name of the MetricStore.
Required: true
Type: String
Resources:
ExtensionResource:
Properties:
LogProject:
Ref: LogProject
MetricStore:
Ref: MetricStore
Type: ALIYUN::NLB::HdMonitorRegionConfig
Outputs:
LogProject:
Description: The name of the LogProject.
Value:
Fn::GetAtt:
- ExtensionResource
- LogProject
MetricStore:
Description: The name of the MetricStore.
Value:
Fn::GetAtt:
- ExtensionResource
- MetricStore
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"MetricStore": {
"Type": "String",
"Description": {
"en": "The name of the MetricStore."
},
"Required": true
},
"LogProject": {
"Type": "String",
"Description": {
"en": "The name of the LogProject."
},
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::NLB::HdMonitorRegionConfig",
"Properties": {
"MetricStore": {
"Ref": "MetricStore"
},
"LogProject": {
"Ref": "LogProject"
}
}
}
},
"Outputs": {
"MetricStore": {
"Description": "The name of the MetricStore.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"MetricStore"
]
}
},
"LogProject": {
"Description": "The name of the LogProject.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"LogProject"
]
}
}
}
}
该文章对您有帮助吗?