Skip to content

ServiceObservabilityProps

Properties for defining a ServiceObservability.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cms2-serviceobservability

Initializer

import com.aliyun.ros.cdk.cms2.datasource.ServiceObservabilityProps;
ServiceObservabilityProps.builder()
    .type(java.lang.String)
    .type(IResolvable)
    .workspace(java.lang.String)
    .workspace(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: The type of service observability.
workspace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspace: The workspace name.
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.

typeRequired

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

Property type: The type of service observability.


workspaceRequired

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

Property workspace: The workspace name.


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.