Skip to content

ClusterApplicationResourcesProps

Properties for defining a ClusterApplicationResources.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-clusterapplicationresources

Initializer

import com.aliyun.ros.cdk.cs.datasource.ClusterApplicationResourcesProps;
ClusterApplicationResourcesProps.builder()
    .clusterId(java.lang.String)
    .clusterId(IResolvable)
    .kind(java.lang.String)
    .kind(IResolvable)
//  .firstMatch(java.lang.Boolean)
//  .firstMatch(IResolvable)
//  .jsonPath(java.lang.String)
//  .jsonPath(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .namespace(java.lang.String)
//  .namespace(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: The ID of the kubernetes cluster.
kind java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property kind: The kind of kubernetes resources to query.
firstMatch java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.
jsonPath java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property jsonPath: Json path expression to filter the output.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the kubernetes resource to query.
namespace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespace: The namespace of kubernetes containing the resource.
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.

clusterIdRequired

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

Property clusterId: The ID of the kubernetes cluster.


kindRequired

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

Property kind: The kind of kubernetes resources to query.


firstMatchOptional

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

Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.

Default False


jsonPathOptional

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

Property jsonPath: Json path expression to filter the output.


nameOptional

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

Property name: The name of the kubernetes resource to query.


namespaceOptional

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

Property namespace: The namespace of kubernetes containing the resource.

Default value is default


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.