Skip to content

Commit

Permalink
CodeGen from PR 32033 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d78af16e4217cd5ce9ddab20cee262d0fa82cb17 into 12b6b0a52d97b23a3732f66d80c77aa45bf83a1e
  • Loading branch information
SDKAuto committed Jan 10, 2025
1 parent 1a03c44 commit 101ba12
Show file tree
Hide file tree
Showing 22 changed files with 1,597 additions and 121 deletions.
41 changes: 13 additions & 28 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 40 additions & 9 deletions sdk/appservice/arm-appservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
# Release History

## 15.0.1 (Unreleased)

## 15.1.0 (2025-01-10)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group SiteCertificates
- Added operation WebApps.updateMachineKey
- Added Interface CipherSuites
- Added Interface ErrorPage
- Added Interface SiteCertificatesCreateOrUpdateOptionalParams
- Added Interface SiteCertificatesCreateOrUpdateSlotOptionalParams
- Added Interface SiteCertificatesDeleteOptionalParams
- Added Interface SiteCertificatesDeleteSlotOptionalParams
- Added Interface SiteCertificatesGetOptionalParams
- Added Interface SiteCertificatesGetSlotOptionalParams
- Added Interface SiteCertificatesListNextOptionalParams
- Added Interface SiteCertificatesListOptionalParams
- Added Interface SiteCertificatesListSlotNextOptionalParams
- Added Interface SiteCertificatesListSlotOptionalParams
- Added Interface SiteCertificatesUpdateOptionalParams
- Added Interface SiteCertificatesUpdateSlotOptionalParams
- Added Interface WebAppsUpdateMachineKeyOptionalParams
- Added Type Alias AutoGeneratedDomainNameLabelScope
- Added Type Alias IPMode
- Added Type Alias SiteCertificatesCreateOrUpdateResponse
- Added Type Alias SiteCertificatesCreateOrUpdateSlotResponse
- Added Type Alias SiteCertificatesGetResponse
- Added Type Alias SiteCertificatesGetSlotResponse
- Added Type Alias SiteCertificatesListNextResponse
- Added Type Alias SiteCertificatesListResponse
- Added Type Alias SiteCertificatesListSlotNextResponse
- Added Type Alias SiteCertificatesListSlotResponse
- Added Type Alias SiteCertificatesUpdateResponse
- Added Type Alias SiteCertificatesUpdateSlotResponse
- Added Type Alias WebAppsUpdateMachineKeyResponse
- Interface Site has a new optional parameter autoGeneratedDomainNameLabelScope
- Interface Site has a new optional parameter endToEndEncryptionEnabled
- Interface Site has a new optional parameter ipMode
- Interface Site has a new optional parameter sku
- Interface WebSiteInstanceStatus has a new optional parameter physicalZone


## 15.0.0 (2024-06-11)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/appservice/arm-appservice/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Microsoft
Copyright (c) 2025 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 4 additions & 5 deletions sdk/appservice/arm-appservice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WebSite Management Client

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-appservice) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-appservice) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-appservice) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down Expand Up @@ -44,9 +44,8 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure WebSiteManagement** 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).
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

```javascript
const { WebSiteManagementClient } = require("@azure/arm-appservice");
Expand All @@ -64,8 +63,8 @@ const client = new WebSiteManagementClient(new DefaultAzureCredential(), subscri
// const client = new WebSiteManagementClient(credential, subscriptionId);
```

### JavaScript Bundle

### 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 @@ -101,7 +100,7 @@ If you'd like to contribute to this library, please read the [contributing guide

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fappservice%2Farm-appservice%2FREADME.png)

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
Expand Down
8 changes: 4 additions & 4 deletions sdk/appservice/arm-appservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "e9f47ec88eb06646c53f2a561f3b27434ac5ac57",
"commit": "11fb8a7f739ac061aea8b0d9f5978f05e753ca80",
"readme": "specification/web/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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\web\\resource-manager\\readme.md --use=@autorest/[email protected].23 --generate-sample=true",
"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/web/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/[email protected].9",
"use": "@autorest/[email protected].23"
"release_tool": "@azure-tools/[email protected].18",
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 3 additions & 3 deletions sdk/appservice/arm-appservice/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "dist/arm-appservice.d.ts"
"publicTrimmedFilePath": "./types/arm-appservice.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
22 changes: 7 additions & 15 deletions sdk/appservice/arm-appservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for WebSiteManagementClient.",
"version": "15.0.1",
"version": "15.1.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.6.0",
"@azure/core-client": "^1.7.0",
"@azure/core-lro": "^2.5.4",
Expand All @@ -25,21 +25,21 @@
],
"license": "MIT",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"module": "./dist-esm/src/index.js",
"types": "./dist/commonjs/index.d.ts",
"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.0.1",
"@azure/identity": "^4.2.1",
"@types/node": "^18.0.0",
"@vitest/browser": "^2.1.8",
"@vitest/coverage-istanbul": "^2.1.8",
"dotenv": "^16.0.0",
"playwright": "^1.49.1",
"tsx": "^4.7.1",
"typescript": "~5.7.2",
"typescript": "~5.6.2",
"vitest": "^2.1.8"
},
"repository": {
Expand Down Expand Up @@ -78,7 +78,7 @@
"test:browser": "echo skipped",
"test:node": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
"unit-test:node": "dev-tool run test:vitest",
"update-snippets": "echo skipped"
},
Expand All @@ -93,14 +93,6 @@
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-appservice?view=azure-node-preview"
},
"type": "module",
"tshy": {
"project": "./tsconfig.src.json",
Expand Down Expand Up @@ -141,4 +133,4 @@
}
}
}
}
}
Loading

0 comments on commit 101ba12

Please sign in to comment.