diff --git a/go.mod b/go.mod index 5189b72d185a..29d277d23af4 100644 --- a/go.mod +++ b/go.mod @@ -17,8 +17,8 @@ require ( github.com/google/go-cmp v0.5.9 github.com/google/uuid v1.4.0 github.com/hashicorp/go-azure-helpers v0.69.0 - github.com/hashicorp/go-azure-sdk/resource-manager v0.20240523.1095414 - github.com/hashicorp/go-azure-sdk/sdk v0.20240523.1095414 + github.com/hashicorp/go-azure-sdk/resource-manager v0.20240529.1155048 + github.com/hashicorp/go-azure-sdk/sdk v0.20240529.1155048 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 9924a1fd5fb1..33f89fe7c21b 100644 --- a/go.sum +++ b/go.sum @@ -95,10 +95,10 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-azure-helpers v0.69.0 h1:JwUWXyDgyr6OafU4CgSvrbEP1wcMjfz4gxRQciDQkBQ= github.com/hashicorp/go-azure-helpers v0.69.0/go.mod h1:BmbF4JDYXK5sEmFeU5hcn8Br21uElcqLfdQxjatwQKw= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20240523.1095414 h1:fEn71eQgwFtEAZaDE++zx0qjT0BrHo69CXCxaAZWj8M= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20240523.1095414/go.mod h1:E/iR7a0uIFag2qVnQ7IRWhdbusAiU60XOYBR+/oTn48= -github.com/hashicorp/go-azure-sdk/sdk v0.20240523.1095414 h1:NFSDU2T2Fy2pyvi6GLNdLOcPd/knz4AjbUjOOPzx7ps= -github.com/hashicorp/go-azure-sdk/sdk v0.20240523.1095414/go.mod h1:Ts5vRL3KPw8iLit+4WSi1hOWlRCx++wJrCkMGj69xBY= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20240529.1155048 h1:juzfkuq089gzx0QfbUPSLzvykazlm//aqABzK19mugY= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20240529.1155048/go.mod h1:9gzP2XPWXd/p9vot7Ixb9V2UpqmfNXHuYiwnonftAcY= +github.com/hashicorp/go-azure-sdk/sdk v0.20240529.1155048 h1:AOHhPZxSyPaL8td6J1pd2qWPnGxLIO55nY//RaY6nj8= +github.com/hashicorp/go-azure-sdk/sdk v0.20240529.1155048/go.mod h1:Ts5vRL3KPw8iLit+4WSi1hOWlRCx++wJrCkMGj69xBY= 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/internal/clients/client.go b/internal/clients/client.go index d66b49ac25c5..32d90814c388 100644 --- a/internal/clients/client.go +++ b/internal/clients/client.go @@ -19,7 +19,7 @@ import ( hdinsight_v2021_06_01 "github.com/hashicorp/go-azure-sdk/resource-manager/hdinsight/2021-06-01" nginx_2024_01_01_preview "github.com/hashicorp/go-azure-sdk/resource-manager/nginx/2024-01-01-preview" 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" + servicenetworking_2023_11_01 "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01" storagecache_2023_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-05-01" systemcentervirtualmachinemanager_2023_10_07 "github.com/hashicorp/go-azure-sdk/resource-manager/systemcentervirtualmachinemanager/2023-10-07" timeseriesinsights_v2020_05_15 "github.com/hashicorp/go-azure-sdk/resource-manager/timeseriesinsights/2020-05-15" @@ -271,7 +271,7 @@ type Client struct { ServiceConnector *serviceConnector.Client ServiceFabric *serviceFabric.Client ServiceFabricManaged *serviceFabricManaged.Client - ServiceNetworking *servicenetworking_v2023_05_01_preview.Client + ServiceNetworking *servicenetworking_2023_11_01.Client SignalR *signalr.Client Storage *storage.Client StorageCache *storagecache_2023_05_01.Client diff --git a/internal/services/servicenetworking/application_load_balancer_frontend_resource.go b/internal/services/servicenetworking/application_load_balancer_frontend_resource.go index 5428b3e9440c..66117e650c33 100644 --- a/internal/services/servicenetworking/application_load_balancer_frontend_resource.go +++ b/internal/services/servicenetworking/application_load_balancer_frontend_resource.go @@ -12,8 +12,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" diff --git a/internal/services/servicenetworking/application_load_balancer_frontend_resource_test.go b/internal/services/servicenetworking/application_load_balancer_frontend_resource_test.go index 8f0fad32026b..fe82052134e8 100644 --- a/internal/services/servicenetworking/application_load_balancer_frontend_resource_test.go +++ b/internal/services/servicenetworking/application_load_balancer_frontend_resource_test.go @@ -10,7 +10,7 @@ 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/servicenetworking/2023-05-01-preview/frontendsinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface" "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/servicenetworking/application_load_balancer_resource.go b/internal/services/servicenetworking/application_load_balancer_resource.go index d4228ffb90f7..18270660099c 100644 --- a/internal/services/servicenetworking/application_load_balancer_resource.go +++ b/internal/services/servicenetworking/application_load_balancer_resource.go @@ -14,7 +14,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/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tags" diff --git a/internal/services/servicenetworking/application_load_balancer_resource_test.go b/internal/services/servicenetworking/application_load_balancer_resource_test.go index 13e9713f9ac7..3f8c97ac55f8 100644 --- a/internal/services/servicenetworking/application_load_balancer_resource_test.go +++ b/internal/services/servicenetworking/application_load_balancer_resource_test.go @@ -11,7 +11,7 @@ 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/servicenetworking/2023-05-01-preview/trafficcontrollerinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface" "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/servicenetworking/application_load_balancer_subnet_association_resource.go b/internal/services/servicenetworking/application_load_balancer_subnet_association_resource.go index d4ddd645387c..e6ad5713411f 100644 --- a/internal/services/servicenetworking/application_load_balancer_subnet_association_resource.go +++ b/internal/services/servicenetworking/application_load_balancer_subnet_association_resource.go @@ -13,8 +13,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/servicenetworking/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/servicenetworking/application_load_balancer_subnet_association_resource_test.go b/internal/services/servicenetworking/application_load_balancer_subnet_association_resource_test.go index d3eae6bf1918..bb58dc00d597 100644 --- a/internal/services/servicenetworking/application_load_balancer_subnet_association_resource_test.go +++ b/internal/services/servicenetworking/application_load_balancer_subnet_association_resource_test.go @@ -10,7 +10,7 @@ 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/servicenetworking/2023-05-01-preview/associationsinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface" "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/servicenetworking/client/client.go b/internal/services/servicenetworking/client/client.go index 8b5f5b21e17e..efc104be8268 100644 --- a/internal/services/servicenetworking/client/client.go +++ b/internal/services/servicenetworking/client/client.go @@ -6,17 +6,17 @@ package client import ( "fmt" - servicenetworking_v2023_05_01_preview "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview" + servicenetworking_2023_11_01 "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) type Client struct { - ServiceNetworkingClient *servicenetworking_v2023_05_01_preview.Client + ServiceNetworkingClient *servicenetworking_2023_11_01.Client } -func NewClient(o *common.ClientOptions) (*servicenetworking_v2023_05_01_preview.Client, error) { - client, err := servicenetworking_v2023_05_01_preview.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { +func NewClient(o *common.ClientOptions) (*servicenetworking_2023_11_01.Client, error) { + client, err := servicenetworking_2023_11_01.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) { o.Configure(c, o.Authorizers.ResourceManager) }) if err != nil { diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/README.md index 77929bc8ba1a..f3a0d0737081 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface` Documentation -The `associationsinterface` SDK allows for interaction with the Azure Resource Manager Service `servicenetworking` (API Version `2023-05-01-preview`). +The `associationsinterface` SDK allows for interaction with the Azure Resource Manager Service `servicenetworking` (API Version `2023-11-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/servicenetworking/2023-05-01-preview/associationsinterface" +import "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/id_association.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/id_association.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/id_association.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/id_association.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/id_trafficcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/id_trafficcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/id_trafficcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/id_trafficcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go similarity index 98% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go index bb567ad5f677..3a1ec07b70e8 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_delete.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go @@ -27,7 +27,6 @@ func (c AssociationsInterfaceClient) Delete(ctx context.Context, id AssociationI ExpectedStatusCodes: []int{ http.StatusAccepted, http.StatusNoContent, - http.StatusOK, }, HttpMethod: http.MethodDelete, Path: id.ID(), diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_listbytrafficcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_listbytrafficcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_listbytrafficcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_listbytrafficcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_association.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_association.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_association.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_association.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationsubnet.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationsubnet.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationsubnet.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationsubnet.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationsubnetupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationsubnetupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationsubnetupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationsubnetupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/model_associationupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/model_associationupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/version.go similarity index 87% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/version.go index 5c44c4d24ac5..e61866e435f4 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface/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-05-01-preview" +const defaultApiVersion = "2023-11-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/associationsinterface/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/client.go similarity index 91% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/client.go index a73f03460a40..11f90c6c5368 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/client.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/client.go @@ -1,4 +1,4 @@ -package v2023_05_01_preview +package v2023_11_01 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. @@ -6,9 +6,9 @@ package v2023_05_01_preview import ( "fmt" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface" - "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface" + "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" ) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/README.md index 6ccd3f6a323e..ab186331d633 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface` Documentation -The `frontendsinterface` SDK allows for interaction with the Azure Resource Manager Service `servicenetworking` (API Version `2023-05-01-preview`). +The `frontendsinterface` SDK allows for interaction with the Azure Resource Manager Service `servicenetworking` (API Version `2023-11-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/servicenetworking/2023-05-01-preview/frontendsinterface" +import "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/id_frontend.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/id_frontend.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/id_frontend.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/id_frontend.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/id_trafficcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/id_trafficcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/id_trafficcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/id_trafficcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go similarity index 98% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go index 5ffbaf1356c4..25ad0defd2ad 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_delete.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go @@ -27,7 +27,6 @@ func (c FrontendsInterfaceClient) Delete(ctx context.Context, id FrontendId) (re ExpectedStatusCodes: []int{ http.StatusAccepted, http.StatusNoContent, - http.StatusOK, }, HttpMethod: http.MethodDelete, Path: id.ID(), diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_listbytrafficcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_listbytrafficcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_listbytrafficcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_listbytrafficcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/model_frontend.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/model_frontend.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/model_frontend.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/model_frontend.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/model_frontendproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/model_frontendproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/model_frontendproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/model_frontendproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/model_frontendupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/model_frontendupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/model_frontendupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/model_frontendupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/version.go similarity index 87% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/version.go index aa810fa09164..db233385e8ef 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface/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-05-01-preview" +const defaultApiVersion = "2023-11-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/frontendsinterface/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/README.md index 1aa475d6c4d6..c85867edcbfa 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface` Documentation -The `trafficcontrollerinterface` SDK allows for interaction with the Azure Resource Manager Service `servicenetworking` (API Version `2023-05-01-preview`). +The `trafficcontrollerinterface` SDK allows for interaction with the Azure Resource Manager Service `servicenetworking` (API Version `2023-11-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). @@ -9,7 +9,7 @@ This readme covers example usages, but further information on [using this SDK ca ```go import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface" +import "github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/id_trafficcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/id_trafficcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/id_trafficcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/id_trafficcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go similarity index 98% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go index fdc18f1a9f53..c433146cef98 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_delete.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go @@ -27,7 +27,6 @@ func (c TrafficControllerInterfaceClient) Delete(ctx context.Context, id Traffic ExpectedStatusCodes: []int{ http.StatusAccepted, http.StatusNoContent, - http.StatusOK, }, HttpMethod: http.MethodDelete, Path: id.ID(), diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_listbysubscription.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_listbysubscription.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_listbysubscription.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_resourceid.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_resourceid.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_resourceid.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_resourceid.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_trafficcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_trafficcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_trafficcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_trafficcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_trafficcontrollerproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_trafficcontrollerproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_trafficcontrollerproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_trafficcontrollerproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_trafficcontrollerupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_trafficcontrollerupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/model_trafficcontrollerupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/model_trafficcontrollerupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/version.go similarity index 87% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/version.go index 64814557fda2..ca9d4837ab46 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/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-05-01-preview" +const defaultApiVersion = "2023-11-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/trafficcontrollerinterface/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go index 4ada36bc4882..da08efa21e47 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro.go @@ -162,95 +162,7 @@ func (p *longRunningOperationPoller) Poll(ctx context.Context) (result *pollers. return nil, fmt.Errorf("expected either `provisioningState` or `status` to be returned from the LRO API but both were empty") } - statuses := map[status]pollers.PollingStatus{ - statusCanceled: pollers.PollingStatusCancelled, - statusCancelled: pollers.PollingStatusCancelled, - statusFailed: pollers.PollingStatusFailed, - statusInProgress: pollers.PollingStatusInProgress, - statusSucceeded: pollers.PollingStatusSucceeded, - - // whilst the standard set above should be sufficient, some APIs differ from the spec and should be documented below: - // Dashboard@2022-08-01 returns `Accepted` rather than `InProgress` during creation - "Accepted": pollers.PollingStatusInProgress, - - // EventGrid@2022-06-15 returns `Active` rather than `InProgress` during creation - "Active": pollers.PollingStatusInProgress, - - // NetAppVolumeReplication @ 2023-05-01 returns `AuthorizeReplication` during authorizing replication - "AuthorizeReplication": pollers.PollingStatusInProgress, - - // NetAppVolumeReplication @ 2023-05-01 returns `BreakReplication` during breaking replication - "BreakReplication": pollers.PollingStatusInProgress, - - // Mysql @ 2022-01-01 returns `CancelInProgress` during Update - "CancelInProgress": pollers.PollingStatusInProgress, - - // CostManagement@2021-10-01 returns `Completed` rather than `Succeeded`: https://github.com/Azure/azure-sdk-for-go/issues/20342 - "Completed": pollers.PollingStatusSucceeded, - - // ServiceFabricManaged @ 2021-05-01 (NodeTypes CreateOrUpdate) returns `Created` rather than `InProgress` during Creation - "Created": pollers.PollingStatusInProgress, - - // ContainerRegistry@2019-06-01-preview returns `Creating` rather than `InProgress` during creation - "Creating": pollers.PollingStatusInProgress, - - // CosmosDB @ 2023-04-15 returns `Dequeued` rather than `InProgress` during creation/update - "Dequeued": pollers.PollingStatusInProgress, - - // StorageSync@2020-03-01 returns `finishNewStorageSyncService` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) - "finishNewStorageSyncService": pollers.PollingStatusInProgress, - - // StorageSync@2020-03-01 returns `newManagedIdentityCredentialStep` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) - "newManagedIdentityCredentialStep": pollers.PollingStatusInProgress, - - // StorageSync@2020-03-01 returns `newPrivateDnsEntries` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) - "newPrivateDnsEntries": pollers.PollingStatusInProgress, - - // StorageSync@2020-03-01 (CloudEndpoints) returns `newReplicaGroup` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) - "newReplicaGroup": pollers.PollingStatusInProgress, - - // NetApp @ 2023-05-01 (Volume Update) returns `Patching` during Update - "Patching": pollers.PollingStatusInProgress, - - // AnalysisServices @ 2017-08-01 (Servers Suspend) returns `Pausing` during update - "Pausing": pollers.PollingStatusInProgress, - - // ContainerInstance @ 2023-05-01 returns `Pending` during creation/update - "Pending": pollers.PollingStatusInProgress, - - // SAPVirtualInstance @ 2023-04-01 returns `Preparing System Configuration` during Creation - "Preparing System Configuration": pollers.PollingStatusInProgress, - - // AnalysisServices @ 2017-08-01 (Servers) returns `Provisioning` during Creation - "Provisioning": pollers.PollingStatusInProgress, - - // Resources @ 2020-10-01 (DeploymentScripts) returns `ProvisioningResources` during Creation - "ProvisioningResources": pollers.PollingStatusInProgress, - - // AnalysisServices @ 2017-08-01 (Servers Resume) returns `Resuming` during Update - "Resuming": pollers.PollingStatusInProgress, - - // SignalR@2022-02-01 returns `Running` rather than `InProgress` during creation - "Running": pollers.PollingStatusInProgress, - - // AnalysisServices @ 2017-08-01 (Servers Suspend) returns `Scaling` during Update - "Scaling": pollers.PollingStatusInProgress, - - // KubernetesConfiguration@2022-11-01 returns `Updating` rather than `InProgress` during update - "Updating": pollers.PollingStatusInProgress, - - // HealthBot @ 2022-08-08 (HealthBots CreateOrUpdate) returns `Working` during Creation - "Working": pollers.PollingStatusInProgress, - - // StorageSync@2020-03-01 returns `validateInput` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) - "validateInput": pollers.PollingStatusInProgress, - - // StreamAnalytics@2020-03-01 introduced "CreatingVirtualMachines", "ConfiguringNetworking", and "SettingUpStreamingRuntime" as undocumented granular statuses on 2024-04-09 - "CreatingVirtualMachines": pollers.PollingStatusInProgress, - "ConfiguringNetworking": pollers.PollingStatusInProgress, - "SettingUpStreamingRuntime": pollers.PollingStatusInProgress, - } - for k, v := range statuses { + for k, v := range longRunningOperationCustomStatuses { if strings.EqualFold(string(op.Properties.ProvisioningState), string(k)) { result.Status = v break diff --git a/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro_statuses.go b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro_statuses.go new file mode 100644 index 000000000000..4a737b1bdb62 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_lro_statuses.go @@ -0,0 +1,103 @@ +package resourcemanager + +import "github.com/hashicorp/go-azure-sdk/sdk/client/pollers" + +var longRunningOperationCustomStatuses = map[status]pollers.PollingStatus{ + // Expected/Documented Terminal Statuses + statusCanceled: pollers.PollingStatusCancelled, + statusCancelled: pollers.PollingStatusCancelled, + statusFailed: pollers.PollingStatusFailed, + statusInProgress: pollers.PollingStatusInProgress, + statusSucceeded: pollers.PollingStatusSucceeded, + + // Unexpected Statuses below this point: + + // whilst the standard set above should be sufficient, some APIs differ from the spec and should be documented below: + // Dashboard@2022-08-01 returns `Accepted` rather than `InProgress` during creation + "Accepted": pollers.PollingStatusInProgress, + + // EventGrid@2022-06-15 returns `Active` rather than `InProgress` during creation + "Active": pollers.PollingStatusInProgress, + + // NetAppVolumeReplication @ 2023-05-01 returns `AuthorizeReplication` during authorizing replication + "AuthorizeReplication": pollers.PollingStatusInProgress, + + // NetAppVolumeReplication @ 2023-05-01 returns `BreakReplication` during breaking replication + "BreakReplication": pollers.PollingStatusInProgress, + + // Mysql @ 2022-01-01 returns `CancelInProgress` during Update + "CancelInProgress": pollers.PollingStatusInProgress, + + // CostManagement@2021-10-01 returns `Completed` rather than `Succeeded`: https://github.com/Azure/azure-sdk-for-go/issues/20342 + "Completed": pollers.PollingStatusSucceeded, + + // StreamAnalytics@2020-03-01 introduced `ConfiguringNetworking` as undocumented granular statuses on 2024-04-09 + "ConfiguringNetworking": pollers.PollingStatusInProgress, + + // ServiceFabricManaged @ 2021-05-01 (NodeTypes CreateOrUpdate) returns `Created` rather than `InProgress` during Creation + "Created": pollers.PollingStatusInProgress, + + // ContainerRegistry@2019-06-01-preview returns `Creating` rather than `InProgress` during creation + "Creating": pollers.PollingStatusInProgress, + + // StreamAnalytics@2020-03-01 introduced `CreatingVirtualMachines` as undocumented granular statuses on 2024-04-09 + "CreatingVirtualMachines": pollers.PollingStatusInProgress, + + // CosmosDB @ 2023-04-15 returns `Dequeued` rather than `InProgress` during creation/update + "Dequeued": pollers.PollingStatusInProgress, + + // StorageSync@2020-03-01 returns `finishNewStorageSyncService` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) + "finishNewStorageSyncService": pollers.PollingStatusInProgress, + + // StorageSync@2020-03-01 returns `newManagedIdentityCredentialStep` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) + "newManagedIdentityCredentialStep": pollers.PollingStatusInProgress, + + // StorageSync@2020-03-01 returns `newPrivateDnsEntries` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) + "newPrivateDnsEntries": pollers.PollingStatusInProgress, + + // StorageSync@2020-03-01 (CloudEndpoints) returns `newReplicaGroup` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) + "newReplicaGroup": pollers.PollingStatusInProgress, + + // StorageSync@2020-03-01 returns `notifySyncServicePartition` rather than `InProgress` during creation + // polling after StorageSyncServicesCreate: `result.Status` was nil/empty - `op.Status` was "notifySyncServicePartition" / `op.Properties.ProvisioningState` was "" + "notifySyncServicePartition": pollers.PollingStatusInProgress, + + // NetApp @ 2023-05-01 (Volume Update) returns `Patching` during Update + "Patching": pollers.PollingStatusInProgress, + + // AnalysisServices @ 2017-08-01 (Servers Suspend) returns `Pausing` during update + "Pausing": pollers.PollingStatusInProgress, + + // ContainerInstance @ 2023-05-01 returns `Pending` during creation/update + "Pending": pollers.PollingStatusInProgress, + + // SAPVirtualInstance @ 2023-04-01 returns `Preparing System Configuration` during Creation + "Preparing System Configuration": pollers.PollingStatusInProgress, + + // AnalysisServices @ 2017-08-01 (Servers) returns `Provisioning` during Creation + "Provisioning": pollers.PollingStatusInProgress, + + // Resources @ 2020-10-01 (DeploymentScripts) returns `ProvisioningResources` during Creation + "ProvisioningResources": pollers.PollingStatusInProgress, + + // AnalysisServices @ 2017-08-01 (Servers Resume) returns `Resuming` during Update + "Resuming": pollers.PollingStatusInProgress, + + // SignalR@2022-02-01 returns `Running` rather than `InProgress` during creation + "Running": pollers.PollingStatusInProgress, + + // AnalysisServices @ 2017-08-01 (Servers Suspend) returns `Scaling` during Update + "Scaling": pollers.PollingStatusInProgress, + + // StreamAnalytics@2020-03-01 introduced `SettingUpStreamingRuntime` as undocumented granular statuses on 2024-04-09 + "SettingUpStreamingRuntime": pollers.PollingStatusInProgress, + + // KubernetesConfiguration@2022-11-01 returns `Updating` rather than `InProgress` during update + "Updating": pollers.PollingStatusInProgress, + + // HealthBot @ 2022-08-08 (HealthBots CreateOrUpdate) returns `Working` during Creation + "Working": pollers.PollingStatusInProgress, + + // StorageSync@2020-03-01 returns `validateInput` rather than `InProgress` during creation/update (https://github.com/hashicorp/go-azure-sdk/issues/565) + "validateInput": pollers.PollingStatusInProgress, +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 8feb186f7dcf..539ddb79bb5f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -152,7 +152,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.20240523.1095414 +# github.com/hashicorp/go-azure-sdk/resource-manager v0.20240529.1155048 ## 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 @@ -977,10 +977,10 @@ github.com/hashicorp/go-azure-sdk/resource-manager/servicefabricmanagedcluster/2 github.com/hashicorp/go-azure-sdk/resource-manager/servicefabricmanagedcluster/2021-05-01/nodetype github.com/hashicorp/go-azure-sdk/resource-manager/servicelinker/2022-05-01/links github.com/hashicorp/go-azure-sdk/resource-manager/servicelinker/2022-05-01/servicelinker -github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview -github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/associationsinterface -github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/frontendsinterface -github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-05-01-preview/trafficcontrollerinterface +github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01 +github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/associationsinterface +github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/frontendsinterface +github.com/hashicorp/go-azure-sdk/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface github.com/hashicorp/go-azure-sdk/resource-manager/signalr/2023-02-01/signalr github.com/hashicorp/go-azure-sdk/resource-manager/sql/2023-02-01-preview/backupshorttermretentionpolicies github.com/hashicorp/go-azure-sdk/resource-manager/sql/2023-02-01-preview/databases @@ -1094,7 +1094,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/saplands github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/saprecommendations github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/sapsupportedsku github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/sapvirtualinstances -# github.com/hashicorp/go-azure-sdk/sdk v0.20240523.1095414 +# github.com/hashicorp/go-azure-sdk/sdk v0.20240529.1155048 ## explicit; go 1.21 github.com/hashicorp/go-azure-sdk/sdk/auth github.com/hashicorp/go-azure-sdk/sdk/auth/autorest