{"_id":"@azure/arm-powerplatform","name":"@azure/arm-powerplatform","dist-tags":{"beta":"1.0.0-beta.1","latest":"1.0.0-beta.1"},"versions":{"1.0.0-beta.1":{"name":"@azure/arm-powerplatform","version":"1.0.0-beta.1","description":"A generated SDK for PowerPlatformClient.","engines":{"node":">=20.0.0"},"sideEffects":false,"autoPublish":false,"type":"module","main":"./dist/commonjs/index.js","module":"./dist/esm/index.js","types":"./dist/commonjs/index.d.ts","browser":"./dist/browser/index.js","imports":{"#platform/*":{"browser":"./src/*-browser.mts","default":"./src/*.ts"}},"exports":{"./package.json":"./package.json",".":{"browser":{"types":"./dist/browser/index.d.ts","default":"./dist/browser/index.js"},"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./api":{"browser":{"types":"./dist/browser/api/index.d.ts","default":"./dist/browser/api/index.js"},"import":{"types":"./dist/esm/api/index.d.ts","default":"./dist/esm/api/index.js"},"require":{"types":"./dist/commonjs/api/index.d.ts","default":"./dist/commonjs/api/index.js"}},"./api/privateLinkResources":{"browser":{"types":"./dist/browser/api/privateLinkResources/index.d.ts","default":"./dist/browser/api/privateLinkResources/index.js"},"import":{"types":"./dist/esm/api/privateLinkResources/index.d.ts","default":"./dist/esm/api/privateLinkResources/index.js"},"require":{"types":"./dist/commonjs/api/privateLinkResources/index.d.ts","default":"./dist/commonjs/api/privateLinkResources/index.js"}},"./api/privateEndpointConnections":{"browser":{"types":"./dist/browser/api/privateEndpointConnections/index.d.ts","default":"./dist/browser/api/privateEndpointConnections/index.js"},"import":{"types":"./dist/esm/api/privateEndpointConnections/index.d.ts","default":"./dist/esm/api/privateEndpointConnections/index.js"},"require":{"types":"./dist/commonjs/api/privateEndpointConnections/index.d.ts","default":"./dist/commonjs/api/privateEndpointConnections/index.js"}},"./api/enterprisePolicies":{"browser":{"types":"./dist/browser/api/enterprisePolicies/index.d.ts","default":"./dist/browser/api/enterprisePolicies/index.js"},"import":{"types":"./dist/esm/api/enterprisePolicies/index.d.ts","default":"./dist/esm/api/enterprisePolicies/index.js"},"require":{"types":"./dist/commonjs/api/enterprisePolicies/index.d.ts","default":"./dist/commonjs/api/enterprisePolicies/index.js"}},"./api/accounts":{"browser":{"types":"./dist/browser/api/accounts/index.d.ts","default":"./dist/browser/api/accounts/index.js"},"import":{"types":"./dist/esm/api/accounts/index.d.ts","default":"./dist/esm/api/accounts/index.js"},"require":{"types":"./dist/commonjs/api/accounts/index.d.ts","default":"./dist/commonjs/api/accounts/index.js"}},"./api/operations":{"browser":{"types":"./dist/browser/api/operations/index.d.ts","default":"./dist/browser/api/operations/index.js"},"import":{"types":"./dist/esm/api/operations/index.d.ts","default":"./dist/esm/api/operations/index.js"},"require":{"types":"./dist/commonjs/api/operations/index.d.ts","default":"./dist/commonjs/api/operations/index.js"}},"./models":{"browser":{"types":"./dist/browser/models/index.d.ts","default":"./dist/browser/models/index.js"},"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}}},"keywords":["node","azure","cloud","typescript","browser","isomorphic"],"author":{"name":"Microsoft Corporation"},"license":"MIT","sdk-type":"mgmt","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git","directory":"sdk/powerplatform/arm-powerplatform"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerplatform/arm-powerplatform/README.md","prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","//metadata":{"constantPaths":[{"path":"src/api/powerPlatformContext.ts","prefix":"userAgentInfo"}]},"dependencies":{"@azure/core-util":"^1.12.0","@azure-rest/core-client":"^2.3.1","@azure/core-auth":"^1.9.0","@azure/core-rest-pipeline":"^1.20.0","@azure/logger":"^1.2.0","tslib":"^2.8.1"},"devDependencies":{"@azure/identity":"4.13.0","@types/node":"^20.19.25","cross-env":"^10.1.0","eslint":"^9.39.1","prettier":"^3.6.2","rimraf":"^6.1.0","@vitest/browser-playwright":"^4.1.2","@vitest/coverage-istanbul":"^4.1.2","dotenv":"^16.6.1","playwright":"^1.60.0","typescript":"~6.0.2","vitest":"^4.1.2","@azure-tools/test-credential":"^2.1.2","@azure/dev-tool":"^1.0.0","@azure-tools/test-recorder":"^4.1.1","@azure/eslint-plugin-azure-sdk":"^3.0.0","@azure-tools/test-utils-vitest":"^2.0.1"},"//sampleConfiguration":{"productName":"@azure/arm-powerplatform","productSlugs":["azure"],"disableDocsMs":true,"apiRefLink":"https://learn.microsoft.com/javascript/api/@azure/arm-powerplatform?view=azure-node-preview"},"scripts":{"clean":"rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log","extract-api":"rimraf review && dev-tool run extract-api","pack":"pnpm pack 2>&1","lint":"echo skipped","lint:fix":"echo skipped","build:samples":"tsc -p config/tsconfig.samples.json && dev-tool samples publish -f","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"","execute:samples":"dev-tool samples run samples-dev","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"","generate:client":"echo skipped","test:browser":"dev-tool run test:vitest --browser","build":"npm run clean && dev-tool run build-package && dev-tool run extract-api","test:node":"dev-tool run test:vitest","test":"tsc -b --noEmit && npm run test:node && npm run test:browser","update-snippets":"dev-tool run update-snippets"},"_id":"@azure/arm-powerplatform@1.0.0-beta.1","_integrity":"sha512-Q86W24Qj3G1DOkDbg7gxuUTa2Gy4eDvvcUlgzLlKiOHYXKHHF5/AoVPVOYprbFNaxwmZqvS/jIUS9VzmboN28w==","_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App2\\temp\\6b37fcdf-cdd9-4b55-beda-2ef5c7c3edef\\azure-arm-powerplatform-1.0.0-beta.1.tgz","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App2\\temp\\6b37fcdf-cdd9-4b55-beda-2ef5c7c3edef\\azure-arm-powerplatform-1.0.0-beta.1.tgz","tag":"beta","_nodeVersion":"18.5.0","dist":{"integrity":"sha512-Q86W24Qj3G1DOkDbg7gxuUTa2Gy4eDvvcUlgzLlKiOHYXKHHF5/AoVPVOYprbFNaxwmZqvS/jIUS9VzmboN28w==","shasum":"f24f800ca9fd0a59180165c2ac4938d232b755d7","tarball":"https://registry.npmjs.org/@azure/arm-powerplatform/-/arm-powerplatform-1.0.0-beta.1.tgz","fileCount":295,"unpackedSize":1075914,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG0lzDa7pE3LMVsao8EabbKkdhONr9MskH/lXxcMQFpuAiEA3u7LZ1JdHD4cMH1n888vk46ciQ2X2doabhQKZQ6e+7I="}]},"_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/arm-powerplatform_1.0.0-beta.1_1782096324720_0.5501506633893765"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-22T02:45:24.505Z","1.0.0-beta.1":"2026-06-22T02:45:24.855Z","modified":"2026-06-22T02:45:25.165Z"},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"description":"A generated SDK for PowerPlatformClient.","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerplatform/arm-powerplatform/README.md","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git","directory":"sdk/powerplatform/arm-powerplatform"},"author":{"name":"Microsoft Corporation"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"license":"MIT","readme":"# Azure PowerPlatform client library for JavaScript\n\nThis package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PowerPlatform client.\n\n// (missing-service-description) Add service description\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerplatform/arm-powerplatform)\n- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-powerplatform)\n- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-powerplatform?view=azure-node-preview)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerplatform/arm-powerplatform/samples)\n\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- An [Azure subscription][azure_sub].\n\n### Install the `@azure/arm-powerplatform` package\n\nInstall the Azure PowerPlatform client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure/arm-powerplatform\n```\n\n### Create and authenticate a `PowerPlatformClient`\n\nTo create a client object to access the Azure PowerPlatform API, you will need the `endpoint` of your Azure PowerPlatform resource and a `credential`. The Azure PowerPlatform client can use Azure Active Directory credentials to authenticate.\nYou can find the endpoint for your Azure PowerPlatform resource in the [Azure Portal][azure_portal].\n\nYou can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).\n\nTo use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:\n\n```bash\nnpm install @azure/identity\n```\n\nYou will also need to **register a new AAD application and grant access to Azure PowerPlatform** by assigning the suitable role to your service principal (note: roles such as `\"Owner\"` will not grant the necessary permissions).\n\nFor 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).\n\nUsing Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.\n\n```ts snippet:ReadmeSampleCreateClient_Node\nimport { PowerPlatformClient } from \"@azure/arm-powerplatform\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\n\nconst subscriptionId = \"00000000-0000-0000-0000-000000000000\";\nconst client = new PowerPlatformClient(new DefaultAzureCredential(), subscriptionId);\n```\n\nFor browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.\n\n```ts snippet:ReadmeSampleCreateClient_Browser\nimport { InteractiveBrowserCredential } from \"@azure/identity\";\nimport { PowerPlatformClient } from \"@azure/arm-powerplatform\";\n\nconst credential = new InteractiveBrowserCredential({\n  tenantId: \"<YOUR_TENANT_ID>\",\n  clientId: \"<YOUR_CLIENT_ID>\",\n});\nconst subscriptionId = \"00000000-0000-0000-0000-000000000000\";\nconst client = new PowerPlatformClient(credential, subscriptionId);\n```\n\n\n### JavaScript Bundle\nTo 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).\n\n## Key concepts\n\n### PowerPlatformClient\n\n`PowerPlatformClient` is the primary interface for developers using the Azure PowerPlatform client library. Explore the methods on this client object to understand the different features of the Azure PowerPlatform service that you can access.\n\n## Troubleshooting\n\n### Logging\n\nEnabling 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`:\n\n```ts snippet:SetLogLevel\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor 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).\n\n## Next steps\n\nPlease take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerplatform/arm-powerplatform/samples) directory for detailed examples on how to use this library.\n\n## Contributing\n\nIf 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.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n[azure_sub]: https://azure.microsoft.com/free/\n[azure_portal]: https://portal.azure.com\n[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity\n[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_rev":"1-11ada78615f8cdb685bdfe44d01420ef"}