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)
// .apiVersion(java.lang.String)
// .apiVersion(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. |
apiVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property apiVersion: The api version of kubernetes resource 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. |
clusterId
Required
public java.lang.Object getClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterId: The ID of the kubernetes cluster.
kind
Required
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.
apiVersion
Optional
public java.lang.Object getApiVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property apiVersion: The api version of kubernetes resource to query.
firstMatch
Optional
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
jsonPath
Optional
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.
name
Optional
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.
namespace
Optional
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
refreshOptions
Optional
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.