ClusterUserKubeconfigProps
Properties for defining a ClusterUserKubeconfig.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-clusteruserkubeconfig
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcs/datasource"
&datasource.ClusterUserKubeconfigProps {
ClusterId: interface{},
PrivateIpAddress: interface{},
RefreshOptions: interface{},
TemporaryDurationMinutes: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ClusterId |
interface{} |
Property clusterId: The ID of the ACK cluster. |
PrivateIpAddress |
interface{} |
Property privateIpAddress: Specifies whether to obtain the credential that is used to connect to the cluster over the internal network. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
TemporaryDurationMinutes |
interface{} |
Property temporaryDurationMinutes: The validity period of a temporary kubeconfig file. |
ClusterIdRequired
ClusterId interface{}
- Type: interface{}
Property clusterId: The ID of the ACK cluster.
PrivateIpAddressOptional
PrivateIpAddress interface{}
- Type: interface{}
Property privateIpAddress: Specifies whether to obtain the credential that is used to connect to the cluster over the internal network.
Valid values: true: obtains the credential that is used to connect to the cluster over the internal network. false: obtains the credential that is used to connect to the cluster over the Internet. Default value: false.
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.
TemporaryDurationMinutesOptional
TemporaryDurationMinutes interface{}
- Type: interface{}
Property temporaryDurationMinutes: The validity period of a temporary kubeconfig file.
Unit: minutes. Valid values: 15 to 4320. Note If you do not specify this parameter, the system automatically specifies a validity period, which is indicated by the expiration field in the response.