mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* ali_instance: fixed markups in doc
* Update plugins/modules/cloud/alicloud/ali_instance.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/cloud/alicloud/ali_instance.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/cloud/alicloud/ali_instance.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/cloud/alicloud/ali_instance.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit ac8b034061
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
fc0d813d5f
commit
f2e1abfe5e
1 changed files with 13 additions and 13 deletions
|
@ -46,12 +46,12 @@ options:
|
||||||
type: str
|
type: str
|
||||||
image_id:
|
image_id:
|
||||||
description:
|
description:
|
||||||
- Image ID used to launch instances. Required when C(state=present) and creating new ECS instances.
|
- Image ID used to launch instances. Required when I(state=present) and creating new ECS instances.
|
||||||
aliases: ['image']
|
aliases: ['image']
|
||||||
type: str
|
type: str
|
||||||
instance_type:
|
instance_type:
|
||||||
description:
|
description:
|
||||||
- Instance type used to launch instances. Required when C(state=present) and creating new ECS instances.
|
- Instance type used to launch instances. Required when I(state=present) and creating new ECS instances.
|
||||||
aliases: ['type']
|
aliases: ['type']
|
||||||
type: str
|
type: str
|
||||||
security_groups:
|
security_groups:
|
||||||
|
@ -90,7 +90,7 @@ options:
|
||||||
max_bandwidth_out:
|
max_bandwidth_out:
|
||||||
description:
|
description:
|
||||||
- Maximum outgoing bandwidth to the public network, measured in Mbps (Megabits per second).
|
- Maximum outgoing bandwidth to the public network, measured in Mbps (Megabits per second).
|
||||||
Required when C(allocate_public_ip=True). Ignored when C(allocate_public_ip=False).
|
Required when I(allocate_public_ip=true). Ignored when I(allocate_public_ip=false).
|
||||||
default: 0
|
default: 0
|
||||||
type: int
|
type: int
|
||||||
host_name:
|
host_name:
|
||||||
|
@ -154,7 +154,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
period:
|
period:
|
||||||
description:
|
description:
|
||||||
- The charge duration of the instance, in month. Required when C(instance_charge_type=PrePaid).
|
- The charge duration of the instance, in months. Required when I(instance_charge_type=PrePaid).
|
||||||
- The valid value are [1-9, 12, 24, 36].
|
- The valid value are [1-9, 12, 24, 36].
|
||||||
default: 1
|
default: 1
|
||||||
type: int
|
type: int
|
||||||
|
@ -165,7 +165,7 @@ options:
|
||||||
default: False
|
default: False
|
||||||
auto_renew_period:
|
auto_renew_period:
|
||||||
description:
|
description:
|
||||||
- The duration of the automatic renew the charge of the instance. Required when C(auto_renew=True).
|
- The duration of the automatic renew the charge of the instance. Required when I(auto_renew=true).
|
||||||
choices: [1, 2, 3, 6, 12]
|
choices: [1, 2, 3, 6, 12]
|
||||||
type: int
|
type: int
|
||||||
instance_ids:
|
instance_ids:
|
||||||
|
@ -217,31 +217,31 @@ options:
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
spot_strategy:
|
spot_strategy:
|
||||||
description:
|
description:
|
||||||
- The bidding mode of the pay-as-you-go instance. This parameter is valid when InstanceChargeType is set to PostPaid.
|
- The bidding mode of the pay-as-you-go instance. This parameter is valid when InstanceChargeType is set to PostPaid.
|
||||||
choices: ['NoSpot', 'SpotWithPriceLimit', 'SpotAsPriceGo']
|
choices: ['NoSpot', 'SpotWithPriceLimit', 'SpotAsPriceGo']
|
||||||
default: 'NoSpot'
|
default: 'NoSpot'
|
||||||
type: str
|
type: str
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
period_unit:
|
period_unit:
|
||||||
description:
|
description:
|
||||||
- The duration unit that you will buy the resource. It is valid when C(instance_charge_type=PrePaid)
|
- The duration unit that you will buy the resource. It is valid when I(instance_charge_type=PrePaid).
|
||||||
choices: ['Month', 'Week']
|
choices: ['Month', 'Week']
|
||||||
default: 'Month'
|
default: 'Month'
|
||||||
type: str
|
type: str
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
dry_run:
|
dry_run:
|
||||||
description:
|
description:
|
||||||
- Specifies whether to send a dry-run request.
|
- Specifies whether to send a dry-run request.
|
||||||
- If I(dry_run=True), Only a dry-run request is sent and no instance is created. The system checks whether the
|
- If I(dry_run=true), Only a dry-run request is sent and no instance is created. The system checks whether the
|
||||||
required parameters are set, and validates the request format, service permissions, and available ECS instances.
|
required parameters are set, and validates the request format, service permissions, and available ECS instances.
|
||||||
If the validation fails, the corresponding error code is returned. If the validation succeeds, the DryRunOperation error code is returned.
|
If the validation fails, the corresponding error code is returned. If the validation succeeds, the DryRunOperation error code is returned.
|
||||||
- If I(dry_run=False), A request is sent. If the validation succeeds, the instance is created.
|
- If I(dry_run=false), A request is sent. If the validation succeeds, the instance is created.
|
||||||
default: False
|
default: False
|
||||||
type: bool
|
type: bool
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
include_data_disks:
|
include_data_disks:
|
||||||
description:
|
description:
|
||||||
- Whether to change instance disks charge type when changing instance charge type.
|
- Whether to change instance disks charge type when changing instance charge type.
|
||||||
default: True
|
default: True
|
||||||
type: bool
|
type: bool
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
|
|
Loading…
Reference in a new issue