diff --git a/internal/services/monitor/client/client.go b/internal/services/monitor/client/client.go index 935aa341f012..f40fe48bdc09 100644 --- a/internal/services/monitor/client/client.go +++ b/internal/services/monitor/client/client.go @@ -6,7 +6,6 @@ import ( classic "github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-07-01-preview/insights" // nolint: staticcheck "github.com/hashicorp/go-azure-sdk/resource-manager/alertsmanagement/2021-08-08/alertprocessingrules" "github.com/hashicorp/go-azure-sdk/resource-manager/alertsmanagement/2023-03-01/prometheusrulegroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings" "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2016-03-01/logprofiles" "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2018-03-01/metricalerts" scheduledqueryrules2018 "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2018-04-16/scheduledqueryrules" @@ -20,6 +19,7 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionendpoints" "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionruleassociations" "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionrules" + "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings" "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2023-04-03/azuremonitorworkspaces" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) diff --git a/internal/services/monitor/migration/autoscale_setting.go b/internal/services/monitor/migration/autoscale_setting.go index b54b4d6a10cf..53d005e08f05 100644 --- a/internal/services/monitor/migration/autoscale_setting.go +++ b/internal/services/monitor/migration/autoscale_setting.go @@ -5,7 +5,7 @@ import ( "log" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings" + "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings" "github.com/hashicorp/terraform-provider-azurerm/internal/tags" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" ) diff --git a/internal/services/monitor/migration/autoscale_setting_v1_to_v2.go b/internal/services/monitor/migration/autoscale_setting_v1_to_v2.go index 344047a1db9c..1abb1aabcf78 100644 --- a/internal/services/monitor/migration/autoscale_setting_v1_to_v2.go +++ b/internal/services/monitor/migration/autoscale_setting_v1_to_v2.go @@ -4,7 +4,7 @@ import ( "context" "log" - "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings" + "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" ) diff --git a/internal/services/monitor/monitor_autoscale_setting_resource.go b/internal/services/monitor/monitor_autoscale_setting_resource.go index 1e2f4c3dc0ed..ba23e66883cc 100644 --- a/internal/services/monitor/monitor_autoscale_setting_resource.go +++ b/internal/services/monitor/monitor_autoscale_setting_resource.go @@ -9,7 +9,7 @@ import ( "github.com/Azure/go-autorest/autorest/date" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings" + "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" diff --git a/internal/services/monitor/monitor_autoscale_setting_resource_test.go b/internal/services/monitor/monitor_autoscale_setting_resource_test.go index db95361734e5..bcd6e17455ad 100644 --- a/internal/services/monitor/monitor_autoscale_setting_resource_test.go +++ b/internal/services/monitor/monitor_autoscale_setting_resource_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings" + "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings" "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/insights/2015-04-01/autoscalesettings/model_autoscalesetting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalesetting.go deleted file mode 100644 index 60d4a24b6332..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalesetting.go +++ /dev/null @@ -1,13 +0,0 @@ -package autoscalesettings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AutoscaleSetting struct { - Enabled *bool `json:"enabled,omitempty"` - Name *string `json:"name,omitempty"` - Notifications *[]AutoscaleNotification `json:"notifications,omitempty"` - Profiles []AutoscaleProfile `json:"profiles"` - TargetResourceLocation *string `json:"targetResourceLocation,omitempty"` - TargetResourceUri *string `json:"targetResourceUri,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalesettingresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalesettingresource.go deleted file mode 100644 index 1a73c54151a4..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalesettingresource.go +++ /dev/null @@ -1,13 +0,0 @@ -package autoscalesettings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type AutoscaleSettingResource struct { - Id *string `json:"id,omitempty"` - Location string `json:"location"` - Name *string `json:"name,omitempty"` - Properties AutoscaleSetting `json:"properties"` - Tags *map[string]string `json:"tags,omitempty"` - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/README.md similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/README.md index 88f932678021..a5be0756b704 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings` Documentation -The `autoscalesettings` SDK allows for interaction with the Azure Resource Manager Service `insights` (API Version `2015-04-01`). +The `autoscalesettings` SDK allows for interaction with the Azure Resource Manager Service `insights` (API Version `2022-10-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/insights/2015-04-01/autoscalesettings" +import "github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/constants.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/constants.go index e34b77a7e6d2..55d9deb7c005 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/constants.go @@ -107,6 +107,37 @@ func parseOperationType(input string) (*OperationType, error) { return &out, nil } +type PredictiveAutoscalePolicyScaleMode string + +const ( + PredictiveAutoscalePolicyScaleModeDisabled PredictiveAutoscalePolicyScaleMode = "Disabled" + PredictiveAutoscalePolicyScaleModeEnabled PredictiveAutoscalePolicyScaleMode = "Enabled" + PredictiveAutoscalePolicyScaleModeForecastOnly PredictiveAutoscalePolicyScaleMode = "ForecastOnly" +) + +func PossibleValuesForPredictiveAutoscalePolicyScaleMode() []string { + return []string{ + string(PredictiveAutoscalePolicyScaleModeDisabled), + string(PredictiveAutoscalePolicyScaleModeEnabled), + string(PredictiveAutoscalePolicyScaleModeForecastOnly), + } +} + +func parsePredictiveAutoscalePolicyScaleMode(input string) (*PredictiveAutoscalePolicyScaleMode, error) { + vals := map[string]PredictiveAutoscalePolicyScaleMode{ + "disabled": PredictiveAutoscalePolicyScaleModeDisabled, + "enabled": PredictiveAutoscalePolicyScaleModeEnabled, + "forecastonly": PredictiveAutoscalePolicyScaleModeForecastOnly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PredictiveAutoscalePolicyScaleMode(input) + return &out, nil +} + type RecurrenceFrequency string const ( diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/id_autoscalesetting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/id_autoscalesetting.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/id_autoscalesetting.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/id_autoscalesetting.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_createorupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_createorupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_createorupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_createorupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_listbyresourcegroup_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_listbyresourcegroup_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_listbyresourcegroup_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_listbyresourcegroup_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_listbysubscription_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_listbysubscription_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/method_listbysubscription_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/method_listbysubscription_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalenotification.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalenotification.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscalenotification.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalenotification.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscaleprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscaleprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_autoscaleprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscaleprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalesetting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalesetting.go new file mode 100644 index 000000000000..d76e3c9cefd3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalesetting.go @@ -0,0 +1,14 @@ +package autoscalesettings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AutoscaleSetting struct { + Enabled *bool `json:"enabled,omitempty"` + Name *string `json:"name,omitempty"` + Notifications *[]AutoscaleNotification `json:"notifications,omitempty"` + PredictiveAutoscalePolicy *PredictiveAutoscalePolicy `json:"predictiveAutoscalePolicy,omitempty"` + Profiles []AutoscaleProfile `json:"profiles"` + TargetResourceLocation *string `json:"targetResourceLocation,omitempty"` + TargetResourceUri *string `json:"targetResourceUri,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalesettingresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalesettingresource.go new file mode 100644 index 000000000000..507fd69c5991 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_autoscalesettingresource.go @@ -0,0 +1,18 @@ +package autoscalesettings + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AutoscaleSettingResource struct { + Id *string `json:"id,omitempty"` + Location string `json:"location"` + Name *string `json:"name,omitempty"` + Properties AutoscaleSetting `json:"properties"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_emailnotification.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_emailnotification.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_emailnotification.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_emailnotification.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_metrictrigger.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_metrictrigger.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_metrictrigger.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_metrictrigger.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_predictiveautoscalepolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_predictiveautoscalepolicy.go new file mode 100644 index 000000000000..e226bc220207 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_predictiveautoscalepolicy.go @@ -0,0 +1,9 @@ +package autoscalesettings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type PredictiveAutoscalePolicy struct { + ScaleLookAheadTime *string `json:"scaleLookAheadTime,omitempty"` + ScaleMode PredictiveAutoscalePolicyScaleMode `json:"scaleMode"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_recurrence.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_recurrence.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_recurrence.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_recurrence.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_recurrentschedule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_recurrentschedule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_recurrentschedule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_recurrentschedule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scaleaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scaleaction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scaleaction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scaleaction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scalecapacity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scalecapacity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scalecapacity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scalecapacity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scalerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scalerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scalerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scalerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scalerulemetricdimension.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scalerulemetricdimension.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_scalerulemetricdimension.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_scalerulemetricdimension.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_timewindow.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_timewindow.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_timewindow.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_timewindow.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_webhooknotification.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_webhooknotification.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/model_webhooknotification.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/model_webhooknotification.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/version.go index b51f89781bf2..73867d20cf1f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings/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 = "2015-04-01" +const defaultApiVersion = "2022-10-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/autoscalesettings/%s", defaultApiVersion) diff --git a/vendor/modules.txt b/vendor/modules.txt index ae962d33a277..ca1940e95aca 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -352,7 +352,6 @@ github.com/hashicorp/go-azure-sdk/resource-manager/hybridcompute/2022-11-10/mach github.com/hashicorp/go-azure-sdk/resource-manager/hybridcompute/2022-11-10/machines github.com/hashicorp/go-azure-sdk/resource-manager/hybridcompute/2022-11-10/privateendpointconnections github.com/hashicorp/go-azure-sdk/resource-manager/hybridkubernetes/2021-10-01/connectedclusters -github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/autoscalesettings github.com/hashicorp/go-azure-sdk/resource-manager/insights/2016-03-01/logprofiles github.com/hashicorp/go-azure-sdk/resource-manager/insights/2018-03-01/metricalerts github.com/hashicorp/go-azure-sdk/resource-manager/insights/2018-04-16/scheduledqueryrules @@ -366,6 +365,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/insights/2021-09-01/actiongro github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionendpoints github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionruleassociations github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-06-01/datacollectionrules +github.com/hashicorp/go-azure-sdk/resource-manager/insights/2022-10-01/autoscalesettings github.com/hashicorp/go-azure-sdk/resource-manager/insights/2023-04-03/azuremonitorworkspaces github.com/hashicorp/go-azure-sdk/resource-manager/iotcentral/2021-11-01-preview/apps github.com/hashicorp/go-azure-sdk/resource-manager/keyvault/2021-10-01/managedhsms