Skip to content

Commit 0a6bcd8

Browse files
authored
search - upgrade API version to 2025-05-01 (hashicorp#30314)
[ENHANCEMENT] * dependencies: `search` - update to API version `2025-05-01`
1 parent 2bc820c commit 0a6bcd8

File tree

76 files changed

+284
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+284
-81
lines changed

internal/services/cognitive/cognitive_account_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/hashicorp/go-azure-helpers/resourcemanager/tags"
2020
"github.com/hashicorp/go-azure-sdk/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts"
2121
"github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-05-01/subnets"
22-
search "github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services"
22+
search "github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/services"
2323
"github.com/hashicorp/terraform-provider-azurerm/helpers/azure"
2424
"github.com/hashicorp/terraform-provider-azurerm/helpers/tf"
2525
commonValidate "github.com/hashicorp/terraform-provider-azurerm/helpers/validate"

internal/services/search/client/client.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ package client
66
import (
77
"fmt"
88

9-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/adminkeys"
10-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/querykeys"
11-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services"
12-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/sharedprivatelinkresources"
9+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/adminkeys"
10+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/querykeys"
11+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/services"
12+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/sharedprivatelinkresources"
1313
"github.com/hashicorp/terraform-provider-azurerm/internal/common"
1414
)
1515

internal/services/search/search_service_data_source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema"
1515
"github.com/hashicorp/go-azure-helpers/resourcemanager/identity"
1616
"github.com/hashicorp/go-azure-helpers/resourcemanager/tags"
17-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/adminkeys"
18-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/querykeys"
19-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services"
17+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/adminkeys"
18+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/querykeys"
19+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/services"
2020
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"
2121
"github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk"
2222
"github.com/hashicorp/terraform-provider-azurerm/internal/timeouts"

internal/services/search/search_service_resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616
"github.com/hashicorp/go-azure-helpers/resourcemanager/identity"
1717
"github.com/hashicorp/go-azure-helpers/resourcemanager/location"
1818
"github.com/hashicorp/go-azure-helpers/resourcemanager/tags"
19-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/adminkeys"
20-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/querykeys"
21-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services"
19+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/adminkeys"
20+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/querykeys"
21+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/services"
2222
"github.com/hashicorp/terraform-provider-azurerm/helpers/tf"
2323
"github.com/hashicorp/terraform-provider-azurerm/helpers/validate"
2424
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"

internal/services/search/search_service_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"regexp"
1010
"testing"
1111

12-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services"
12+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/services"
1313
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance"
1414
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check"
1515
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"

internal/services/search/search_shared_private_link_service_resource.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
"github.com/hashicorp/go-azure-helpers/lang/pointer"
1212
"github.com/hashicorp/go-azure-helpers/lang/response"
13-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services"
14-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/sharedprivatelinkresources"
13+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/services"
14+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/sharedprivatelinkresources"
1515
"github.com/hashicorp/terraform-provider-azurerm/helpers/azure"
1616
"github.com/hashicorp/terraform-provider-azurerm/internal/locks"
1717
"github.com/hashicorp/terraform-provider-azurerm/internal/sdk"

internal/services/search/search_shared_private_link_service_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010

1111
"github.com/hashicorp/go-azure-helpers/lang/pointer"
12-
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/sharedprivatelinkresources"
12+
"github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/sharedprivatelinkresources"
1313
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance"
1414
"github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check"
1515
"github.com/hashicorp/terraform-provider-azurerm/internal/clients"

vendor/github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/services/model_searchserviceproperties.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

vendor/github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/adminkeys/README.md renamed to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/adminkeys/README.md

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-azure-sdk/resource-manager/search/2024-06-01-preview/adminkeys/client.go renamed to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/search/2025-05-01/adminkeys/client.go

File renamed without changes.

0 commit comments

Comments
 (0)