-
Notifications
You must be signed in to change notification settings - Fork 50
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
Jan 19, 2024
1 parent
6c2d105
commit a10818b
Showing
439 changed files
with
35,899 additions
and
0 deletions.
There are no files selected for viewing
2,686 changes: 2,686 additions & 0 deletions
2,686
resource-manager/appplatform/2023-11-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/2023-11-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.NewResourceManagerClient(sdkApi, "appplatform", defaultApiVersion) | ||
if err != nil { | ||
return nil, fmt.Errorf("instantiating AppPlatformClient: %+v", err) | ||
} | ||
|
||
return &AppPlatformClient{ | ||
Client: client, | ||
}, nil | ||
} |
Oops, something went wrong.