Skip to content

Commit

Permalink
servicefabric: refactoring to use github.com/hashicorp/go-azure-sdk (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfrahry authored Jan 30, 2023
1 parent eebd04e commit 8d38e56
Show file tree
Hide file tree
Showing 61 changed files with 1,911 additions and 8,405 deletions.
6 changes: 3 additions & 3 deletions internal/services/servicefabric/client/client.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package client

import (
"github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2021-06-01/servicefabric" // nolint: staticcheck
"github.com/hashicorp/go-azure-sdk/resource-manager/servicefabric/2021-06-01/cluster"
"github.com/hashicorp/terraform-provider-azurerm/internal/common"
)

type Client struct {
ClustersClient *servicefabric.ClustersClient
ClustersClient *cluster.ClusterClient
}

func NewClient(o *common.ClientOptions) *Client {
clustersClient := servicefabric.NewClustersClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
clustersClient := cluster.NewClusterClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&clustersClient.Client, o.ResourceManagerAuthorizer)

return &Client{
Expand Down
69 changes: 0 additions & 69 deletions internal/services/servicefabric/parse/cluster.go

This file was deleted.

112 changes: 0 additions & 112 deletions internal/services/servicefabric/parse/cluster_test.go

This file was deleted.

3 changes: 0 additions & 3 deletions internal/services/servicefabric/resourceids.go

This file was deleted.

Loading

0 comments on commit 8d38e56

Please sign in to comment.