AssociationProperty取值 | 说明 | 对应的AssociationPropertyMetadata |
ALIYUN::CS::Cluster::ClusterId | 容器集群ID。 | 示例如下: 示例代码 JSON示例: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ClusterId":{
"AssociationProperty":"ALIYUN::CS::Cluster::ClusterId",
"Type":"String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML示例: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ClusterId:
AssociationProperty: ALIYUN::CS::Cluster::ClusterId
Type: String
AssociationPropertyMetadata:
RegionId: ${RegionId}
示例说明 示例中通过指定参数ClusterId的AssociationProperty属性为ALIYUN::CS::Cluster::ClusterId,获取容器集群ID。
|
ALIYUN::CS::Cluster::ClusterNodePool | 容器集群内的节点池。 | 示例如下: 示例代码 JSON示例: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ClusterId": {
"Type": "String",
"AssociationProperty": "ALIYUN::CS::Cluster::ClusterId"
},
"ClusterNodePool":{
"AssociationProperty":"ALIYUN::CS::Cluster::ClusterId",
"Type":"String",
"AssociationPropertyMetadata": {
"ClusterId": "${ClusterId}"
}
}
}
}
YAML示例: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ClusterId:
Type: String
AssociationProperty: ALIYUN::CS::Cluster::ClusterId
ClusterNodePool:
AssociationProperty: ALIYUN::CS::Cluster::ClusterId
Type: String
AssociationPropertyMetadata:
ClusterId: ${ClusterId}
示例说明 示例中通过指定参数ClusterNodePool的AssociationProperty属性为ALIYUN::CS::Cluster::ClusterNodePool,获取容器集群内的节点池。
|
ALIYUN::CS::Cluster::KubernetesVersion | 查询Kubernetes版本信息。 | 示例代码 JSON示例: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"CSManagedKubernetesClusterServiceCidr": {
"Type": "String",
"AssociationProperty": "ALIYUN::CS::Cluster::KubernetesVersion",
"AssociationPropertyMetadata": {
"AutoSelectLastest": true
}
}
}
}
YAML示例: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
CSManagedKubernetesClusterServiceCidr:
Type: String
AssociationProperty: ALIYUN::CS::Cluster::KubernetesVersion
AssociationPropertyMetadata:
AutoSelectLastest: true
|
ALIYUN::CS::ManagedKubernetesCluster::ServiceCidr | 查询Kubernetes托管版集群Service CIDR信息。 | 示例代码 JSON示例: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"VpcId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"CSManagedKubernetesClusterServiceCidr": {
"Type": "String",
"AssociationProperty": "ALIYUN::CS::ManagedKubernetesCluster::ServiceCidr",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"VpcId": "${VpcId}"
}
}
}
}
YAML示例: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
VpcId:
Type: String
AssociationProperty: ALIYUN::ECS::VPC::VPCId
AssociationPropertyMetadata:
RegionId: ${RegionId}
CSManagedKubernetesClusterServiceCidr:
Type: String
AssociationProperty: ALIYUN::CS::ManagedKubernetesCluster::ServiceCidr
AssociationPropertyMetadata:
RegionId: ${RegionId}
VpcId: ${VpcId}
|