Skip to content

Commit

Permalink
Rebased to master
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang committed Dec 24, 2019
1 parent 12a1adc commit f2d95e4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions azurerm/internal/provider/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/kusto"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/loganalytics"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/logic"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/machinelearning"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/managementgroup"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/maps"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/mariadb"
Expand Down Expand Up @@ -96,6 +97,7 @@ func SupportedServices() []common.ServiceRegistration {
kusto.Registration{},
loganalytics.Registration{},
logic.Registration{},
machinelearning.Registration{},
managementgroup.Registration{},
maps.Registration{},
mariadb.Registration{},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package azurerm
package machinelearning

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package azurerm
package machinelearning

import (
"fmt"
Expand Down
8 changes: 6 additions & 2 deletions azurerm/internal/services/machinelearning/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package azurerm
package machinelearning

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package azurerm
package machinelearning

import (
"fmt"
Expand Down

0 comments on commit f2d95e4

Please sign in to comment.