pyaz/functionapp/__init__.py
def create(name, resource_group, storage_account, app_insights=None, app_insights_key=None, assign_identity=None, consumption_plan_location=None, deployment_container_image_name=None, deployment_local_git=None, deployment_source_branch=None, deployment_source_url=None, disable_app_insights=None, docker_registry_server_password=None, docker_registry_server_user=None, functions_version=None, os_type=None, plan=None, role=None, runtime=None, runtime_version=None, scope=None, subnet=None, tags=None, vnet=None):
    '''
    Create a function app.

    Required Parameters:
    - name -- name of the new function app
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - storage_account -- Provide a string value of a Storage Account in the provided Resource Group. Or Resource ID of a Storage Account in a different Resource Group

    Optional Parameters:
    - app_insights -- Name of the existing App Insights project to be added to the function app. Must be in the same resource group.
    - app_insights_key -- Instrumentation key of App Insights to be added.
    - assign_identity -- accept system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity, or a resource id to refer user assigned identity. Check out help for more examples
    - consumption_plan_location -- Geographic location where function app will be hosted. Use `az functionapp list-consumption-locations` to view available locations.
    - deployment_container_image_name -- Container image name from Docker Hub, e.g. publisher/image-name:tag
    - deployment_local_git -- enable local git
    - deployment_source_branch -- the branch to deploy
    - deployment_source_url -- Git repository URL to link with manual integration
    - disable_app_insights -- Disable creating application insights resource during functionapp create. No logs will be available.
    - docker_registry_server_password -- The container registry server password. Required for private registries.
    - docker_registry_server_user -- The container registry server username.
    - functions_version -- The functions app version. NOTE: This will be required starting the next release cycle
    - os_type -- Set the OS type for the app to be created.
    - plan -- name or resource id of the functionapp app service plan. Use 'appservice plan create' to get one. If using an App Service plan from a different resource group, the full resource id must be used and not the plan name.
    - role -- Role name or id the system assigned identity will have
    - runtime -- The functions runtime stack.
    - runtime_version -- The version of the functions runtime stack. Allowed values for each --runtime are: dotnet-isolated -> [5.0 (preview), 6.0], node -> [12, 14], java -> [8, 11], powershell -> [7.0 (preview)], python -> [3.6, 3.7, 3.8, 3.9]
    - scope -- Scope that the system assigned identity can access
    - subnet -- Name or resource ID of the pre-existing subnet to have the webapp join. The --vnet is argument also needed if specifying subnet by name.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - vnet -- Name or resource ID of the regional virtual network. If there are multiple vnets of the same name across different resource groups, use vnet resource id to specify which vnet to use. If vnet name is used, by default, the vnet in the same resource group as the webapp will be used. Must be used with --subnet argument.
    '''
    return _call_az("az functionapp create", locals())

    Create a function app.

    Required Parameters:
    - name -- name of the new function app
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - storage_account -- Provide a string value of a Storage Account in the provided Resource Group. Or Resource ID of a Storage Account in a different Resource Group

    Optional Parameters:
    - app_insights -- Name of the existing App Insights project to be added to the function app. Must be in the same resource group.
    - app_insights_key -- Instrumentation key of App Insights to be added.
    - assign_identity -- accept system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity, or a resource id to refer user assigned identity. Check out help for more examples
    - consumption_plan_location -- Geographic location where function app will be hosted. Use `az functionapp list-consumption-locations` to view available locations.
    - deployment_container_image_name -- Container image name from Docker Hub, e.g. publisher/image-name:tag
    - deployment_local_git -- enable local git
    - deployment_source_branch -- the branch to deploy
    - deployment_source_url -- Git repository URL to link with manual integration
    - disable_app_insights -- Disable creating application insights resource during functionapp create. No logs will be available.
    - docker_registry_server_password -- The container registry server password. Required for private registries.
    - docker_registry_server_user -- The container registry server username.
    - functions_version -- The functions app version. NOTE: This will be required starting the next release cycle
    - os_type -- Set the OS type for the app to be created.
    - plan -- name or resource id of the functionapp app service plan. Use 'appservice plan create' to get one. If using an App Service plan from a different resource group, the full resource id must be used and not the plan name.
    - role -- Role name or id the system assigned identity will have
    - runtime -- The functions runtime stack.
    - runtime_version -- The version of the functions runtime stack. Allowed values for each --runtime are: dotnet-isolated -> [5.0 (preview), 6.0], node -> [12, 14], java -> [8, 11], powershell -> [7.0 (preview)], python -> [3.6, 3.7, 3.8, 3.9]
    - scope -- Scope that the system assigned identity can access
    - subnet -- Name or resource ID of the pre-existing subnet to have the webapp join. The --vnet is argument also needed if specifying subnet by name.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - vnet -- Name or resource ID of the regional virtual network. If there are multiple vnets of the same name across different resource groups, use vnet resource id to specify which vnet to use. If vnet name is used, by default, the vnet in the same resource group as the webapp will be used. Must be used with --subnet argument.
    
