1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update azure_rm_functionapp related document (#56985)

* Update azure_rm_functionapp related documentation
This commit is contained in:
Fred-sun 2019-05-30 10:33:11 -04:00 committed by Alicia Cozine
parent df442751f7
commit 511c385da6
2 changed files with 22 additions and 18 deletions

View file

@ -19,17 +19,17 @@ module: azure_rm_functionapp
version_added: "2.4"
short_description: Manage Azure Function Apps
description:
- Create, update or delete an Azure Function App
- Create, update or delete an Azure Function App.
options:
resource_group:
description:
- Name of resource group
- Name of resource group.
required: true
aliases:
- resource_group_name
name:
description:
- Name of the Azure Function App
- Name of the Azure Function App.
required: true
location:
description:
@ -38,8 +38,8 @@ options:
description:
- App service plan.
- It can be name of existing app service plan in same resource group as function app.
- "It can be resource id of existing app service plan. eg.,
/subscriptions/<subs_id>/resourceGroups/<resource_group>/providers/Microsoft.Web/serverFarms/<plan_name>"
- It can be resource id of existing app service plan.
- Resource id. For example /subscriptions/<subs_id>/resourceGroups/<resource_group>/providers/Microsoft.Web/serverFarms/<plan_name>.
- It can be a dict which contains C(name), C(resource_group).
- C(name). Name of app service plan.
- C(resource_group). Resource group name of app service plan.
@ -48,11 +48,14 @@ options:
description: Web app container settings.
suboptions:
name:
description: Name of container. eg. "imagename:tag"
description:
- Name of container. For example "imagename:tag".
registry_server_url:
description: Container registry server url. eg. mydockerregistry.io
description:
- Container registry server url. For example C(mydockerregistry.io).
registry_server_user:
description: The container registry server user name.
description:
- The container registry server user name.
registry_server_password:
description:
- The container registry server password.
@ -66,11 +69,10 @@ options:
- storage_account_name
app_settings:
description:
- Dictionary containing application settings
- Dictionary containing application settings.
state:
description:
- Assert the state of the Function App. Use C(present) to create or update a Function App and
C(absent) to delete.
- Assert the state of the Function App. Use C(present) to create or update a Function App and C(absent) to delete.
default: present
choices:
- absent
@ -81,7 +83,7 @@ extends_documentation_fragment:
- azure_tags
author:
- "Thomas Stringer (@trstringer)"
- Thomas Stringer (@trstringer)
'''
EXAMPLES = '''
@ -121,7 +123,8 @@ EXAMPLES = '''
RETURN = '''
state:
description: Current state of the Azure Function App
description:
- Current state of the Azure Function App.
returned: success
type: dict
example:

View file

@ -19,14 +19,14 @@ module: azure_rm_functionapp_facts
version_added: "2.4"
short_description: Get Azure Function App facts
description:
- Get facts for one Azure Function App or all Function Apps within a resource group
- Get facts for one Azure Function App or all Function Apps within a resource group.
options:
name:
description:
- Only show results for a specific Function App
- Only show results for a specific Function App.
resource_group:
description:
- Limit results to a resource group. Required when filtering by name
- Limit results to a resource group. Required when filtering by name.
aliases:
- resource_group_name
tags:
@ -37,7 +37,7 @@ extends_documentation_fragment:
- azure
author:
- "Thomas Stringer (@trstringer)"
- Thomas Stringer (@trstringer)
'''
EXAMPLES = '''
@ -58,7 +58,8 @@ EXAMPLES = '''
RETURN = '''
azure_functionapps:
description: List of Azure Function Apps dicts
description:
- List of Azure Function Apps dicts.
returned: always
type: list
example: