Skip to content

Commit

Permalink
dependencies: updating to v0.20240215.1143935 of `github.com/hashicor…
Browse files Browse the repository at this point in the history
…p/go-azure-sdk` (#24912)

* update go-azure-sdk to v0.20240215.1143935

* add err msgs
  • Loading branch information
catriona-m authored Feb 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e2f5d3d commit f022ebe
Showing 48 changed files with 1,846 additions and 2,213 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@ require (
github.com/google/go-cmp v0.5.9
github.com/google/uuid v1.3.1
github.com/hashicorp/go-azure-helpers v0.66.2
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240214.1142753
github.com/hashicorp/go-azure-sdk/sdk v0.20240214.1142753
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240215.1143935
github.com/hashicorp/go-azure-sdk/sdk v0.20240215.1143935
github.com/hashicorp/go-hclog v1.5.0
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-uuid v1.0.3
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -115,10 +115,10 @@ github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv
github.com/hashicorp/go-azure-helpers v0.12.0/go.mod h1:Zc3v4DNeX6PDdy7NljlYpnrdac1++qNW0I4U+ofGwpg=
github.com/hashicorp/go-azure-helpers v0.66.2 h1:+Pzuo7pdKl0hBXXr5ymmhs4Q40tHAo2nAvHq4WgSjx8=
github.com/hashicorp/go-azure-helpers v0.66.2/go.mod h1:kJxXrFtJKJdOEqvad8pllAe7dhP4DbN8J6sqFZe47+4=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240214.1142753 h1:UjUwuHNaUWOJjudR9rzAnvrU6vv1FSNTjDK0RZdgRZ0=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240214.1142753/go.mod h1:Sh6keCMqwZSMyffG6/R9FTDrGWG0R3ke8vhchORZe3A=
github.com/hashicorp/go-azure-sdk/sdk v0.20240214.1142753 h1:nXVucAaGJh+pzi8c00MhTb9zQh2azCDQCwrbdDJch3U=
github.com/hashicorp/go-azure-sdk/sdk v0.20240214.1142753/go.mod h1:IKIPyL+hfFWBHABKT0NOWlIEzlusiUBG0SxIfaiv278=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240215.1143935 h1:rufxR7o/AnJQucLw47oqtdw0UbNnpWdjcsroJsN8V9I=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240215.1143935/go.mod h1:saOOXx1YASVFR5DfKM4n68uZ/uwPiBplUQ12OWHTnbo=
github.com/hashicorp/go-azure-sdk/sdk v0.20240215.1143935 h1:OIW0aLPuhNqPyJ6tI4DDBQQ3KNr1WbOFsK37yA9xvAU=
github.com/hashicorp/go-azure-sdk/sdk v0.20240215.1143935/go.mod h1:IKIPyL+hfFWBHABKT0NOWlIEzlusiUBG0SxIfaiv278=
github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU=
github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg=
github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
27 changes: 18 additions & 9 deletions internal/services/mssql/client/client.go
Original file line number Diff line number Diff line change
@@ -194,14 +194,23 @@ func NewClient(o *common.ClientOptions) (*Client, error) {
}
o.Configure(transparentDataEncryptionsClient.Client, o.Authorizers.ResourceManager)

virtualMachinesAvailabilityGroupListenersClient := availabilitygrouplisteners.NewAvailabilityGroupListenersClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&virtualMachinesAvailabilityGroupListenersClient.Client, o.ResourceManagerAuthorizer)
virtualMachinesAvailabilityGroupListenersClient, err := availabilitygrouplisteners.NewAvailabilityGroupListenersClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Virtual Machines Availability Group Listeners Client: %+v", err)
}
o.Configure(virtualMachinesAvailabilityGroupListenersClient.Client, o.Authorizers.ResourceManager)

virtualMachinesClient := sqlvirtualmachines.NewSqlVirtualMachinesClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&virtualMachinesClient.Client, o.ResourceManagerAuthorizer)
virtualMachinesClient, err := sqlvirtualmachines.NewSqlVirtualMachinesClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Virtual Machines Client: %+v", err)
}
o.Configure(virtualMachinesClient.Client, o.Authorizers.ResourceManager)

virtualMachineGroupsClient := sqlvirtualmachinegroups.NewSqlVirtualMachineGroupsClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&virtualMachineGroupsClient.Client, o.ResourceManagerAuthorizer)
virtualMachineGroupsClient, err := sqlvirtualmachinegroups.NewSqlVirtualMachineGroupsClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Virtual Machine Groups Client: %+v", err)
}
o.Configure(virtualMachineGroupsClient.Client, o.Authorizers.ResourceManager)

virtualNetworkRulesClient := sql.NewVirtualNetworkRulesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&virtualNetworkRulesClient.Client, o.ResourceManagerAuthorizer)
@@ -221,9 +230,9 @@ func NewClient(o *common.ClientOptions) (*Client, error) {
ServerExtendedBlobAuditingPoliciesClient: &serverExtendedBlobAuditingPoliciesClient,
ServerKeysClient: &serverKeysClient,
ServerVulnerabilityAssessmentsClient: &serverVulnerabilityAssessmentsClient,
VirtualMachinesAvailabilityGroupListenersClient: &virtualMachinesAvailabilityGroupListenersClient,
VirtualMachinesClient: &virtualMachinesClient,
VirtualMachineGroupsClient: &virtualMachineGroupsClient,
VirtualMachinesAvailabilityGroupListenersClient: virtualMachinesAvailabilityGroupListenersClient,
VirtualMachinesClient: virtualMachinesClient,
VirtualMachineGroupsClient: virtualMachineGroupsClient,
VirtualNetworkRulesClient: &virtualNetworkRulesClient,

// Legacy Clients

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Loading

0 comments on commit f022ebe

Please sign in to comment.