Create a function app.
Required Parameters:
name -- name of the new function app
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
storage_account -- Provide a string value of a Storage Account in the provided Resource Group. Or Resource ID of a Storage Account in a different Resource Group

Optional Parameters:
app_insights -- Name of the existing App Insights project to be added to the function app. Must be in the same resource group.
app_insights_key -- Instrumentation key of App Insights to be added.
assign_identity -- accept system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity, or a resource id to refer user assigned identity. Check out help for more examples
consumption_plan_location -- Geographic location where function app will be hosted. Use `az functionapp list-consumption-locations` to view available locations.
deployment_container_image_name -- Container image name from Docker Hub, e.g.
Create a function app . Required Parameters : name -- name of the new function app resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` storage_account -- Provide a string value of a Storage Account in the provided Resource Group . Or Resource ID of a Storage Account in a different Resource Group Optional Parameters : app_insights -- Name of the existing App Insights project to be added to the function app . Must be in the same resource group . app_insights_key -- Instrumentation key of App Insights to be added . assign_identity -- accept system or user assigned identities separated by spaces . Use ' [ system ] ' to refer system assigned identity or a resource id to refer user assigned identity . Check out help for more examples consumption_plan_location -- Geographic location where function app will be hosted . Use ` az functionapp list - consumption - locations ` to view available locations . deployment_container_image_name -- Container image name from Docker Hub e . g .
def create(name, resource_group, storage_account, app_insights=None, app_insights_key=None, assign_identity=None, consumption_plan_location=None, deployment_container_image_name=None, deployment_local_git=None, deployment_source_branch=None, deployment_source_url=None, disable_app_insights=None, docker_registry_server_password=None, docker_registry_server_user=None, functions_version=None, os_type=None, plan=None, role=None, runtime=None, runtime_version=None, scope=None, subnet=None, tags=None, vnet=None):
    return _call_az("az functionapp create", locals())
def create ( name , resource_group , storage_account , app_insights = None , app_insights_key = None , assign_identity = None , consumption_plan_location = None , deployment_container_image_name = None , deployment_local_git = None , deployment_source_branch = None , deployment_source_url = None , disable_app_insights = None , docker_registry_server_password = None , docker_registry_server_user = None , functions_version = None , os_type = None , plan = None , role = None , runtime = None , runtime_version = None , scope = None , subnet = None , tags = None , vnet = None ) : return _call_az ( "az functionapp create" , locals ( ) )
Create a function app.
Create a function app .
'''
    Create a function app.

    Required Parameters:
    - name -- name of the new function app
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - storage_account -- Provide a string value of a Storage Account in the provided Resource Group. Or Resource ID of a Storage Account in a different Resource Group

    Optional Parameters:
    - app_insights -- Name of the existing App Insights project to be added to the function app. Must be in the same resource group.
    - app_insights_key -- Instrumentation key of App Insights to be added.
    - assign_identity -- accept system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity, or a resource id to refer user assigned identity. Check out help for more examples
    - consumption_plan_location -- Geographic location where function app will be hosted. Use `az functionapp list-consumption-locations` to view available locations.
    - deployment_container_image_name -- Container image name from Docker Hub, e.g. publisher/image-name:tag
    - deployment_local_git -- enable local git
    - deployment_source_branch -- the branch to deploy
    - deployment_source_url -- Git repository URL to link with manual integration
    - disable_app_insights -- Disable creating application insights resource during functionapp create. No logs will be available.
    - docker_registry_server_password -- The container registry server password. Required for private registries.
    - docker_registry_server_user -- The container registry server username.
    - functions_version -- The functions app version. NOTE: This will be required starting the next release cycle
    - os_type -- Set the OS type for the app to be created.
    - plan -- name or resource id of the functionapp app service plan. Use 'appservice plan create' to get one. If using an App Service plan from a different resource group, the full resource id must be used and not the plan name.
    - role -- Role name or id the system assigned identity will have
    - runtime -- The functions runtime stack.
    - runtime_version -- The version of the functions runtime stack. Allowed values for each --runtime are: dotnet-isolated -> [5.0 (preview), 6.0], node -> [12, 14], java -> [8, 11], powershell -> [7.0 (preview)], python -> [3.6, 3.7, 3.8, 3.9]
    - scope -- Scope that the system assigned identity can access
    - subnet -- Name or resource ID of the pre-existing subnet to have the webapp join. The --vnet is argument also needed if specifying subnet by name.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - vnet -- Name or resource ID of the regional virtual network. If there are multiple vnets of the same name across different resource groups, use vnet resource id to specify which vnet to use. If vnet name is used, by default, the vnet in the same resource group as the webapp will be used. Must be used with --subnet argument.
    '''
name
resource_group
storage_account
app_insights
app_insights_key
assign_identity
consumption_plan_location
deployment_container_image_name
deployment_local_git
deployment_source_branch
deployment_source_url
disable_app_insights
docker_registry_server_password
docker_registry_server_user
functions_version
os_type
plan
role
runtime
runtime_version
scope
subnet
tags
vnet