Skip to content

Commit

Permalink
Updating based on ea0d8cdb
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed May 24, 2024
1 parent 873e517 commit 74bd244
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 74bd244

Please sign in to comment.