Skip to content

ClusterApplicationResourcesProps

Properties for defining a ClusterApplicationResources.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcs/datasource"
&datasource.ClusterApplicationResourcesProps {
    ClusterId: interface{},
    Kind: interface{},
    ApiVersion: interface{},
    FirstMatch: interface{},
    JsonPath: interface{},
    Name: interface{},
    Namespace: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
ClusterId interface{} Property clusterId: The ID of the kubernetes cluster.
Kind interface{} Property kind: The kind of kubernetes resources to query.
ApiVersion interface{} Property apiVersion: The api version of kubernetes resource to query.
FirstMatch interface{} Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.
JsonPath interface{} Property jsonPath: Json path expression to filter the output.
Name interface{} Property name: The name of the kubernetes resource to query.
Namespace interface{} Property namespace: The namespace of kubernetes containing the resource.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ClusterIdRequired

ClusterId interface{}
  • Type: interface{}

Property clusterId: The ID of the kubernetes cluster.


KindRequired

Kind interface{}
  • Type: interface{}

Property kind: The kind of kubernetes resources to query.


ApiVersionOptional

ApiVersion interface{}
  • Type: interface{}

Property apiVersion: The api version of kubernetes resource to query.


FirstMatchOptional

FirstMatch interface{}
  • Type: interface{}

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

Default False


JsonPathOptional

JsonPath interface{}
  • Type: interface{}

Property jsonPath: Json path expression to filter the output.


NameOptional

Name interface{}
  • Type: interface{}

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


NamespaceOptional

Namespace interface{}
  • Type: interface{}

Property namespace: The namespace of kubernetes containing the resource.

Default value is default


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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.