Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies: updating to v0.20240209.1164150 of github.com/hashicorp/go-azure-sdk #24858

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.20240209.1123314
github.com/hashicorp/go-azure-sdk/sdk v0.20240209.1123314
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240209.1164150
github.com/hashicorp/go-azure-sdk/sdk v0.20240209.1164150
github.com/hashicorp/go-hclog v1.5.0
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-uuid v1.0.3
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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.20240209.1123314 h1:OtOKXi3sfxWn/flytBpBTMJU8groqm/53zJK0TD/sc0=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240209.1123314/go.mod h1:Z0ht6E49oPRJ1by2Qf+I1UgRNVLYb3MvsbHZ2KgMm8w=
github.com/hashicorp/go-azure-sdk/sdk v0.20240209.1123314 h1:HoXqXKNIRJqvLwgNkehB0Lh9PacLElhk+6aik6FuUUI=
github.com/hashicorp/go-azure-sdk/sdk v0.20240209.1123314/go.mod h1:IKIPyL+hfFWBHABKT0NOWlIEzlusiUBG0SxIfaiv278=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240209.1164150 h1:PKjhbk5+6D6i18jytV4JtqMaiTs9eAuajq5gQPbUR6A=
github.com/hashicorp/go-azure-sdk/resource-manager v0.20240209.1164150/go.mod h1:R+WGTVL/3yK6bUU5j7taU7G8j4cW/RZ65VAu0vpfxf0=
github.com/hashicorp/go-azure-sdk/sdk v0.20240209.1164150 h1:eiBz75mTIlshVNtgIl3wzE3waIQGUgD4y8D5Yf1cEWU=
github.com/hashicorp/go-azure-sdk/sdk v0.20240209.1164150/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=
Expand Down
36 changes: 24 additions & 12 deletions internal/services/automation/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,36 @@ func NewClient(o *common.ClientOptions) (*Client, error) {
return nil, fmt.Errorf("building Automation client: %+v", err)
}

agentRegistrationInfoClient := agentregistrationinformation.NewAgentRegistrationInformationClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&agentRegistrationInfoClient.Client, o.ResourceManagerAuthorizer)
agentRegistrationInfoClient, err := agentregistrationinformation.NewAgentRegistrationInformationClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Agent Registration Info client : %+v", err)
}
o.Configure(agentRegistrationInfoClient.Client, o.Authorizers.ResourceManager)

softUpClient := softwareupdateconfiguration.NewSoftwareUpdateConfigurationClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&softUpClient.Client, o.ResourceManagerAuthorizer)
softUpClient, err := softwareupdateconfiguration.NewSoftwareUpdateConfigurationClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Soft Up client : %+v", err)
}
o.Configure(softUpClient.Client, o.Authorizers.ResourceManager)

watcherClient := watcher.NewWatcherClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&watcherClient.Client, o.ResourceManagerAuthorizer)
watcherClient, err := watcher.NewWatcherClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Watcher client : %+v", err)
}
o.Configure(watcherClient.Client, o.Authorizers.ResourceManager)

webhookClient := webhook.NewWebhookClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&webhookClient.Client, o.ResourceManagerAuthorizer)
webhookClient, err := webhook.NewWebhookClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building Webhook client : %+v", err)
}
o.Configure(webhookClient.Client, o.Authorizers.ResourceManager)

return &Client{
Client: metaClient,

AgentRegistrationInfoClient: &agentRegistrationInfoClient,
SoftwareUpdateConfigClient: &softUpClient,
WatcherClient: &watcherClient,
WebhookClient: &webhookClient,
AgentRegistrationInfoClient: agentRegistrationInfoClient,
SoftwareUpdateConfigClient: softUpClient,
WatcherClient: watcherClient,
WebhookClient: webhookClient,
}, nil
}

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.

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

This file was deleted.

Loading
Loading