ALIYUN::CEN::CenVbrHealthCheck類型用於開啟邊界路由器(VBR)的健全狀態檢查功能或者修改VBR的健全狀態檢查配置。
文法
{
"Type": "ALIYUN::CEN::CenVbrHealthCheck",
"Properties": {
"VbrInstanceRegionId": String,
"HealthCheckInterval": Integer,
"VbrInstanceId": String,
"VbrInstanceOwnerId": Integer,
"HealthCheckSourceIp": String,
"HealthyThreshold": Integer,
"CenId": String,
"HealthCheckTargetIp": String
}
}
屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
CenId | String | 是 | 否 | 雲企業網執行個體ID。 | 無 |
HealthCheckTargetIp | String | 是 | 是 | 健全狀態檢查的目標IP地址。 | 目標IP地址為VBR客戶側IP地址。 |
VbrInstanceId | String | 是 | 否 | VBR執行個體ID。 | 無 |
VbrInstanceRegionId | String | 是 | 否 | VBR執行個體所在的地區。 | 無 |
HealthCheckInterval | Integer | 否 | 是 | 健全狀態檢查發送連續探測報文的時間間隔。 | 取值:
單位:秒。 |
HealthCheckSourceIp | String | 否 | 是 | 健全狀態檢查的源IP地址。 | 可通過以下兩種方式進行配置:
|
HealthyThreshold | Integer | 否 | 是 | 健全狀態檢查發送探測報文的個數。 | 取值範圍:3~8。 預設值:8。 單位:個。 |
VbrInstanceOwnerId | Integer | 否 | 是 | VBR所屬帳號的UID。 | 無 |
傳回值
Fn::GetAtt
VbrInstanceRegionId:VBR執行個體所在的地區。
HealthCheckInterval:健全狀態檢查發送連續探測報文的時間間隔。
VbrInstanceId:VBR執行個體ID。
VbrInstanceOwnerId:VBR所屬帳號的UID。
HealthCheckSourceIp:健全狀態檢查的源IP地址。
HealthyThreshold:健全狀態檢查發送探測報文的個數。
CenId:雲企業網執行個體ID。
HealthCheckTargetIp:健全狀態檢查的目標IP地址。
樣本
YAML
格式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
CenId:
Description: The ID of the CEN instance.
Type: String
HealthCheckInterval:
Description: 'Specifies the time interval at which probe packets are sent during
the health check. Default value: 2. Valid values: 2 to 3. Unit: second.'
Type: Number
HealthCheckSourceIp:
Description: 'You can use either of the following methods to specify the source
IP address of the health check. Automatic IP Address: The system automatically
assigns an IP address within the CIDR block 100.96.0.0/16 (recommended). Custom
IP Address: You can specify a source IP address that is available within the
CIDR block 10.0.0.0/8, 192.168.0.0/16, or 172.16.0.0/12. The specified source
IP address must not overlap with the IP addresses of the Alibaba Cloud-facing
and client-facing interfaces on the VBR instance, or the IP addresses of the
instances with which the VBR instance needs to communicate in the CEN.'
Type: String
HealthCheckTargetIp:
Description: Specifies the destination IP address of the health check. The destination
IP address is the IP address of the client-facing interface on the VBR instance.
Type: String
HealthyThreshold:
Description: 'Specifies the number of probe packets to be sent during the health
check. Default value: 8. Valid values: 3 to 8. Unit: packet.'
Type: Number
VbrInstanceId:
Description: The ID of the VBR instance.
Type: String
VbrInstanceOwnerId:
Description: The User ID (UID) of the account to which the VBR instance belongs.
Type: Number
VbrInstanceRegionId:
Description: The ID of the region where the VBR instance is deployed. You can
call the DescribeRegionsoperation to query region IDs.
Type: String
Resources:
CENCenVbrHealthCheck:
Properties:
CenId:
Ref: CenId
HealthCheckInterval:
Ref: HealthCheckInterval
HealthCheckSourceIp:
Ref: HealthCheckSourceIp
HealthCheckTargetIp:
Ref: HealthCheckTargetIp
HealthyThreshold:
Ref: HealthyThreshold
VbrInstanceId:
Ref: VbrInstanceId
VbrInstanceOwnerId:
Ref: VbrInstanceOwnerId
VbrInstanceRegionId:
Ref: VbrInstanceRegionId
Type: ALIYUN::CEN::CenVbrHealthCheck
Outputs:
CenId:
Description: The ID of the CEN instance.
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- CenId
HealthCheckInterval:
Description: 'Specifies the time interval at which probe packets are sent during
the health check. Default value: 2. Valid values: 2 to 3. Unit: second.'
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- HealthCheckInterval
HealthCheckSourceIp:
Description: 'You can use either of the following methods to specify the source
IP address of the health check. Automatic IP Address: The system automatically
assigns an IP address within the CIDR block 100.96.0.0/16 (recommended). Custom
IP Address: You can specify a source IP address that is available within the
CIDR block 10.0.0.0/8, 192.168.0.0/16, or 172.16.0.0/12. The specified source
IP address must not overlap with the IP addresses of the Alibaba Cloud-facing
and client-facing interfaces on the VBR instance, or the IP addresses of the
instances with which the VBR instance needs to communicate in the CEN.'
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- HealthCheckSourceIp
HealthCheckTargetIp:
Description: Specifies the destination IP address of the health check. The destination
IP address is the IP address of the client-facing interface on the VBR instance.
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- HealthCheckTargetIp
HealthyThreshold:
Description: 'Specifies the number of probe packets to be sent during the health
check. Default value: 8. Valid values: 3 to 8. Unit: packet.'
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- HealthyThreshold
VbrInstanceId:
Description: The ID of the VBR instance.
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- VbrInstanceId
VbrInstanceOwnerId:
Description: The User ID (UID) of the account to which the VBR instance belongs.
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- VbrInstanceOwnerId
VbrInstanceRegionId:
Description: The ID of the region where the VBR instance is deployed. You can
call the DescribeRegionsoperation to query region IDs.
Value:
Fn::GetAtt:
- CENCenVbrHealthCheck
- VbrInstanceRegionId
JSON
格式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"VbrInstanceRegionId": {
"Type": "String",
"Description": "The ID of the region where the VBR instance is deployed. You can call the DescribeRegionsoperation to query region IDs."
},
"HealthCheckInterval": {
"Type": "Number",
"Description": "Specifies the time interval at which probe packets are sent during the health check. Default value: 2. Valid values: 2 to 3. Unit: second."
},
"VbrInstanceId": {
"Type": "String",
"Description": "The ID of the VBR instance."
},
"VbrInstanceOwnerId": {
"Type": "Number",
"Description": "The User ID (UID) of the account to which the VBR instance belongs."
},
"HealthCheckSourceIp": {
"Type": "String",
"Description": "You can use either of the following methods to specify the source IP address of the health check. Automatic IP Address: The system automatically assigns an IP address within the CIDR block 100.96.0.0/16 (recommended). Custom IP Address: You can specify a source IP address that is available within the CIDR block 10.0.0.0/8, 192.168.0.0/16, or 172.16.0.0/12. The specified source IP address must not overlap with the IP addresses of the Alibaba Cloud-facing and client-facing interfaces on the VBR instance, or the IP addresses of the instances with which the VBR instance needs to communicate in the CEN."
},
"HealthyThreshold": {
"Type": "Number",
"Description": "Specifies the number of probe packets to be sent during the health check. Default value: 8. Valid values: 3 to 8. Unit: packet."
},
"CenId": {
"Type": "String",
"Description": "The ID of the CEN instance."
},
"HealthCheckTargetIp": {
"Type": "String",
"Description": "Specifies the destination IP address of the health check. The destination IP address is the IP address of the client-facing interface on the VBR instance."
}
},
"Resources": {
"CENCenVbrHealthCheck": {
"Type": "ALIYUN::CEN::CenVbrHealthCheck",
"Properties": {
"VbrInstanceRegionId": {
"Ref": "VbrInstanceRegionId"
},
"HealthCheckInterval": {
"Ref": "HealthCheckInterval"
},
"VbrInstanceId": {
"Ref": "VbrInstanceId"
},
"VbrInstanceOwnerId": {
"Ref": "VbrInstanceOwnerId"
},
"HealthCheckSourceIp": {
"Ref": "HealthCheckSourceIp"
},
"HealthyThreshold": {
"Ref": "HealthyThreshold"
},
"CenId": {
"Ref": "CenId"
},
"HealthCheckTargetIp": {
"Ref": "HealthCheckTargetIp"
}
}
}
},
"Outputs": {
"VbrInstanceRegionId": {
"Description": "The ID of the region where the VBR instance is deployed. You can call the DescribeRegionsoperation to query region IDs.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"VbrInstanceRegionId"
]
}
},
"HealthCheckInterval": {
"Description": "Specifies the time interval at which probe packets are sent during the health check. Default value: 2. Valid values: 2 to 3. Unit: second.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"HealthCheckInterval"
]
}
},
"VbrInstanceId": {
"Description": "The ID of the VBR instance.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"VbrInstanceId"
]
}
},
"VbrInstanceOwnerId": {
"Description": "The User ID (UID) of the account to which the VBR instance belongs.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"VbrInstanceOwnerId"
]
}
},
"HealthCheckSourceIp": {
"Description": "You can use either of the following methods to specify the source IP address of the health check. Automatic IP Address: The system automatically assigns an IP address within the CIDR block 100.96.0.0/16 (recommended). Custom IP Address: You can specify a source IP address that is available within the CIDR block 10.0.0.0/8, 192.168.0.0/16, or 172.16.0.0/12. The specified source IP address must not overlap with the IP addresses of the Alibaba Cloud-facing and client-facing interfaces on the VBR instance, or the IP addresses of the instances with which the VBR instance needs to communicate in the CEN.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"HealthCheckSourceIp"
]
}
},
"HealthyThreshold": {
"Description": "Specifies the number of probe packets to be sent during the health check. Default value: 8. Valid values: 3 to 8. Unit: packet.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"HealthyThreshold"
]
}
},
"CenId": {
"Description": "The ID of the CEN instance.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"CenId"
]
}
},
"HealthCheckTargetIp": {
"Description": "Specifies the destination IP address of the health check. The destination IP address is the IP address of the client-facing interface on the VBR instance.",
"Value": {
"Fn::GetAtt": [
"CENCenVbrHealthCheck",
"HealthCheckTargetIp"
]
}
}
}
}