mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ali_instance_info - marked parameters for deprecation in c.g. 5.0.0 (#2844)
* marked parameters for deprecation in c.g. 5.0.0 * added changelog fragment * deprecate params in arg_spec * doc adjusment per PR
This commit is contained in:
parent
2768eda895
commit
519411e026
2 changed files with 10 additions and 4 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
deprecated_features:
|
||||||
|
- ali_instance_info - marked removal version of deprecated parameters ``availability_zone`` and ``instance_names`` (https://github.com/ansible-collections/community.general/issues/2429).
|
|
@ -35,12 +35,14 @@ description:
|
||||||
options:
|
options:
|
||||||
availability_zone:
|
availability_zone:
|
||||||
description:
|
description:
|
||||||
- (Deprecated) Aliyun availability zone ID in which to launch the instance. Please use filter item 'zone_id' instead.
|
- Aliyun availability zone ID in which to launch the instance.
|
||||||
|
- Deprecated parameter, it will be removed in community.general 5.0.0. Please use filter item I(zone_id) instead.
|
||||||
aliases: ['alicloud_zone']
|
aliases: ['alicloud_zone']
|
||||||
type: str
|
type: str
|
||||||
instance_names:
|
instance_names:
|
||||||
description:
|
description:
|
||||||
- (Deprecated) A list of ECS instance names. Please use filter item 'instance_name' instead.
|
- A list of ECS instance names.
|
||||||
|
- Deprecated parameter, it will be removed in community.general 5.0.0. Please use filter item I(instance_name) instead.
|
||||||
aliases: ["names"]
|
aliases: ["names"]
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
|
@ -374,8 +376,10 @@ except ImportError:
|
||||||
def main():
|
def main():
|
||||||
argument_spec = ecs_argument_spec()
|
argument_spec = ecs_argument_spec()
|
||||||
argument_spec.update(dict(
|
argument_spec.update(dict(
|
||||||
availability_zone=dict(aliases=['alicloud_zone']),
|
availability_zone=dict(aliases=['alicloud_zone'],
|
||||||
instance_ids=dict(type='list', elements='str', aliases=['ids']),
|
removed_in_version="5.0.0", removed_from_collection="community.general"),
|
||||||
|
instance_ids=dict(type='list', elements='str', aliases=['ids'],
|
||||||
|
removed_in_version="5.0.0", removed_from_collection="community.general"),
|
||||||
instance_names=dict(type='list', elements='str', aliases=['names']),
|
instance_names=dict(type='list', elements='str', aliases=['names']),
|
||||||
name_prefix=dict(type='str'),
|
name_prefix=dict(type='str'),
|
||||||
tags=dict(type='dict', aliases=['instance_tags']),
|
tags=dict(type='dict', aliases=['instance_tags']),
|
||||||
|
|
Loading…
Reference in a new issue