Edge Node Service (ENS) örnekleri hakkında bilgi sorgular.
Sözdizimi
{
"Type": "DATASOURCE::ENS::Instances",
"Properties": {
"InstanceId": String
}
}
Özellikler
|
Property |
Type |
Required |
Allow updates |
Description |
Constraint |
|
RefreshOptions |
String |
No |
Yes |
Yığın güncellendiğinde veri kaynağı kaynakları için yenileme ilkesi. |
Geçerli değerler:
|
|
InstanceId |
String |
No |
Yes |
Örneğin kimliği. |
None. |
Dönüş değerleri (Fn::GetAtt)
Instances: Örneklerin ayrıntıları.
InstanceIds: Örneklerin kimlikleri.
|
Property |
Type |
Description |
Constraint |
|
InstanceIds |
List |
Örneklerin kimlikleri. |
None. |
|
Instances |
List |
Örneklerin ayrıntıları. |
None. |
|
InstanceId |
String |
Örneğin kimliği. |
None. |
|
Status |
String |
Örneğin durumu. |
Geçerli değerler:
|
|
Memory |
Integer |
Bellek boyutu. |
Birim: MB. |
|
Cpu |
String |
Sanal CPU sayısı. |
None. |
|
SpecName |
String |
Örnek türü. |
None. |
|
OSName |
String |
Görüntünün adı. |
None. |
|
InstanceName |
String |
Örneğin adı. |
None. |
|
SystemDisk |
Map |
Sistem diski bilgileri. |
Örnek:
|
|
Disk |
Integer |
Toplam disk boyutu. |
None. |
|
NetworkAttributes |
Map |
Ağ nitelikleri. |
Örnek:
|
|
InternetMaxBandwidthOut |
Integer |
Minimum yükleme bant genişliği. |
Birim: Mbit/s. |
|
InternetMaxBandwidthIn |
Integer |
Maksimum indirme bant genişliği. |
Birim: Mbit/s. |
|
ExpiredTime |
String |
Örneğin son kullanma tarihi. |
Zaman, yyyy-MM-ddTHH:mm:ssZ biçiminde ISO 8601 standardını izler. Zaman UTC olarak görüntülenir. |
|
CreationTime |
String |
Örneğin oluşturma zamanı. |
Zaman, yyyy-MM-ddTHH:mm:ssZ biçiminde ISO 8601 standardını izler. Zaman UTC olarak görüntülenir. |
|
ImageId |
String |
Görüntünün kimliği. |
None. |
|
EnsRegionId |
String |
Örneğin bölge kimliği. |
None. |
|
HostName |
String |
Örneğin ana bilgisayar adı. |
None. |
|
InstanceResourceType |
String |
Örneğin kategorisi. |
Geçerli değerler:
|
|
SecurityGroupIds |
List |
Güvenlik gruplarının kimlikleri. |
None. |
|
PrivateIpAddresses |
Map |
Özel IP adresi bilgileri. |
Örnek:
|
|
PublicIpAddresses |
Map |
Genel IP adresi bilgileri. |
Örnek:
|
|
InnerIpAddresses |
List |
Örneğin özel IP adresleri. |
None. |
|
DataDisks |
Map |
Veri diski bilgileri. |
Örnek:
|
Örnekler
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceId": {
"Type": "String",
"Description": "The instance ID."
}
},
"Resources": {
"Instances": {
"Type": "DATASOURCE::ENS::Instances",
"Properties": {
"InstanceId": {
"Ref": "InstanceId"
}
}
}
},
"Outputs": {
"Instances": {
"Description": "The list of instances.",
"Value": {
"Fn::GetAtt": [
"Instances",
"Instances"
]
}
},
"InstanceIds": {
"Description": "The list of instance IDs.",
"Value": {
"Fn::GetAtt": [
"Instances",
"InstanceIds"
]
}
}
}
}ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstanceId:
Type: String
Description: The instance ID.
Resources:
Instances:
Type: DATASOURCE::ENS::Instances
Properties:
InstanceId:
Ref: InstanceId
Outputs:
Instances:
Description: The list of instances.
Value:
Fn::GetAtt:
- Instances
- Instances
InstanceIds:
Description: The list of instance IDs.
Value:
Fn::GetAtt:
- Instances
- InstanceIds