-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hc-github-team-tf-azure
committed
Oct 15, 2024
1 parent
40fe69a
commit a2aa0a6
Showing
477 changed files
with
40,101 additions
and
12 deletions.
There are no files selected for viewing
2,871 changes: 2,871 additions & 0 deletions
2,871
resource-manager/appplatform/2024-05-01-preview/appplatform/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
resource-manager/appplatform/2024-05-01-preview/appplatform/client.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package appplatform | ||
|
||
import ( | ||
"fmt" | ||
|
||
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" | ||
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
type AppPlatformClient struct { | ||
Client *resourcemanager.Client | ||
} | ||
|
||
func NewAppPlatformClientWithBaseURI(sdkApi sdkEnv.Api) (*AppPlatformClient, error) { | ||
client, err := resourcemanager.NewClient(sdkApi, "appplatform", defaultApiVersion) | ||
if err != nil { | ||
return nil, fmt.Errorf("instantiating AppPlatformClient: %+v", err) | ||
} | ||
|
||
return &AppPlatformClient{ | ||
Client: client, | ||
}, nil | ||
} |
Oops, something went wrong.