Skip to content

TraceResourceProps

Properties for defining a TraceResource.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-traceresource

Initializer

import com.aliyun.ros.cdk.arms.TraceResourceProps;
TraceResourceProps.builder()
//  .appType(java.lang.String)
//  .appType(IResolvable)
//  .createAllResource(java.lang.Boolean)
//  .createAllResource(IResolvable)
//  .workspace(java.lang.String)
//  .workspace(IResolvable)
    .build();

Properties

Name Type Description
appType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appType: The application type of the trace resource.
createAllResource java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property createAllResource: Whether to create all trace resources.
workspace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspace: The workspace of the trace resource.

appTypeOptional

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

Property appType: The application type of the trace resource.

Allowed values: default, trace, cms.


createAllResourceOptional

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

Property createAllResource: Whether to create all trace resources.


workspaceOptional

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

Property workspace: The workspace of the trace resource.