Skip to content

[AutoPR @azure/arm-powerbidedicated] [TSP Migration]--powerbidedicated #15346

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 40 additions & 8 deletions sdk/powerbidedicated/arm-powerbidedicated/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,47 @@
# Release History

## 4.0.2 (Unreleased)

## 5.0.0 (2025-04-28)
### Features Added

### Breaking Changes
- Added Interface AutoScaleVCoresListByResourceGroupNextOptionalParams
- Added Interface AutoScaleVCoresListBySubscriptionNextOptionalParams
- Added Interface CapacitiesCreateHeaders
- Added Interface CapacitiesDeleteHeaders
- Added Interface CapacitiesResumeHeaders
- Added Interface CapacitiesSuspendHeaders
- Added Interface CapacitiesUpdateHeaders
- Added Interface LogSpecification
- Added Interface MetricSpecification
- Added Interface MetricSpecificationDimensionsItem
- Added Interface OperationProperties
- Added Interface ServiceSpecification
- Added Interface TrackedResource
- Added Type Alias AutoScaleVCoresListByResourceGroupNextResponse
- Added Type Alias AutoScaleVCoresListBySubscriptionNextResponse
- Added Type Alias CreatedByType
- Interface AutoScaleVCoreListResult has a new optional parameter nextLink
- Interface CapacitySku has a new optional parameter capacity
- Interface DedicatedCapacity has a new optional parameter friendlyName
- Interface DedicatedCapacity has a new optional parameter tenantId
- Interface DedicatedCapacityMutableProperties has a new optional parameter friendlyName
- Interface DedicatedCapacityMutableProperties has a new optional parameter tenantId
- Interface DedicatedCapacityUpdateParameters has a new optional parameter friendlyName
- Interface DedicatedCapacityUpdateParameters has a new optional parameter tenantId
- Interface Operation has a new optional parameter origin
- Interface Operation has a new optional parameter properties
- Interface OperationDisplay has a new optional parameter description
- Interface SkuDetailsForExistingResource has a new optional parameter resourceType
- Added Enum KnownCreatedByType

### Bugs Fixed

### Other Changes
### Breaking Changes

- Interface Resource no longer has parameter location
- Interface Resource no longer has parameter tags
- Type of parameter createdByType of interface SystemData is changed from IdentityType to CreatedByType
- Type of parameter lastModifiedByType of interface SystemData is changed from IdentityType to CreatedByType
- Removed Enum KnownIdentityType

## 4.0.1 (2023-01-31)

### Features Added
Expand Down Expand Up @@ -55,4 +87,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.

To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).

To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/powerbidedicated/arm-powerbidedicated/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ 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.
SOFTWARE.
8 changes: 2 additions & 6 deletions sdk/powerbidedicated/arm-powerbidedicated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure PowerBIDedicated** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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`.

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).

Expand All @@ -64,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { PowerBIDedicated } from "@azure/arm-powerbidedicated";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
clientId: "<YOUR_CLIENT_ID>"
});
const client = new PowerBIDedicated(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
Expand Down Expand Up @@ -109,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)



[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
10 changes: 5 additions & 5 deletions sdk/powerbidedicated/arm-powerbidedicated/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"readme": "specification\\powerbidedicated\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\powerbidedicated\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.7 --generate-sample=true",
"commit": "ab0ab49d4a4585e4a18d916dafae45e2d9baf791",
"readme": "specification/powerbidedicated/resource-manager/readme.md",
"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/powerbidedicated/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.0",
"use": "@autorest/[email protected].0-rc.7"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.26",
"use": "@autorest/typescript@^6.0.12"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
34 changes: 13 additions & 21 deletions sdk/powerbidedicated/arm-powerbidedicated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for PowerBIDedicated.",
"version": "4.0.2",
"version": "5.0.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-client": "^1.9.2",
"@azure/core-lro": "^2.2.0",
"@azure/core-client": "^1.9.3",
"@azure/core-lro": "^2.5.4",
"@azure/core-paging": "^1.6.2",
"@azure/core-rest-pipeline": "^1.19.0",
"@azure/core-rest-pipeline": "^1.19.1",
"tslib": "^2.8.1"
},
"keywords": [
Expand All @@ -28,18 +28,19 @@
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"type": "module",
"devDependencies": {
"@azure-tools/test-credential": "^2.0.0",
"@azure-tools/test-recorder": "^4.1.0",
"@azure-tools/test-utils-vitest": "^1.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.7.0",
"@azure/identity": "^4.9.1",
"@azure/logger": "^1.1.4",
"@types/node": "^18.0.0",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-istanbul": "^3.0.9",
"dotenv": "^16.0.0",
"playwright": "^1.50.1",
"playwright": "^1.52.0",
"typescript": "~5.8.2",
"vitest": "^3.0.9"
},
Expand All @@ -60,16 +61,16 @@
"build:node": "echo skipped",
"build:samples": "echo skipped.",
"build:test": "echo skipped",
"check-format": "echo skipped",
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:vitest --esm",
"lint": "echo skipped",
"minify": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run integration-test",
Expand All @@ -90,16 +91,9 @@
]
},
"autoPublish": true,
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerbidedicated/arm-powerbidedicated",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-powerbidedicated?view=azure-node-preview"
},
"type": "module",
"tshy": {
"project": "./tsconfig.src.json",
"exports": {
Expand All @@ -116,8 +110,6 @@
],
"selfLink": false
},
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"exports": {
"./package.json": "./package.json",
".": {
Expand All @@ -139,4 +131,4 @@
}
}
}
}
}
Loading