Skip to content

Commit 0968aee

Browse files
author
SDKAuto
committed
CodeGen from PR 29824 in Azure/azure-rest-api-specs
Merge 72399e1446b61eb1154adeb54eb1a3bb19ab028f into 473d98be4cc2fb14db8bddbba8d3184d0aa49636
1 parent 29c1524 commit 0968aee

File tree

51 files changed

+1219
-180
lines changed

Some content is hidden

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

51 files changed

+1219
-180
lines changed

common/config/rush/pnpm-lock.yaml

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

sdk/appconfiguration/arm-appconfiguration/CHANGELOG.md

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

3+
## 4.2.0-beta.1 (2025-02-21)
4+
Compared with version 4.1.0
5+
6+
### Features Added
7+
8+
- Added operation ConfigurationStores.generateSasToken
9+
- Added operation ConfigurationStores.resetSasKind
10+
- Added Interface ConfigurationStoresDeleteHeaders
11+
- Added Interface ConfigurationStoresGenerateSasTokenOptionalParams
12+
- Added Interface ConfigurationStoresPurgeDeletedHeaders
13+
- Added Interface ConfigurationStoresResetSasKindOptionalParams
14+
- Added Interface ExperimentationProperties
15+
- Added Interface KeyValuesDeleteHeaders
16+
- Added Interface KvSasTokenScope
17+
- Added Interface PrivateEndpointConnectionsDeleteHeaders
18+
- Added Interface ResetSasKindParameters
19+
- Added Interface SasKindInfo
20+
- Added Interface SasProperties
21+
- Added Interface SasTokenGenerationParameters
22+
- Added Interface SasTokenGenerationResult
23+
- Added Interface SasTokenScope
24+
- Added Interface SnapshotSasTokenScope
25+
- Added Interface TelemetryProperties
26+
- Added Type Alias ConfigurationStoresGenerateSasTokenResponse
27+
- Added Type Alias ConfigurationStoresResetSasKindResponse
28+
- Added Type Alias ResourceType
29+
- Added Type Alias SasKind
30+
- Added Type Alias SasStatus
31+
- Added Type Alias SasTokenScopeUnion
32+
- Interface ConfigurationStore has a new optional parameter experimentation
33+
- Interface ConfigurationStore has a new optional parameter sas
34+
- Interface ConfigurationStore has a new optional parameter telemetry
35+
- Interface ConfigurationStoreUpdateParameters has a new optional parameter experimentation
36+
- Interface ConfigurationStoreUpdateParameters has a new optional parameter sas
37+
- Interface ConfigurationStoreUpdateParameters has a new optional parameter telemetry
38+
- Interface ReplicasDeleteHeaders has a new optional parameter location
39+
- Interface ReplicasDeleteHeaders has a new optional parameter retryAfter
40+
- Added Enum KnownResourceType
41+
- Added Enum KnownSasKind
42+
- Added Enum KnownSasStatus
43+
44+
345
## 4.1.0 (2024-11-11)
446

547
### Features Added
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Copyright (c) Microsoft Corporation.
1+
The MIT License (MIT)
22

3-
MIT License
3+
Copyright (c) 2025 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
1414

15-
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/appconfiguration/arm-appconfiguration/README.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure AppConfigurationManagement client.
44

5+
6+
57
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration) |
68
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-appconfiguration) |
7-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-appconfiguration) |
9+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-appconfiguration?view=azure-node-preview) |
810
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
911

1012
## Getting started
@@ -42,34 +44,27 @@ npm install @azure/identity
4244
```
4345

4446
You will also need to **register a new AAD application and grant access to Azure AppConfigurationManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
45-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4647

4748
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
4849

49-
```ts snippet:ReadmeSampleCreateClient_Node
50-
import { AppConfigurationManagementClient } from "@azure/arm-appconfiguration";
51-
import { DefaultAzureCredential } from "@azure/identity";
50+
```javascript
51+
const { AppConfigurationManagementClient } = require("@azure/arm-appconfiguration");
52+
const { DefaultAzureCredential } = require("@azure/identity");
53+
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
5254

5355
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5456
const client = new AppConfigurationManagementClient(new DefaultAzureCredential(), subscriptionId);
55-
```
56-
57-
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
58-
59-
```ts snippet:ReadmeSampleCreateClient_Browser
60-
import { InteractiveBrowserCredential } from "@azure/identity";
61-
import { AppConfigurationManagementClient } from "@azure/arm-appconfiguration";
6257

63-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
64-
const credential = new InteractiveBrowserCredential({
65-
tenantId: "<YOUR_TENANT_ID>",
66-
clientId: "<YOUR_CLIENT_ID>",
67-
});
68-
const client = new AppConfigurationManagementClient(credential, subscriptionId);
58+
// For client-side applications running in the browser, use this code instead:
59+
// const credential = new InteractiveBrowserCredential({
60+
// tenantId: "<YOUR_TENANT_ID>",
61+
// clientId: "<YOUR_CLIENT_ID>"
62+
// });
63+
// const client = new AppConfigurationManagementClient(credential, subscriptionId);
6964
```
7065

