ClusterApplicationResourcesProps
Properties for defining a ClusterApplicationResources
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-clusterapplicationresources
Initializer
import { datasource } from '@alicloud/ros-cdk-cs'
const clusterApplicationResourcesProps: datasource.ClusterApplicationResourcesProps = { ... }
Properties
Name | Type | Description |
---|---|---|
clusterId |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterId: The ID of the kubernetes cluster. |
kind |
string | @alicloud/ros-cdk-core.IResolvable |
Property kind: The kind of kubernetes resources to query. |
apiVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property apiVersion: The api version of kubernetes resource to query. |
firstMatch |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property firstMatch: Only the first matching result in jsonpath's filtered results is returned. |
jsonPath |
string | @alicloud/ros-cdk-core.IResolvable |
Property jsonPath: Json path expression to filter the output. |
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The name of the kubernetes resource to query. |
namespace |
string | @alicloud/ros-cdk-core.IResolvable |
Property namespace: The namespace of kubernetes containing the resource. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
clusterId
Required
public readonly clusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterId: The ID of the kubernetes cluster.
kind
Required
public readonly kind: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property kind: The kind of kubernetes resources to query.
apiVersion
Optional
public readonly apiVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property apiVersion: The api version of kubernetes resource to query.
firstMatch
Optional
public readonly firstMatch: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.
Default False
jsonPath
Optional
public readonly jsonPath: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property jsonPath: Json path expression to filter the output.
name
Optional
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the kubernetes resource to query.
namespace
Optional
public readonly namespace: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property namespace: The namespace of kubernetes containing the resource.
Default value is default
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/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.