diff --git a/internal/services/storage/client/client.go b/internal/services/storage/client/client.go index 818ef7c43c0c..7d205a586f86 100644 --- a/internal/services/storage/client/client.go +++ b/internal/services/storage/client/client.go @@ -10,7 +10,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-09-01/storage" // nolint: staticcheck "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" - storage_v2022_05_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01" + storage_v2023_01_01 "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01" "github.com/hashicorp/go-azure-sdk/resource-manager/storagesync/2020-03-01/cloudendpointresource" "github.com/hashicorp/go-azure-sdk/resource-manager/storagesync/2020-03-01/storagesyncservicesresource" "github.com/hashicorp/go-azure-sdk/resource-manager/storagesync/2020-03-01/syncgroupresource" @@ -43,7 +43,7 @@ type Client struct { SyncGroupsClient *syncgroupresource.SyncGroupResourceClient SubscriptionId string - ResourceManager *storage_v2022_05_01.Client + ResourceManager *storage_v2023_01_01.Client resourceManagerAuthorizer autorest.Authorizer storageAdAuth *autorest.Authorizer @@ -71,7 +71,7 @@ func NewClient(options *common.ClientOptions) (*Client, error) { fileServicesClient := storage.NewFileServicesClientWithBaseURI(options.ResourceManagerEndpoint, options.SubscriptionId) options.ConfigureClient(&fileServicesClient.Client, options.ResourceManagerAuthorizer) - resourceManager := storage_v2022_05_01.NewClientWithBaseURI(options.ResourceManagerEndpoint, + resourceManager := storage_v2023_01_01.NewClientWithBaseURI(options.ResourceManagerEndpoint, func(c *autorest.Client) { c.Authorizer = options.ResourceManagerAuthorizer }) diff --git a/internal/services/storage/parse/object_replication.go b/internal/services/storage/parse/object_replication.go index 527e33a7682b..5283df991320 100644 --- a/internal/services/storage/parse/object_replication.go +++ b/internal/services/storage/parse/object_replication.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies" ) // This is manual for concat two ids are not supported in auto-generation diff --git a/internal/services/storage/parse/object_replication_test.go b/internal/services/storage/parse/object_replication_test.go index 90a84c88e8c5..d87b880cc226 100644 --- a/internal/services/storage/parse/object_replication_test.go +++ b/internal/services/storage/parse/object_replication_test.go @@ -8,7 +8,7 @@ package parse import ( "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies" ) func TestObjectReplicationIDFormatter(t *testing.T) { diff --git a/internal/services/storage/storage_account_local_user_resource.go b/internal/services/storage/storage_account_local_user_resource.go index 75f6848ad81a..590473f63ddb 100644 --- a/internal/services/storage/storage_account_local_user_resource.go +++ b/internal/services/storage/storage_account_local_user_resource.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/compute" computevalidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/compute/validate" diff --git a/internal/services/storage/storage_account_local_user_resource_test.go b/internal/services/storage/storage_account_local_user_resource_test.go index 7bd03c5ab9ec..5783b89ea513 100644 --- a/internal/services/storage/storage_account_local_user_resource_test.go +++ b/internal/services/storage/storage_account_local_user_resource_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers" "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/storage/storage_account_resource.go b/internal/services/storage/storage_account_resource.go index 0927a1e08c5e..247f846e54b4 100644 --- a/internal/services/storage/storage_account_resource.go +++ b/internal/services/storage/storage_account_resource.go @@ -20,7 +20,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts" "github.com/hashicorp/go-azure-sdk/sdk/environments" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/storage/storage_encryption_scope_data_source.go b/internal/services/storage/storage_encryption_scope_data_source.go index 9eac0f900be3..24e08ac773ef 100644 --- a/internal/services/storage/storage_encryption_scope_data_source.go +++ b/internal/services/storage/storage_encryption_scope_data_source.go @@ -8,7 +8,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" storageValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/storage/storage_encryption_scope_resource.go b/internal/services/storage/storage_encryption_scope_resource.go index cd7d50e8c602..c253b586ad70 100644 --- a/internal/services/storage/storage_encryption_scope_resource.go +++ b/internal/services/storage/storage_encryption_scope_resource.go @@ -11,7 +11,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-09-01/storage" // nolint: staticcheck "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" keyVaultValidate "github.com/hashicorp/terraform-provider-azurerm/internal/services/keyvault/validate" diff --git a/internal/services/storage/storage_encryption_scope_resource_test.go b/internal/services/storage/storage_encryption_scope_resource_test.go index 65d26ec87606..4dc050159196 100644 --- a/internal/services/storage/storage_encryption_scope_resource_test.go +++ b/internal/services/storage/storage_encryption_scope_resource_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-09-01/storage" // nolint: staticcheck - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes" "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/storage/storage_management_policy_resource.go b/internal/services/storage/storage_management_policy_resource.go index 52d609bd7b08..c7e015df19f4 100644 --- a/internal/services/storage/storage_management_policy_resource.go +++ b/internal/services/storage/storage_management_policy_resource.go @@ -11,7 +11,7 @@ import ( // nolint: staticcheck "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/parse" diff --git a/internal/services/storage/storage_object_replication_resource.go b/internal/services/storage/storage_object_replication_resource.go index 06ba5ef7b555..f17a0a14f203 100644 --- a/internal/services/storage/storage_object_replication_resource.go +++ b/internal/services/storage/storage_object_replication_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/storage/parse" diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyfilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyfilter.go deleted file mode 100644 index adcf23bd0bb6..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyfilter.go +++ /dev/null @@ -1,13 +0,0 @@ -package blobinventorypolicies - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type BlobInventoryPolicyFilter struct { - BlobTypes *[]string `json:"blobTypes,omitempty"` - ExcludePrefix *[]string `json:"excludePrefix,omitempty"` - IncludeBlobVersions *bool `json:"includeBlobVersions,omitempty"` - IncludeDeleted *bool `json:"includeDeleted,omitempty"` - IncludeSnapshots *bool `json:"includeSnapshots,omitempty"` - PrefixMatch *[]string `json:"prefixMatch,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/README.md new file mode 100644 index 000000000000..47bdf6825739 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/README.md @@ -0,0 +1,53 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations` Documentation + +The `accountmigrations` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2023-01-01/accountmigrations" +``` + + +### Client Initialization + +```go +client := accountmigrations.NewAccountMigrationsClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `AccountMigrationsClient.StorageAccountsCustomerInitiatedMigration` + +```go +ctx := context.TODO() +id := accountmigrations.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue") + +payload := accountmigrations.StorageAccountMigration{ + // ... +} + + +if err := client.StorageAccountsCustomerInitiatedMigrationThenPoll(ctx, id, payload); err != nil { + // handle the error +} +``` + + +### Example Usage: `AccountMigrationsClient.StorageAccountsGetCustomerInitiatedMigration` + +```go +ctx := context.TODO() +id := accountmigrations.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue") + +read, err := client.StorageAccountsGetCustomerInitiatedMigration(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/client.go new file mode 100644 index 000000000000..b7620f2b28db --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/client.go @@ -0,0 +1,18 @@ +package accountmigrations + +import "github.com/Azure/go-autorest/autorest" + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AccountMigrationsClient struct { + Client autorest.Client + baseUri string +} + +func NewAccountMigrationsClientWithBaseURI(endpoint string) AccountMigrationsClient { + return AccountMigrationsClient{ + Client: autorest.NewClientWithUserAgent(userAgent()), + baseUri: endpoint, + } +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/constants.go new file mode 100644 index 000000000000..f6f0fd24abc3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/constants.go @@ -0,0 +1,89 @@ +package accountmigrations + +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 MigrationStatus string + +const ( + MigrationStatusComplete MigrationStatus = "Complete" + MigrationStatusFailed MigrationStatus = "Failed" + MigrationStatusInProgress MigrationStatus = "InProgress" + MigrationStatusInvalid MigrationStatus = "Invalid" + MigrationStatusSubmittedForConversion MigrationStatus = "SubmittedForConversion" +) + +func PossibleValuesForMigrationStatus() []string { + return []string{ + string(MigrationStatusComplete), + string(MigrationStatusFailed), + string(MigrationStatusInProgress), + string(MigrationStatusInvalid), + string(MigrationStatusSubmittedForConversion), + } +} + +func parseMigrationStatus(input string) (*MigrationStatus, error) { + vals := map[string]MigrationStatus{ + "complete": MigrationStatusComplete, + "failed": MigrationStatusFailed, + "inprogress": MigrationStatusInProgress, + "invalid": MigrationStatusInvalid, + "submittedforconversion": MigrationStatusSubmittedForConversion, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := MigrationStatus(input) + return &out, nil +} + +type SkuName string + +const ( + SkuNamePremiumLRS SkuName = "Premium_LRS" + SkuNamePremiumZRS SkuName = "Premium_ZRS" + SkuNameStandardGRS SkuName = "Standard_GRS" + SkuNameStandardGZRS SkuName = "Standard_GZRS" + SkuNameStandardLRS SkuName = "Standard_LRS" + SkuNameStandardRAGRS SkuName = "Standard_RAGRS" + SkuNameStandardRAGZRS SkuName = "Standard_RAGZRS" + SkuNameStandardZRS SkuName = "Standard_ZRS" +) + +func PossibleValuesForSkuName() []string { + return []string{ + string(SkuNamePremiumLRS), + string(SkuNamePremiumZRS), + string(SkuNameStandardGRS), + string(SkuNameStandardGZRS), + string(SkuNameStandardLRS), + string(SkuNameStandardRAGRS), + string(SkuNameStandardRAGZRS), + string(SkuNameStandardZRS), + } +} + +func parseSkuName(input string) (*SkuName, error) { + vals := map[string]SkuName{ + "premium_lrs": SkuNamePremiumLRS, + "premium_zrs": SkuNamePremiumZRS, + "standard_grs": SkuNameStandardGRS, + "standard_gzrs": SkuNameStandardGZRS, + "standard_lrs": SkuNameStandardLRS, + "standard_ragrs": SkuNameStandardRAGRS, + "standard_ragzrs": SkuNameStandardRAGZRS, + "standard_zrs": SkuNameStandardZRS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SkuName(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/method_storageaccountscustomerinitiatedmigration_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/method_storageaccountscustomerinitiatedmigration_autorest.go new file mode 100644 index 000000000000..07155d09747f --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/method_storageaccountscustomerinitiatedmigration_autorest.go @@ -0,0 +1,80 @@ +package accountmigrations + +import ( + "context" + "fmt" + "net/http" + + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/hashicorp/go-azure-helpers/polling" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageAccountsCustomerInitiatedMigrationOperationResponse struct { + Poller polling.LongRunningPoller + HttpResponse *http.Response +} + +// StorageAccountsCustomerInitiatedMigration ... +func (c AccountMigrationsClient) StorageAccountsCustomerInitiatedMigration(ctx context.Context, id commonids.StorageAccountId, input StorageAccountMigration) (result StorageAccountsCustomerInitiatedMigrationOperationResponse, err error) { + req, err := c.preparerForStorageAccountsCustomerInitiatedMigration(ctx, id, input) + if err != nil { + err = autorest.NewErrorWithError(err, "accountmigrations.AccountMigrationsClient", "StorageAccountsCustomerInitiatedMigration", nil, "Failure preparing request") + return + } + + result, err = c.senderForStorageAccountsCustomerInitiatedMigration(ctx, req) + if err != nil { + err = autorest.NewErrorWithError(err, "accountmigrations.AccountMigrationsClient", "StorageAccountsCustomerInitiatedMigration", result.HttpResponse, "Failure sending request") + return + } + + return +} + +// StorageAccountsCustomerInitiatedMigrationThenPoll performs StorageAccountsCustomerInitiatedMigration then polls until it's completed +func (c AccountMigrationsClient) StorageAccountsCustomerInitiatedMigrationThenPoll(ctx context.Context, id commonids.StorageAccountId, input StorageAccountMigration) error { + result, err := c.StorageAccountsCustomerInitiatedMigration(ctx, id, input) + if err != nil { + return fmt.Errorf("performing StorageAccountsCustomerInitiatedMigration: %+v", err) + } + + if err := result.Poller.PollUntilDone(); err != nil { + return fmt.Errorf("polling after StorageAccountsCustomerInitiatedMigration: %+v", err) + } + + return nil +} + +// preparerForStorageAccountsCustomerInitiatedMigration prepares the StorageAccountsCustomerInitiatedMigration request. +func (c AccountMigrationsClient) preparerForStorageAccountsCustomerInitiatedMigration(ctx context.Context, id commonids.StorageAccountId, input StorageAccountMigration) (*http.Request, error) { + queryParameters := map[string]interface{}{ + "api-version": defaultApiVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPost(), + autorest.WithBaseURL(c.baseUri), + autorest.WithPath(fmt.Sprintf("%s/startAccountMigration", id.ID())), + autorest.WithJSON(input), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// senderForStorageAccountsCustomerInitiatedMigration sends the StorageAccountsCustomerInitiatedMigration request. The method will close the +// http.Response Body if it receives an error. +func (c AccountMigrationsClient) senderForStorageAccountsCustomerInitiatedMigration(ctx context.Context, req *http.Request) (future StorageAccountsCustomerInitiatedMigrationOperationResponse, err error) { + var resp *http.Response + resp, err = c.Client.Send(req, azure.DoRetryWithRegistration(c.Client)) + if err != nil { + return + } + + future.Poller, err = polling.NewPollerFromResponse(ctx, resp, c.Client, req.Method) + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/method_storageaccountsgetcustomerinitiatedmigration_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/method_storageaccountsgetcustomerinitiatedmigration_autorest.go new file mode 100644 index 000000000000..3aed7f1d6c48 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/method_storageaccountsgetcustomerinitiatedmigration_autorest.go @@ -0,0 +1,70 @@ +package accountmigrations + +import ( + "context" + "fmt" + "net/http" + + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageAccountsGetCustomerInitiatedMigrationOperationResponse struct { + HttpResponse *http.Response + Model *StorageAccountMigration +} + +// StorageAccountsGetCustomerInitiatedMigration ... +func (c AccountMigrationsClient) StorageAccountsGetCustomerInitiatedMigration(ctx context.Context, id commonids.StorageAccountId) (result StorageAccountsGetCustomerInitiatedMigrationOperationResponse, err error) { + req, err := c.preparerForStorageAccountsGetCustomerInitiatedMigration(ctx, id) + if err != nil { + err = autorest.NewErrorWithError(err, "accountmigrations.AccountMigrationsClient", "StorageAccountsGetCustomerInitiatedMigration", nil, "Failure preparing request") + return + } + + result.HttpResponse, err = c.Client.Send(req, azure.DoRetryWithRegistration(c.Client)) + if err != nil { + err = autorest.NewErrorWithError(err, "accountmigrations.AccountMigrationsClient", "StorageAccountsGetCustomerInitiatedMigration", result.HttpResponse, "Failure sending request") + return + } + + result, err = c.responderForStorageAccountsGetCustomerInitiatedMigration(result.HttpResponse) + if err != nil { + err = autorest.NewErrorWithError(err, "accountmigrations.AccountMigrationsClient", "StorageAccountsGetCustomerInitiatedMigration", result.HttpResponse, "Failure responding to request") + return + } + + return +} + +// preparerForStorageAccountsGetCustomerInitiatedMigration prepares the StorageAccountsGetCustomerInitiatedMigration request. +func (c AccountMigrationsClient) preparerForStorageAccountsGetCustomerInitiatedMigration(ctx context.Context, id commonids.StorageAccountId) (*http.Request, error) { + queryParameters := map[string]interface{}{ + "api-version": defaultApiVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsGet(), + autorest.WithBaseURL(c.baseUri), + autorest.WithPath(fmt.Sprintf("%s/accountMigrations/default", id.ID())), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// responderForStorageAccountsGetCustomerInitiatedMigration handles the response to the StorageAccountsGetCustomerInitiatedMigration request. The method always +// closes the http.Response Body. +func (c AccountMigrationsClient) responderForStorageAccountsGetCustomerInitiatedMigration(resp *http.Response) (result StorageAccountsGetCustomerInitiatedMigrationOperationResponse, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result.Model), + autorest.ByClosing()) + result.HttpResponse = resp + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/model_storageaccountmigration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/model_storageaccountmigration.go new file mode 100644 index 000000000000..16ebb4b54ada --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/model_storageaccountmigration.go @@ -0,0 +1,11 @@ +package accountmigrations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageAccountMigration struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties StorageAccountMigrationProperties `json:"properties"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/model_storageaccountmigrationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/model_storageaccountmigrationproperties.go new file mode 100644 index 000000000000..713e7b967d32 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/model_storageaccountmigrationproperties.go @@ -0,0 +1,11 @@ +package accountmigrations + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type StorageAccountMigrationProperties struct { + MigrationFailedDetailedReason *string `json:"migrationFailedDetailedReason,omitempty"` + MigrationFailedReason *string `json:"migrationFailedReason,omitempty"` + MigrationStatus *MigrationStatus `json:"migrationStatus,omitempty"` + TargetSkuName SkuName `json:"targetSkuName"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/version.go new file mode 100644 index 000000000000..2829a585b895 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations/version.go @@ -0,0 +1,12 @@ +package accountmigrations + +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-01-01" + +func userAgent() string { + return fmt.Sprintf("hashicorp/go-azure-sdk/accountmigrations/%s", defaultApiVersion) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/README.md similarity index 98% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/README.md index e0936a7d9e15..2b9e74399d47 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers` Documentation -The `blobcontainers` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `blobcontainers` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/blobcontainers" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_clearlegalhold_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_clearlegalhold_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_clearlegalhold_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_clearlegalhold_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_create_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_create_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_create_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_create_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_createorupdateimmutabilitypolicy_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_createorupdateimmutabilitypolicy_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_createorupdateimmutabilitypolicy_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_createorupdateimmutabilitypolicy_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_deleteimmutabilitypolicy_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_deleteimmutabilitypolicy_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_deleteimmutabilitypolicy_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_deleteimmutabilitypolicy_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_extendimmutabilitypolicy_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_extendimmutabilitypolicy_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_extendimmutabilitypolicy_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_extendimmutabilitypolicy_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_getimmutabilitypolicy_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_getimmutabilitypolicy_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_getimmutabilitypolicy_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_getimmutabilitypolicy_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_lease_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_lease_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_lease_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_lease_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_lockimmutabilitypolicy_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_lockimmutabilitypolicy_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_lockimmutabilitypolicy_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_lockimmutabilitypolicy_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_objectlevelworm_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_objectlevelworm_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_objectlevelworm_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_objectlevelworm_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_setlegalhold_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_setlegalhold_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_setlegalhold_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_setlegalhold_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_update_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_update_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/method_update_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/method_update_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_blobcontainer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_blobcontainer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_blobcontainer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_blobcontainer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_containerproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_containerproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_containerproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_containerproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutabilitypolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutabilitypolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutabilitypolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutabilitypolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutabilitypolicyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutabilitypolicyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutabilitypolicyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutabilitypolicyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutabilitypolicyproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutabilitypolicyproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutabilitypolicyproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutabilitypolicyproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutablestoragewithversioning.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutablestoragewithversioning.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_immutablestoragewithversioning.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_immutablestoragewithversioning.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_leasecontainerrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_leasecontainerrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_leasecontainerrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_leasecontainerrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_leasecontainerresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_leasecontainerresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_leasecontainerresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_leasecontainerresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_legalhold.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_legalhold.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_legalhold.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_legalhold.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_legalholdproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_legalholdproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_legalholdproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_legalholdproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_listcontaineritem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_listcontaineritem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_listcontaineritem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_listcontaineritem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_protectedappendwriteshistory.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_protectedappendwriteshistory.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_protectedappendwriteshistory.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_protectedappendwriteshistory.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_tagproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_tagproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_tagproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_tagproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_updatehistoryproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_updatehistoryproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/model_updatehistoryproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/model_updatehistoryproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/version.go index c5fd60bfd7e6..f3e041e8af96 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/blobcontainers/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/README.md index 8bb563ca9a9a..f3d2ace6e4db 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies` Documentation -The `blobinventorypolicies` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `blobinventorypolicies` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/blobinventorypolicies" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_createorupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_createorupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_createorupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_createorupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorycreationtime.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorycreationtime.go new file mode 100644 index 000000000000..969f08bb42ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorycreationtime.go @@ -0,0 +1,8 @@ +package blobinventorypolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BlobInventoryCreationTime struct { + LastNDays *int64 `json:"lastNDays,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyfilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyfilter.go new file mode 100644 index 000000000000..4183dbcb40b4 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyfilter.go @@ -0,0 +1,14 @@ +package blobinventorypolicies + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type BlobInventoryPolicyFilter struct { + BlobTypes *[]string `json:"blobTypes,omitempty"` + CreationTime *BlobInventoryCreationTime `json:"creationTime,omitempty"` + ExcludePrefix *[]string `json:"excludePrefix,omitempty"` + IncludeBlobVersions *bool `json:"includeBlobVersions,omitempty"` + IncludeDeleted *bool `json:"includeDeleted,omitempty"` + IncludeSnapshots *bool `json:"includeSnapshots,omitempty"` + PrefixMatch *[]string `json:"prefixMatch,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyschema.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyschema.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_blobinventorypolicyschema.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_blobinventorypolicyschema.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_listblobinventorypolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_listblobinventorypolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/model_listblobinventorypolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/model_listblobinventorypolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/version.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/version.go index 27a3c401ecec..3132be051674 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/blobinventorypolicies/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/README.md index 70a91c151936..ad131a8e71a7 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice` Documentation -The `blobservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `blobservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/blobservice" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/constants.go similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/constants.go index c9e944156094..807c3d38d6c8 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/constants.go @@ -8,6 +8,7 @@ import "strings" type AllowedMethods string const ( + AllowedMethodsCONNECT AllowedMethods = "CONNECT" AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" @@ -16,10 +17,12 @@ const ( AllowedMethodsPATCH AllowedMethods = "PATCH" AllowedMethodsPOST AllowedMethods = "POST" AllowedMethodsPUT AllowedMethods = "PUT" + AllowedMethodsTRACE AllowedMethods = "TRACE" ) func PossibleValuesForAllowedMethods() []string { return []string{ + string(AllowedMethodsCONNECT), string(AllowedMethodsDELETE), string(AllowedMethodsGET), string(AllowedMethodsHEAD), @@ -28,11 +31,13 @@ func PossibleValuesForAllowedMethods() []string { string(AllowedMethodsPATCH), string(AllowedMethodsPOST), string(AllowedMethodsPUT), + string(AllowedMethodsTRACE), } } func parseAllowedMethods(input string) (*AllowedMethods, error) { vals := map[string]AllowedMethods{ + "connect": AllowedMethodsCONNECT, "delete": AllowedMethodsDELETE, "get": AllowedMethodsGET, "head": AllowedMethodsHEAD, @@ -41,6 +46,7 @@ func parseAllowedMethods(input string) (*AllowedMethods, error) { "patch": AllowedMethodsPATCH, "post": AllowedMethodsPOST, "put": AllowedMethodsPUT, + "trace": AllowedMethodsTRACE, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/method_getserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/method_getserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/method_getserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/method_getserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/method_setserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/method_setserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/method_setserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/method_setserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_blobserviceitems.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_blobserviceitems.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_blobserviceitems.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_blobserviceitems.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_blobserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_blobserviceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_blobserviceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_blobserviceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_blobservicepropertiesproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_blobservicepropertiesproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_blobservicepropertiesproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_blobservicepropertiesproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_changefeed.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_changefeed.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_changefeed.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_changefeed.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_corsrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_corsrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_corsrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_corsrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_corsrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_corsrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_corsrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_corsrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_deleteretentionpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_deleteretentionpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_deleteretentionpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_deleteretentionpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_lastaccesstimetrackingpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_lastaccesstimetrackingpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_lastaccesstimetrackingpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_lastaccesstimetrackingpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_restorepolicyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_restorepolicyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_restorepolicyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_restorepolicyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_sku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_sku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/model_sku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/model_sku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/version.go index d8d907ff555d..536b992fec40 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/blobservice/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/client.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/client.go index 32c01b929411..93dc97f85587 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/client.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/client.go @@ -1,31 +1,33 @@ -package v2022_05_01 +package v2023_01_01 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. import ( "github.com/Azure/go-autorest/autorest" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice" - "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice" + "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties" ) type Client struct { + AccountMigrations *accountmigrations.AccountMigrationsClient BlobContainers *blobcontainers.BlobContainersClient BlobInventoryPolicies *blobinventorypolicies.BlobInventoryPoliciesClient BlobService *blobservice.BlobServiceClient @@ -48,6 +50,9 @@ type Client struct { func NewClientWithBaseURI(endpoint string, configureAuthFunc func(c *autorest.Client)) Client { + accountMigrationsClient := accountmigrations.NewAccountMigrationsClientWithBaseURI(endpoint) + configureAuthFunc(&accountMigrationsClient.Client) + blobContainersClient := blobcontainers.NewBlobContainersClientWithBaseURI(endpoint) configureAuthFunc(&blobContainersClient.Client) @@ -103,6 +108,7 @@ func NewClientWithBaseURI(endpoint string, configureAuthFunc func(c *autorest.Cl configureAuthFunc(&tableServicePropertiesClient.Client) return Client{ + AccountMigrations: &accountMigrationsClient, BlobContainers: &blobContainersClient, BlobInventoryPolicies: &blobInventoryPoliciesClient, BlobService: &blobServiceClient, diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/README.md similarity index 90% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/README.md index 1cdc398cd4fc..7c39ccb6efc5 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts` Documentation -The `deletedaccounts` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `deletedaccounts` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/deletedaccounts" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/id_deletedaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/id_deletedaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/id_deletedaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/id_deletedaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/model_deletedaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/model_deletedaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/model_deletedaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/model_deletedaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/model_deletedaccountproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/model_deletedaccountproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/model_deletedaccountproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/model_deletedaccountproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/version.go index a3eedc7c2aee..8d76b97cfa39 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/deletedaccounts/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/README.md similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/README.md index a6c976899f94..880a7db91b06 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes` Documentation -The `encryptionscopes` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `encryptionscopes` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/encryptionscopes" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes" ``` @@ -42,8 +42,8 @@ if model := read.Model; model != nil { ctx := context.TODO() id := encryptionscopes.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue") -// alternatively `client.List(ctx, id)` can be used to do batched pagination -items, err := client.ListComplete(ctx, id) +// alternatively `client.List(ctx, id, encryptionscopes.DefaultListOperationOptions())` can be used to do batched pagination +items, err := client.ListComplete(ctx, id, encryptionscopes.DefaultListOperationOptions()) if err != nil { // handle the error } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/constants.go similarity index 64% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/constants.go index 00338df6c7c6..f8324e1b4d53 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/constants.go @@ -60,3 +60,34 @@ func parseEncryptionScopeState(input string) (*EncryptionScopeState, error) { out := EncryptionScopeState(input) return &out, nil } + +type ListEncryptionScopesInclude string + +const ( + ListEncryptionScopesIncludeAll ListEncryptionScopesInclude = "All" + ListEncryptionScopesIncludeDisabled ListEncryptionScopesInclude = "Disabled" + ListEncryptionScopesIncludeEnabled ListEncryptionScopesInclude = "Enabled" +) + +func PossibleValuesForListEncryptionScopesInclude() []string { + return []string{ + string(ListEncryptionScopesIncludeAll), + string(ListEncryptionScopesIncludeDisabled), + string(ListEncryptionScopesIncludeEnabled), + } +} + +func parseListEncryptionScopesInclude(input string) (*ListEncryptionScopesInclude, error) { + vals := map[string]ListEncryptionScopesInclude{ + "all": ListEncryptionScopesIncludeAll, + "disabled": ListEncryptionScopesIncludeDisabled, + "enabled": ListEncryptionScopesIncludeEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ListEncryptionScopesInclude(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/id_encryptionscope.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/id_encryptionscope.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/id_encryptionscope.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/id_encryptionscope.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_list_autorest.go similarity index 79% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_list_autorest.go index 38ae3c2f1936..a81675af1361 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_list_autorest.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_list_autorest.go @@ -38,9 +38,43 @@ func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperation return r.nextPageFunc(ctx, *r.nextLink) } +type ListOperationOptions struct { + Filter *string + Include *ListEncryptionScopesInclude + Maxpagesize *int64 +} + +func DefaultListOperationOptions() ListOperationOptions { + return ListOperationOptions{} +} + +func (o ListOperationOptions) toHeaders() map[string]interface{} { + out := make(map[string]interface{}) + + return out +} + +func (o ListOperationOptions) toQueryString() map[string]interface{} { + out := make(map[string]interface{}) + + if o.Filter != nil { + out["$filter"] = *o.Filter + } + + if o.Include != nil { + out["$include"] = *o.Include + } + + if o.Maxpagesize != nil { + out["$maxpagesize"] = *o.Maxpagesize + } + + return out +} + // List ... -func (c EncryptionScopesClient) List(ctx context.Context, id commonids.StorageAccountId) (resp ListOperationResponse, err error) { - req, err := c.preparerForList(ctx, id) +func (c EncryptionScopesClient) List(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (resp ListOperationResponse, err error) { + req, err := c.preparerForList(ctx, id, options) if err != nil { err = autorest.NewErrorWithError(err, "encryptionscopes.EncryptionScopesClient", "List", nil, "Failure preparing request") return @@ -61,15 +95,20 @@ func (c EncryptionScopesClient) List(ctx context.Context, id commonids.StorageAc } // preparerForList prepares the List request. -func (c EncryptionScopesClient) preparerForList(ctx context.Context, id commonids.StorageAccountId) (*http.Request, error) { +func (c EncryptionScopesClient) preparerForList(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (*http.Request, error) { queryParameters := map[string]interface{}{ "api-version": defaultApiVersion, } + for k, v := range options.toQueryString() { + queryParameters[k] = autorest.Encode("query", v) + } + preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsGet(), autorest.WithBaseURL(c.baseUri), + autorest.WithHeaders(options.toHeaders()), autorest.WithPath(fmt.Sprintf("%s/encryptionScopes", id.ID())), autorest.WithQueryParameters(queryParameters)) return preparer.Prepare((&http.Request{}).WithContext(ctx)) @@ -143,15 +182,15 @@ func (c EncryptionScopesClient) responderForList(resp *http.Response) (result Li } // ListComplete retrieves all of the results into a single object -func (c EncryptionScopesClient) ListComplete(ctx context.Context, id commonids.StorageAccountId) (ListCompleteResult, error) { - return c.ListCompleteMatchingPredicate(ctx, id, EncryptionScopeOperationPredicate{}) +func (c EncryptionScopesClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (ListCompleteResult, error) { + return c.ListCompleteMatchingPredicate(ctx, id, options, EncryptionScopeOperationPredicate{}) } // ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate -func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, predicate EncryptionScopeOperationPredicate) (resp ListCompleteResult, err error) { +func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions, predicate EncryptionScopeOperationPredicate) (resp ListCompleteResult, err error) { items := make([]EncryptionScope, 0) - page, err := c.List(ctx, id) + page, err := c.List(ctx, id, options) if err != nil { err = fmt.Errorf("loading the initial page: %+v", err) return diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_patch_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_patch_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_patch_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_patch_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_put_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_put_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/method_put_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/method_put_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/model_encryptionscope.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/model_encryptionscope.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/model_encryptionscope.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/model_encryptionscope.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/model_encryptionscopekeyvaultproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/model_encryptionscopekeyvaultproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/model_encryptionscopekeyvaultproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/model_encryptionscopekeyvaultproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/model_encryptionscopeproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/model_encryptionscopeproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/model_encryptionscopeproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/model_encryptionscopeproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/version.go index 0b1cdb951895..2b111f0a4a95 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/encryptionscopes/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/README.md index d5256c133537..039c921ef149 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice` Documentation -The `fileservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `fileservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/fileservice" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/constants.go similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/constants.go index a1f4a08e5214..2d28993e7851 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/constants.go @@ -8,6 +8,7 @@ import "strings" type AllowedMethods string const ( + AllowedMethodsCONNECT AllowedMethods = "CONNECT" AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" @@ -16,10 +17,12 @@ const ( AllowedMethodsPATCH AllowedMethods = "PATCH" AllowedMethodsPOST AllowedMethods = "POST" AllowedMethodsPUT AllowedMethods = "PUT" + AllowedMethodsTRACE AllowedMethods = "TRACE" ) func PossibleValuesForAllowedMethods() []string { return []string{ + string(AllowedMethodsCONNECT), string(AllowedMethodsDELETE), string(AllowedMethodsGET), string(AllowedMethodsHEAD), @@ -28,11 +31,13 @@ func PossibleValuesForAllowedMethods() []string { string(AllowedMethodsPATCH), string(AllowedMethodsPOST), string(AllowedMethodsPUT), + string(AllowedMethodsTRACE), } } func parseAllowedMethods(input string) (*AllowedMethods, error) { vals := map[string]AllowedMethods{ + "connect": AllowedMethodsCONNECT, "delete": AllowedMethodsDELETE, "get": AllowedMethodsGET, "head": AllowedMethodsHEAD, @@ -41,6 +46,7 @@ func parseAllowedMethods(input string) (*AllowedMethods, error) { "patch": AllowedMethodsPATCH, "post": AllowedMethodsPOST, "put": AllowedMethodsPUT, + "trace": AllowedMethodsTRACE, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/method_getserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/method_getserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/method_getserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/method_getserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/method_setserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/method_setserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/method_setserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/method_setserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_corsrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_corsrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_corsrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_corsrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_corsrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_corsrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_corsrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_corsrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_deleteretentionpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_deleteretentionpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_deleteretentionpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_deleteretentionpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_fileserviceitems.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_fileserviceitems.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_fileserviceitems.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_fileserviceitems.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_fileserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_fileserviceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_fileserviceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_fileserviceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_fileservicepropertiesproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_fileservicepropertiesproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_fileservicepropertiesproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_fileservicepropertiesproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_multichannel.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_multichannel.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_multichannel.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_multichannel.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_protocolsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_protocolsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_protocolsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_protocolsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_sku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_sku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_sku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_sku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_smbsetting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_smbsetting.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/model_smbsetting.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/model_smbsetting.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/version.go index da409e05856e..28e2e8a133f1 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/fileservice/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/README.md similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/README.md index a960a636a8ed..2efb76d1030d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares` Documentation -The `fileshares` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `fileshares` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/fileshares" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/id_share.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/id_share.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/id_share.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/id_share.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_create_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_create_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_create_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_create_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_lease_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_lease_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_lease_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_lease_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_restore_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_restore_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_restore_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_restore_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_update_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_update_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/method_update_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/method_update_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_accesspolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_accesspolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_accesspolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_accesspolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_deletedshare.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_deletedshare.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_deletedshare.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_deletedshare.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_fileshare.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_fileshare.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_fileshare.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_fileshare.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_fileshareitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_fileshareitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_fileshareitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_fileshareitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_fileshareproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_fileshareproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_fileshareproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_fileshareproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_leasesharerequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_leasesharerequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_leasesharerequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_leasesharerequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_leaseshareresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_leaseshareresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_leaseshareresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_leaseshareresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_signedidentifier.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_signedidentifier.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/model_signedidentifier.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/model_signedidentifier.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/version.go index 5f42060733c0..f2474f502f94 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/fileshares/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/README.md similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/README.md index 36fe03a4bc0c..4172090c0b8d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers` Documentation -The `localusers` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `localusers` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/localusers" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/id_localuser.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/id_localuser.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/id_localuser.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/id_localuser.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_createorupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_createorupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_createorupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_createorupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_listkeys_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_listkeys_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_listkeys_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_listkeys_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_regeneratepassword_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_regeneratepassword_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/method_regeneratepassword_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/method_regeneratepassword_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuser.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuser.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuser.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuser.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuserkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuserkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuserkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuserkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuserproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuserproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuserproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuserproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuserregeneratepasswordresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuserregeneratepasswordresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localuserregeneratepasswordresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localuserregeneratepasswordresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localusers.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localusers.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_localusers.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_localusers.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_permissionscope.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_permissionscope.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_permissionscope.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_permissionscope.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_sshpublickey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_sshpublickey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/model_sshpublickey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/model_sshpublickey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/version.go index f06b94ee3f54..8ee926256e70 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/localusers/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/README.md similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/README.md index 8672c63cafb9..fc7151773d4d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies` Documentation -The `managementpolicies` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `managementpolicies` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/managementpolicies" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/method_createorupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/method_createorupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/method_createorupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/method_createorupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_dateaftercreation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_dateaftercreation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_dateaftercreation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_dateaftercreation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_dateaftermodification.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_dateaftermodification.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_dateaftermodification.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_dateaftermodification.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyaction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyaction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyaction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyaction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicybaseblob.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicybaseblob.go similarity index 77% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicybaseblob.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicybaseblob.go index 2b4a2a6340e6..bc6cdaf13bdc 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicybaseblob.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicybaseblob.go @@ -7,5 +7,7 @@ type ManagementPolicyBaseBlob struct { Delete *DateAfterModification `json:"delete,omitempty"` EnableAutoTierToHotFromCool *bool `json:"enableAutoTierToHotFromCool,omitempty"` TierToArchive *DateAfterModification `json:"tierToArchive,omitempty"` + TierToCold *DateAfterModification `json:"tierToCold,omitempty"` TierToCool *DateAfterModification `json:"tierToCool,omitempty"` + TierToHot *DateAfterModification `json:"tierToHot,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicydefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicydefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicydefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicydefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyfilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyfilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyfilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyfilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyschema.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyschema.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyschema.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyschema.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicysnapshot.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicysnapshot.go similarity index 76% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicysnapshot.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicysnapshot.go index 6703b1337524..834f9c009222 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicysnapshot.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicysnapshot.go @@ -6,5 +6,7 @@ package managementpolicies type ManagementPolicySnapShot struct { Delete *DateAfterCreation `json:"delete,omitempty"` TierToArchive *DateAfterCreation `json:"tierToArchive,omitempty"` + TierToCold *DateAfterCreation `json:"tierToCold,omitempty"` TierToCool *DateAfterCreation `json:"tierToCool,omitempty"` + TierToHot *DateAfterCreation `json:"tierToHot,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyversion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyversion.go similarity index 76% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyversion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyversion.go index b916a2335f9a..782caa6beb49 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_managementpolicyversion.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_managementpolicyversion.go @@ -6,5 +6,7 @@ package managementpolicies type ManagementPolicyVersion struct { Delete *DateAfterCreation `json:"delete,omitempty"` TierToArchive *DateAfterCreation `json:"tierToArchive,omitempty"` + TierToCold *DateAfterCreation `json:"tierToCold,omitempty"` TierToCool *DateAfterCreation `json:"tierToCool,omitempty"` + TierToHot *DateAfterCreation `json:"tierToHot,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_tagfilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_tagfilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/model_tagfilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/model_tagfilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/version.go index 1d83b9d2704c..f598d6ab4b9f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/managementpolicies/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/README.md index bd0e2b3d8221..394bb0f8f77b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies` Documentation -The `objectreplicationpolicies` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `objectreplicationpolicies` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/objectreplicationpolicies" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/id_objectreplicationpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/id_objectreplicationpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/id_objectreplicationpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/id_objectreplicationpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_createorupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_createorupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_createorupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_createorupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicies.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicies.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicies.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicies.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicyfilter.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicyfilter.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicyfilter.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicyfilter.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicyrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicyrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/model_objectreplicationpolicyrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/model_objectreplicationpolicyrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/version.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/version.go index dfbd314c1ea0..00c3bbb6a6a7 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/objectreplicationpolicies/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/README.md index 7fe318f7ed11..97ec51aed3cc 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections` Documentation -The `privateendpointconnections` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `privateendpointconnections` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/privateendpointconnections" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/id_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/id_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/id_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/id_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_put_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_put_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/method_put_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/method_put_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpointconnectionlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpointconnectionlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpointconnectionlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpointconnectionlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/version.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/version.go index 4009394662cd..9e2a36fc3502 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/privateendpointconnections/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/README.md similarity index 87% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/README.md index 29a183acefee..a07b6109c57f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources` Documentation -The `privatelinkresources` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `privatelinkresources` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/privatelinkresources" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/method_listbystorageaccount_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/method_listbystorageaccount_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/method_listbystorageaccount_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/method_listbystorageaccount_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/model_privatelinkresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/model_privatelinkresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/model_privatelinkresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/model_privatelinkresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/model_privatelinkresourcelistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/model_privatelinkresourcelistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/model_privatelinkresourcelistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/model_privatelinkresourcelistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/model_privatelinkresourceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/model_privatelinkresourceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/model_privatelinkresourceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/model_privatelinkresourceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/version.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/version.go index 06bc86ffa572..d020bb9e164e 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/privatelinkresources/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/README.md index 5a9d7978dfad..e1f5aef42dd6 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice` Documentation -The `queueservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `queueservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/queueservice" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/id_queue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/id_queue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/id_queue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/id_queue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queuecreate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queuecreate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queuecreate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queuecreate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queuedelete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queuedelete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queuedelete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queuedelete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queueget_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queueget_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queueget_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queueget_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queuelist_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queuelist_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queuelist_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queuelist_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queueupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queueupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/method_queueupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/method_queueupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_listqueue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_listqueue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_listqueue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_listqueue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_listqueueproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_listqueueproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_listqueueproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_listqueueproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_queueproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_queueproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_queueproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_queueproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_storagequeue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_storagequeue.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/model_storagequeue.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/model_storagequeue.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/version.go index bceb344d7585..ceec81321036 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/queueservice/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/README.md similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/README.md index 766735b8a76e..9cdbd4485eb3 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties` Documentation -The `queueserviceproperties` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `queueserviceproperties` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/queueserviceproperties" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/constants.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/constants.go index 0b326e99e661..e98a36e7aba1 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/constants.go @@ -8,6 +8,7 @@ import "strings" type AllowedMethods string const ( + AllowedMethodsCONNECT AllowedMethods = "CONNECT" AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" @@ -16,10 +17,12 @@ const ( AllowedMethodsPATCH AllowedMethods = "PATCH" AllowedMethodsPOST AllowedMethods = "POST" AllowedMethodsPUT AllowedMethods = "PUT" + AllowedMethodsTRACE AllowedMethods = "TRACE" ) func PossibleValuesForAllowedMethods() []string { return []string{ + string(AllowedMethodsCONNECT), string(AllowedMethodsDELETE), string(AllowedMethodsGET), string(AllowedMethodsHEAD), @@ -28,11 +31,13 @@ func PossibleValuesForAllowedMethods() []string { string(AllowedMethodsPATCH), string(AllowedMethodsPOST), string(AllowedMethodsPUT), + string(AllowedMethodsTRACE), } } func parseAllowedMethods(input string) (*AllowedMethods, error) { vals := map[string]AllowedMethods{ + "connect": AllowedMethodsCONNECT, "delete": AllowedMethodsDELETE, "get": AllowedMethodsGET, "head": AllowedMethodsHEAD, @@ -41,6 +46,7 @@ func parseAllowedMethods(input string) (*AllowedMethods, error) { "patch": AllowedMethodsPATCH, "post": AllowedMethodsPOST, "put": AllowedMethodsPUT, + "trace": AllowedMethodsTRACE, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/method_queueservicesgetserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/method_queueservicesgetserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/method_queueservicesgetserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/method_queueservicesgetserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/method_queueserviceslist_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/method_queueserviceslist_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/method_queueserviceslist_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/method_queueserviceslist_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/method_queueservicessetserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/method_queueservicessetserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/method_queueservicessetserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/method_queueservicessetserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_corsrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_corsrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_corsrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_corsrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_corsrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_corsrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_corsrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_corsrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_listqueueservices.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_listqueueservices.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_listqueueservices.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_listqueueservices.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_queueserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_queueserviceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_queueserviceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_queueserviceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_queueservicepropertiesproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_queueservicepropertiesproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/model_queueservicepropertiesproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/model_queueservicepropertiesproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/version.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/version.go index 389cf653abb2..06d03ca1ee0c 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/queueserviceproperties/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/README.md similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/README.md index dce48abc433c..3b0007afb3db 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus` Documentation -The `skus` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `skus` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/skus" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_restriction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_restriction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_restriction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_restriction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_skucapability.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_skucapability.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_skucapability.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_skucapability.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_skuinformation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_skuinformation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_skuinformation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_skuinformation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_storageskulistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_storageskulistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/model_storageskulistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/model_storageskulistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/version.go index 0be31a52f8b4..72603d4eebe7 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/skus/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/README.md similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/README.md index 38977919e605..076fd3e2c1aa 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts` Documentation -The `storageaccounts` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `storageaccounts` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/storageaccounts" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts" ``` @@ -92,7 +92,7 @@ if model := read.Model; model != nil { ctx := context.TODO() id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue") -if err := client.FailoverThenPoll(ctx, id); err != nil { +if err := client.FailoverThenPoll(ctx, id, storageaccounts.DefaultFailoverOperationOptions()); err != nil { // handle the error } ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/constants.go similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/constants.go index adb32d9985bc..8d8edccc9d98 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/constants.go @@ -390,6 +390,31 @@ func parseExpirationAction(input string) (*ExpirationAction, error) { return &out, nil } +type FailoverType string + +const ( + FailoverTypePlanned FailoverType = "Planned" +) + +func PossibleValuesForFailoverType() []string { + return []string{ + string(FailoverTypePlanned), + } +} + +func parseFailoverType(input string) (*FailoverType, error) { + vals := map[string]FailoverType{ + "planned": FailoverTypePlanned, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := FailoverType(input) + return &out, nil +} + type GeoReplicationStatus string const ( @@ -700,6 +725,68 @@ func parsePermissions(input string) (*Permissions, error) { return &out, nil } +type PostFailoverRedundancy string + +const ( + PostFailoverRedundancyStandardLRS PostFailoverRedundancy = "Standard_LRS" + PostFailoverRedundancyStandardZRS PostFailoverRedundancy = "Standard_ZRS" +) + +func PossibleValuesForPostFailoverRedundancy() []string { + return []string{ + string(PostFailoverRedundancyStandardLRS), + string(PostFailoverRedundancyStandardZRS), + } +} + +func parsePostFailoverRedundancy(input string) (*PostFailoverRedundancy, error) { + vals := map[string]PostFailoverRedundancy{ + "standard_lrs": PostFailoverRedundancyStandardLRS, + "standard_zrs": PostFailoverRedundancyStandardZRS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PostFailoverRedundancy(input) + return &out, nil +} + +type PostPlannedFailoverRedundancy string + +const ( + PostPlannedFailoverRedundancyStandardGRS PostPlannedFailoverRedundancy = "Standard_GRS" + PostPlannedFailoverRedundancyStandardGZRS PostPlannedFailoverRedundancy = "Standard_GZRS" + PostPlannedFailoverRedundancyStandardRAGRS PostPlannedFailoverRedundancy = "Standard_RAGRS" + PostPlannedFailoverRedundancyStandardRAGZRS PostPlannedFailoverRedundancy = "Standard_RAGZRS" +) + +func PossibleValuesForPostPlannedFailoverRedundancy() []string { + return []string{ + string(PostPlannedFailoverRedundancyStandardGRS), + string(PostPlannedFailoverRedundancyStandardGZRS), + string(PostPlannedFailoverRedundancyStandardRAGRS), + string(PostPlannedFailoverRedundancyStandardRAGZRS), + } +} + +func parsePostPlannedFailoverRedundancy(input string) (*PostPlannedFailoverRedundancy, error) { + vals := map[string]PostPlannedFailoverRedundancy{ + "standard_grs": PostPlannedFailoverRedundancyStandardGRS, + "standard_gzrs": PostPlannedFailoverRedundancyStandardGZRS, + "standard_ragrs": PostPlannedFailoverRedundancyStandardRAGRS, + "standard_ragzrs": PostPlannedFailoverRedundancyStandardRAGZRS, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := PostPlannedFailoverRedundancy(input) + return &out, nil +} + type PrivateEndpointConnectionProvisioningState string const ( diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_aborthierarchicalnamespacemigration_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_aborthierarchicalnamespacemigration_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_aborthierarchicalnamespacemigration_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_aborthierarchicalnamespacemigration_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_checknameavailability_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_checknameavailability_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_checknameavailability_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_checknameavailability_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_create_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_create_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_create_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_create_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_failover_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_failover_autorest.go similarity index 69% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_failover_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_failover_autorest.go index be9e9d4c7365..02e7d13abde2 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_failover_autorest.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_failover_autorest.go @@ -19,9 +19,33 @@ type FailoverOperationResponse struct { HttpResponse *http.Response } +type FailoverOperationOptions struct { + FailoverType *FailoverType +} + +func DefaultFailoverOperationOptions() FailoverOperationOptions { + return FailoverOperationOptions{} +} + +func (o FailoverOperationOptions) toHeaders() map[string]interface{} { + out := make(map[string]interface{}) + + return out +} + +func (o FailoverOperationOptions) toQueryString() map[string]interface{} { + out := make(map[string]interface{}) + + if o.FailoverType != nil { + out["failoverType"] = *o.FailoverType + } + + return out +} + // Failover ... -func (c StorageAccountsClient) Failover(ctx context.Context, id commonids.StorageAccountId) (result FailoverOperationResponse, err error) { - req, err := c.preparerForFailover(ctx, id) +func (c StorageAccountsClient) Failover(ctx context.Context, id commonids.StorageAccountId, options FailoverOperationOptions) (result FailoverOperationResponse, err error) { + req, err := c.preparerForFailover(ctx, id, options) if err != nil { err = autorest.NewErrorWithError(err, "storageaccounts.StorageAccountsClient", "Failover", nil, "Failure preparing request") return @@ -37,8 +61,8 @@ func (c StorageAccountsClient) Failover(ctx context.Context, id commonids.Storag } // FailoverThenPoll performs Failover then polls until it's completed -func (c StorageAccountsClient) FailoverThenPoll(ctx context.Context, id commonids.StorageAccountId) error { - result, err := c.Failover(ctx, id) +func (c StorageAccountsClient) FailoverThenPoll(ctx context.Context, id commonids.StorageAccountId, options FailoverOperationOptions) error { + result, err := c.Failover(ctx, id, options) if err != nil { return fmt.Errorf("performing Failover: %+v", err) } @@ -51,15 +75,20 @@ func (c StorageAccountsClient) FailoverThenPoll(ctx context.Context, id commonid } // preparerForFailover prepares the Failover request. -func (c StorageAccountsClient) preparerForFailover(ctx context.Context, id commonids.StorageAccountId) (*http.Request, error) { +func (c StorageAccountsClient) preparerForFailover(ctx context.Context, id commonids.StorageAccountId, options FailoverOperationOptions) (*http.Request, error) { queryParameters := map[string]interface{}{ "api-version": defaultApiVersion, } + for k, v := range options.toQueryString() { + queryParameters[k] = autorest.Encode("query", v) + } + preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), autorest.AsPost(), autorest.WithBaseURL(c.baseUri), + autorest.WithHeaders(options.toHeaders()), autorest.WithPath(fmt.Sprintf("%s/failover", id.ID())), autorest.WithQueryParameters(queryParameters)) return preparer.Prepare((&http.Request{}).WithContext(ctx)) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_getproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_getproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_getproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_getproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_hierarchicalnamespacemigration_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_hierarchicalnamespacemigration_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_hierarchicalnamespacemigration_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_hierarchicalnamespacemigration_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listaccountsas_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listaccountsas_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listaccountsas_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listaccountsas_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listbyresourcegroup_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listbyresourcegroup_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listbyresourcegroup_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listbyresourcegroup_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listkeys_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listkeys_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listkeys_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listkeys_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listservicesas_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listservicesas_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_listservicesas_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_listservicesas_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_regeneratekey_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_regeneratekey_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_regeneratekey_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_regeneratekey_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_restoreblobranges_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_restoreblobranges_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_restoreblobranges_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_restoreblobranges_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_revokeuserdelegationkeys_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_revokeuserdelegationkeys_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_revokeuserdelegationkeys_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_revokeuserdelegationkeys_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_update_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_update_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/method_update_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/method_update_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_accountimmutabilitypolicyproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_accountimmutabilitypolicyproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_accountimmutabilitypolicyproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_accountimmutabilitypolicyproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_accountsasparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_accountsasparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_accountsasparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_accountsasparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_activedirectoryproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_activedirectoryproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_activedirectoryproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_activedirectoryproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_azurefilesidentitybasedauthentication.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_azurefilesidentitybasedauthentication.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_azurefilesidentitybasedauthentication.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_azurefilesidentitybasedauthentication.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_blobrestoreparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_blobrestoreparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_blobrestoreparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_blobrestoreparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_blobrestorerange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_blobrestorerange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_blobrestorerange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_blobrestorerange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_blobrestorestatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_blobrestorestatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_blobrestorestatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_blobrestorestatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_checknameavailabilityresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_checknameavailabilityresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_checknameavailabilityresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_checknameavailabilityresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_customdomain.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_customdomain.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_customdomain.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_customdomain.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryption.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryption.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryption.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryption.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryptionidentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryptionidentity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryptionidentity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryptionidentity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryptionservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryptionservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryptionservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryptionservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryptionservices.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryptionservices.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_encryptionservices.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_encryptionservices.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_endpoints.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_endpoints.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_endpoints.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_endpoints.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_georeplicationstats.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_georeplicationstats.go similarity index 52% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_georeplicationstats.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_georeplicationstats.go index 31aef45a5979..9be9215b95ea 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_georeplicationstats.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_georeplicationstats.go @@ -10,9 +10,12 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type GeoReplicationStats struct { - CanFailover *bool `json:"canFailover,omitempty"` - LastSyncTime *string `json:"lastSyncTime,omitempty"` - Status *GeoReplicationStatus `json:"status,omitempty"` + CanFailover *bool `json:"canFailover,omitempty"` + CanPlannedFailover *bool `json:"canPlannedFailover,omitempty"` + LastSyncTime *string `json:"lastSyncTime,omitempty"` + PostFailoverRedundancy *PostFailoverRedundancy `json:"postFailoverRedundancy,omitempty"` + PostPlannedFailoverRedundancy *PostPlannedFailoverRedundancy `json:"postPlannedFailoverRedundancy,omitempty"` + Status *GeoReplicationStatus `json:"status,omitempty"` } func (o *GeoReplicationStats) GetLastSyncTimeAsTime() (*time.Time, error) { diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_immutablestorageaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_immutablestorageaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_immutablestorageaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_immutablestorageaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_iprule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_iprule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_iprule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_iprule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_keycreationtime.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_keycreationtime.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_keycreationtime.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_keycreationtime.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_keypolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_keypolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_keypolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_keypolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_keyvaultproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_keyvaultproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_keyvaultproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_keyvaultproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_listaccountsasresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_listaccountsasresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_listaccountsasresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_listaccountsasresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_listservicesasresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_listservicesasresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_listservicesasresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_listservicesasresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_networkruleset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_networkruleset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_networkruleset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_networkruleset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privateendpointconnection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privateendpointconnection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_resourceaccessrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_resourceaccessrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_resourceaccessrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_resourceaccessrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_routingpreference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_routingpreference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_routingpreference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_routingpreference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_saspolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_saspolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_saspolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_saspolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_servicesasparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_servicesasparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_servicesasparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_servicesasparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_sku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_sku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_sku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_sku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountchecknameavailabilityparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountchecknameavailabilityparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountchecknameavailabilityparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountchecknameavailabilityparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountcreateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountcreateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountcreateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountcreateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountinternetendpoints.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountinternetendpoints.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountinternetendpoints.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountinternetendpoints.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountkey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountkey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountkey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountkey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountlistkeysresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountlistkeysresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountlistkeysresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountlistkeysresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountmicrosoftendpoints.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountmicrosoftendpoints.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountmicrosoftendpoints.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountmicrosoftendpoints.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountproperties.go similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountproperties.go index 129089b5b0bc..dcf73c26dea1 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountproperties.go @@ -11,6 +11,7 @@ import ( type StorageAccountProperties struct { AccessTier *AccessTier `json:"accessTier,omitempty"` + AccountMigrationInProgress *bool `json:"accountMigrationInProgress,omitempty"` AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` AllowCrossTenantReplication *bool `json:"allowCrossTenantReplication,omitempty"` AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` @@ -29,6 +30,7 @@ type StorageAccountProperties struct { IsLocalUserEnabled *bool `json:"isLocalUserEnabled,omitempty"` IsNfsV3Enabled *bool `json:"isNfsV3Enabled,omitempty"` IsSftpEnabled *bool `json:"isSftpEnabled,omitempty"` + IsSkuConversionBlocked *bool `json:"isSkuConversionBlocked,omitempty"` KeyCreationTime *KeyCreationTime `json:"keyCreationTime,omitempty"` KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` LargeFileSharesState *LargeFileSharesState `json:"largeFileSharesState,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountpropertiescreateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountpropertiescreateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountpropertiescreateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountpropertiescreateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountpropertiesupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountpropertiesupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountpropertiesupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountpropertiesupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountregeneratekeyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountregeneratekeyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountregeneratekeyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountregeneratekeyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountskuconversionstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountskuconversionstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountskuconversionstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountskuconversionstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_storageaccountupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_storageaccountupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_virtualnetworkrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_virtualnetworkrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/model_virtualnetworkrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/model_virtualnetworkrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/version.go index 8c087a2fff29..a06af287f637 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/storageaccounts/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/README.md index e39f0584c332..843c1c2d0a8c 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice` Documentation -The `tableservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `tableservice` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/tableservice" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/id_table.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/id_table.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/id_table.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/id_table.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tablecreate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tablecreate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tablecreate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tablecreate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tabledelete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tabledelete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tabledelete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tabledelete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tableget_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tableget_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tableget_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tableget_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tablelist_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tablelist_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tablelist_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tablelist_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tableupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tableupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/method_tableupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/method_tableupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_table.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_table.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_table.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_table.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_tableaccesspolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_tableaccesspolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_tableaccesspolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_tableaccesspolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_tableproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_tableproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_tableproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_tableproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_tablesignedidentifier.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_tablesignedidentifier.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/model_tablesignedidentifier.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/model_tablesignedidentifier.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/version.go index b62ffd1af122..1e5bddb8405e 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/tableservice/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/README.md similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/README.md index 882e7e07c1a6..ab2be6431a86 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties` Documentation -The `tableserviceproperties` SDK allows for interaction with the Azure Resource Manager Service `storage` (API Version `2022-05-01`). +The `tableserviceproperties` SDK allows for interaction with the Azure Resource Manager Service `storage` (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/storage/2022-05-01/tableserviceproperties" +import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/constants.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/constants.go index a1d07705657d..c6ffb1ab005b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/constants.go @@ -8,6 +8,7 @@ import "strings" type AllowedMethods string const ( + AllowedMethodsCONNECT AllowedMethods = "CONNECT" AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" @@ -16,10 +17,12 @@ const ( AllowedMethodsPATCH AllowedMethods = "PATCH" AllowedMethodsPOST AllowedMethods = "POST" AllowedMethodsPUT AllowedMethods = "PUT" + AllowedMethodsTRACE AllowedMethods = "TRACE" ) func PossibleValuesForAllowedMethods() []string { return []string{ + string(AllowedMethodsCONNECT), string(AllowedMethodsDELETE), string(AllowedMethodsGET), string(AllowedMethodsHEAD), @@ -28,11 +31,13 @@ func PossibleValuesForAllowedMethods() []string { string(AllowedMethodsPATCH), string(AllowedMethodsPOST), string(AllowedMethodsPUT), + string(AllowedMethodsTRACE), } } func parseAllowedMethods(input string) (*AllowedMethods, error) { vals := map[string]AllowedMethods{ + "connect": AllowedMethodsCONNECT, "delete": AllowedMethodsDELETE, "get": AllowedMethodsGET, "head": AllowedMethodsHEAD, @@ -41,6 +46,7 @@ func parseAllowedMethods(input string) (*AllowedMethods, error) { "patch": AllowedMethodsPATCH, "post": AllowedMethodsPOST, "put": AllowedMethodsPUT, + "trace": AllowedMethodsTRACE, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/method_tableservicesgetserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/method_tableservicesgetserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/method_tableservicesgetserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/method_tableservicesgetserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/method_tableserviceslist_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/method_tableserviceslist_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/method_tableserviceslist_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/method_tableserviceslist_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/method_tableservicessetserviceproperties_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/method_tableservicessetserviceproperties_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/method_tableservicessetserviceproperties_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/method_tableservicessetserviceproperties_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_corsrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_corsrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_corsrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_corsrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_corsrules.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_corsrules.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_corsrules.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_corsrules.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_listtableservices.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_listtableservices.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_listtableservices.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_listtableservices.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_tableserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_tableserviceproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_tableserviceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_tableserviceproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_tableservicepropertiesproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_tableservicepropertiesproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/model_tableservicepropertiesproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/model_tableservicepropertiesproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/version.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/version.go index f7a4cbd91ba1..c59a531d81ee 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties/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-05-01" +const defaultApiVersion = "2023-01-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/tableserviceproperties/%s", defaultApiVersion) diff --git a/vendor/modules.txt b/vendor/modules.txt index 6e45f4273d68..79e5e810e037 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -876,25 +876,26 @@ github.com/hashicorp/go-azure-sdk/resource-manager/signalr/2023-02-01/signalr github.com/hashicorp/go-azure-sdk/resource-manager/sqlvirtualmachine/2022-02-01/availabilitygrouplisteners github.com/hashicorp/go-azure-sdk/resource-manager/sqlvirtualmachine/2022-02-01/sqlvirtualmachinegroups github.com/hashicorp/go-azure-sdk/resource-manager/sqlvirtualmachine/2022-02-01/sqlvirtualmachines -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01 -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobcontainers -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobinventorypolicies -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/blobservice -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/deletedaccounts -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/encryptionscopes -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileservice -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/fileshares -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/localusers -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/managementpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/objectreplicationpolicies -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privateendpointconnections -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/privatelinkresources -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueservice -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/queueserviceproperties -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/skus -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableservice -github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/tableserviceproperties +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01 +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/accountmigrations +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobcontainers +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobinventorypolicies +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/blobservice +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/deletedaccounts +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/encryptionscopes +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileservice +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/fileshares +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/localusers +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/managementpolicies +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/objectreplicationpolicies +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privateendpointconnections +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/privatelinkresources +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueservice +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/queueserviceproperties +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/skus +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/storageaccounts +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableservice +github.com/hashicorp/go-azure-sdk/resource-manager/storage/2023-01-01/tableserviceproperties github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-01-01/caches github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-01-01/storagetargets github.com/hashicorp/go-azure-sdk/resource-manager/storagecache/2023-05-01