» azurerm_data_factory_linked_service_azure_function

Manages a Linked Service (connection) between a SFTP Server and Azure Data Factory.

» Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "northeurope"
}

data "azurerm_function_app" "example" {
  name                = "test-azure-functions"
  resource_group_name = azurerm_resource_group.example.name
}

resource "azurerm_data_factory" "example" {
  name                = "example"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
}

resource "azurerm_data_factory_linked_service_azure_function" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  data_factory_name   = azurerm_data_factory.example.name
  url                 = data.azurerm_function_app.example.default_hostname
  key                 = "foo"

}

» Argument Reference

The following supported arguments are common across all Azure Data Factory Linked Services:

  • name - (Required) Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.

  • resource_group_name - (Required) The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource

  • data_factory_name - (Required) The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

  • description - (Optional) The description for the Data Factory Linked Service.

  • integration_runtime_name - (Optional) The integration runtime reference to associate with the Data Factory Linked Service.

  • annotations - (Optional) List of tags that can be used for describing the Data Factory Linked Service.

  • parameters - (Optional) A map of parameters to associate with the Data Factory Linfked Service.

  • additional_properties - (Optional) A map of additional properties to associate with the Data Factory Linked Service.

The following supported arguments are specific to Azure Function Linked Service:

  • url - (Required) The url of the Azure Function.

  • key - (Required) The system key of the Azure Function.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the Data Factory Linked Service.

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the Data Factory Linked Service.
  • update - (Defaults to 30 minutes) Used when updating the Data Factory Linked Service.
  • read - (Defaults to 5 minutes) Used when retrieving the Data Factory Linked Service.
  • delete - (Defaults to 30 minutes) Used when deleting the Data Factory Linked Service.

» Import

Data Factory Linked Service's can be imported using the resource id, e.g.

terraform import azurerm_data_factory_linked_service_azure_function.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/linkedservices/example