diff --git a/azurerm/data_source_machine_learning_workspace.go b/azurerm/internal/services/machinelearning/data_source_machine_learning_workspace.go similarity index 99% rename from azurerm/data_source_machine_learning_workspace.go rename to azurerm/internal/services/machinelearning/data_source_machine_learning_workspace.go index b893755f4d485..e3552cb54ae19 100644 --- a/azurerm/data_source_machine_learning_workspace.go +++ b/azurerm/internal/services/machinelearning/data_source_machine_learning_workspace.go @@ -1,4 +1,4 @@ -package azurerm +package machinelearning import ( "fmt" diff --git a/azurerm/data_source_machine_learning_workspace_test.go b/azurerm/internal/services/machinelearning/data_source_machine_learning_workspace_test.go similarity index 97% rename from azurerm/data_source_machine_learning_workspace_test.go rename to azurerm/internal/services/machinelearning/data_source_machine_learning_workspace_test.go index 3b493615ea94a..08ab4a6540832 100644 --- a/azurerm/data_source_machine_learning_workspace_test.go +++ b/azurerm/internal/services/machinelearning/data_source_machine_learning_workspace_test.go @@ -1,4 +1,4 @@ -package azurerm +package machinelearning import ( "fmt" diff --git a/azurerm/internal/services/machinelearning/registration.go b/azurerm/internal/services/machinelearning/registration.go index 292cc925b4d61..a6ff0ee6d4445 100644 --- a/azurerm/internal/services/machinelearning/registration.go +++ b/azurerm/internal/services/machinelearning/registration.go @@ -11,10 +11,14 @@ func (r Registration) Name() string { // SupportedDataSources returns the supported Data Sources supported by this Service func (r Registration) SupportedDataSources() map[string]*schema.Resource { - return map[string]*schema.Resource{} + return map[string]*schema.Resource{ + "azurerm_machine_learning_workspace": dataSourceArmAMLWorkspace(), + } } // SupportedResources returns the supported Resources supported by this Service func (r Registration) SupportedResources() map[string]*schema.Resource { - return map[string]*schema.Resource{} + return map[string]*schema.Resource{ + "azurerm_machine_learning_workspace": resourceArmAmlWorkspace(), + } } diff --git a/azurerm/resource_arm_machine_learning_workspace.go b/azurerm/internal/services/machinelearning/resource_arm_machine_learning_workspace.go similarity index 99% rename from azurerm/resource_arm_machine_learning_workspace.go rename to azurerm/internal/services/machinelearning/resource_arm_machine_learning_workspace.go index f13ac14c489bc..306f7cc068765 100644 --- a/azurerm/resource_arm_machine_learning_workspace.go +++ b/azurerm/internal/services/machinelearning/resource_arm_machine_learning_workspace.go @@ -1,4 +1,4 @@ -package azurerm +package machinelearning import ( "fmt" diff --git a/azurerm/resource_arm_machine_learning_workspace_test.go b/azurerm/internal/services/machinelearning/resource_arm_machine_learning_workspace_test.go similarity index 99% rename from azurerm/resource_arm_machine_learning_workspace_test.go rename to azurerm/internal/services/machinelearning/resource_arm_machine_learning_workspace_test.go index 0d43fdd5a3ecb..1f8c0771ab95f 100644 --- a/azurerm/resource_arm_machine_learning_workspace_test.go +++ b/azurerm/internal/services/machinelearning/resource_arm_machine_learning_workspace_test.go @@ -1,4 +1,4 @@ -package azurerm +package machinelearning import ( "fmt"