Skip to content

Commit

Permalink
Merge pull request #999 from hashicorp/auto-pr/ea0d8cdb
Browse files Browse the repository at this point in the history
Auto PR: Regenerating the Go SDK (74bd244)
  • Loading branch information
tombuildsstuff authored May 24, 2024
2 parents 873e517 + 74bd244 commit 4429cca
Show file tree
Hide file tree
Showing 220 changed files with 17,944 additions and 0 deletions.
28 changes: 28 additions & 0 deletions resource-manager/signalr/2024-03-01/client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package v2024_03_01

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

import (
"fmt"

"github.com/hashicorp/go-azure-sdk/resource-manager/signalr/2024-03-01/signalr"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
SignalR *signalr.SignalRClient
}

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

return &Client{
SignalR: signalRClient,
}, nil
}
Loading

0 comments on commit 4429cca

Please sign in to comment.