Nama Templat
ACS-ECS-BulkyAllocateAndAssociateEipAddress: Mengalokasikan elastic IP addresses (EIPs) secara batch dan mengaitkannya dengan instans produk cloud di wilayah yang sama.
Deskripsi
Mengalokasikan elastic IP addresses (EIPs) secara batch dan mengaitkannya dengan instans produk cloud dalam wilayah yang sama.
Jenis templat
Automation
Pemilik
Alibaba Cloud
Parameter input
|
Nama parameter |
Deskripsi |
Tipe |
Wajib |
Nilai default |
Batasan |
|
instanceIds |
ID instans yang akan dikaitkan dengan EIP. |
List |
Ya |
||
|
regionId |
ID wilayah. |
String |
Tidak |
{{ ACS::RegionId }} |
|
|
instanceType |
Jenis instans produk cloud yang akan dikaitkan dengan EIP. |
String |
Tidak |
NetworkInterface |
|
|
internetChargeType |
Metode penagihan EIP. |
String |
Tidak |
PayByBandwidth |
|
|
bandwidth |
Bandwidth puncak EIP. |
Number |
Tidak |
5 |
|
|
rateControl |
Pengaturan konkurensi untuk eksekusi task. |
Json |
Tidak |
{‘Mode’: ‘Concurrency’, ‘MaxErrors’: 0, ‘Concurrency’: 15} |
|
|
OOSAssumeRole |
Peran RAM yang diasumsikan oleh OOS. |
String |
Tidak |
“” |
Parameter output
Tidak ada
Kebijakan akses yang diperlukan
{
"Version": "1",
"Statement": [
{
"Action": [
"ecs:AllocateEipAddress",
"ecs:DescribeEipAddresses",
"ecs:DescribeNetworkInterfaces"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"vpc:AssociateEipAddress"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
Detail
Detail ACS-ECS-BulkyAllocateAndAssociateEipAddress
Konten templat
FormatVersion: OOS-2019-06-01
Description:
en: Creates and associates elastic IP addresses (EIPs) in batch with cloud product
instances in the same region.
zh-cn: Creates and associates elastic IP addresses (EIPs) in batch with cloud product
instances in the same region.
name-en: ACS-ECS-BulkyAllocateAndAssociateEipAddress
name-zh-cn: Creates and associates elastic IP addresses (EIPs) in batch with cloud
product instances in the same region.
categories:
- instance_manage
Parameters:
regionId:
Type: String
Label:
en: RegionId
zh-cn: Region ID
AssociationProperty: RegionId
Default: '{{ ACS::RegionId }}'
instanceIds:
Label:
en: InstanceIds
zh-cn: Instance IDs
Description:
en: The list of instance IDs to associate with elastic IP addresses.
zh-cn: The list of instance IDs to associate with elastic IP addresses.
AssociationProperty: ALIYUN::ECS::Instance::InstanceId
AssociationPropertyMetadata:
RegionId: regionId
Type: List
instanceType:
Label:
en: InstanceType
zh-cn: Instance type
Description:
en: The type of the cloud product instance to associate.
zh-cn: The type of the cloud product instance to associate.
Type: String
AllowedValues:
- Nat
- SlbInstance
- EcsInstance
- NetworkInterface
- HaVip
Default: NetworkInterface
internetChargeType:
Label:
en: InternetChargeType
zh-cn: Metode penagihan EIP
Description:
en: 'The billing method for the EIP. Valid values: PayByBandwidth (pay-by-bandwidth)
and PayByTraffic (pay-by-data-transfer).'
zh-cn: 'Metode penagihan untuk EIP. Nilai yang valid: PayByBandwidth (bayar-per-bandwidth)
dan PayByTraffic (bayar-berdasarkan-transfer-data).'
Type: String
AllowedValues:
- PayByBandwidth
- PayByTraffic
Default: PayByBandwidth
bandwidth:
Label:
en: Bandwidth
zh-cn: Bandwidth puncak EIP
Description:
en: 'The peak bandwidth of the EIP, in Mbps.'
zh-cn: 'Bandwidth puncak EIP, dalam Mbps.'
Type: Number
Default: 5
rateControl:
Label:
en: RateControl
zh-cn: Konkurensi eksekusi task
Type: Json
AssociationProperty: RateControl
Default:
Mode: Concurrency
MaxErrors: 0
Concurrency: 15
OOSAssumeRole:
Label:
en: OOSAssumeRole
zh-cn: Peran RAM untuk OOS
Type: String
Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
- Name: associateEipAddressToENI
Action: ACS::ECS::AllocateAndAssociateEipAddress
Description:
en: Associates an EIP with an instance.
zh-cn: Mengaitkan elastic IP address (EIP) dengan instans produk cloud.
Properties:
regionId: '{{ regionId }}'
instanceId: '{{ ACS::TaskLoopItem }}'
instanceType: '{{ instanceType }}'
internetChargeType: '{{ internetChargeType }}'
bandwidth: '{{ bandwidth }}'
Loop:
RateControl: '{{ rateControl }}'
Items: '{{ instanceIds }}'
Metadata:
ALIYUN::OOS::Interface:
ParameterGroups:
- Parameters:
- regionId
- instanceIds
- instanceType
- internetChargeType
- bandwidth
Label:
default:
zh-cn: Parameter Konfigurasi
en: Configuration Parameters
- Parameters:
- rateControl
- OOSAssumeRole
Label:
default:
zh-cn: Opsi Lanjutan
en: Advanced Options