AssociationProperty取值 | 說明 | 對應的AssociationPropertyMetadata |
ALIYUN::ComputeNest::Artifact::ArtifactId | 查詢計算巢部署物資訊。 | 範例程式碼 JSON樣本: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ComputeNestArtifactArtifactId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ComputeNest::Artifact::ArtifactId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML樣本: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ComputeNestArtifactArtifactId:
Type: String
AssociationProperty: ALIYUN::ComputeNest::Artifact::ArtifactId
AssociationPropertyMetadata:
RegionId: ${RegionId}
|
ALIYUN::ComputeNest::Artifact::ArtifactIdVersion | 查詢計算巢部署物版本資訊。 | 範例程式碼 JSON樣本: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ComputeNestArtifactArtifactId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ComputeNest::Artifact::ArtifactId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"ComputeNestArtifactArtifactIdVersion": {
"Type": "String",
"AssociationProperty": "ALIYUN::ComputeNest::Artifact::ArtifactIdVersion",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ArtifactId": "${ComputeNestArtifactArtifactId}"
}
}
}
}
YAML樣本: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ComputeNestArtifactArtifactId:
Type: String
AssociationProperty: ALIYUN::ComputeNest::Artifact::ArtifactId
AssociationPropertyMetadata:
RegionId: ${RegionId}
ComputeNestArtifactArtifactIdVersion:
Type: String
AssociationProperty: ALIYUN::ComputeNest::Artifact::ArtifactIdVersion
AssociationPropertyMetadata:
RegionId: ${RegionId}
ArtifactId: ${ComputeNestArtifactArtifactId}
|
ALIYUN::ComputeNest::Service::ServiceId | 計算巢服務ID。 | 樣本如下: 範例程式碼 JSON樣本: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ServiceId":{
"AssociationProperty":"ALIYUN::ComputeNest::Service::ServiceId",
"Type":"String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML樣本: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ServiceId:
AssociationProperty: ALIYUN::ComputeNest::Service::ServiceId
Type: String
AssociationPropertyMetadata:
RegionId: ${RegionId}
樣本說明 樣本中通過指定參數ServiceId的AssociationProperty屬性為ALIYUN::ComputeNest::Service::ServiceId,擷取計算巢服務ID。
|
ALIYUN::ComputeNest::ServiceInstance::ServiceInstanceId | 計算巢服務執行個體ID。 | 樣本如下: 範例程式碼 JSON樣本: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ServiceId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ComputeNest::Service::ServiceId"
},
"ServiceInstanceId":{
"AssociationProperty":"ALIYUN::ComputeNest::ServiceInstance::ServiceInstanceId",
"Type":"String",
"AssociationPropertyMetadata": {
"ServiceId": "${ServiceId}"
}
}
}
}
YAML樣本: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ServiceId:
Type: String
AssociationProperty: ALIYUN::ComputeNest::Service::ServiceId
ServiceInstanceId:
AssociationProperty: ALIYUN::ComputeNest::ServiceInstance::ServiceInstanceId
Type: String
AssociationPropertyMetadata:
ServiceId: ${ServiceId}
樣本說明 樣本中通過指定參數ServiceInstanceId的AssociationProperty屬性為ALIYUN::ComputeNest::ServiceInstance::ServiceInstanceId,擷取計算巢服務執行個體ID。
|
ALIYUN::ComputeNestSupplier::Service::ServiceVersion | 計算巢服務版本。 | 樣本如下: 範例程式碼 JSON樣本: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ServiceId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ComputeNest::Service::ServiceId"
},
"ServiceVersion":{
"AssociationProperty":"ALIYUN::ComputeNestSupplier::Service::ServiceVersion",
"Type":"String",
"AssociationPropertyMetadata": {
"ServiceId": "${ServiceId}"
}
}
}
}
YAML樣本: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ServiceId:
Type: String
AssociationProperty: ALIYUN::ComputeNest::Service::ServiceId
ServiceVersion:
AssociationProperty: ALIYUN::ComputeNestSupplier::Service::ServiceVersion
Type: String
AssociationPropertyMetadata:
ServiceId: ${ServiceId}
樣本說明 樣本中通過指定參數ServiceVersion的AssociationProperty屬性為ALIYUN::ComputeNestSupplier::Service::ServiceVersion,擷取計算巢服務版本。
|