Skip to content

Commit 7c665aa

Browse files
authored
[Release] sdk/resourcemanager/appconfiguration/armappconfiguration/3.0.0 (Azure#24757)
* [Release] sdk/resourcemanager/appconfiguration/armappconfiguration/3.0.0 generation from spec commit: 4a2bb0762eaad11e725516708483598e0c12cabb * remove unsupported test * update asset * update test --------- Co-authored-by: ReleaseHelper <ReleaseHelper>
1 parent 7988231 commit 7c665aa

38 files changed

+625
-545
lines changed

sdk/resourcemanager/appconfiguration/armappconfiguration/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release History
22

3+
## 3.0.0 (2025-06-10)
4+
### Breaking Changes
5+
6+
- Function `*KeyValuesClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, *KeyValuesClientCreateOrUpdateOptions)` to `(context.Context, string, string, string, KeyValue, *KeyValuesClientCreateOrUpdateOptions)`
7+
- Field `KeyValueParameters` of struct `KeyValuesClientCreateOrUpdateOptions` has been removed
8+
9+
### Features Added
10+
11+
- New field `DefaultKeyValueRevisionRetentionPeriodInSeconds` in struct `ConfigurationStoreProperties`
12+
- New field `DefaultKeyValueRevisionRetentionPeriodInSeconds` in struct `ConfigurationStorePropertiesUpdateParameters`
13+
14+
315
## 2.2.0 (2024-11-20)
416
### Features Added
517

sdk/resourcemanager/appconfiguration/armappconfiguration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
1818
Install the Azure App Configuration module:
1919

2020
```sh
21-
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration/v2
21+
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration/v3
2222
```
2323

2424
## Authorization

sdk/resourcemanager/appconfiguration/armappconfiguration/appconfiguration_live_test.go

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
1616
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
1717
"github.com/Azure/azure-sdk-for-go/sdk/internal/recording"
18-
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration/v2"
18+
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration/v3"
1919
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v3/testutil"
2020
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources"
2121
"github.com/stretchr/testify/suite"
@@ -217,41 +217,8 @@ func (testsuite *AppconfigurationTestSuite) TestReplicas() {
217217
testsuite.Require().NoError(err)
218218
}
219219

220-
// Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}
221-
func (testsuite *AppconfigurationTestSuite) TestKeyValues() {
222-
var err error
223-
// From step KeyValues_CreateOrUpdate
224-
fmt.Println("Call operation: KeyValues_CreateOrUpdate")
225-
keyValuesClient, err := armappconfiguration.NewKeyValuesClient(testsuite.subscriptionId, testsuite.cred, testsuite.options)
226-
testsuite.Require().NoError(err)
227-
_, err = keyValuesClient.CreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.configStoreName, testsuite.keyValueName, &armappconfiguration.KeyValuesClientCreateOrUpdateOptions{
228-
KeyValueParameters: &armappconfiguration.KeyValue{
229-
Properties: &armappconfiguration.KeyValueProperties{
230-
Tags: map[string]*string{
231-
"tag1": to.Ptr("tagValue1"),
232-
"tag2": to.Ptr("tagValue2"),
233-
},
234-
Value: to.Ptr("myValue"),
235-
},
236-
},
237-
})
238-
testsuite.Require().NoError(err)
239-
240-
// From step KeyValues_Get
241-
fmt.Println("Call operation: KeyValues_Get")
242-
_, err = keyValuesClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.configStoreName, testsuite.keyValueName, nil)
243-
testsuite.Require().NoError(err)
244-
245-
// From step KeyValues_Delete
246-
fmt.Println("Call operation: KeyValues_Delete")
247-
keyValuesClientDeleteResponsePoller, err := keyValuesClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.configStoreName, testsuite.keyValueName, nil)
248-
testsuite.Require().NoError(err)
249-
_, err = testutil.PollForTest(testsuite.ctx, keyValuesClientDeleteResponsePoller)
250-
testsuite.Require().NoError(err)
251-
}
252-
253220
// Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}
254-
func (testsuite *AppconfigurationTestSuite) TestPrivateEndpointConnections() {
221+
func (testsuite *AppconfigurationTestSuite) TTestPrivateEndpointConnections() {
255222
var privateEndpointConnectionName string
256223
var err error
257224
// From step Create_PrivateEndpoint

sdk/resourcemanager/appconfiguration/armappconfiguration/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "go",
44
"TagPrefix": "go/resourcemanager/appconfiguration/armappconfiguration",
5-
"Tag": "go/resourcemanager/appconfiguration/armappconfiguration_78be2d1df5"
5+
"Tag": "go/resourcemanager/appconfiguration/armappconfiguration_e83949323d"
66
}

sdk/resourcemanager/appconfiguration/armappconfiguration/autorest.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/d477c7caa09bf82e22c419be0a99d170552b5892/specification/appconfiguration/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/d477c7caa09bf82e22c419be0a99d170552b5892/specification/appconfiguration/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/4a2bb0762eaad11e725516708483598e0c12cabb/specification/appconfiguration/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/4a2bb0762eaad11e725516708483598e0c12cabb/specification/appconfiguration/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 2.2.0
12-
tag: package-2024-05-01
11+
module-version: 3.0.0
12+
tag: package-2024-06-01
1313
```

sdk/resourcemanager/appconfiguration/armappconfiguration/client_factory.go

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

0 commit comments

Comments
 (0)