Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto PR: Regenerating the Go SDK (47dc1fdbd6f6b333cd65905588580b57b98d9f21) #956

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions resource-manager/security/2024-04-01/client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package v2024_04_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/security/2024-04-01/devops"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
DevOps *devops.DevOpsClient
}

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

return &Client{
DevOps: devOpsClient,
}, nil
}
Loading
Loading