Skip to content

ManagedInstancesProps

Properties for defining a ManagedInstances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-managedinstances

Initializer

import { datasource } from '@alicloud/ros-cdk-ecs'
const managedInstancesProps: datasource.ManagedInstancesProps = { ... }

Properties

Name Type Description
activationId string | @alicloud/ros-cdk-core.IResolvable Property activationId: The ID of the activation code.
instanceId @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property instanceId: The ID of managed instance.
instanceIp string | @alicloud/ros-cdk-core.IResolvable Property instanceIp: The internal or public IP address of the managed instance.
instanceName string | @alicloud/ros-cdk-core.IResolvable Property instanceName: The name of the managed instance.
osType string | @alicloud/ros-cdk-core.IResolvable Property osType: The operating system type of the managed instance.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
tags @alicloud/ros-cdk-ecs.datasource.RosManagedInstances.TagsProperty[] Property tags: Tags of managedinstance.

activationIdOptional

public readonly activationId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property activationId: The ID of the activation code.


instanceIdOptional

public readonly instanceId: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property instanceId: The ID of managed instance.

Valid values of N: 1 to 50.


instanceIpOptional

public readonly instanceIp: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceIp: The internal or public IP address of the managed instance.


instanceNameOptional

public readonly instanceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceName: The name of the managed instance.


osTypeOptional

public readonly osType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property osType: The operating system type of the managed instance.

Valid values: windows linux


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.


tagsOptional

public readonly tags: TagsProperty[];
  • Type: @alicloud/ros-cdk-ecs.datasource.RosManagedInstances.TagsProperty[]

Property tags: Tags of managedinstance.