Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The factories/managedVirtualNetworks resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataFactory/factories/managedVirtualNetworks resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
{customized property}: any(...)
}
}
Property Values
Microsoft.DataFactory/factories/managedVirtualNetworks
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Min length = 1 Max length = 127 Pattern = ^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$ (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: factories |
| properties | Managed Virtual Network properties. | ManagedVirtualNetwork (required) |
ManagedVirtualNetwork
| Name | Description | Value |
|---|
Usage Examples
Bicep Samples
A basic example of deploying Data Factory Managed Virtual Networks.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource factory 'Microsoft.DataFactory/factories@2018-06-01' = {
name: resourceName
location: location
properties: {
globalParameters: {}
publicNetworkAccess: 'Enabled'
}
}
resource managedVirtualNetwork 'Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01' = {
name: 'default'
parent: factory
properties: {}
}
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
| Bicep File | Description |
|---|---|
| Azure Data Factory with Git and managed vnet configuration | This template creates Azure Data Factory with Git configuration and managed virtual network. |
ARM template resource definition
The factories/managedVirtualNetworks resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataFactory/factories/managedVirtualNetworks resource, add the following JSON to your template.
{
"type": "Microsoft.DataFactory/factories/managedVirtualNetworks",
"apiVersion": "2018-06-01",
"name": "string",
"properties": {
"{customized property}": {}
}
}
Property Values
Microsoft.DataFactory/factories/managedVirtualNetworks
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2018-06-01' |
| name | The resource name | string Constraints: Min length = 1 Max length = 127 Pattern = ^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$ (required) |
| properties | Managed Virtual Network properties. | ManagedVirtualNetwork (required) |
| type | The resource type | 'Microsoft.DataFactory/factories/managedVirtualNetworks' |
ManagedVirtualNetwork
| Name | Description | Value |
|---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
| Template | Description |
|---|---|
| Azure Data Factory with Git and managed vnet configuration |
This template creates Azure Data Factory with Git configuration and managed virtual network. |
Terraform (AzAPI provider) resource definition
The factories/managedVirtualNetworks resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataFactory/factories/managedVirtualNetworks resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01"
name = "string"
parent_id = "string"
body = {
properties = {
{customized property} = ?
}
}
}
Property Values
Microsoft.DataFactory/factories/managedVirtualNetworks
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Min length = 1 Max length = 127 Pattern = ^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: factories |
| properties | Managed Virtual Network properties. | ManagedVirtualNetwork (required) |
| type | The resource type | "Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01" |
ManagedVirtualNetwork
| Name | Description | Value |
|---|
Usage Examples
Terraform Samples
A basic example of deploying Data Factory Managed Virtual Networks.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "factory" {
type = "Microsoft.DataFactory/factories@2018-06-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
globalParameters = {
}
publicNetworkAccess = "Enabled"
repoConfiguration = null
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "managedVirtualNetwork" {
type = "Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01"
parent_id = azapi_resource.factory.id
name = "default"
body = {
properties = {
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}