Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Test( 2.9 to 2.10) #140

Merged
merged 88 commits into from
Jun 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
92715b0
add new
Fred-sun Jun 1, 2020
3c6d8ce
change 001
Fred-sun Jun 3, 2020
9fc17c9
change small 02
Fred-sun Jun 3, 2020
a248003
change small 03
Fred-sun Jun 3, 2020
e6e7855
change small 04
Fred-sun Jun 3, 2020
77d776e
change small 05
Fred-sun Jun 3, 2020
654f912
change 006
Fred-sun Jun 3, 2020
5193c45
change 007
Fred-sun Jun 3, 2020
4ecfade
add new
Fred-sun Jun 3, 2020
295a88d
add new
Fred-sun Jun 3, 2020
fe460b7
add new
Fred-sun Jun 4, 2020
68f4cc9
test small
Fred-sun Jun 4, 2020
1cca5b0
add new change
Fred-sun Jun 4, 2020
39f4dd7
fix doc error
Fred-sun Jun 4, 2020
d56f91e
add new
Fred-sun Jun 4, 2020
3feefb1
add change 002
Fred-sun Jun 4, 2020
7e3778b
change small 003
Fred-sun Jun 4, 2020
1fb96e1
change small 003
Fred-sun Jun 4, 2020
d318cec
add new ---5
Fred-sun Jun 4, 2020
440793b
change small 006
Fred-sun Jun 4, 2020
e0f755d
change small 007
Fred-sun Jun 4, 2020
0cd161a
update
Fred-sun Jun 4, 2020
f164ce1
update 001
Fred-sun Jun 5, 2020
4792162
update 002
Fred-sun Jun 5, 2020
433bfdf
change 6801
Fred-sun Jun 8, 2020
b4c323a
change 060802
Fred-sun Jun 8, 2020
76a24fa
change 060803
Fred-sun Jun 8, 2020
fb1413b
change 060804
Fred-sun Jun 8, 2020
c3f7513
change 060805
Fred-sun Jun 8, 2020
d81b1e2
change 060806
Fred-sun Jun 8, 2020
295a399
change 0609001
Fred-sun Jun 9, 2020
cb8dff5
add new
Fred-sun Jun 9, 2020
e029ad7
add new02
Fred-sun Jun 9, 2020
f00e090
add new003
Fred-sun Jun 9, 2020
052f0bd
add new 003
Fred-sun Jun 9, 2020
7880352
add new 004
Fred-sun Jun 9, 2020
c572096
update
Fred-sun Jun 9, 2020
fa05574
update
Fred-sun Jun 9, 2020
3901454
udpate
Fred-sun Jun 9, 2020
908675c
update
Fred-sun Jun 9, 2020
2aee5bb
update
Fred-sun Jun 9, 2020
ca53a51
update new
Fred-sun Jun 10, 2020
8845bb1
update new
Fred-sun Jun 10, 2020
2a045ba
update
Fred-sun Jun 10, 2020
1d6ab48
update
Fred-sun Jun 10, 2020
a4046c9
udpate
Fred-sun Jun 10, 2020
26db863
udpate
Fred-sun Jun 10, 2020
c102f4e
update
Fred-sun Jun 10, 2020
21a8d46
change small
Fred-sun Jun 10, 2020
89dbbcc
update new
Fred-sun Jun 10, 2020
27da369
upadte new
Fred-sun Jun 11, 2020
459e28a
restore ignore_2.9.txt
Fred-sun Jun 11, 2020
d94509e
change small
Fred-sun Jun 11, 2020
b3a23c3
change small 002
Fred-sun Jun 11, 2020
ae92f57
change samll 003
Fred-sun Jun 11, 2020
492c6bc
udpate small 003
Fred-sun Jun 11, 2020
77d1a76
udpate small 004
Fred-sun Jun 11, 2020
cdde6a5
udpate small 005
Fred-sun Jun 11, 2020
869686d
fix keyvault error
Fred-sun Jun 11, 2020
bf00ca5
fixes azure_rm_keyvaultkey yaml
Fred-sun Jun 12, 2020
c17cff7
fixes azure_rm_keyvaulsecret yaml
Fred-sun Jun 12, 2020
33e6461
fix azure_rm_appgateway erro
Fred-sun Jun 12, 2020
9868448
fix azure_rm_containerregistryreplication error
Fred-sun Jun 12, 2020
0d29fd8
remove whitespace
Fred-sun Jun 12, 2020
daf2b8c
fix azure_rm_containerregistryreplication error
Fred-sun Jun 12, 2020
2ee22bc
remove whitespace
Fred-sun Jun 12, 2020
75b618d
change small
Fred-sun Jun 12, 2020
efdc2d1
new change
Fred-sun Jun 15, 2020
a393c29
new update 002
Fred-sun Jun 15, 2020
7b7b927
add new
Fred-sun Jun 15, 2020
bd0c655
change small
Fred-sun Jun 15, 2020
e1d0acb
change small
Fred-sun Jun 15, 2020
fc53e8a
fix description
Fred-sun Jun 15, 2020
6725fde
change small
Fred-sun Jun 15, 2020
6566f72
remove name"
Fred-sun Jun 16, 2020
d82190f
add new
Fred-sun Jun 16, 2020
d93263e
fix azure_rm_storageaccount
Fred-sun Jun 16, 2020
cb438cf
fix azure_rm_storageaccount
Fred-sun Jun 16, 2020
e6213d4
add new
Fred-sun Jun 16, 2020
cfc8372
restore change
Fred-sun Jun 16, 2020
9fac30a
update new
Fred-sun Jun 17, 2020
562f3ef
fix 2.9 ignore
Fred-sun Jun 17, 2020
3a72947
update storage account
Fred-sun Jun 17, 2020
b0c4b48
review to update
Fred-sun Jun 18, 2020
7beb3d7
Merge branch 'dev' into fred_test
Fred-sun Jun 24, 2020
18b8101
update new change
Fred-sun Jun 24, 2020
f39e797
udpate new 002
Fred-sun Jun 24, 2020
aed9df4
change group
Fred-sun Jun 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added log_plugin.log
Empty file.
5 changes: 4 additions & 1 deletion plugins/module_utils/azure_rm_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function
__metaclass__ = type


