azurermDataFactoryManagedPrivateEndpoint
Manages a Data Factory Managed Private Endpoint.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const azurermResourceGroupExample = new azurerm.resourceGroup.ResourceGroup(
this,
"example",
{
location: "West Europe",
name: "example-resources",
}
);
const azurermStorageAccountExample = new azurerm.storageAccount.StorageAccount(
this,
"example_1",
{
account_kind: "BlobStorage",
account_replication_type: "LRS",
account_tier: "Standard",
location: azurermResourceGroupExample.location,
name: "example",
resource_group_name: azurermResourceGroupExample.name,
}
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermStorageAccountExample.overrideLogicalId("example");
const azurermDataFactoryExample = new azurerm.dataFactory.DataFactory(
this,
"example_2",
{
location: azurermResourceGroupExample.location,
managed_virtual_network_enabled: true,
name: "example",
resource_group_name: azurermResourceGroupExample.name,
}
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermDataFactoryExample.overrideLogicalId("example");
const azurermDataFactoryManagedPrivateEndpointExample =
new azurerm.dataFactoryManagedPrivateEndpoint.DataFactoryManagedPrivateEndpoint(
this,
"example_3",
{
data_factory_id: azurermDataFactoryExample.id,
name: "example",
subresource_name: "blob",
target_resource_id: azurermStorageAccountExample.id,
}
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermDataFactoryManagedPrivateEndpointExample.overrideLogicalId("example");
Argument Reference
The following arguments are supported:
-
name
- (Required) Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. -
dataFactoryId
- (Required) The ID of the Data Factory on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. -
targetResourceId
- (Required) The ID of the Private Link Enabled Remote Resource which this Data Factory Private Endpoint should be connected to. Changing this forces a new resource to be created. -
subresourceName
- (Optional) Specifies the sub resource name which the Data Factory Private Endpoint is able to connect to. Changing this forces a new resource to be created. -
fqdns
- (Optional) Fully qualified domain names. Changing this forces a new resource to be created.
-> NOTE: Possible values are listed in documentation.
Attributes Reference
The following attributes are exported:
id
- The ID of the Data Factory Managed Private Endpoint.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Data Factory Managed Private Endpoint.read
- (Defaults to 5 minutes) Used when retrieving the Data Factory Managed Private Endpoint.delete
- (Defaults to 30 minutes) Used when deleting the Data Factory Managed Private Endpoint.
Import
Data Factory Managed Private Endpoint can be imported using the resourceId
, e.g.