Skip to content

Commit

Permalink
Merge pull request #953 from hashicorp/auto-pr/244e0657
Browse files Browse the repository at this point in the history
Auto PR: Regenerating the Go SDK (accca40)
  • Loading branch information
tombuildsstuff authored Apr 3, 2024
2 parents ad50198 + accca40 commit 361b13e
Show file tree
Hide file tree
Showing 20 changed files with 58 additions and 545 deletions.
9 changes: 0 additions & 9 deletions resource-manager/loadtestservice/2022-12-01/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,18 @@ package v2022_12_01
import (
"fmt"

"github.com/hashicorp/go-azure-sdk/resource-manager/loadtestservice/2022-12-01/loadtest"
"github.com/hashicorp/go-azure-sdk/resource-manager/loadtestservice/2022-12-01/loadtests"
"github.com/hashicorp/go-azure-sdk/resource-manager/loadtestservice/2022-12-01/quotas"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
LoadTest *loadtest.LoadTestClient
LoadTests *loadtests.LoadTestsClient
Quotas *quotas.QuotasClient
}

func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
loadTestClient, err := loadtest.NewLoadTestClientWithBaseURI(sdkApi)
if err != nil {
return nil, fmt.Errorf("building LoadTest client: %+v", err)
}
configureFunc(loadTestClient.Client)

loadTestsClient, err := loadtests.NewLoadTestsClientWithBaseURI(sdkApi)
if err != nil {
return nil, fmt.Errorf("building LoadTests client: %+v", err)
Expand All @@ -39,7 +31,6 @@ func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanag
configureFunc(quotasClient.Client)

return &Client{
LoadTest: loadTestClient,
LoadTests: loadTestsClient,
Quotas: quotasClient,
}, nil
Expand Down
37 changes: 0 additions & 37 deletions resource-manager/loadtestservice/2022-12-01/loadtest/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions resource-manager/loadtestservice/2022-12-01/loadtest/client.go

This file was deleted.

125 changes: 0 additions & 125 deletions resource-manager/loadtestservice/2022-12-01/loadtest/id_loadtest.go

This file was deleted.

Loading

0 comments on commit 361b13e

Please sign in to comment.