MonitoringAgentProps
Properties for defining a MonitoringAgent
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-monitoringagent
Initializer
import ros_cdk_cms
ros_cdk_cms.MonitoringAgentProps(
force: typing.Union[bool, IResolvable] = None,
install_command: typing.Union[str, IResolvable] = None,
instance_ids: typing.Union[typing.List[typing.Any], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
force |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property force: Specifies whether to install the CloudMonitor agent. |
install_command |
typing.Union[str, ros_cdk_core.IResolvable] |
Property installCommand: Specifies whether to install the CloudMonitor agent on all ECS instances that belong to the current Alibaba Cloud account. |
instance_ids |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property instanceIds: Alibaba Cloud host ID. |
force
Optional
force: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property force: Specifies whether to install the CloudMonitor agent.
Valid values: true (default value): yes false: no
install_command
Optional
install_command: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property installCommand: Specifies whether to install the CloudMonitor agent on all ECS instances that belong to the current Alibaba Cloud account.
Valid values: onlyInstallNotHasAgent: installs the latest version of the CloudMonitor agent only on ECS instances on which the agent is not installed. onlyUpgradeAgent: upgrades the CloudMonitor agent to the latest version only for ECS instances on which an earlier version of the agent is installed. installAndUpgrade: installs the latest version of the CloudMonitor agent on ECS instances on which the agent is not installed, and upgrades the CloudMonitor agent to the latest version for ECS instances on which an earlier version of the agent is installed. Note If you set the InstallCommand parameter, the InstanceIds parameter does not take effect.
instance_ids
Optional
instance_ids: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property instanceIds: Alibaba Cloud host ID.
The range of n: 1 ~ 10. Explain that InstallCommand and InstanceIds must be selected one by one.