mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-10 11:11:29 -07:00
more 2.8 facts modules renamed to info (#54313)
This commit is contained in:
parent
8dd46d6f95
commit
8768c05d3e
20 changed files with 56 additions and 56 deletions
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_applicationsecuritygroup_facts
|
||||
module: azure_rm_applicationsecuritygroup_info
|
||||
version_added: "2.8"
|
||||
short_description: Get Azure Application Security Group facts.
|
||||
description:
|
||||
|
@ -42,14 +42,14 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: List application security groups in specific resource group
|
||||
azure_rm_applicationsecuritygroup_facts:
|
||||
azure_rm_applicationsecuritygroup_info:
|
||||
resource_group: myResourceGroup
|
||||
|
||||
- name: List application security groups in specific subscription
|
||||
azure_rm_applicationsecuritygroup_facts:
|
||||
azure_rm_applicationsecuritygroup_info:
|
||||
|
||||
- name: Get application security group by name
|
||||
azure_rm_applicationsecuritygroup_facts:
|
||||
azure_rm_applicationsecuritygroup_info:
|
||||
resource_group: myResourceGroup
|
||||
name: myApplicationSecurityGroup
|
||||
tags:
|
|
@ -14,7 +14,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_cdnendpoint_facts
|
||||
module: azure_rm_cdnendpoint_info
|
||||
|
||||
version_added: "2.8"
|
||||
|
||||
|
@ -49,12 +49,12 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get facts for all endpoints in CDN profile
|
||||
azure_rm_cdnendpoint_facts:
|
||||
azure_rm_cdnendpoint_info:
|
||||
resource_group: myResourceGroup
|
||||
profile_name: myCDNProfile
|
||||
|
||||
- name: Get facts of specific CDN endpoint
|
||||
azure_rm_cdnendpoint_facts:
|
||||
azure_rm_cdnendpoint_info:
|
||||
resource_group: myResourceGroup
|
||||
profile_name: myCDNProfile
|
||||
name: myEndpoint1
|
|
@ -14,7 +14,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_cdnprofile_facts
|
||||
module: azure_rm_cdnprofile_info
|
||||
|
||||
version_added: "2.8"
|
||||
|
||||
|
@ -44,15 +44,15 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get facts for one CDN profile
|
||||
azure_rm_cdnprofile_facts:
|
||||
azure_rm_cdnprofile_info:
|
||||
name: Testing
|
||||
resource_group: myResourceGroup
|
||||
|
||||
- name: Get facts for all CDN profiles
|
||||
azure_rm_cdnprofile_facts:
|
||||
azure_rm_cdnprofile_info:
|
||||
|
||||
- name: Get facts by tags
|
||||
azure_rm_cdnprofile_facts:
|
||||
azure_rm_cdnprofile_info:
|
||||
tags:
|
||||
- Environment:Test
|
||||
'''
|
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_containerinstance_facts
|
||||
module: azure_rm_containerinstance_info
|
||||
version_added: "2.8"
|
||||
short_description: Get Azure Container Instance facts.
|
||||
description:
|
||||
|
@ -43,12 +43,12 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get specific Container Instance facts
|
||||
azure_rm_containerinstance_facts:
|
||||
azure_rm_containerinstance_info:
|
||||
resource_group: myResourceGroup
|
||||
name: container_group_name
|
||||
|
||||
- name: List Container Instances in a specified resource group name
|
||||
azure_rm_containerinstance_facts:
|
||||
azure_rm_containerinstance_info:
|
||||
resource_group: myResourceGroup
|
||||
'''
|
||||
|
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_cosmosdbaccount_facts
|
||||
module: azure_rm_cosmosdbaccount_info
|
||||
version_added: "2.8"
|
||||
short_description: Get Azure Cosmos DB Account facts.
|
||||
description:
|
||||
|
@ -53,7 +53,7 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get instance of Database Account
|
||||
azure_rm_cosmosdbaccount_facts:
|
||||
azure_rm_cosmosdbaccount_info:
|
||||
resource_group: myResourceGroup
|
||||
name: testaccount
|
||||
|
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_deployment_facts
|
||||
module: azure_rm_deployment_info
|
||||
version_added: "2.8"
|
||||
short_description: Get Azure Deployment facts.
|
||||
description:
|
||||
|
@ -40,7 +40,7 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get instance of Deployment
|
||||
azure_rm_deployment_facts:
|
||||
azure_rm_deployment_info:
|
||||
resource_group: myResourceGroup
|
||||
name: myDeployment
|
||||
'''
|
|
@ -12,7 +12,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_image_facts
|
||||
module: azure_rm_image_info
|
||||
|
||||
version_added: "2.8"
|
||||
|
||||
|
@ -42,19 +42,19 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: List images with name
|
||||
azure_rm_image_facts:
|
||||
azure_rm_image_info:
|
||||
name: test-image
|
||||
resource_group: myResourceGroup
|
||||
|
||||
- name: List images by resource group
|
||||
azure_rm_image_facts:
|
||||
azure_rm_image_info:
|
||||
resource_group: myResourceGroup
|
||||
tags:
|
||||
- testing
|
||||
- foo:bar
|
||||
|
||||
- name: List all available images under current subscription
|
||||
azure_rm_image_facts:
|
||||
azure_rm_image_info:
|
||||
'''
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_rediscache_facts
|
||||
module: azure_rm_rediscache_info
|
||||
|
||||
version_added: "2.8"
|
||||
|
||||
|
@ -49,18 +49,18 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get Redis Cache by name
|
||||
azure_rm_rediscache_facts:
|
||||
azure_rm_rediscache_info:
|
||||
resource_group: myResourceGroup
|
||||
name: myRedis
|
||||
|
||||
- name: Get Redis Cache with access keys by name
|
||||
azure_rm_rediscache_facts:
|
||||
azure_rm_rediscache_info:
|
||||
resource_group: myResourceGroup
|
||||
name: myRedis
|
||||
return_access_keys: true
|
||||
|
||||
- name: Get Redis Cache in specific resource group
|
||||
azure_rm_rediscache_facts:
|
||||
azure_rm_rediscache_info:
|
||||
resource_group: myResourceGroup
|
||||
'''
|
||||
|
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_roleassignment_facts
|
||||
module: azure_rm_roleassignment_info
|
||||
version_added: "2.8"
|
||||
short_description: Gets Azure Role Assignment facts.
|
||||
description:
|
||||
|
@ -47,11 +47,11 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get role assignments for specific service principal
|
||||
azure_rm_roleassignment_facts:
|
||||
azure_rm_roleassignment_info:
|
||||
assignee: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
|
||||
- name: Get role assignments for specific scope
|
||||
azure_rm_roleassignment_facts:
|
||||
azure_rm_roleassignment_info:
|
||||
scope: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
'''
|
||||
|
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_roledefinition_facts
|
||||
module: azure_rm_roledefinition_info
|
||||
version_added: "2.8"
|
||||
short_description: Get Azure Role Definition facts.
|
||||
description:
|
||||
|
@ -47,11 +47,11 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: List Role Definitions in scope
|
||||
azure_rm_roledefinition_facts:
|
||||
azure_rm_roledefinition_info:
|
||||
scope: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup
|
||||
|
||||
- name: Get Role Definition by name
|
||||
azure_rm_roledefinition_facts:
|
||||
azure_rm_roledefinition_info:
|
||||
scope: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup
|
||||
name: myRoleDefinition
|
||||
'''
|
|
@ -15,7 +15,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_subnet_facts
|
||||
module: azure_rm_subnet_info
|
||||
version_added: "2.8"
|
||||
short_description: Get Azure Subnet facts.
|
||||
description:
|
||||
|
@ -44,13 +44,13 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get facts of specific subnet
|
||||
azure_rm_subnet_facts:
|
||||
azure_rm_subnet_info:
|
||||
resource_group: myResourceGroup
|
||||
virtual_network_name: myVirtualNetwork
|
||||
name: mySubnet
|
||||
|
||||
- name: List facts for all subnets in virtual network
|
||||
azure_rm_subnet_facts:
|
||||
azure_rm_subnet_info:
|
||||
resource_group: myResourceGroup
|
||||
virtual_network_name: myVirtualNetwork
|
||||
name: mySubnet
|
Loading…
Add table
Add a link
Reference in a new issue