71-
### JavaScript Bundle
7266

67+
### JavaScript Bundle
7368
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7469

7570
## Key concepts
@@ -84,9 +79,8 @@ To use this client library in the browser, first you need to use a bundler. For
8479

8580
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
8681

87-
```ts snippet:SetLogLevel
88-
import { setLogLevel } from "@azure/logger";
89-
82+
```javascript
83+
const { setLogLevel } = require("@azure/logger");
9084
setLogLevel("info");
9185
```
9286

@@ -104,7 +98,7 @@ If you'd like to contribute to this library, please read the [contributing guide
10498

10599
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
106100

107-
101+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fappconfiguration%2Farm-appconfiguration%2FREADME.png)
108102

109103
[azure_cli]: https://learn.microsoft.com/cli/azure
110104
[azure_sub]: https://azure.microsoft.com/free/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "2d4992bd73955a93f972ba6c476e980e7e16a992",
2+
"commit": "4e4d94b4da1b3890d1eaef3b346248f91f09d484",
33
"readme": "specification/appconfiguration/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\appconfiguration\\resource-manager\\readme.md --use=@autorest/[email protected].27 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/appconfiguration/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].15",
7-
"use": "@autorest/[email protected].27"
6+
"release_tool": "@azure-tools/[email protected].21",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/appconfiguration/arm-appconfiguration/api-extractor.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3-
"mainEntryPointFilePath": "dist/esm/index.d.ts",
3+
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
44
"docModel": {
55
"enabled": true
66
},
@@ -11,7 +11,7 @@
1111
"dtsRollup": {
1212
"enabled": true,
1313
"untrimmedFilePath": "",
14-
"publicTrimmedFilePath": "dist/arm-appconfiguration.d.ts"
14+
"publicTrimmedFilePath": "./types/arm-appconfiguration.d.ts"
1515
},
1616
"messages": {
1717
"tsdocMessageReporting": {
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

sdk/appconfiguration/arm-appconfiguration/package.json

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for AppConfigurationManagementClient.",
6-
"version": "4.1.0",
6+
"version": "4.2.0-beta.1",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
1111
"@azure/abort-controller": "^2.1.2",
12-
"@azure/core-auth": "^1.6.0",
13-
"@azure/core-client": "^1.7.0",
12+
"@azure/core-auth": "^1.9.0",
13+
"@azure/core-client": "^1.9.2",
1414
"@azure/core-lro": "^2.5.4",
15-
"@azure/core-paging": "^1.2.0",
16-
"@azure/core-rest-pipeline": "^1.14.0",
17-
"tslib": "^2.2.0"
15+
"@azure/core-paging": "^1.6.2",
16+
"@azure/core-rest-pipeline": "^1.19.0",
17+
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
2020
"node",
@@ -25,21 +25,21 @@
2525
],
2626
"license": "MIT",
2727
"main": "./dist/commonjs/index.js",
28-
"module": "./dist/esm/index.js",
28+
"module": "./dist-esm/src/index.js",
2929
"types": "./dist/commonjs/index.d.ts",
3030
"devDependencies": {
3131
"@azure-tools/test-credential": "^2.0.0",
3232
"@azure-tools/test-recorder": "^4.1.0",
3333
"@azure-tools/test-utils-vitest": "^1.0.0",
3434
"@azure/dev-tool": "^1.0.0",
35-
"@azure/identity": "^4.2.1",
35+
"@azure/identity": "^4.7.0",
3636
"@types/node": "^18.0.0",
37-
"@vitest/browser": "^3.0.3",
38-
"@vitest/coverage-istanbul": "^3.0.3",
37+
"@vitest/browser": "^3.0.6",
38+
"@vitest/coverage-istanbul": "^3.0.6",
3939
"dotenv": "^16.0.0",
40-
"playwright": "^1.49.1",
41-
"typescript": "~5.7.2",
42-
"vitest": "^3.0.3"
40+
"playwright": "^1.50.1",
41+
"typescript": "~5.6.2",
42+
"vitest": "^3.0.6"
4343
},
4444
"repository": {
4545
"type": "git",
@@ -79,7 +79,7 @@
7979
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
8080
"unit-test:browser": "echo skipped",
8181
"unit-test:node": "dev-tool run test:vitest",
82-
"update-snippets": "dev-tool run update-snippets"
82+
"update-snippets": "echo skipped"
8383
},
8484
"sideEffects": false,
8585
"//metadata": {
@@ -92,14 +92,6 @@
9292
},
9393
"autoPublish": true,
9494
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration",
95-
"//sampleConfiguration": {
96-
"productName": "",
97-
"productSlugs": [
98-
"azure"
99-
],
100-
"disableDocsMs": true,
101-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-appconfiguration?view=azure-node-preview"
102-
},
10395
"type": "module",
10496
"tshy": {
10597
"project": "./tsconfig.src.json",
@@ -140,4 +132,4 @@
140132
}
141133
}
142134
}
143-
}
135+
}

0 commit comments

Comments
 (0)