import os
import re
import types
Expand Down Expand Up @@ -358,7 +362,6 @@ def __init__(self, derived_arg_spec, bypass_checks=False, no_log=False,
self.module = AnsibleModule(argument_spec=merged_arg_spec,
bypass_checks=bypass_checks,
no_log=no_log,
check_invalid_arguments=check_invalid_arguments,
mutually_exclusive=mutually_exclusive,
required_together=required_together,
required_one_of=required_one_of,
Expand Down
4 changes: 4 additions & 0 deletions plugins/module_utils/azure_rm_common_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function
__metaclass__ = type


from ansible_collections.azure.azcollection.plugins.module_utils.azure_rm_common import AzureRMModuleBase
import re
from ansible.module_utils.common.dict_transformations import _camel_to_snake, _snake_to_camel
Expand Down
4 changes: 4 additions & 0 deletions plugins/module_utils/azure_rm_common_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function
__metaclass__ = type


try:
from ansible.module_utils.ansible_release import __version__ as ANSIBLE_VERSION
except Exception:
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/azure_rm_aks.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
client_secret:
description:
- The secret password associated with the service principal.
required: true
enable_rbac:
description:
- Enable RBAC.
Expand Down Expand Up @@ -205,6 +204,7 @@
log_analytics_workspace_resource_id:
description:
- Where to store the container metrics.
required: true
virtual_node:
description:
- With virtual nodes, you have quick provisioning of pods, and only pay per second for their execution time.
Expand All @@ -218,6 +218,7 @@
subnet_resource_id:
description:
- Subnet associated to the cluster.
required: true
version_added: "2.8"
node_resource_group:
description:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_aks_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_aks_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_aks_facts' module has been renamed to 'azure_rm_aks_info'", version='2.13')
self.module.deprecate("The 'azure_rm_aks_facts' module has been renamed to 'azure_rm_aks_info'", version=(2, 9))

for key in self.module_args:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_aksversion_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_aksversion_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_aksversion_facts' module has been renamed to 'azure_rm_aksversion_info'", version='2.13')
self.module.deprecate("The 'azure_rm_aksversion_facts' module has been renamed to 'azure_rm_aksversion_info'", version=(2, 9))

for key in self.module_args:
setattr(self, key, kwargs[key])
Expand Down
3 changes: 1 addition & 2 deletions plugins/modules/azure_rm_appgateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,9 @@
import time
from ansible_collections.azure.azcollection.plugins.module_utils.azure_rm_common import AzureRMModuleBase
from copy import deepcopy
from ansible.module_utils.network.common.utils import dict_merge
from ansible.module_utils.common.dict_transformations import (
camel_dict_to_snake_dict, snake_dict_to_camel_dict,
_camel_to_snake, _snake_to_camel,
_camel_to_snake, _snake_to_camel, dict_merge,
)

try:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_applicationsecuritygroup_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_applicationsecuritygroup_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_applicationsecuritygroup_facts' module has been renamed to 'azure_rm_applicationsecuritygroup_info'",
version='2.13')
version=(2, 9))

