Skip to content

Commit

Permalink
Updating based on 0a63691ba
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Jul 31, 2023
1 parent 632df61 commit 6ccb527
Show file tree
Hide file tree
Showing 3,777 changed files with 67,086 additions and 85,218 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions resource-manager/aad/2021-05-01/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import (
"github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices"
"github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/oucontainer"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
DomainServices *domainservices.DomainServicesClient
OuContainer *oucontainer.OuContainerClient
}

func NewClientWithBaseURI(api environments.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
func NewClientWithBaseURI(api sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
domainServicesClient, err := domainservices.NewDomainServicesClientWithBaseURI(api)
if err != nil {
return nil, fmt.Errorf("building DomainServices client: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/aad/2021-05-01/domainservices/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type DomainServicesClient struct {
Client *resourcemanager.Client
}

func NewDomainServicesClientWithBaseURI(api environments.Api) (*DomainServicesClient, error) {
func NewDomainServicesClientWithBaseURI(api sdkEnv.Api) (*DomainServicesClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "domainservices", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating DomainServicesClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/aad/2021-05-01/oucontainer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type OuContainerClient struct {
Client *resourcemanager.Client
}

func NewOuContainerClientWithBaseURI(api environments.Api) (*OuContainerClient, error) {
func NewOuContainerClientWithBaseURI(api sdkEnv.Api) (*OuContainerClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "oucontainer", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating OuContainerClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/aadb2c/2021-04-01-preview/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (

"github.com/hashicorp/go-azure-sdk/resource-manager/aadb2c/2021-04-01-preview/tenants"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
Tenants *tenants.TenantsClient
}

func NewClientWithBaseURI(api environments.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
func NewClientWithBaseURI(api sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
tenantsClient, err := tenants.NewTenantsClientWithBaseURI(api)
if err != nil {
return nil, fmt.Errorf("building Tenants client: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/aadb2c/2021-04-01-preview/tenants/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) HashiCorp Inc. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type TenantsClient struct {
Client *resourcemanager.Client
}

func NewTenantsClientWithBaseURI(api environments.Api) (*TenantsClient, error) {
func NewTenantsClientWithBaseURI(api sdkEnv.Api) (*TenantsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "tenants", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating TenantsClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2020-01-01/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/metadata"
"github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/suppressions"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
Expand All @@ -23,7 +23,7 @@ type Client struct {
Suppressions *suppressions.SuppressionsClient
}

func NewClientWithBaseURI(api environments.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
func NewClientWithBaseURI(api sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
configurationsClient, err := configurations.NewConfigurationsClientWithBaseURI(api)
if err != nil {
return nil, fmt.Errorf("building Configurations client: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2020-01-01/configurations/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type ConfigurationsClient struct {
Client *resourcemanager.Client
}

func NewConfigurationsClientWithBaseURI(api environments.Api) (*ConfigurationsClient, error) {
func NewConfigurationsClientWithBaseURI(api sdkEnv.Api) (*ConfigurationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "configurations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating ConfigurationsClient: %+v", err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type GenerateRecommendationsClient struct {
Client *resourcemanager.Client
}

func NewGenerateRecommendationsClientWithBaseURI(api environments.Api) (*GenerateRecommendationsClient, error) {
func NewGenerateRecommendationsClientWithBaseURI(api sdkEnv.Api) (*GenerateRecommendationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "generaterecommendations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating GenerateRecommendationsClient: %+v", err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type GetRecommendationsClient struct {
Client *resourcemanager.Client
}

func NewGetRecommendationsClientWithBaseURI(api environments.Api) (*GetRecommendationsClient, error) {
func NewGetRecommendationsClientWithBaseURI(api sdkEnv.Api) (*GetRecommendationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "getrecommendations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating GetRecommendationsClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2020-01-01/metadata/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type MetadataClient struct {
Client *resourcemanager.Client
}

func NewMetadataClientWithBaseURI(api environments.Api) (*MetadataClient, error) {
func NewMetadataClientWithBaseURI(api sdkEnv.Api) (*MetadataClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "metadata", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating MetadataClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2020-01-01/suppressions/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type SuppressionsClient struct {
Client *resourcemanager.Client
}

func NewSuppressionsClientWithBaseURI(api environments.Api) (*SuppressionsClient, error) {
func NewSuppressionsClientWithBaseURI(api sdkEnv.Api) (*SuppressionsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "suppressions", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating SuppressionsClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2022-10-01/advisorscore/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type AdvisorScoreClient struct {
Client *resourcemanager.Client
}

func NewAdvisorScoreClientWithBaseURI(api environments.Api) (*AdvisorScoreClient, error) {
func NewAdvisorScoreClientWithBaseURI(api sdkEnv.Api) (*AdvisorScoreClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "advisorscore", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating AdvisorScoreClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2022-10-01/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/prediction"
"github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/suppressions"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
Expand All @@ -27,7 +27,7 @@ type Client struct {
Suppressions *suppressions.SuppressionsClient
}

func NewClientWithBaseURI(api environments.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
func NewClientWithBaseURI(api sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
advisorScoreClient, err := advisorscore.NewAdvisorScoreClientWithBaseURI(api)
if err != nil {
return nil, fmt.Errorf("building AdvisorScore client: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2022-10-01/configurations/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type ConfigurationsClient struct {
Client *resourcemanager.Client
}

func NewConfigurationsClientWithBaseURI(api environments.Api) (*ConfigurationsClient, error) {
func NewConfigurationsClientWithBaseURI(api sdkEnv.Api) (*ConfigurationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "configurations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating ConfigurationsClient: %+v", err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type GenerateRecommendationsClient struct {
Client *resourcemanager.Client
}

func NewGenerateRecommendationsClientWithBaseURI(api environments.Api) (*GenerateRecommendationsClient, error) {
func NewGenerateRecommendationsClientWithBaseURI(api sdkEnv.Api) (*GenerateRecommendationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "generaterecommendations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating GenerateRecommendationsClient: %+v", err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type GetRecommendationsClient struct {
Client *resourcemanager.Client
}

func NewGetRecommendationsClientWithBaseURI(api environments.Api) (*GetRecommendationsClient, error) {
func NewGetRecommendationsClientWithBaseURI(api sdkEnv.Api) (*GetRecommendationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "getrecommendations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating GetRecommendationsClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2022-10-01/metadata/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type MetadataClient struct {
Client *resourcemanager.Client
}

func NewMetadataClientWithBaseURI(api environments.Api) (*MetadataClient, error) {
func NewMetadataClientWithBaseURI(api sdkEnv.Api) (*MetadataClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "metadata", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating MetadataClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2022-10-01/prediction/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type PredictionClient struct {
Client *resourcemanager.Client
}

func NewPredictionClientWithBaseURI(api environments.Api) (*PredictionClient, error) {
func NewPredictionClientWithBaseURI(api sdkEnv.Api) (*PredictionClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "prediction", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating PredictionClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2022-10-01/suppressions/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type SuppressionsClient struct {
Client *resourcemanager.Client
}

func NewSuppressionsClientWithBaseURI(api environments.Api) (*SuppressionsClient, error) {
func NewSuppressionsClientWithBaseURI(api sdkEnv.Api) (*SuppressionsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "suppressions", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating SuppressionsClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2023-01-01/advisorscore/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type AdvisorScoreClient struct {
Client *resourcemanager.Client
}

func NewAdvisorScoreClientWithBaseURI(api environments.Api) (*AdvisorScoreClient, error) {
func NewAdvisorScoreClientWithBaseURI(api sdkEnv.Api) (*AdvisorScoreClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "advisorscore", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating AdvisorScoreClient: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2023-01-01/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/prediction"
"github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/suppressions"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

type Client struct {
Expand All @@ -27,7 +27,7 @@ type Client struct {
Suppressions *suppressions.SuppressionsClient
}

func NewClientWithBaseURI(api environments.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
func NewClientWithBaseURI(api sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) {
advisorScoreClient, err := advisorscore.NewAdvisorScoreClientWithBaseURI(api)
if err != nil {
return nil, fmt.Errorf("building AdvisorScore client: %+v", err)
Expand Down
4 changes: 2 additions & 2 deletions resource-manager/advisor/2023-01-01/configurations/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/go-azure-sdk/sdk/environments"
sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -14,7 +14,7 @@ type ConfigurationsClient struct {
Client *resourcemanager.Client
}

func NewConfigurationsClientWithBaseURI(api environments.Api) (*ConfigurationsClient, error) {
func NewConfigurationsClientWithBaseURI(api sdkEnv.Api) (*ConfigurationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(api, "configurations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating ConfigurationsClient: %+v", err)
Expand Down
Loading

0 comments on commit 6ccb527

Please sign in to comment.