From 5060256384fd07a9f94440377ddbf1488f391828 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarenko Date: Tue, 25 Apr 2023 13:27:02 +0200 Subject: [PATCH] `azurerm_security_center_subscription_pricing`: Upgrade to API `2023-01-01` * `azurerm_security_center_subscription_pricing`: Upgrade to API `2023-01-01` --- .../services/securitycenter/client/client.go | 6 +- ...ty_center_subscription_pricing_resource.go | 12 +-- ...nter_subscription_pricing_resource_test.go | 4 +- .../security/2022-03-01/pricings/constants.go | 34 ------- .../pricings/model_pricingproperties.go | 12 --- .../pricings/README.md | 6 +- .../pricings/client.go | 0 .../security/2023-01-01/pricings/constants.go | 90 +++++++++++++++++++ .../pricings/id_pricing.go | 0 .../pricings/method_get_autorest.go | 0 .../pricings/method_list_autorest.go | 0 .../pricings/method_update_autorest.go | 0 .../2023-01-01/pricings/model_extension.go | 11 +++ .../pricings/model_operationstatus.go | 9 ++ .../pricings/model_pricing.go | 0 .../pricings/model_pricinglist.go | 0 .../pricings/model_pricingproperties.go | 32 +++++++ .../pricings/version.go | 2 +- vendor/modules.txt | 2 +- 19 files changed, 158 insertions(+), 62 deletions(-) delete mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/constants.go delete mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricingproperties.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/README.md (93%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/client.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/constants.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/id_pricing.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/method_get_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/method_list_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/method_update_autorest.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_extension.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_operationstatus.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/model_pricing.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/model_pricinglist.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricingproperties.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/{2022-03-01 => 2023-01-01}/pricings/version.go (88%) diff --git a/internal/services/securitycenter/client/client.go b/internal/services/securitycenter/client/client.go index 59b9c87acf70..7eaa30060f29 100644 --- a/internal/services/securitycenter/client/client.go +++ b/internal/services/securitycenter/client/client.go @@ -2,7 +2,7 @@ package client import ( "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security" // nolint: staticcheck - pricings_v2022_03_01 "github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings" + pricings_v2023_01_01 "github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) @@ -12,7 +12,7 @@ type Client struct { ContactsClient *security.ContactsClient DeviceSecurityGroupsClient *security.DeviceSecurityGroupsClient IotSecuritySolutionClient *security.IotSecuritySolutionClient - PricingClient *pricings_v2022_03_01.PricingsClient + PricingClient *pricings_v2023_01_01.PricingsClient WorkspaceClient *security.WorkspaceSettingsClient AdvancedThreatProtectionClient *security.AdvancedThreatProtectionClient AutoProvisioningClient *security.AutoProvisioningSettingsClient @@ -39,7 +39,7 @@ func NewClient(o *common.ClientOptions) *Client { IotSecuritySolutionClient := security.NewIotSecuritySolutionClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId, ascLocation) o.ConfigureClient(&IotSecuritySolutionClient.Client, o.ResourceManagerAuthorizer) - PricingClient := pricings_v2022_03_01.NewPricingsClientWithBaseURI(o.ResourceManagerEndpoint) + PricingClient := pricings_v2023_01_01.NewPricingsClientWithBaseURI(o.ResourceManagerEndpoint) o.ConfigureClient(&PricingClient.Client, o.ResourceManagerAuthorizer) WorkspaceClient := security.NewWorkspaceSettingsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId, ascLocation) diff --git a/internal/services/securitycenter/security_center_subscription_pricing_resource.go b/internal/services/securitycenter/security_center_subscription_pricing_resource.go index 4a99c9289d83..08c5c4f7e843 100644 --- a/internal/services/securitycenter/security_center_subscription_pricing_resource.go +++ b/internal/services/securitycenter/security_center_subscription_pricing_resource.go @@ -7,7 +7,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security" // nolint: staticcheck "github.com/hashicorp/go-azure-helpers/lang/response" - pricings_v2022_03_01 "github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings" + pricings_v2023_01_01 "github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/securitycenter/migration" "github.com/hashicorp/terraform-provider-azurerm/internal/services/securitycenter/parse" @@ -87,10 +87,10 @@ func resourceSecurityCenterSubscriptionPricingUpdate(d *pluginsdk.ResourceData, // TODO: add a requires import check ensuring this is != Free (meaning we should likely remove Free as a SKU option?) - id := pricings_v2022_03_01.NewPricingID(subscriptionId, d.Get("resource_type").(string)) - pricing := pricings_v2022_03_01.Pricing{ - Properties: &pricings_v2022_03_01.PricingProperties{ - PricingTier: pricings_v2022_03_01.PricingTier(d.Get("tier").(string)), + id := pricings_v2023_01_01.NewPricingID(subscriptionId, d.Get("resource_type").(string)) + pricing := pricings_v2023_01_01.Pricing{ + Properties: &pricings_v2023_01_01.PricingProperties{ + PricingTier: pricings_v2023_01_01.PricingTier(d.Get("tier").(string)), }, } @@ -111,7 +111,7 @@ func resourceSecurityCenterSubscriptionPricingRead(d *pluginsdk.ResourceData, me ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := pricings_v2022_03_01.ParsePricingID(d.Id()) + id, err := pricings_v2023_01_01.ParsePricingID(d.Id()) if err != nil { return err } diff --git a/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go b/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go index 993edce27b30..dd00579ddec9 100644 --- a/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go +++ b/internal/services/securitycenter/security_center_subscription_pricing_resource_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - pricings_v2022_03_01 "github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings" + pricings_v2023_01_01 "github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings" "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" @@ -108,7 +108,7 @@ func TestAccSecurityCenterSubscriptionPricing_storageAccountSubplan(t *testing.T } func (SecurityCenterSubscriptionPricingResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) { - id, err := pricings_v2022_03_01.ParsePricingIDInsensitively(state.ID) + id, err := pricings_v2023_01_01.ParsePricingIDInsensitively(state.ID) if err != nil { return nil, err } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/constants.go deleted file mode 100644 index c4a12ca3dcf3..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/constants.go +++ /dev/null @@ -1,34 +0,0 @@ -package pricings - -import "strings" - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PricingTier string - -const ( - PricingTierFree PricingTier = "Free" - PricingTierStandard PricingTier = "Standard" -) - -func PossibleValuesForPricingTier() []string { - return []string{ - string(PricingTierFree), - string(PricingTierStandard), - } -} - -func parsePricingTier(input string) (*PricingTier, error) { - vals := map[string]PricingTier{ - "free": PricingTierFree, - "standard": PricingTierStandard, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := PricingTier(input) - return &out, nil -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricingproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricingproperties.go deleted file mode 100644 index b41378f48db6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricingproperties.go +++ /dev/null @@ -1,12 +0,0 @@ -package pricings - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type PricingProperties struct { - Deprecated *bool `json:"deprecated,omitempty"` - FreeTrialRemainingTime *string `json:"freeTrialRemainingTime,omitempty"` - PricingTier PricingTier `json:"pricingTier"` - ReplacedBy *[]string `json:"replacedBy,omitempty"` - SubPlan *string `json:"subPlan,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/README.md index 042bb509da4b..3ab401fe93ba 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings` Documentation -The `pricings` SDK allows for interaction with the Azure Resource Manager Service `security` (API Version `2022-03-01`). +The `pricings` SDK allows for interaction with the Azure Resource Manager Service `security` (API Version `2023-01-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/security/2022-03-01/pricings" +import "github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/constants.go new file mode 100644 index 000000000000..0bfd688468ec --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/constants.go @@ -0,0 +1,90 @@ +package pricings + +import "strings" + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Code string + +const ( + CodeFailed Code = "Failed" + CodeSucceeded Code = "Succeeded" +) + +func PossibleValuesForCode() []string { + return []string{ + string(CodeFailed), + string(CodeSucceeded), + } +} + +func parseCode(input string) (*Code, error) { + vals := map[string]Code{ + "failed": CodeFailed, + "succeeded": CodeSucceeded, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := Code(input) + return &out, nil +} + +type IsEnabled string + +const ( + IsEnabledFalse IsEnabled = "False" + IsEnabledTrue IsEnabled = "True" +) + +func PossibleValuesForIsEnabled() []string { + return []string{ + string(IsEnabledFalse), + string(IsEnabledTrue), + } +} + +func parseIsEnabled(input string) (*IsEnabled, error) { + vals := map[string]IsEnabled{ + "false": IsEnabledFalse, + "true": IsEnabledTrue, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := IsEnabled(input) + return &out, nil +} + +type PricingTier string + +const ( + PricingTierFree PricingTier = "Free" + PricingTierStandard PricingTier = "Standard" +) + +func PossibleValuesForPricingTier() []string { + return []string{ + string(PricingTierFree), + string(PricingTierStandard), + } +} + +func parsePricingTier(input string) (*PricingTier, error) { + vals := map[string]PricingTier{ + "free": PricingTierFree, + "standard": PricingTierStandard, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PricingTier(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/id_pricing.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/id_pricing.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/id_pricing.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/id_pricing.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/method_update_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/method_update_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/method_update_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/method_update_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_extension.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_extension.go new file mode 100644 index 000000000000..4be10adad614 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_extension.go @@ -0,0 +1,11 @@ +package pricings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type Extension struct { + AdditionalExtensionProperties *interface{} `json:"additionalExtensionProperties,omitempty"` + IsEnabled IsEnabled `json:"isEnabled"` + Name string `json:"name"` + OperationStatus *OperationStatus `json:"operationStatus,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_operationstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_operationstatus.go new file mode 100644 index 000000000000..cadc7fb3873b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_operationstatus.go @@ -0,0 +1,9 @@ +package pricings + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OperationStatus struct { + Code *Code `json:"code,omitempty"` + Message *string `json:"message,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricing.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricing.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricing.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricing.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricinglist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricinglist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/model_pricinglist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricinglist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricingproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricingproperties.go new file mode 100644 index 000000000000..f53a90a35f28 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/model_pricingproperties.go @@ -0,0 +1,32 @@ +package pricings + +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 PricingProperties struct { + Deprecated *bool `json:"deprecated,omitempty"` + EnablementTime *string `json:"enablementTime,omitempty"` + Extensions *[]Extension `json:"extensions,omitempty"` + FreeTrialRemainingTime *string `json:"freeTrialRemainingTime,omitempty"` + PricingTier PricingTier `json:"pricingTier"` + ReplacedBy *[]string `json:"replacedBy,omitempty"` + SubPlan *string `json:"subPlan,omitempty"` +} + +func (o *PricingProperties) GetEnablementTimeAsTime() (*time.Time, error) { + if o.EnablementTime == nil { + return nil, nil + } + return dates.ParseAsFormat(o.EnablementTime, "2006-01-02T15:04:05Z07:00") +} + +func (o *PricingProperties) SetEnablementTimeAsTime(input time.Time) { + formatted := input.Format("2006-01-02T15:04:05Z07:00") + o.EnablementTime = &formatted +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/version.go index 7cfa99517015..9e0081a5b991 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings/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 = "2022-03-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/pricings/%s", defaultApiVersion) diff --git a/vendor/modules.txt b/vendor/modules.txt index 9e53c43c7c4b..db8967bbe9d5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -533,7 +533,7 @@ github.com/hashicorp/go-azure-sdk/resource-manager/search/2022-09-01/adminkeys github.com/hashicorp/go-azure-sdk/resource-manager/search/2022-09-01/querykeys github.com/hashicorp/go-azure-sdk/resource-manager/search/2022-09-01/services github.com/hashicorp/go-azure-sdk/resource-manager/search/2022-09-01/sharedprivatelinkresources -github.com/hashicorp/go-azure-sdk/resource-manager/security/2022-03-01/pricings +github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-01-01/pricings github.com/hashicorp/go-azure-sdk/resource-manager/securityinsights/2022-10-01-preview/alertrules github.com/hashicorp/go-azure-sdk/resource-manager/securityinsights/2022-10-01-preview/automationrules github.com/hashicorp/go-azure-sdk/resource-manager/securityinsights/2022-10-01-preview/metadata