Cloud.Service.Azure.App.Service

Cloud.Service.Azure.App.Service
Cloud.Service.Azure.App.Service
JSON Example
{
    "account": "string",
    "app_service_plan_id": "string",
    "client_affinity_enabled": false,
    "connection_string": [
        {
            "name": "string",
            "type": "string",
            "value": "string"
        }
    ],
    "count": 0,
    "default_site_hostname": "string",
    "enabled": false,
    "https_only": false,
    "identity": [
        {
            "principal_id": "string",
            "tenant_id": "string",
            "type": "string"
        }
    ],
    "name": "string",
    "outbound_ip_addresses": "string",
    "region": "string",
    "resource_group_name": "string",
    "site_config": [
        {
            "always_on": false,
            "default_documents": [
                "string"
            ],
            "dotnet_framework_version": "string",
            "ftps_state": "string",
            "http2_enabled": false,
            "ip_restriction": [
                {
                    "ip_address": "string",
                    "subnet_mask": "string"
                }
            ],
            "java_container": "string",
            "java_container_version": "string",
            "java_version": "string",
            "linux_fx_version": "string",
            "local_mysql_enabled": false,
            "managed_pipeline_mode": "string",
            "min_tls_version": "string",
            "php_version": "string",
            "python_version": "string",
            "remote_debugging_enabled": false,
            "remote_debugging_version": "string",
            "scm_type": "string",
            "use_32_bit_worker_process": false,
            "virtual_network_name": "string",
            "websockets_enabled": false
        }
    ],
    "site_credential": [
        {
            "password": "string",
            "username": "string"
        }
    ],
    "source_control": [
        {
            "branch": "string",
            "repo_url": "string"
        }
    ]
}
string
account
Required

(Required) The name of the Microsoft Azure cloud account to use for this resource

string
app_service_plan_id
Required

(Required) App Service plan in which to create the App Service. Changing the plan deletes the existing resource and creates a new one.

object
app_settings
Optional

Key-value pairs of app settings.

boolean
client_affinity_enabled
Optional

Whether the App Service sends session affinity cookies, which route client requests in the same session to the same instance.

array of object
connection_string
Optional

Connection string settings for the App Service.

integer
count
Optional

The number of resource instances to be created.

string
default_site_hostname
Optional

Default hostname associated with the App Service, such as mysite.azurewebsites.net

boolean
enabled
Optional

Whether the App Service is enabled. Changing the setting deletes the existing resource and creates a new one.

boolean
https_only
Optional

Whether the App Service can only be accessed by HTTPS. Default is false.

array of object
identity
Optional

Settings for managed service identity.

string
name
Required

(Required) App Service name. Changing the name deletes the existing resource and creates a new one.

string
outbound_ip_addresses
Optional

Comma separated list of outbound IP addresses, such as 52.23.25.3,52.143.43.12

string
region
Required

(Required) Supported Azure location where the resource exists. Changing the location deletes the existing resource and creates a new one.

string
resource_group_name
Required

(Required) Resource group in which to create the App Service.

array of object
site_config
Optional

Settings for site configuration.

array of object
site_credential
Optional

Site-level credential settings for publishing to the App Service.

array of object
source_control
Optional

Settings for source control when scm_type is set to LocalGit.

object
tags
Optional

App Service categorization, in case-sensitive key names, or in key-value pairs.