Skip to content

ManagedInstancesProps

Properties for defining a ManagedInstances.

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

Initializer

import com.aliyun.ros.cdk.ecs.datasource.ManagedInstancesProps;
ManagedInstancesProps.builder()
//  .activationId(java.lang.String)
//  .activationId(IResolvable)
//  .instanceId(IResolvable)
//  .instanceId(java.util.List<java.lang.String)
//  .instanceId(IResolvable>)
//  .instanceIp(java.lang.String)
//  .instanceIp(IResolvable)
//  .instanceName(java.lang.String)
//  .instanceName(IResolvable)
//  .osType(java.lang.String)
//  .osType(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
activationId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property activationId: The ID of the activation code.
instanceId com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property instanceId: The ID of managed instance.
instanceIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceIp: The internal or public IP address of the managed instance.
instanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceName: The name of the managed instance.
osType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property osType: The operating system type of the managed instance.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
tags java.util.List Property tags: Tags of managedinstance.

activationIdOptional

public java.lang.Object getActivationId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property activationId: The ID of the activation code.


instanceIdOptional

public java.lang.Object getInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property instanceId: The ID of managed instance.

Valid values of N: 1 to 50.


instanceIpOptional

public java.lang.Object getInstanceIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


instanceNameOptional

public java.lang.Object getInstanceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceName: The name of the managed instance.


osTypeOptional

public java.lang.Object getOsType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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

Valid values: windows linux


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.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 java.util.List<TagsProperty> getTags();
  • Type: java.util.List

Property tags: Tags of managedinstance.