# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/azure/azure.function.dataset.md

---
title: Function
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Function
---

# Function

This table represents the Function resource from Microsoft Azure.

```
azure.function
```

## Fields

| Title                                             | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                | Description |
| ------------------------------------------------- | ---- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                              | core | string        |
| availability_state                                | core | string        | Management information availability state for the app.                                                                                                                                                                                                                                   |
| client_affinity_enabled                           | core | bool          | <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.                                                                            |
| client_cert_enabled                               | core | bool          | <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.                                                                                                                                 |
| client_cert_exclusion_paths                       | core | string        | client certificate authentication comma-separated exclusion paths                                                                                                                                                                                                                        |
| client_cert_mode                                  | core | string        | This composes with ClientCertEnabled setting.- ClientCertEnabled: false means ClientCert is ignored.- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. |
| container_size                                    | core | int64         | Size of the function container.                                                                                                                                                                                                                                                          |
| custom_domain_verification_id                     | core | string        | Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.                                                                                                                                                      |
| daily_memory_time_quota                           | core | int64         | Maximum allowed daily memory-time quota (applicable on dynamic apps only).                                                                                                                                                                                                               |
| default_host_name                                 | core | string        | Default hostname of the app. Read-only.                                                                                                                                                                                                                                                  |
| enabled                                           | core | bool          | <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).                                                                                                                                            |
| enabled_host_names                                | core | array<string> | Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,the app is not served on those hostnames.                                                                                                                                             |
| extended_location                                 | core | json          |
| host_names                                        | core | array<string> | Hostnames associated with the app.                                                                                                                                                                                                                                                       |
| host_names_disabled                               | core | bool          | <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process.                                                                                                                |
| hosting_environment                               | core | string        |
| hosting_environment_id                            | core | string        |
| hosting_environment_profile                       | core | string        |
| https_only                                        | core | bool          | HttpsOnly: configures a web site to accept only https requests. Issues redirect forhttp requests                                                                                                                                                                                         |
| hyper_v                                           | core | bool          | Hyper-V sandbox.                                                                                                                                                                                                                                                                         |
| id                                                | core | string        | Resource Id.                                                                                                                                                                                                                                                                             |
| identity_principal_id                             | core | string        |
| identity_tenant_id                                | core | string        |
| identity_type                                     | core | string        |
| in_progress_operation_id                          | core | string        | Specifies an operation id if this site has a pending operation.                                                                                                                                                                                                                          |
| is_default_container                              | core | bool          | <code>true</code> if the app is a default container; otherwise, <code>false</code>.                                                                                                                                                                                                      |
| is_xenon                                          | core | bool          | Obsolete: Hyper-V sandbox.                                                                                                                                                                                                                                                               |
| key_vault_reference_identity                      | core | string        | Identity to use for Key Vault Reference authentication.                                                                                                                                                                                                                                  |
| kind                                              | core | string        | Kind of resource.                                                                                                                                                                                                                                                                        |
| last_modified_time_utc                            | core | string        | Last time the app was modified, in UTC. Read-only.                                                                                                                                                                                                                                       |
| location                                          | core | string        | Resource Location.                                                                                                                                                                                                                                                                       |
| max_number_of_workers                             | core | int64         | Maximum number of workers.This only applies to Functions container.                                                                                                                                                                                                                      |
| name                                              | core | string        | Resource Name.                                                                                                                                                                                                                                                                           |
| outbound_ip_addresses                             | core | string        | List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.                                                                                                             |
| possible_outbound_ip_addresses                    | core | string        | List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.                                                                                                                                  |
| redundancy_mode                                   | core | string        | Site redundancy mode                                                                                                                                                                                                                                                                     |
| repository_site_name                              | core | string        | Name of the repository site.                                                                                                                                                                                                                                                             |
| reserved                                          | core | bool          | <code>true</code> if reserved; otherwise, <code>false</code>.                                                                                                                                                                                                                            |
| resource_group                                    | core | string        |
| scm_site_also_stopped                             | core | bool          | <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.                                                                                                                                                     |
| server_farm_id                                    | core | string        | Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".                                                                                                     |
| site_config_acr_use_managed_identity_creds        | core | bool          |
| site_config_acr_user_managed_identity_id          | core | string        |
| site_config_always_on                             | core | bool          |
| site_config_ftps_state                            | core | string        |
| site_config_function_app_scale_limit              | core | int64         |
| site_config_http20_enabled                        | core | bool          |
| site_config_http_logging_enabled                  | core | bool          |
| site_config_java_container                        | core | string        |
| site_config_java_container_version                | core | string        |
| site_config_java_version                          | core | string        |
| site_config_limits                                | core | int64         |
| site_config_linux_fx_version                      | core | string        |
| site_config_load_balancing                        | core | string        |
| site_config_local_my_sql_enabled                  | core | bool          |
| site_config_logs_directory_size_limit             | core | int64         |
| site_config_managed_pipeline_mode                 | core | string        |
| site_config_managed_service_identity_id           | core | int64         |
| site_config_min_tls_version                       | core | string        |
| site_config_minimum_elastic_instance_count        | core | int64         |
| site_config_net_framework_version                 | core | string        |
| site_config_node_version                          | core | string        |
| site_config_number_of_workers                     | core | int64         |
| site_config_php_version                           | core | string        |
| site_config_power_shell_version                   | core | string        |
| site_config_pre_warmed_instance_count             | core | int64         |
| site_config_publishing_username                   | core | string        |
| site_config_python_version                        | core | string        |
| site_config_remote_debugging_enabled              | core | bool          |
| site_config_remote_debugging_version              | core | string        |
| site_config_request_tracing_enabled               | core | bool          |
| site_config_scm_ip_security_restrictions_use_main | core | bool          |
| site_config_scm_type                              | core | string        |
| site_config_tracing_options                       | core | string        |
| site_config_use32_bit_worker_process              | core | bool          |
| site_config_vnet_name                             | core | string        |
| site_config_web_sockets_enabled                   | core | bool          |
| site_config_windows_fx_version                    | core | string        |
| site_config_x_managed_service_identity_id         | core | int64         |
| state                                             | core | string        | Current state of the app.                                                                                                                                                                                                                                                                |
| storage_account_required                          | core | bool          | Checks if Customer provided storage account is required                                                                                                                                                                                                                                  |
| subscription_id                                   | core | string        |
| subscription_name                                 | core | string        |
| suspended_till                                    | core | string        | App suspended till in case memory-time quota is exceeded.                                                                                                                                                                                                                                |
| tags                                              | core | hstore_csv    |
| target_swap_slot                                  | core | string        | Specifies which deployment slot this app will swap into. Read-only.                                                                                                                                                                                                                      |
| traffic_manager_host_names                        | core | array<string> | Azure Traffic Manager hostnames associated with the app. Read-only.                                                                                                                                                                                                                      |
| type                                              | core | string        | Resource type.                                                                                                                                                                                                                                                                           |
| usage_state                                       | core | string        | State indicating whether the app has exceeded its quota usage. Read-only.                                                                                                                                                                                                                |
| virtual_network_subnet_id                         | core | string        | Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}          |
| web_auth_settings                                 | core | json          |