Repository navigation
[AutoPR @azure-arm-platformvalidation]-generated-from-SDK Generation - JS-6890416 #39663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shivangirana20
merged 9 commits into
main
from
sdkauto/@azure-arm-platformvalidation-6720528
Sep 29, 2026
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
709ffde
Configurations: 'specification/platformvalidation/resource-manager/M…
azure-sdk 7a85b1e
Regenerate PlatformValidation for 2026-08-01-preview
cd5f352
Merge branch 'main' into sdkauto/@azure-arm-platformvalidation-6720528
kazrael2119 baaebb9
Update pnpm-lock.yaml
kazrael2119 29f3304
Configurations: 'specification/platformvalidation/resource-manager/M…
azure-sdk 6bf9925
Configurations: 'specification/platformvalidation/resource-manager/M…
azure-sdk fde25dc
Configurations: 'specification/platformvalidation/resource-manager/M…
azure-sdk f5e5fcd
Merge main and synchronize PlatformValidation lockfile
03aa36c
Merge remote-tracking branch 'origin/main' into sdkauto/@azure-arm-pl…
jeremymeng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Release History | ||
|
|
||
| ## 1.0.0-beta.1 (2026-08-19) | ||
|
|
||
| ### Features Added | ||
|
|
||
| This is the first preview release of the @azure/arm-platformvalidation package. It introduces a new SDK generation with layered APIs, smaller bundles, and improved ergonomics. For more details, see the https://aka.ms/azsdk/js/sdk/quickstart. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| Copyright (c) Microsoft Corporation. | ||
|
|
||
| MIT License | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
115 changes: 115 additions & 0 deletions
115
sdk/platformvalidation/arm-platformvalidation/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| # Azure PlatformValidation client library for JavaScript | ||
|
|
||
| This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PlatformValidation client. | ||
|
|
||
| Microsoft.PlatformValidation Resource Provider management API. | ||
|
|
||
| Key links: | ||
|
|
||
| - [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/platformvalidation/arm-platformvalidation) | ||
| - [Package (NPM)](https://www.npmjs.com/package/@azure/arm-platformvalidation) | ||
| - [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-platformvalidation?view=azure-node-preview) | ||
| - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/platformvalidation/arm-platformvalidation/samples) | ||
|
|
||
| ## Getting started | ||
|
|
||
| ### Currently supported environments | ||
|
|
||
| - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule) | ||
| - Latest versions of Safari, Chrome, Edge and Firefox. | ||
|
|
||
| See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. | ||
|
|
||
| ### Prerequisites | ||
|
|
||
| - An [Azure subscription][azure_sub]. | ||
|
|
||
| ### Install the `@azure/arm-platformvalidation` package | ||
|
|
||
| Install the Azure PlatformValidation client library for JavaScript with `npm`: | ||
|
|
||
| ```bash | ||
| npm install @azure/arm-platformvalidation | ||
| ``` | ||
|
|
||
| ### Create and authenticate a `PlatformValidationClient` | ||
|
|
||
| To create a client object to access the Azure PlatformValidation API, you will need the `endpoint` of your Azure PlatformValidation resource and a `credential`. The Azure PlatformValidation client can use Microsoft Entra credentials to authenticate. | ||
| You can find the endpoint for your Azure PlatformValidation resource in the [Azure Portal][azure_portal]. | ||
|
|
||
| You can authenticate with Microsoft Entra ID using a credential from the [@azure/identity][azure_identity] library or [an existing Microsoft Entra token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). | ||
|
|
||
| To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package: | ||
|
|
||
| ```bash | ||
| npm install @azure/identity | ||
| ``` | ||
|
|
||
| You will also need to **register a new Microsoft Entra application and grant access to Azure PlatformValidation** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). | ||
|
|
||
| For more information about how to create a Microsoft Entra application check out [this guide](https://learn.microsoft.com/entra/identity-platform/howto-create-service-principal-portal). | ||
|
|
||
| Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client. | ||
|
|
||
| ```ts snippet:ReadmeSampleCreateClient_Node | ||
| import { PlatformValidationClient } from "@azure/arm-platformvalidation"; | ||
| import { DefaultAzureCredential } from "@azure/identity"; | ||
|
|
||
| const subscriptionId = "00000000-0000-0000-0000-000000000000"; | ||
| const client = new PlatformValidationClient(new DefaultAzureCredential(), subscriptionId); | ||
| ``` | ||
|
|
||
| For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate. | ||
|
|
||
| ```ts snippet:ReadmeSampleCreateClient_Browser | ||
| import { InteractiveBrowserCredential } from "@azure/identity"; | ||
| import { PlatformValidationClient } from "@azure/arm-platformvalidation"; | ||
|
|
||
| const credential = new InteractiveBrowserCredential({ | ||
| tenantId: "<YOUR_TENANT_ID>", | ||
| clientId: "<YOUR_CLIENT_ID>", | ||
| }); | ||
| const subscriptionId = "00000000-0000-0000-0000-000000000000"; | ||
| const client = new PlatformValidationClient(credential, subscriptionId); | ||
| ``` | ||
|
|
||
|
|
||
| ### JavaScript Bundle | ||
| 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). | ||
|
|
||
| ## Key concepts | ||
|
|
||
| ### PlatformValidationClient | ||
|
|
||
| `PlatformValidationClient` is the primary interface for developers using the Azure PlatformValidation client library. Explore the methods on this client object to understand the different features of the Azure PlatformValidation service that you can access. | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### Logging | ||
|
|
||
| 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`: | ||
|
|
||
| ```ts snippet:SetLogLevel | ||
| import { setLogLevel } from "@azure/logger"; | ||
|
|
||
| setLogLevel("info"); | ||
| ``` | ||
|
|
||
| For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). | ||
|
|
||
| ## Next steps | ||
|
|
||
| Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/platformvalidation/arm-platformvalidation/samples) directory for detailed examples on how to use this library. | ||
|
|
||
| ## Contributing | ||
|
|
||
| If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. | ||
|
|
||
| ## Related projects | ||
|
|
||
| - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) | ||
|
|
||
| [azure_sub]: https://azure.microsoft.com/free/ | ||
| [azure_portal]: https://portal.azure.com | ||
| [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity | ||
| [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential | ||
1 change: 1 addition & 0 deletions
1
sdk/platformvalidation/arm-platformvalidation/api-extractor.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| { "extends": "../../../api-extractor-base.json" } |
4 changes: 4 additions & 0 deletions
4
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.lint.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "extends": "../../../../tsconfig.json", | ||
| "include": ["../src", "../test"] | ||
| } |
8 changes: 8 additions & 0 deletions
8
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.samples.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/samples.json", | ||
| "compilerOptions": { | ||
| "paths": { | ||
| "@azure/arm-platformvalidation": ["../dist/esm"] | ||
| } | ||
| } | ||
| } |
3 changes: 3 additions & 0 deletions
3
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.snippets.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/snippets.json" | ||
| } |
20 changes: 20 additions & 0 deletions
20
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.src.browser.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/src.browser.json", | ||
| "compilerOptions": { | ||
| "resolveJsonModule": true | ||
| }, | ||
| "include": [ | ||
| "../src/index.ts", | ||
| "../src/api/index.ts", | ||
| "../src/api/validationTestCategories/index.ts", | ||
| "../src/api/validationTestVersions/index.ts", | ||
| "../src/api/validationTests/index.ts", | ||
| "../src/api/validationTestRuns/index.ts", | ||
| "../src/api/executionPlanRuns/index.ts", | ||
| "../src/api/validationExecutionPlans/index.ts", | ||
| "../src/api/cloudValidations/index.ts", | ||
| "../src/api/operations/index.ts", | ||
| "../src/api/operationStatus/index.ts", | ||
| "../src/models/index.ts" | ||
| ] | ||
| } |
20 changes: 20 additions & 0 deletions
20
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.src.cjs.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/src.cjs.json", | ||
| "compilerOptions": { | ||
| "resolveJsonModule": true | ||
| }, | ||
| "include": [ | ||
| "../src/index.ts", | ||
| "../src/api/index.ts", | ||
| "../src/api/validationTestCategories/index.ts", | ||
| "../src/api/validationTestVersions/index.ts", | ||
| "../src/api/validationTests/index.ts", | ||
| "../src/api/validationTestRuns/index.ts", | ||
| "../src/api/executionPlanRuns/index.ts", | ||
| "../src/api/validationExecutionPlans/index.ts", | ||
| "../src/api/cloudValidations/index.ts", | ||
| "../src/api/operations/index.ts", | ||
| "../src/api/operationStatus/index.ts", | ||
| "../src/models/index.ts" | ||
| ] | ||
| } |
20 changes: 20 additions & 0 deletions
20
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.src.esm.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/src.esm.json", | ||
| "compilerOptions": { | ||
| "resolveJsonModule": true | ||
| }, | ||
| "include": [ | ||
| "../src/index.ts", | ||
| "../src/api/index.ts", | ||
| "../src/api/validationTestCategories/index.ts", | ||
| "../src/api/validationTestVersions/index.ts", | ||
| "../src/api/validationTests/index.ts", | ||
| "../src/api/validationTestRuns/index.ts", | ||
| "../src/api/executionPlanRuns/index.ts", | ||
| "../src/api/validationExecutionPlans/index.ts", | ||
| "../src/api/cloudValidations/index.ts", | ||
| "../src/api/operations/index.ts", | ||
| "../src/api/operationStatus/index.ts", | ||
| "../src/models/index.ts" | ||
| ] | ||
| } |
10 changes: 10 additions & 0 deletions
10
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.test.browser.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/test.browser.json", | ||
| "compilerOptions": { | ||
| "paths": { | ||
| "@azure/arm-platformvalidation": ["../src/index.ts"], | ||
| "@azure/arm-platformvalidation/*": ["../src/*"], | ||
| "$internal/*": ["../src/*"] | ||
| } | ||
| } | ||
| } |
10 changes: 10 additions & 0 deletions
10
sdk/platformvalidation/arm-platformvalidation/config/tsconfig.test.node.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "extends": "../../../../eng/tsconfigs/test.node.json", | ||
| "compilerOptions": { | ||
| "paths": { | ||
| "@azure/arm-platformvalidation": ["../src/index.ts"], | ||
| "@azure/arm-platformvalidation/*": ["../src/*"], | ||
| "$internal/*": ["../src/*"] | ||
| } | ||
| } | ||
| } |
28 changes: 28 additions & 0 deletions
28
sdk/platformvalidation/arm-platformvalidation/eslint.config.mjs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT License. | ||
|
|
||
| import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; | ||
|
|
||
| export default [ | ||
| ...azsdkEslint.config([ | ||
| { | ||
| rules: { | ||
| "@azure/azure-sdk/ts-modules-only-named": "warn", | ||
| "@azure/azure-sdk/ts-package-json-types": "warn", | ||
| "@azure/azure-sdk/ts-package-json-engine-is-present": "warn", | ||
| "@azure/azure-sdk/ts-package-json-files-required": "off", | ||
| "@azure/azure-sdk/ts-package-json-main-is-cjs": "off", | ||
| "tsdoc/syntax": "warn", | ||
| }, | ||
| }, | ||
| ]), | ||
| { | ||
| files: ["src/**/*.ts", "src/**/*.mts", "test/**/*.ts"], | ||
| languageOptions: { | ||
| parserOptions: { | ||
| projectService: false, | ||
| project: "./config/tsconfig.lint.json", | ||
| }, | ||
| }, | ||
| }, | ||
| ]; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.