From a69d8fac8f2b9e3196a5ac9320b90cb49bfe40bd Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <> Date: Thu, 25 Jan 2024 17:26:42 +0000 Subject: [PATCH 1/3] dependencies: updating to version `v0.20240125.1172517` of `github.com/hashicorp/go-azure-sdk/sdk` --- go.mod | 2 +- go.sum | 4 ++-- vendor/modules.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index facf66b89edf..37ec402adfc5 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/google/uuid v1.3.1 github.com/hashicorp/go-azure-helpers v0.66.1 github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928 - github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1122928 + github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517 github.com/hashicorp/go-hclog v1.5.0 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-uuid v1.0.3 diff --git a/go.sum b/go.sum index f8c9eee48e40..a7b89b7bd32c 100644 --- a/go.sum +++ b/go.sum @@ -117,8 +117,8 @@ github.com/hashicorp/go-azure-helpers v0.66.1 h1:SokAckK9hvQ9PZO2TmZY/CGru8KWJ4A github.com/hashicorp/go-azure-helpers v0.66.1/go.mod h1:kJxXrFtJKJdOEqvad8pllAe7dhP4DbN8J6sqFZe47+4= github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928 h1:+jAInNSVYEyaq5iqKnULBcBGWaI27vchHX9sDG146B0= github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928/go.mod h1:iCE1U32jQqfor52GyWtta4Xw/ezmbMDLECnFyK7fVvI= -github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1122928 h1:RzRXiA9rVdERF7Y4ELqcaqlbM7oyqizqKu7+CfLVzZY= -github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1122928/go.mod h1:6jgkzx26qtPndLSW5u7pKIw4m3iiFiLnHlp7yDQ2Crc= +github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517 h1:TGsRzbJPEc78A6rk6RDJhFym5LvvNoVacgRnBIrTqfQ= +github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517/go.mod h1:6jgkzx26qtPndLSW5u7pKIw4m3iiFiLnHlp7yDQ2Crc= 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= diff --git a/vendor/modules.txt b/vendor/modules.txt index c9afa5789da0..f89cf97ced13 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1021,7 +1021,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/web/2016-06-01/managedapis github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-01-01/appserviceplans github.com/hashicorp/go-azure-sdk/resource-manager/webpubsub/2023-02-01 github.com/hashicorp/go-azure-sdk/resource-manager/webpubsub/2023-02-01/webpubsub -# github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1122928 +# github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517 ## explicit; go 1.21 github.com/hashicorp/go-azure-sdk/sdk/auth github.com/hashicorp/go-azure-sdk/sdk/auth/autorest From 44475d3b4078bf015af83944acf7ae2605909eeb Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <> Date: Thu, 25 Jan 2024 17:27:44 +0000 Subject: [PATCH 2/3] dependencies: updating to version `v0.20240125.1172517` of `github.com/hashicorp/go-azure-sdk/resource-manager` --- go.mod | 2 +- go.sum | 4 ++-- .../2019-09-01/querypacks/method_createorupdate.go | 1 + vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 37ec402adfc5..977497cfb99f 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/google/go-cmp v0.5.9 github.com/google/uuid v1.3.1 github.com/hashicorp/go-azure-helpers v0.66.1 - github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928 + github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1172517 github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517 github.com/hashicorp/go-hclog v1.5.0 github.com/hashicorp/go-multierror v1.1.1 diff --git a/go.sum b/go.sum index a7b89b7bd32c..070eb83a4685 100644 --- a/go.sum +++ b/go.sum @@ -115,8 +115,8 @@ 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.1 h1:SokAckK9hvQ9PZO2TmZY/CGru8KWJ4A7hcRUggHMEus= github.com/hashicorp/go-azure-helpers v0.66.1/go.mod h1:kJxXrFtJKJdOEqvad8pllAe7dhP4DbN8J6sqFZe47+4= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928 h1:+jAInNSVYEyaq5iqKnULBcBGWaI27vchHX9sDG146B0= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928/go.mod h1:iCE1U32jQqfor52GyWtta4Xw/ezmbMDLECnFyK7fVvI= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1172517 h1:rn92aAwo5mMKsTOLxqaKAKKDd4Ghp2u/rxdT/1GVzZQ= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1172517/go.mod h1:h/IYK9S53fPaC20MTcqqfvjmJG5cA4xK8iRcpLY+hvY= github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517 h1:TGsRzbJPEc78A6rk6RDJhFym5LvvNoVacgRnBIrTqfQ= github.com/hashicorp/go-azure-sdk/sdk v0.20240125.1172517/go.mod h1:6jgkzx26qtPndLSW5u7pKIw4m3iiFiLnHlp7yDQ2Crc= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2019-09-01/querypacks/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2019-09-01/querypacks/method_createorupdate.go index cb03c319811f..bc359801ae9b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2019-09-01/querypacks/method_createorupdate.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2019-09-01/querypacks/method_createorupdate.go @@ -22,6 +22,7 @@ func (c QueryPacksClient) CreateOrUpdate(ctx context.Context, id QueryPackId, in opts := client.RequestOptions{ ContentType: "application/json; charset=utf-8", ExpectedStatusCodes: []int{ + http.StatusCreated, http.StatusOK, }, HttpMethod: http.MethodPut, diff --git a/vendor/modules.txt b/vendor/modules.txt index f89cf97ced13..b90c01e8d34f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -157,7 +157,7 @@ github.com/hashicorp/go-azure-helpers/resourcemanager/tags github.com/hashicorp/go-azure-helpers/resourcemanager/zones github.com/hashicorp/go-azure-helpers/sender github.com/hashicorp/go-azure-helpers/storage -# github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1122928 +# github.com/hashicorp/go-azure-sdk/resource-manager v0.20240125.1172517 ## explicit; go 1.21 github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices github.com/hashicorp/go-azure-sdk/resource-manager/aadb2c/2021-04-01-preview From 70a709dfcde7e1995fca9040a0ebb6b4416d3ff8 Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <> Date: Thu, 25 Jan 2024 17:32:17 +0000 Subject: [PATCH 3/3] dependencies: updating `nginx` to API Version "2023-09-01" from "2023-04-01" --- internal/clients/client.go | 4 +- internal/services/nginx/client/client.go | 6 +- .../nginx/nginx_certificate_data_source.go | 4 +- .../nginx/nginx_certificate_resource.go | 4 +- .../nginx/nginx_certificate_resource_test.go | 2 +- .../nginx/nginx_configuration_resource.go | 4 +- .../nginx_configuration_resource_test.go | 2 +- .../nginx/nginx_deployment_data_source.go | 2 +- .../nginx/nginx_deployment_resource.go | 2 +- .../nginx/nginx_deployment_resource_test.go | 2 +- .../model_nginxcertificateproperties.go | 11 -- .../{2023-04-01 => 2023-09-01}/client.go | 29 ++-- .../nginxcertificate/README.md | 6 +- .../nginxcertificate/client.go | 0 .../nginxcertificate/constants.go | 0 .../nginxcertificate/id_certificate.go | 0 .../nginxcertificate/id_nginxdeployment.go | 0 .../method_certificatescreateorupdate.go | 0 .../method_certificatesdelete.go | 0 .../method_certificatesget.go | 0 .../method_certificateslist.go | 0 .../model_nginxcertificate.go | 0 ...model_nginxcertificateerrorresponsebody.go | 9 ++ .../model_nginxcertificateproperties.go | 33 +++++ .../nginxcertificate/predicates.go | 0 .../nginxcertificate/version.go | 2 +- .../nginxconfiguration/README.md | 6 +- .../nginxconfiguration/client.go | 0 .../nginxconfiguration/constants.go | 0 .../nginxconfiguration/id_configuration.go | 0 .../nginxconfiguration/id_nginxdeployment.go | 0 .../method_configurationscreateorupdate.go | 0 .../method_configurationsdelete.go | 0 .../method_configurationsget.go | 0 .../method_configurationslist.go | 0 .../model_nginxconfiguration.go | 0 .../model_nginxconfigurationfile.go | 0 .../model_nginxconfigurationpackage.go | 0 .../model_nginxconfigurationproperties.go | 0 .../nginxconfiguration/predicates.go | 0 .../nginxconfiguration/version.go | 2 +- .../nginxconfigurationanalysis/README.md | 41 ++++++ .../nginxconfigurationanalysis/client.go | 26 ++++ .../id_configuration.go | 134 ++++++++++++++++++ .../method_configurationsanalysis.go | 56 ++++++++ .../model_analysiscreate.go | 8 ++ .../model_analysiscreateconfig.go | 11 ++ .../model_analysiserror.go | 14 ++ .../model_analysisresult.go | 9 ++ .../model_analysisresultdata.go | 8 ++ .../model_nginxconfigurationfile.go | 9 ++ .../model_nginxconfigurationpackage.go | 9 ++ .../nginxconfigurationanalysis/version.go | 12 ++ .../nginxdeployment/README.md | 6 +- .../nginxdeployment/client.go | 0 .../nginxdeployment/constants.go | 0 .../nginxdeployment/id_nginxdeployment.go | 0 .../method_deploymentscreateorupdate.go | 0 .../method_deploymentsdelete.go | 0 .../nginxdeployment/method_deploymentsget.go | 0 .../nginxdeployment/method_deploymentslist.go | 0 .../method_deploymentslistbyresourcegroup.go | 0 .../method_deploymentsupdate.go | 0 .../nginxdeployment/model_nginxdeployment.go | 0 .../model_nginxdeploymentproperties.go | 0 .../model_nginxdeploymentscalingproperties.go | 0 .../model_nginxdeploymentupdateparameters.go | 0 .../model_nginxdeploymentupdateproperties.go | 0 .../model_nginxdeploymentuserprofile.go | 0 .../model_nginxfrontendipconfiguration.go | 0 .../nginxdeployment/model_nginxlogging.go | 0 ...odel_nginxnetworkinterfaceconfiguration.go | 0 .../model_nginxnetworkprofile.go | 0 .../model_nginxprivateipaddress.go | 0 .../model_nginxpublicipaddress.go | 0 .../model_nginxstorageaccount.go | 0 .../nginxdeployment/model_resourcesku.go | 0 .../nginxdeployment/predicates.go | 0 .../nginxdeployment/version.go | 2 +- vendor/modules.txt | 9 +- 80 files changed, 431 insertions(+), 53 deletions(-) delete mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/model_nginxcertificateproperties.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/client.go (57%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/README.md (94%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/constants.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/id_certificate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/id_nginxdeployment.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/method_certificatescreateorupdate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/method_certificatesdelete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/method_certificatesget.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/method_certificateslist.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/model_nginxcertificate.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateerrorresponsebody.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateproperties.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxcertificate/version.go (88%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/README.md (94%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/constants.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/id_configuration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/id_nginxdeployment.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/method_configurationscreateorupdate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/method_configurationsdelete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/method_configurationsget.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/method_configurationslist.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/model_nginxconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/model_nginxconfigurationfile.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/model_nginxconfigurationpackage.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/model_nginxconfigurationproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxconfiguration/version.go (88%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/README.md create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/client.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/id_configuration.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/method_configurationsanalysis.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreate.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreateconfig.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiserror.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresult.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresultdata.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationfile.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationpackage.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/version.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/README.md (95%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/constants.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/id_nginxdeployment.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/method_deploymentscreateorupdate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/method_deploymentsdelete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/method_deploymentsget.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/method_deploymentslist.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/method_deploymentslistbyresourcegroup.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/method_deploymentsupdate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxdeployment.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxdeploymentproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxdeploymentscalingproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxdeploymentupdateparameters.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxdeploymentupdateproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxdeploymentuserprofile.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxfrontendipconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxlogging.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxnetworkinterfaceconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxnetworkprofile.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxprivateipaddress.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxpublicipaddress.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_nginxstorageaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/model_resourcesku.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/{2023-04-01 => 2023-09-01}/nginxdeployment/version.go (88%) diff --git a/internal/clients/client.go b/internal/clients/client.go index c6969f44dbf6..df89e72b17b6 100644 --- a/internal/clients/client.go +++ b/internal/clients/client.go @@ -16,7 +16,7 @@ import ( dns_v2018_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/dns/2018-05-01" eventgrid_v2022_06_15 "github.com/hashicorp/go-azure-sdk/resource-manager/eventgrid/2022-06-15" fluidrelay_2022_05_26 "github.com/hashicorp/go-azure-sdk/resource-manager/fluidrelay/2022-05-26" - nginx2 "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01" + nginx_2023_09_01 "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01" redis_2023_08_01 "github.com/hashicorp/go-azure-sdk/resource-manager/redis/2023-08-01" servicenetworking_v2023_05_01_preview "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview" storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-05-01" @@ -240,7 +240,7 @@ type Client struct { Network *network.Client NetworkFunction *networkfunction.Client NewRelic *newrelic.Client - Nginx *nginx2.Client + Nginx *nginx_2023_09_01.Client NotificationHubs *notificationhub.Client Orbital *orbital.Client PaloAlto *paloalto.Client diff --git a/internal/services/nginx/client/client.go b/internal/services/nginx/client/client.go index 0edc21666374..86d3c3af60c1 100644 --- a/internal/services/nginx/client/client.go +++ b/internal/services/nginx/client/client.go @@ -6,13 +6,13 @@ package client import ( "fmt" - nginx "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01" + nginx_2023_09_01 "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) -func NewClient(o *common.ClientOptions) (*nginx.Client, error) { - client, err := nginx.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { +func NewClient(o *common.ClientOptions) (*nginx_2023_09_01.Client, error) { + client, err := nginx_2023_09_01.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { c.Authorizer = o.Authorizers.ResourceManager }) if err != nil { diff --git a/internal/services/nginx/nginx_certificate_data_source.go b/internal/services/nginx/nginx_certificate_data_source.go index 29eddff522e2..76a91c074155 100644 --- a/internal/services/nginx/nginx_certificate_data_source.go +++ b/internal/services/nginx/nginx_certificate_data_source.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/nginx/nginx_certificate_resource.go b/internal/services/nginx/nginx_certificate_resource.go index 77d385106f63..dbbbed872cfe 100644 --- a/internal/services/nginx/nginx_certificate_resource.go +++ b/internal/services/nginx/nginx_certificate_resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" keyvaultValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/nginx/nginx_certificate_resource_test.go b/internal/services/nginx/nginx_certificate_resource_test.go index 3fd835fb90f0..7bb7f1ff8699 100644 --- a/internal/services/nginx/nginx_certificate_resource_test.go +++ b/internal/services/nginx/nginx_certificate_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/nginx/nginx_configuration_resource.go b/internal/services/nginx/nginx_configuration_resource.go index 4be17df1d77a..76ac4765c998 100644 --- a/internal/services/nginx/nginx_configuration_resource.go +++ b/internal/services/nginx/nginx_configuration_resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/nginx/nginx_configuration_resource_test.go b/internal/services/nginx/nginx_configuration_resource_test.go index d19eaea3acfe..630a7333f326 100644 --- a/internal/services/nginx/nginx_configuration_resource_test.go +++ b/internal/services/nginx/nginx_configuration_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/nginx/nginx_deployment_data_source.go b/internal/services/nginx/nginx_deployment_data_source.go index f6e9e4c61911..4a2f0a50d6ae 100644 --- a/internal/services/nginx/nginx_deployment_data_source.go +++ b/internal/services/nginx/nginx_deployment_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/nginx/nginx_deployment_resource.go b/internal/services/nginx/nginx_deployment_resource.go index b3755ed3350c..74e2f907f70e 100644 --- a/internal/services/nginx/nginx_deployment_resource.go +++ b/internal/services/nginx/nginx_deployment_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/nginx/nginx_deployment_resource_test.go b/internal/services/nginx/nginx_deployment_resource_test.go index fb8ad8b25ff0..cfc18fe1f039 100644 --- a/internal/services/nginx/nginx_deployment_resource_test.go +++ b/internal/services/nginx/nginx_deployment_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/model_nginxcertificateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/model_nginxcertificateproperties.go deleted file mode 100644 index 6b0784ad0166..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/model_nginxcertificateproperties.go +++ /dev/null @@ -1,11 +0,0 @@ -package nginxcertificate - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type NginxCertificateProperties struct { - CertificateVirtualPath *string `json:"certificateVirtualPath,omitempty"` - KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` - KeyVirtualPath *string `json:"keyVirtualPath,omitempty"` - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/client.go similarity index 57% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/client.go index c0bd9ca26e4f..9ae1d169b521 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/client.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/client.go @@ -1,4 +1,4 @@ -package v2023_04_01 +package v2023_09_01 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. @@ -6,17 +6,19 @@ package v2023_04_01 import ( "fmt" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration" - "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis" + "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" ) type Client struct { - NginxCertificate *nginxcertificate.NginxCertificateClient - NginxConfiguration *nginxconfiguration.NginxConfigurationClient - NginxDeployment *nginxdeployment.NginxDeploymentClient + NginxCertificate *nginxcertificate.NginxCertificateClient + NginxConfiguration *nginxconfiguration.NginxConfigurationClient + NginxConfigurationAnalysis *nginxconfigurationanalysis.NginxConfigurationAnalysisClient + NginxDeployment *nginxdeployment.NginxDeploymentClient } func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanager.Client)) (*Client, error) { @@ -26,6 +28,12 @@ func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanag } configureFunc(nginxCertificateClient.Client) + nginxConfigurationAnalysisClient, err := nginxconfigurationanalysis.NewNginxConfigurationAnalysisClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building NginxConfigurationAnalysis client: %+v", err) + } + configureFunc(nginxConfigurationAnalysisClient.Client) + nginxConfigurationClient, err := nginxconfiguration.NewNginxConfigurationClientWithBaseURI(sdkApi) if err != nil { return nil, fmt.Errorf("building NginxConfiguration client: %+v", err) @@ -39,8 +47,9 @@ func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanag configureFunc(nginxDeploymentClient.Client) return &Client{ - NginxCertificate: nginxCertificateClient, - NginxConfiguration: nginxConfigurationClient, - NginxDeployment: nginxDeploymentClient, + NginxCertificate: nginxCertificateClient, + NginxConfiguration: nginxConfigurationClient, + NginxConfigurationAnalysis: nginxConfigurationAnalysisClient, + NginxDeployment: nginxDeploymentClient, }, nil } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/README.md similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/README.md index 6393b8457021..38e082530791 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate` Documentation -The `nginxcertificate` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-04-01`). +The `nginxcertificate` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-09-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). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate" +import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/id_certificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/id_certificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/id_certificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/id_certificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/id_nginxdeployment.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/id_nginxdeployment.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/id_nginxdeployment.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/id_nginxdeployment.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificatescreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificatescreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificatescreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificatescreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificatesdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificatesdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificatesdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificatesdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificatesget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificatesget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificatesget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificatesget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificateslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificateslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/method_certificateslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/method_certificateslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/model_nginxcertificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/model_nginxcertificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateerrorresponsebody.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateerrorresponsebody.go new file mode 100644 index 000000000000..2244c48f5dd2 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateerrorresponsebody.go @@ -0,0 +1,9 @@ +package nginxcertificate + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NginxCertificateErrorResponseBody struct { + Code *string `json:"code,omitempty"` + Message *string `json:"message,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateproperties.go new file mode 100644 index 000000000000..41bbb8a097a4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/model_nginxcertificateproperties.go @@ -0,0 +1,33 @@ +package nginxcertificate + +import ( + "time" + + "github.com/hashicorp/go-azure-helpers/lang/dates" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NginxCertificateProperties struct { + CertificateError *NginxCertificateErrorResponseBody `json:"certificateError,omitempty"` + CertificateVirtualPath *string `json:"certificateVirtualPath,omitempty"` + KeyVaultSecretCreated *string `json:"keyVaultSecretCreated,omitempty"` + KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"` + KeyVaultSecretVersion *string `json:"keyVaultSecretVersion,omitempty"` + KeyVirtualPath *string `json:"keyVirtualPath,omitempty"` + ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + Sha1Thumbprint *string `json:"sha1Thumbprint,omitempty"` +} + +func (o *NginxCertificateProperties) GetKeyVaultSecretCreatedAsTime() (*time.Time, error) { + if o.KeyVaultSecretCreated == nil { + return nil, nil + } + return dates.ParseAsFormat(o.KeyVaultSecretCreated, "2006-01-02T15:04:05Z07:00") +} + +func (o *NginxCertificateProperties) SetKeyVaultSecretCreatedAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.KeyVaultSecretCreated = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/version.go index fc6fb161517e..286fa9d83337 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate/version.go @@ -5,7 +5,7 @@ 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 = "2023-04-01" +const defaultApiVersion = "2023-09-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/nginxcertificate/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/README.md similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/README.md index 56c1305237be..5d827d343655 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration` Documentation -The `nginxconfiguration` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-04-01`). +The `nginxconfiguration` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-09-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). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration" +import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/id_configuration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/id_configuration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/id_configuration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/id_configuration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/id_nginxdeployment.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/id_nginxdeployment.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/id_nginxdeployment.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/id_nginxdeployment.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/method_configurationslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/method_configurationslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfigurationfile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfigurationfile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfigurationfile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfigurationfile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfigurationpackage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfigurationpackage.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfigurationpackage.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfigurationpackage.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/model_nginxconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/model_nginxconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/version.go index fe2596735014..7a09868faf2f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration/version.go @@ -5,7 +5,7 @@ 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 = "2023-04-01" +const defaultApiVersion = "2023-09-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/nginxconfiguration/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/README.md new file mode 100644 index 000000000000..b6bab3f1b784 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/README.md @@ -0,0 +1,41 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis` Documentation + +The `nginxconfigurationanalysis` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-09-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). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis" +``` + + +### Client Initialization + +```go +client := nginxconfigurationanalysis.NewNginxConfigurationAnalysisClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `NginxConfigurationAnalysisClient.ConfigurationsAnalysis` + +```go +ctx := context.TODO() +id := nginxconfigurationanalysis.NewConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "nginxDeploymentValue", "configurationValue") + +payload := nginxconfigurationanalysis.AnalysisCreate{ + // ... +} + + +read, err := client.ConfigurationsAnalysis(ctx, id, payload) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/client.go new file mode 100644 index 000000000000..c35a72f8247a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/client.go @@ -0,0 +1,26 @@ +package nginxconfigurationanalysis + +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 NginxConfigurationAnalysisClient struct { + Client *resourcemanager.Client +} + +func NewNginxConfigurationAnalysisClientWithBaseURI(sdkApi sdkEnv.Api) (*NginxConfigurationAnalysisClient, error) { + client, err := resourcemanager.NewResourceManagerClient(sdkApi, "nginxconfigurationanalysis", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating NginxConfigurationAnalysisClient: %+v", err) + } + + return &NginxConfigurationAnalysisClient{ + Client: client, + }, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/id_configuration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/id_configuration.go new file mode 100644 index 000000000000..3984112440e0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/id_configuration.go @@ -0,0 +1,134 @@ +package nginxconfigurationanalysis + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +var _ resourceids.ResourceId = &ConfigurationId{} + +// ConfigurationId is a struct representing the Resource ID for a Configuration +type ConfigurationId struct { + SubscriptionId string + ResourceGroupName string + NginxDeploymentName string + ConfigurationName string +} + +// NewConfigurationID returns a new ConfigurationId struct +func NewConfigurationID(subscriptionId string, resourceGroupName string, nginxDeploymentName string, configurationName string) ConfigurationId { + return ConfigurationId{ + SubscriptionId: subscriptionId, + ResourceGroupName: resourceGroupName, + NginxDeploymentName: nginxDeploymentName, + ConfigurationName: configurationName, + } +} + +// ParseConfigurationID parses 'input' into a ConfigurationId +func ParseConfigurationID(input string) (*ConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&ConfigurationId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ConfigurationId{} + if err := id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseConfigurationIDInsensitively parses 'input' case-insensitively into a ConfigurationId +// note: this method should only be used for API response data and not user input +func ParseConfigurationIDInsensitively(input string) (*ConfigurationId, error) { + parser := resourceids.NewParserFromResourceIdType(&ConfigurationId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := ConfigurationId{} + if err := id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *ConfigurationId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.ResourceGroupName, ok = input.Parsed["resourceGroupName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "resourceGroupName", input) + } + + if id.NginxDeploymentName, ok = input.Parsed["nginxDeploymentName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "nginxDeploymentName", input) + } + + if id.ConfigurationName, ok = input.Parsed["configurationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "configurationName", input) + } + + return nil +} + +// ValidateConfigurationID checks that 'input' can be parsed as a Configuration ID +func ValidateConfigurationID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseConfigurationID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Configuration ID +func (id ConfigurationId) ID() string { + fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Nginx.NginxPlus/nginxDeployments/%s/configurations/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.NginxDeploymentName, id.ConfigurationName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Configuration ID +func (id ConfigurationId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticResourceGroups", "resourceGroups", "resourceGroups"), + resourceids.ResourceGroupSegment("resourceGroupName", "example-resource-group"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticNginxNginxPlus", "Nginx.NginxPlus", "Nginx.NginxPlus"), + resourceids.StaticSegment("staticNginxDeployments", "nginxDeployments", "nginxDeployments"), + resourceids.UserSpecifiedSegment("nginxDeploymentName", "nginxDeploymentValue"), + resourceids.StaticSegment("staticConfigurations", "configurations", "configurations"), + resourceids.UserSpecifiedSegment("configurationName", "configurationValue"), + } +} + +// String returns a human-readable description of this Configuration ID +func (id ConfigurationId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), + fmt.Sprintf("Nginx Deployment Name: %q", id.NginxDeploymentName), + fmt.Sprintf("Configuration Name: %q", id.ConfigurationName), + } + return fmt.Sprintf("Configuration (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/method_configurationsanalysis.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/method_configurationsanalysis.go new file mode 100644 index 000000000000..cd79269cd88e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/method_configurationsanalysis.go @@ -0,0 +1,56 @@ +package nginxconfigurationanalysis + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigurationsAnalysisOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *AnalysisResult +} + +// ConfigurationsAnalysis ... +func (c NginxConfigurationAnalysisClient) ConfigurationsAnalysis(ctx context.Context, id ConfigurationId, input AnalysisCreate) (result ConfigurationsAnalysisOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + Path: fmt.Sprintf("%s/analyze", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + if err = req.Marshal(input); err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + if err = resp.Unmarshal(&result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreate.go new file mode 100644 index 000000000000..9bd340960dfe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreate.go @@ -0,0 +1,8 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AnalysisCreate struct { + Config AnalysisCreateConfig `json:"config"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreateconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreateconfig.go new file mode 100644 index 000000000000..5a84286132c8 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiscreateconfig.go @@ -0,0 +1,11 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AnalysisCreateConfig struct { + Files *[]NginxConfigurationFile `json:"files,omitempty"` + Package *NginxConfigurationPackage `json:"package,omitempty"` + ProtectedFiles *[]NginxConfigurationFile `json:"protectedFiles,omitempty"` + RootFile *string `json:"rootFile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiserror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiserror.go new file mode 100644 index 000000000000..72ec64e14bbd --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysiserror.go @@ -0,0 +1,14 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AnalysisError struct { + Description string `json:"description"` + Directive string `json:"directive"` + File string `json:"file"` + Id *string `json:"id,omitempty"` + Line float64 `json:"line"` + Message string `json:"message"` + Rule string `json:"rule"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresult.go new file mode 100644 index 000000000000..f84e0071ea6b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresult.go @@ -0,0 +1,9 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AnalysisResult struct { + Data *AnalysisResultData `json:"data,omitempty"` + Status string `json:"status"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresultdata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresultdata.go new file mode 100644 index 000000000000..c778b9378e37 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_analysisresultdata.go @@ -0,0 +1,8 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AnalysisResultData struct { + Errors *[]AnalysisError `json:"errors,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationfile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationfile.go new file mode 100644 index 000000000000..1a735e79e483 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationfile.go @@ -0,0 +1,9 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NginxConfigurationFile struct { + Content *string `json:"content,omitempty"` + VirtualPath *string `json:"virtualPath,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationpackage.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationpackage.go new file mode 100644 index 000000000000..0aa2af797f00 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/model_nginxconfigurationpackage.go @@ -0,0 +1,9 @@ +package nginxconfigurationanalysis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type NginxConfigurationPackage struct { + Data *string `json:"data,omitempty"` + ProtectedFiles *[]string `json:"protectedFiles,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/version.go new file mode 100644 index 000000000000..d79d26b61f8d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis/version.go @@ -0,0 +1,12 @@ +package nginxconfigurationanalysis + +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 = "2023-09-01" + +func userAgent() string { + return fmt.Sprintf("hashicorp/go-azure-sdk/nginxconfigurationanalysis/%s", defaultApiVersion) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/README.md index 514bcc50030d..d0836a0bb9c1 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment` Documentation -The `nginxdeployment` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-04-01`). +The `nginxdeployment` SDK allows for interaction with the Azure Resource Manager Service `nginx` (API Version `2023-09-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). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment" +import "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/id_nginxdeployment.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/id_nginxdeployment.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/id_nginxdeployment.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/id_nginxdeployment.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentscreateorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentscreateorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentscreateorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentscreateorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentsdelete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentsdelete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentsdelete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentsdelete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentsget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentsget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentsget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentsget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentslist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentslist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentslist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentslist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentslistbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentslistbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentslistbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentslistbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentsupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentsupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/method_deploymentsupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/method_deploymentsupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeployment.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeployment.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeployment.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeployment.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentscalingproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentscalingproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentscalingproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentscalingproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentuserprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentuserprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxdeploymentuserprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxdeploymentuserprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxfrontendipconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxfrontendipconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxfrontendipconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxfrontendipconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxlogging.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxlogging.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxlogging.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxlogging.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxnetworkinterfaceconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxnetworkinterfaceconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxnetworkinterfaceconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxnetworkinterfaceconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxnetworkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxnetworkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxnetworkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxnetworkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxprivateipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxprivateipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxprivateipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxprivateipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxpublicipaddress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxpublicipaddress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxpublicipaddress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxpublicipaddress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxstorageaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxstorageaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_nginxstorageaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_nginxstorageaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_resourcesku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_resourcesku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/model_resourcesku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/model_resourcesku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/version.go index 4b45b7e413de..c8a04df25a5d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment/version.go @@ -5,7 +5,7 @@ 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 = "2023-04-01" +const defaultApiVersion = "2023-09-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/nginxdeployment/%s", defaultApiVersion) diff --git a/vendor/modules.txt b/vendor/modules.txt index b90c01e8d34f..c57cc96eed0b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -780,10 +780,11 @@ github.com/hashicorp/go-azure-sdk/resource-manager/networkfunction/2022-11-01/az github.com/hashicorp/go-azure-sdk/resource-manager/networkfunction/2022-11-01/collectorpolicies github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/monitors github.com/hashicorp/go-azure-sdk/resource-manager/newrelic/2022-07-01/tagrules -github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01 -github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxcertificate -github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxconfiguration -github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-04-01/nginxdeployment +github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01 +github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxcertificate +github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfiguration +github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxconfigurationanalysis +github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2023-09-01/nginxdeployment github.com/hashicorp/go-azure-sdk/resource-manager/notificationhubs/2017-04-01/namespaces github.com/hashicorp/go-azure-sdk/resource-manager/notificationhubs/2017-04-01/notificationhubs github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2019-09-01/querypackqueries