for key in list(self.module_arg_spec.keys()) + ['tags']:
if hasattr(self, key):
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_appserviceplan_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_appserviceplan_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_appserviceplan_facts' module has been renamed to 'azure_rm_appserviceplan_info'", version='2.13')
self.module.deprecate("The 'azure_rm_appserviceplan_facts' module has been renamed to 'azure_rm_appserviceplan_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_automationaccount_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_automationaccount_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_automationaccount_facts' module has been renamed to 'azure_rm_automationaccount_info'", version='2.13')
self.module.deprecate("The 'azure_rm_automationaccount_facts' module has been renamed to 'azure_rm_automationaccount_info'", version=(2, 9))

for key in list(self.module_arg_spec):
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_autoscale_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_autoscale_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_autoscale_facts' module has been renamed to 'azure_rm_autoscale_info'", version='2.13')
self.module.deprecate("The 'azure_rm_autoscale_facts' module has been renamed to 'azure_rm_autoscale_info'", version=(2, 9))

for key in list(self.module_arg_spec):
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_availabilityset_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_availabilityset_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_availabilityset_facts' module has been renamed to 'azure_rm_availabilityset_info'", version='2.13')
self.module.deprecate("The 'azure_rm_availabilityset_facts' module has been renamed to 'azure_rm_availabilityset_info'", version=(2, 9))

for key in self.module_args:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_cdnendpoint_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_cdnendpoint_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_cdnendpoint_facts' module has been renamed to 'azure_rm_cdnendpoint_info'", version='2.13')
self.module.deprecate("The 'azure_rm_cdnendpoint_facts' module has been renamed to 'azure_rm_cdnendpoint_info'", version=(2, 9))

for key in self.module_args:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_cdnprofile_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_cdnprofile_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_cdnprofile_facts' module has been renamed to 'azure_rm_cdnprofile_info'", version='2.13')
self.module.deprecate("The 'azure_rm_cdnprofile_facts' module has been renamed to 'azure_rm_cdnprofile_info'", version=(2, 9))

