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

additional sample for function app (#55136)

* additional sample for function app

* format
This commit is contained in:
Zim Kalinowski 2019-04-11 17:57:41 +08:00 committed by ansibot
parent b0cc3072dc
commit 21ec3b294f

View file

@ -87,24 +87,36 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a function app - name: Create a function app
azure_rm_functionapp: azure_rm_functionapp:
resource_group: myResourceGroup resource_group: myResourceGroup
name: myFunctionApp name: myFunctionApp
storage_account: myStorageAccount storage_account: myStorageAccount
- name: Create a function app with app settings - name: Create a function app with app settings
azure_rm_functionapp: azure_rm_functionapp:
resource_group: myResourceGroup
name: myFunctionApp
storage_account: myStorageAccount
app_settings:
setting1: value1
setting2: value2
- name: Create container based function app
azure_rm_functionapp:
resource_group: myResourceGroup
name: myFunctionApp
storage_account: myStorageAccount
plan:
resource_group: myResourceGroup resource_group: myResourceGroup
name: myFunctionApp name: myAppPlan
storage_account: myStorageAccount container_settings:
app_settings: name: httpd
setting1: value1 registry_server_url: index.docker.io
setting2: value2
- name: Delete a function app - name: Delete a function app
azure_rm_functionapp: azure_rm_functionapp:
resource_group: myResourceGroup resource_group: myResourceGroup
name: myFunctionApp name: myFunctionApp
state: absent state: absent
''' '''
RETURN = ''' RETURN = '''