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}
|