Skip to content

Commit

Permalink
Updating based on 03867b09
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Sep 17, 2024
1 parent 4c5d3e5 commit 259ddb3
Show file tree
Hide file tree
Showing 47,001 changed files with 231,242 additions and 77,815 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion resource-manager/aad/2021-05-01/domainservices/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## `github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices` Documentation

The `domainservices` SDK allows for interaction with the Azure Resource Manager Service `aad` (API Version `2021-05-01`).
The `domainservices` SDK allows for interaction with Azure Resource Manager `aad` (API Version `2021-05-01`).

This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs).

Expand Down
2 changes: 1 addition & 1 deletion resource-manager/aad/2021-05-01/domainservices/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type DomainServicesClient struct {
}

func NewDomainServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*DomainServicesClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "domainservices", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "domainservices", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating DomainServicesClient: %+v", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ParseDomainServiceID(input string) (*DomainServiceId, error) {
}

id := DomainServiceId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -59,7 +59,7 @@ func ParseDomainServiceIDInsensitively(input string) (*DomainServiceId, error) {
}

id := DomainServiceId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (c DomainServicesClient) Get(ctx context.Context, id DomainServiceId) (resu

var model DomainService
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
4 changes: 1 addition & 3 deletions resource-manager/aad/2021-05-01/domainservices/version.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package domainservices

import "fmt"

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

const defaultApiVersion = "2021-05-01"

func userAgent() string {
return fmt.Sprintf("hashicorp/go-azure-sdk/domainservices/%s", defaultApiVersion)
return "hashicorp/go-azure-sdk/domainservices/2021-05-01"
}
2 changes: 1 addition & 1 deletion resource-manager/aad/2021-05-01/oucontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## `github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/oucontainer` Documentation

The `oucontainer` SDK allows for interaction with the Azure Resource Manager Service `aad` (API Version `2021-05-01`).
The `oucontainer` SDK allows for interaction with Azure Resource Manager `aad` (API Version `2021-05-01`).

This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs).

Expand Down
2 changes: 1 addition & 1 deletion resource-manager/aad/2021-05-01/oucontainer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type OuContainerClient struct {
}

func NewOuContainerClientWithBaseURI(sdkApi sdkEnv.Api) (*OuContainerClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "oucontainer", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "oucontainer", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating OuContainerClient: %+v", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ParseDomainServiceID(input string) (*DomainServiceId, error) {
}

id := DomainServiceId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -59,7 +59,7 @@ func ParseDomainServiceIDInsensitively(input string) (*DomainServiceId, error) {
}

id := DomainServiceId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
4 changes: 2 additions & 2 deletions resource-manager/aad/2021-05-01/oucontainer/id_oucontainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func ParseOuContainerID(input string) (*OuContainerId, error) {
}

id := OuContainerId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -61,7 +61,7 @@ func ParseOuContainerIDInsensitively(input string) (*OuContainerId, error) {
}

