Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Resource: data_factory_integration_runtime_managed #4342

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
360daac
add integration runtimes client
r0bnet Sep 13, 2019
76ac10d
add basic managed integration runtime skeleton
r0bnet Sep 13, 2019
6fafdee
register new resource
r0bnet Sep 13, 2019
0ea0509
implement CreateUpdate, Delete and Read functions (untested)
r0bnet Sep 13, 2019
d7d4a74
Merge branch 'master' into resource_data_factory_integration_runtime_…
r0bnet Sep 16, 2019
23a2295
rename resource_group to resource_group_name
r0bnet Sep 16, 2019
f64bfa8
fix bugs that came up through manual tests
r0bnet Sep 16, 2019
0117298
Merge branch 'master' into resource_data_factory_integration_runtime_…
r0bnet Sep 16, 2019
8b25b3c
set correct upper bound for max_parallel_executions_per_node; fix typ…
r0bnet Sep 16, 2019
000ccff
fix type assertions
r0bnet Sep 16, 2019
fb3c52c
add conditional password and sas_token assignment for importing resource
r0bnet Sep 16, 2019
2386634
add basic test
r0bnet Sep 16, 2019
ab864ae
add test for vnet integration
r0bnet Sep 16, 2019
797a726
add test for catalog_info
r0bnet Sep 16, 2019
40f0ebd
add test for custom_setup_script
r0bnet Sep 16, 2019
eed64d4
add ForceNew property to name and data_factory_name
r0bnet Sep 17, 2019
a5e70a3
add documentation
r0bnet Sep 17, 2019
3e78d2b
Merge branch 'master' into resource_data_factory_integration_runtime_…
r0bnet Oct 1, 2019
077facb
fix github comments and annotations
r0bnet Oct 2, 2019
15dbe1e
added import state steps for catalog info and custom setup script tests
r0bnet Oct 16, 2019
3dcda62
Merge branch 'master' into resource_data_factory_integration_runtime_…
r0bnet Oct 16, 2019
f4461dc
fix migration to terraform-plugin-sdk
r0bnet Oct 16, 2019
afb4171
fix migration to terraform-plugin-sdk #2
r0bnet Oct 16, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions azurerm/internal/services/datafactory/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import (
)

type Client struct {
DatasetClient *datafactory.DatasetsClient
FactoriesClient *datafactory.FactoriesClient
LinkedServiceClient *datafactory.LinkedServicesClient
PipelinesClient *datafactory.PipelinesClient
DatasetClient *datafactory.DatasetsClient
FactoriesClient *datafactory.FactoriesClient
IntegrationRuntimesClient *datafactory.IntegrationRuntimesClient
LinkedServiceClient *datafactory.LinkedServicesClient
PipelinesClient *datafactory.PipelinesClient
}

func BuildClient(o *common.ClientOptions) *Client {
Expand All @@ -19,16 +20,20 @@ func BuildClient(o *common.ClientOptions) *Client {
FactoriesClient := datafactory.NewFactoriesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&FactoriesClient.Client, o.ResourceManagerAuthorizer)

IntegrationRuntimesClient := datafactory.NewIntegrationRuntimesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&IntegrationRuntimesClient.Client, o.ResourceManagerAuthorizer)

LinkedServiceClient := datafactory.NewLinkedServicesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&LinkedServiceClient.Client, o.ResourceManagerAuthorizer)

PipelinesClient := datafactory.NewPipelinesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&PipelinesClient.Client, o.ResourceManagerAuthorizer)

return &Client{
DatasetClient: &DatasetClient,
FactoriesClient: &FactoriesClient,
LinkedServiceClient: &LinkedServiceClient,
PipelinesClient: &PipelinesClient,
DatasetClient: &DatasetClient,
FactoriesClient: &FactoriesClient,
IntegrationRuntimesClient: &IntegrationRuntimesClient,
LinkedServiceClient: &LinkedServiceClient,
PipelinesClient: &PipelinesClient,
}
}
1 change: 1 addition & 0 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ func Provider() terraform.ResourceProvider {
"azurerm_data_factory_dataset_mysql": resourceArmDataFactoryDatasetMySQL(),
"azurerm_data_factory_dataset_postgresql": resourceArmDataFactoryDatasetPostgreSQL(),
"azurerm_data_factory_dataset_sql_server_table": resourceArmDataFactoryDatasetSQLServerTable(),
"azurerm_data_factory_integration_runtime_managed": resourceArmDataFactoryIntegrationRuntimeManaged(),
"azurerm_data_factory_linked_service_data_lake_storage_gen2": resourceArmDataFactoryLinkedServiceDataLakeStorageGen2(),
"azurerm_data_factory_linked_service_mysql": resourceArmDataFactoryLinkedServiceMySQL(),
"azurerm_data_factory_linked_service_postgresql": resourceArmDataFactoryLinkedServicePostgreSQL(),
Expand Down
Loading