for key in self.module_args:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_containerinstance_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_containerinstance_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_containerinstance_facts' module has been renamed to 'azure_rm_containerinstance_info'", version='2.13')
self.module.deprecate("The 'azure_rm_containerinstance_facts' module has been renamed to 'azure_rm_containerinstance_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_containerregistry_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_containerregistry_info'
if is_old_facts:
self.module.deprecate("The 'azure_rm_containerregistry_facts' module has been renamed to 'azure_rm_containerregistry_info'", version='2.13')
self.module.deprecate("The 'azure_rm_containerregistry_facts' module has been renamed to 'azure_rm_containerregistry_info'", version=(2, 9))

for key in list(self.module_arg_spec) + ['tags']:
setattr(self, key, kwargs[key])
Expand Down
6 changes: 2 additions & 4 deletions plugins/modules/azure_rm_containerregistryreplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@
description:
- The status of the replication at the time the operation was called.
returned: always
type: complex
sample: status
contains:
type: str
sample: Ready
'''

import time
Expand Down Expand Up @@ -144,7 +143,6 @@ def __init__(self):
self.location = None

self.results = dict(changed=False)
self.mgmt_client = None
self.state = None
self.to_do = Actions.NoAction

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_cosmosdbaccount_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_cosmosdbaccount_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_cosmosdbaccount_facts' module has been renamed to 'azure_rm_cosmosdbaccount_info'", version='2.13')
self.module.deprecate("The 'azure_rm_cosmosdbaccount_facts' module has been renamed to 'azure_rm_cosmosdbaccount_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/azure_rm_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
---
module: azure_rm_deployment

short_description: Create or destroy Azure Resource Manager template deployments

version_added: "2.1"

short_description: Create or destroy Azure Resource Manager template deployments

description:
- Create or destroy Azure Resource Manager template deployments via the Azure SDK for Python.
- You can find some quick start templates in GitHub here U(https://github.com/azure/azure-quickstart-templates).
Expand Down Expand Up @@ -118,7 +118,7 @@
# Create or update a template deployment based on a uri to the template and parameters specified inline.
# This deploys a VM with SSH support for a given public key, then stores the result in 'azure_vms'. The result is then
# used to create a new host group. This host group is then used to wait for each instance to respond to the public IP SSH.
---

- name: Create Azure Deploy
azure_rm_deployment:
resource_group: myResourceGroup
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_deployment_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_deployment_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_deployment_facts' module has been renamed to 'azure_rm_deployment_info'", version='2.13')
self.module.deprecate("The 'azure_rm_deployment_facts' module has been renamed to 'azure_rm_deployment_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlab_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def __init__(self):
def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlab_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlab_facts' module has been renamed to 'azure_rm_devtestlab_info'", version='2.13')
self.module.deprecate("The 'azure_rm_devtestlab_facts' module has been renamed to 'azure_rm_devtestlab_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabarmtemplate_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __init__(self):
def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabarmtemplate_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabarmtemplate_facts' module has been renamed to 'azure_rm_devtestlabarmtemplate_info'", version='2.13')
self.module.deprecate("The 'azure_rm_devtestlabarmtemplate_facts' module has been renamed to 'azure_rm_devtestlabarmtemplate_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabartifactsource_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabartifactsource_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabartifactsource_facts' module has been renamed to 'azure_rm_devtestlabartifactsource_info'",
version='2.13')
version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabcustomimage_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __init__(self):
def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabcustomimage_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabcustomimage_facts' module has been renamed to 'azure_rm_devtestlabcustomimage_info'", version='2.13')
self.module.deprecate("The 'azure_rm_devtestlabcustomimage_facts' module has been renamed to 'azure_rm_devtestlabcustomimage_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabenvironment_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __init__(self):
def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabenvironment_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabenvironment_facts' module has been renamed to 'azure_rm_devtestlabenvironment_info'", version='2.13')
self.module.deprecate("The 'azure_rm_devtestlabenvironment_facts' module has been renamed to 'azure_rm_devtestlabenvironment_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabpolicy_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def __init__(self):
def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabpolicy_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabpolicy_facts' module has been renamed to 'azure_rm_devtestlabpolicy_info'", version='2.13')
self.module.deprecate("The 'azure_rm_devtestlabpolicy_facts' module has been renamed to 'azure_rm_devtestlabpolicy_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabschedule_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def __init__(self):
def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabschedule_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabschedule_facts' module has been renamed to 'azure_rm_devtestlabschedule_info'", version='2.13')
self.module.deprecate("The 'azure_rm_devtestlabschedule_facts' module has been renamed to 'azure_rm_devtestlabschedule_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabvirtualmachine_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabvirtualmachine_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabvirtualmachine_facts' module has been renamed to 'azure_rm_devtestlabvirtualmachine_info'",
version='2.13')
version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_devtestlabvirtualnetwork_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_devtestlabvirtualnetwork_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_devtestlabvirtualnetwork_facts' module has been renamed to 'azure_rm_devtestlabvirtualnetwork_info'",
version='2.13')
version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_dnsrecordset_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_dnsrecordset_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_dnsrecordset_facts' module has been renamed to 'azure_rm_dnsrecordset_info'", version='2.13')
self.module.deprecate("The 'azure_rm_dnsrecordset_facts' module has been renamed to 'azure_rm_dnsrecordset_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_dnszone_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_dnszone_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_dnszone_facts' module has been renamed to 'azure_rm_dnszone_info'", version='2.13')
self.module.deprecate("The 'azure_rm_dnszone_facts' module has been renamed to 'azure_rm_dnszone_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_functionapp_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_functionapp_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_functionapp_facts' module has been renamed to 'azure_rm_functionapp_info'", version='2.13')
self.module.deprecate("The 'azure_rm_functionapp_facts' module has been renamed to 'azure_rm_functionapp_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_hdinsightcluster_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def exec_module(self, **kwargs):
is_old_facts = self.module._name == 'azure_rm_hdinsightcluster_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_hdinsightcluster_facts' module has been renamed to 'azure_rm_hdinsightcluster_info'",
version='2.13')
version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_image_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_image_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_image_facts' module has been renamed to 'azure_rm_image_info'", version='2.13')
self.module.deprecate("The 'azure_rm_image_facts' module has been renamed to 'azure_rm_image_info'", version=(2, 9))

for key in self.module_arg_spec:
setattr(self, key, kwargs[key])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_loadbalancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def exec_module(self, **kwargs):
is_compatible_param = is_compatible_param or self.public_ip_address_name or self.probe_protocol or self.natpool_protocol or self.protocol
if is_compatible_param:
self.deprecate('Discrete load balancer config settings are deprecated and will be removed.'
' Use frontend_ip_configurations, backend_address_pools, probes, inbound_nat_pools lists instead.', version='2.9')
' Use frontend_ip_configurations, backend_address_pools, probes, inbound_nat_pools lists instead.', version=(2, 9))
frontend_ip_name = 'frontendip0'
backend_address_pool_name = 'backendaddrp0'
prob_name = 'prob0'
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_loadbalancer_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def exec_module(self, **kwargs):

is_old_facts = self.module._name == 'azure_rm_loadbalancer_facts'
if is_old_facts:
self.module.deprecate("The 'azure_rm_loadbalancer_facts' module has been renamed to 'azure_rm_loadbalancer_info'", version='2.13')
self.module.deprecate("The 'azure_rm_loadbalancer_facts' module has been renamed to 'azure_rm_loadbalancer_info'", version=(2, 9))

for key in self.module_args:
setattr(self, key, kwargs[key])
Expand Down
Loading