id := OuContainerId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
1 change: 0 additions & 1 deletion resource-manager/aad/2021-05-01/oucontainer/method_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (c OuContainerClient) Get(ctx context.Context, id OuContainerId) (result Ge

var model OuContainer
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
4 changes: 1 addition & 3 deletions resource-manager/aad/2021-05-01/oucontainer/version.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package oucontainer

import "fmt"

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

const defaultApiVersion = "2021-05-01"

func userAgent() string {
return fmt.Sprintf("hashicorp/go-azure-sdk/oucontainer/%s", defaultApiVersion)
return "hashicorp/go-azure-sdk/oucontainer/2021-05-01"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## `github.com/hashicorp/go-azure-sdk/resource-manager/aadb2c/2021-04-01-preview/tenants` Documentation

The `tenants` SDK allows for interaction with the Azure Resource Manager Service `aadb2c` (API Version `2021-04-01-preview`).
The `tenants` SDK allows for interaction with Azure Resource Manager `aadb2c` (API Version `2021-04-01-preview`).

This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type TenantsClient struct {
}

func NewTenantsClientWithBaseURI(sdkApi sdkEnv.Api) (*TenantsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "tenants", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "tenants", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating TenantsClient: %+v", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ParseB2CDirectoryID(input string) (*B2CDirectoryId, error) {
}

id := B2CDirectoryId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -59,7 +59,7 @@ func ParseB2CDirectoryIDInsensitively(input string) (*B2CDirectoryId, error) {
}

id := B2CDirectoryId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func (c TenantsClient) CheckNameAvailability(ctx context.Context, id commonids.S

var model CheckNameAvailabilityResult
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (c TenantsClient) Get(ctx context.Context, id B2CDirectoryId) (result GetOp

var model Tenant
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func (c TenantsClient) Update(ctx context.Context, id B2CDirectoryId, input Upda

var model Tenant
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package tenants

import "fmt"

// Copyright (c) HashiCorp Inc. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

const defaultApiVersion = "2021-04-01-preview"

func userAgent() string {
return fmt.Sprintf("hashicorp/go-azure-sdk/tenants/%s", defaultApiVersion)
return "hashicorp/go-azure-sdk/tenants/2021-04-01-preview"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## `github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/configurations` Documentation

The `configurations` SDK allows for interaction with the Azure Resource Manager Service `advisor` (API Version `2020-01-01`).
The `configurations` SDK allows for interaction with Azure Resource Manager `advisor` (API Version `2020-01-01`).

This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type ConfigurationsClient struct {
}

func NewConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ConfigurationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "configurations", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "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 @@ -51,7 +51,6 @@ func (c ConfigurationsClient) CreateInResourceGroup(ctx context.Context, id comm

var model ConfigData
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func (c ConfigurationsClient) CreateInSubscription(ctx context.Context, id commo

var model ConfigData
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package configurations

import "fmt"

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

const defaultApiVersion = "2020-01-01"

func userAgent() string {
return fmt.Sprintf("hashicorp/go-azure-sdk/configurations/%s", defaultApiVersion)
return "hashicorp/go-azure-sdk/configurations/2020-01-01"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type GenerateRecommendationsClient struct {
}

func NewGenerateRecommendationsClientWithBaseURI(sdkApi sdkEnv.Api) (*GenerateRecommendationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "generaterecommendations", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "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 @@ -40,7 +40,7 @@ func ParseGenerateRecommendationID(input string) (*GenerateRecommendationId, err
}

id := GenerateRecommendationId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -57,7 +57,7 @@ func ParseGenerateRecommendationIDInsensitively(input string) (*GenerateRecommen
}

id := GenerateRecommendationId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package generaterecommendations

import "fmt"

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

const defaultApiVersion = "2020-01-01"

func userAgent() string {
return fmt.Sprintf("hashicorp/go-azure-sdk/generaterecommendations/%s", defaultApiVersion)
return "hashicorp/go-azure-sdk/generaterecommendations/2020-01-01"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## `github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/getrecommendations` Documentation

The `getrecommendations` SDK allows for interaction with the Azure Resource Manager Service `advisor` (API Version `2020-01-01`).
The `getrecommendations` SDK allows for interaction with Azure Resource Manager `advisor` (API Version `2020-01-01`).

This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type GetRecommendationsClient struct {
}

func NewGetRecommendationsClientWithBaseURI(sdkApi sdkEnv.Api) (*GetRecommendationsClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "getrecommendations", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "getrecommendations", defaultApiVersion)
if err != nil {
return nil, fmt.Errorf("instantiating GetRecommendationsClient: %+v", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func ParseScopedRecommendationID(input string) (*ScopedRecommendationId, error)
}

id := ScopedRecommendationId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -57,7 +57,7 @@ func ParseScopedRecommendationIDInsensitively(input string) (*ScopedRecommendati
}

id := ScopedRecommendationId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (c GetRecommendationsClient) RecommendationsGet(ctx context.Context, id Sco

var model ResourceRecommendationBase
result.Model = &model

if err = resp.Unmarshal(result.Model); err != nil {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func (o RecommendationsListOperationOptions) ToHeaders() *client.Headers {

func (o RecommendationsListOperationOptions) ToOData() *odata.Query {
out := odata.Query{}

return &out
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package getrecommendations

import "fmt"

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

const defaultApiVersion = "2020-01-01"

func userAgent() string {
return fmt.Sprintf("hashicorp/go-azure-sdk/getrecommendations/%s", defaultApiVersion)
return "hashicorp/go-azure-sdk/getrecommendations/2020-01-01"
}
2 changes: 1 addition & 1 deletion resource-manager/advisor/2020-01-01/metadata/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## `github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/metadata` Documentation

The `metadata` SDK allows for interaction with the Azure Resource Manager Service `advisor` (API Version `2020-01-01`).
The `metadata` SDK allows for interaction with Azure Resource Manager `advisor` (API Version `2020-01-01`).

This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs).

Expand Down
2 changes: 1 addition & 1 deletion resource-manager/advisor/2020-01-01/metadata/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type MetadataClient struct {
}

func NewMetadataClientWithBaseURI(sdkApi sdkEnv.Api) (*MetadataClient, error) {
client, err := resourcemanager.NewResourceManagerClient(sdkApi, "metadata", defaultApiVersion)
client, err := resourcemanager.NewClient(sdkApi, "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/metadata/id_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func ParseMetadataID(input string) (*MetadataId, error) {
}

id := MetadataId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand All @@ -55,7 +55,7 @@ func ParseMetadataIDInsensitively(input string) (*MetadataId, error) {
}

id := MetadataId{}
if err := id.FromParseResult(*parsed); err != nil {
if err = id.FromParseResult(*parsed); err != nil {
return nil, err
}

Expand Down
Loading

0 comments on commit 259ddb3

Please sign in to comment.