Updated.
This commit is contained in:
parent
6ae15fe3e5
commit
941e6330a6
20244 changed files with 1 additions and 1466351 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,4 +2,4 @@ swa-cli.config.json
|
|||
deploy.sh
|
||||
site/build
|
||||
site/.docusaurus
|
||||
.env
|
||||
.env
|
||||
|
|
1
node_modules/.bin/conc
generated
vendored
1
node_modules/.bin/conc
generated
vendored
|
@ -1 +0,0 @@
|
|||
../concurrently/dist/bin/concurrently.js
|
1
node_modules/.bin/concurrently
generated
vendored
1
node_modules/.bin/concurrently
generated
vendored
|
@ -1 +0,0 @@
|
|||
../concurrently/dist/bin/concurrently.js
|
1
node_modules/.bin/ebnf
generated
vendored
1
node_modules/.bin/ebnf
generated
vendored
|
@ -1 +0,0 @@
|
|||
../ebnf/dist/bin.js
|
1
node_modules/.bin/is-docker
generated
vendored
1
node_modules/.bin/is-docker
generated
vendored
|
@ -1 +0,0 @@
|
|||
../is-docker/cli.js
|
1
node_modules/.bin/is-in-ci
generated
vendored
1
node_modules/.bin/is-in-ci
generated
vendored
|
@ -1 +0,0 @@
|
|||
../is-in-ci/cli.js
|
1
node_modules/.bin/mime
generated
vendored
1
node_modules/.bin/mime
generated
vendored
|
@ -1 +0,0 @@
|
|||
../mime/cli.js
|
1
node_modules/.bin/mkdirp
generated
vendored
1
node_modules/.bin/mkdirp
generated
vendored
|
@ -1 +0,0 @@
|
|||
../mkdirp/bin/cmd.js
|
1
node_modules/.bin/nearley-railroad
generated
vendored
1
node_modules/.bin/nearley-railroad
generated
vendored
|
@ -1 +0,0 @@
|
|||
../nearley/bin/nearley-railroad.js
|
1
node_modules/.bin/nearley-test
generated
vendored
1
node_modules/.bin/nearley-test
generated
vendored
|
@ -1 +0,0 @@
|
|||
../nearley/bin/nearley-test.js
|
1
node_modules/.bin/nearley-unparse
generated
vendored
1
node_modules/.bin/nearley-unparse
generated
vendored
|
@ -1 +0,0 @@
|
|||
../nearley/bin/nearley-unparse.js
|
1
node_modules/.bin/nearleyc
generated
vendored
1
node_modules/.bin/nearleyc
generated
vendored
|
@ -1 +0,0 @@
|
|||
../nearley/bin/nearleyc.js
|
1
node_modules/.bin/node-which
generated
vendored
1
node_modules/.bin/node-which
generated
vendored
|
@ -1 +0,0 @@
|
|||
../which/bin/node-which
|
1
node_modules/.bin/prebuild-install
generated
vendored
1
node_modules/.bin/prebuild-install
generated
vendored
|
@ -1 +0,0 @@
|
|||
../prebuild-install/bin.js
|
1
node_modules/.bin/rc
generated
vendored
1
node_modules/.bin/rc
generated
vendored
|
@ -1 +0,0 @@
|
|||
../rc/cli.js
|
1
node_modules/.bin/rimraf
generated
vendored
1
node_modules/.bin/rimraf
generated
vendored
|
@ -1 +0,0 @@
|
|||
../rimraf/dist/esm/bin.mjs
|
1
node_modules/.bin/semver
generated
vendored
1
node_modules/.bin/semver
generated
vendored
|
@ -1 +0,0 @@
|
|||
../semver/bin/semver.js
|
1
node_modules/.bin/swa
generated
vendored
1
node_modules/.bin/swa
generated
vendored
|
@ -1 +0,0 @@
|
|||
../@azure/static-web-apps-cli/dist/cli/bin.js
|
1
node_modules/.bin/tree-kill
generated
vendored
1
node_modules/.bin/tree-kill
generated
vendored
|
@ -1 +0,0 @@
|
|||
../tree-kill/cli.js
|
1
node_modules/.bin/uuid
generated
vendored
1
node_modules/.bin/uuid
generated
vendored
|
@ -1 +0,0 @@
|
|||
../uuid/dist/bin/uuid
|
1
node_modules/.bin/wait-on
generated
vendored
1
node_modules/.bin/wait-on
generated
vendored
|
@ -1 +0,0 @@
|
|||
../wait-on/bin/wait-on
|
1
node_modules/.bin/yaml
generated
vendored
1
node_modules/.bin/yaml
generated
vendored
|
@ -1 +0,0 @@
|
|||
../yaml/bin.mjs
|
3933
node_modules/.package-lock.json
generated
vendored
3933
node_modules/.package-lock.json
generated
vendored
File diff suppressed because it is too large
Load diff
34
node_modules/@azure/abort-controller/CHANGELOG.md
generated
vendored
34
node_modules/@azure/abort-controller/CHANGELOG.md
generated
vendored
|
@ -1,34 +0,0 @@
|
|||
# Release History
|
||||
|
||||
## 1.1.0 (2022-05-05)
|
||||
|
||||
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
|
||||
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
||||
|
||||
## 1.0.4 (2021-03-04)
|
||||
|
||||
Fixes issue [13985](https://github.com/Azure/azure-sdk-for-js/issues/13985) where abort event listeners that removed themselves when invoked could prevent other event listeners from being invoked.
|
||||
|
||||
## 1.0.3 (2021-02-23)
|
||||
|
||||
Support Typescript version < 3.6 by down-leveling the type definition files. ([PR 12793](https://github.com/Azure/azure-sdk-for-js/pull/12793))
|
||||
|
||||
## 1.0.2 (2020-01-07)
|
||||
|
||||
Updates the `tslib` dependency to version 2.x.
|
||||
|
||||
## 1.0.1 (2019-12-04)
|
||||
|
||||
Fixes the [bug 6271](https://github.com/Azure/azure-sdk-for-js/issues/6271) that can occur with angular prod builds due to triple-slash directives.
|
||||
([PR 6344](https://github.com/Azure/azure-sdk-for-js/pull/6344))
|
||||
|
||||
## 1.0.0 (2019-10-29)
|
||||
|
||||
This release marks the general availability of the `@azure/abort-controller` package.
|
||||
|
||||
Removed the browser bundle. A browser-compatible library can still be created through the use of a bundler such as Rollup, Webpack, or Parcel.
|
||||
([#5860](https://github.com/Azure/azure-sdk-for-js/pull/5860))
|
||||
|
||||
## 1.0.0-preview.2 (2019-09-09)
|
||||
|
||||
Listeners attached to an `AbortSignal` now receive an event with the type `abort`. (PR #4756)
|
21
node_modules/@azure/abort-controller/LICENSE
generated
vendored
21
node_modules/@azure/abort-controller/LICENSE
generated
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2020 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
|
||||
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.
|
110
node_modules/@azure/abort-controller/README.md
generated
vendored
110
node_modules/@azure/abort-controller/README.md
generated
vendored
|
@ -1,110 +0,0 @@
|
|||
# Azure Abort Controller client library for JavaScript
|
||||
|
||||
The `@azure/abort-controller` package provides `AbortController` and `AbortSignal` classes. These classes are compatible
|
||||
with the [AbortController](https://developer.mozilla.org/docs/Web/API/AbortController) built into modern browsers
|
||||
and the `AbortSignal` used by [fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API).
|
||||
Use the `AbortController` class to create an instance of the `AbortSignal` class that can be used to cancel an operation
|
||||
in an Azure SDK that accept a parameter of type `AbortSignalLike`.
|
||||
|
||||
Key links:
|
||||
|
||||
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller)
|
||||
- [Package (npm)](https://www.npmjs.com/package/@azure/abort-controller)
|
||||
- [API Reference Documentation](https://docs.microsoft.com/javascript/api/overview/azure/abort-controller-readme)
|
||||
|
||||
## Getting started
|
||||
|
||||
### Installation
|
||||
|
||||
Install this library using npm as follows
|
||||
|
||||
```
|
||||
npm install @azure/abort-controller
|
||||
```
|
||||
|
||||
## Key Concepts
|
||||
|
||||
Use the `AbortController` to create an `AbortSignal` which can then be passed to Azure SDK operations to cancel
|
||||
pending work. The `AbortSignal` can be accessed via the `signal` property on an instantiated `AbortController`.
|
||||
An `AbortSignal` can also be returned directly from a static method, e.g. `AbortController.timeout(100)`.
|
||||
that is cancelled after 100 milliseconds.
|
||||
|
||||
Calling `abort()` on the instantiated `AbortController` invokes the registered `abort`
|
||||
event listeners on the associated `AbortSignal`.
|
||||
Any subsequent calls to `abort()` on the same controller will have no effect.
|
||||
|
||||
The `AbortSignal.none` static property returns an `AbortSignal` that can not be aborted.
|
||||
|
||||
Multiple instances of an `AbortSignal` can be linked so that calling `abort()` on the parent signal,
|
||||
aborts all linked signals.
|
||||
This linkage is one-way, meaning that a parent signal can affect a linked signal, but not the other way around.
|
||||
To link `AbortSignals` together, pass in the parent signals to the `AbortController` constructor.
|
||||
|
||||
## Examples
|
||||
|
||||
The below examples assume that `doAsyncWork` is a function that takes a bag of properties, one of which is
|
||||
of the abort signal.
|
||||
|
||||
### Example 1 - basic usage
|
||||
|
||||
```js
|
||||
import { AbortController } from "@azure/abort-controller";
|
||||
|
||||
const controller = new AbortController();
|
||||
doAsyncWork({ abortSignal: controller.signal });
|
||||
|
||||
// at some point later
|
||||
controller.abort();
|
||||
```
|
||||
|
||||
### Example 2 - Aborting with timeout
|
||||
|
||||
```js
|
||||
import { AbortController } from "@azure/abort-controller";
|
||||
|
||||
const signal = AbortController.timeout(1000);
|
||||
doAsyncWork({ abortSignal: signal });
|
||||
```
|
||||
|
||||
### Example 3 - Aborting sub-tasks
|
||||
|
||||
```js
|
||||
import { AbortController } from "@azure/abort-controller";
|
||||
|
||||
const allTasksController = new AbortController();
|
||||
|
||||
const subTask1 = new AbortController(allTasksController.signal);
|
||||
const subtask2 = new AbortController(allTasksController.signal);
|
||||
|
||||
allTasksController.abort(); // aborts allTasksSignal, subTask1, subTask2
|
||||
subTask1.abort(); // aborts only subTask1
|
||||
```
|
||||
|
||||
### Example 4 - Aborting with parent signal or timeout
|
||||
|
||||
```js
|
||||
import { AbortController } from "@azure/abort-controller";
|
||||
|
||||
const allTasksController = new AbortController();
|
||||
|
||||
// create a subtask controller that can be aborted manually,
|
||||
// or when either the parent task aborts or the timeout is reached.
|
||||
const subTask = new AbortController(allTasksController.signal, AbortController.timeout(100));
|
||||
|
||||
allTasksController.abort(); // aborts allTasksSignal, subTask
|
||||
subTask.abort(); // aborts only subTask
|
||||
```
|
||||
|
||||
## Next steps
|
||||
|
||||
You can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).
|
||||
|
||||
## 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.
|
||||
|
||||

|
118
node_modules/@azure/abort-controller/dist-esm/src/AbortController.js
generated
vendored
118
node_modules/@azure/abort-controller/dist-esm/src/AbortController.js
generated
vendored
|
@ -1,118 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
import { AbortSignal, abortSignal } from "./AbortSignal";
|
||||
/**
|
||||
* This error is thrown when an asynchronous operation has been aborted.
|
||||
* Check for this error by testing the `name` that the name property of the
|
||||
* error matches `"AbortError"`.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* controller.abort();
|
||||
* try {
|
||||
* doAsyncWork(controller.signal)
|
||||
* } catch (e) {
|
||||
* if (e.name === 'AbortError') {
|
||||
* // handle abort error here.
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export class AbortError extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "AbortError";
|
||||
}
|
||||
}
|
||||
/**
|
||||
* An AbortController provides an AbortSignal and the associated controls to signal
|
||||
* that an asynchronous operation should be aborted.
|
||||
*
|
||||
* @example
|
||||
* Abort an operation when another event fires
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* const signal = controller.signal;
|
||||
* doAsyncWork(signal);
|
||||
* button.addEventListener('click', () => controller.abort());
|
||||
* ```
|
||||
*
|
||||
* @example
|
||||
* Share aborter cross multiple operations in 30s
|
||||
* ```ts
|
||||
* // Upload the same data to 2 different data centers at the same time,
|
||||
* // abort another when any of them is finished
|
||||
* const controller = AbortController.withTimeout(30 * 1000);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
*```
|
||||
*
|
||||
* @example
|
||||
* Cascaded aborting
|
||||
* ```ts
|
||||
* // All operations can't take more than 30 seconds
|
||||
* const aborter = Aborter.timeout(30 * 1000);
|
||||
*
|
||||
* // Following 2 operations can't take more than 25 seconds
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* ```
|
||||
*/
|
||||
export class AbortController {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
constructor(parentSignals) {
|
||||
this._signal = new AbortSignal();
|
||||
if (!parentSignals) {
|
||||
return;
|
||||
}
|
||||
// coerce parentSignals into an array
|
||||
if (!Array.isArray(parentSignals)) {
|
||||
// eslint-disable-next-line prefer-rest-params
|
||||
parentSignals = arguments;
|
||||
}
|
||||
for (const parentSignal of parentSignals) {
|
||||
// if the parent signal has already had abort() called,
|
||||
// then call abort on this signal as well.
|
||||
if (parentSignal.aborted) {
|
||||
this.abort();
|
||||
}
|
||||
else {
|
||||
// when the parent signal aborts, this signal should as well.
|
||||
parentSignal.addEventListener("abort", () => {
|
||||
this.abort();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* The AbortSignal associated with this controller that will signal aborted
|
||||
* when the abort method is called on this controller.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
get signal() {
|
||||
return this._signal;
|
||||
}
|
||||
/**
|
||||
* Signal that any operations passed this controller's associated abort signal
|
||||
* to cancel any remaining work and throw an `AbortError`.
|
||||
*/
|
||||
abort() {
|
||||
abortSignal(this._signal);
|
||||
}
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will abort after the provided ms.
|
||||
* @param ms - Elapsed time in milliseconds to trigger an abort.
|
||||
*/
|
||||
static timeout(ms) {
|
||||
const signal = new AbortSignal();
|
||||
const timer = setTimeout(abortSignal, ms, signal);
|
||||
// Prevent the active Timer from keeping the Node.js event loop active.
|
||||
if (typeof timer.unref === "function") {
|
||||
timer.unref();
|
||||
}
|
||||
return signal;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=AbortController.js.map
|
1
node_modules/@azure/abort-controller/dist-esm/src/AbortController.js.map
generated
vendored
1
node_modules/@azure/abort-controller/dist-esm/src/AbortController.js.map
generated
vendored
File diff suppressed because one or more lines are too long
115
node_modules/@azure/abort-controller/dist-esm/src/AbortSignal.js
generated
vendored
115
node_modules/@azure/abort-controller/dist-esm/src/AbortSignal.js
generated
vendored
|
@ -1,115 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
/// <reference path="../shims-public.d.ts" />
|
||||
const listenersMap = new WeakMap();
|
||||
const abortedMap = new WeakMap();
|
||||
/**
|
||||
* An aborter instance implements AbortSignal interface, can abort HTTP requests.
|
||||
*
|
||||
* - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.
|
||||
* Use `AbortSignal.none` when you are required to pass a cancellation token but the operation
|
||||
* cannot or will not ever be cancelled.
|
||||
*
|
||||
* @example
|
||||
* Abort without timeout
|
||||
* ```ts
|
||||
* await doAsyncWork(AbortSignal.none);
|
||||
* ```
|
||||
*/
|
||||
export class AbortSignal {
|
||||
constructor() {
|
||||
/**
|
||||
* onabort event listener.
|
||||
*/
|
||||
this.onabort = null;
|
||||
listenersMap.set(this, []);
|
||||
abortedMap.set(this, false);
|
||||
}
|
||||
/**
|
||||
* Status of whether aborted or not.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
get aborted() {
|
||||
if (!abortedMap.has(this)) {
|
||||
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
||||
}
|
||||
return abortedMap.get(this);
|
||||
}
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will never be aborted.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
static get none() {
|
||||
return new AbortSignal();
|
||||
}
|
||||
/**
|
||||
* Added new "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be added
|
||||
*/
|
||||
addEventListener(
|
||||
// tslint:disable-next-line:variable-name
|
||||
_type, listener) {
|
||||
if (!listenersMap.has(this)) {
|
||||
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
||||
}
|
||||
const listeners = listenersMap.get(this);
|
||||
listeners.push(listener);
|
||||
}
|
||||
/**
|
||||
* Remove "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be removed
|
||||
*/
|
||||
removeEventListener(
|
||||
// tslint:disable-next-line:variable-name
|
||||
_type, listener) {
|
||||
if (!listenersMap.has(this)) {
|
||||
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
||||
}
|
||||
const listeners = listenersMap.get(this);
|
||||
const index = listeners.indexOf(listener);
|
||||
if (index > -1) {
|
||||
listeners.splice(index, 1);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Dispatches a synthetic event to the AbortSignal.
|
||||
*/
|
||||
dispatchEvent(_event) {
|
||||
throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.
|
||||
* Will try to trigger abort event for all linked AbortSignal nodes.
|
||||
*
|
||||
* - If there is a timeout, the timer will be cancelled.
|
||||
* - If aborted is true, nothing will happen.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters
|
||||
export function abortSignal(signal) {
|
||||
if (signal.aborted) {
|
||||
return;
|
||||
}
|
||||
if (signal.onabort) {
|
||||
signal.onabort.call(signal);
|
||||
}
|
||||
const listeners = listenersMap.get(signal);
|
||||
if (listeners) {
|
||||
// Create a copy of listeners so mutations to the array
|
||||
// (e.g. via removeListener calls) don't affect the listeners
|
||||
// we invoke.
|
||||
listeners.slice().forEach((listener) => {
|
||||
listener.call(signal, { type: "abort" });
|
||||
});
|
||||
}
|
||||
abortedMap.set(signal, true);
|
||||
}
|
||||
//# sourceMappingURL=AbortSignal.js.map
|
1
node_modules/@azure/abort-controller/dist-esm/src/AbortSignal.js.map
generated
vendored
1
node_modules/@azure/abort-controller/dist-esm/src/AbortSignal.js.map
generated
vendored
File diff suppressed because one or more lines are too long
12
node_modules/@azure/abort-controller/dist-esm/src/index.js
generated
vendored
12
node_modules/@azure/abort-controller/dist-esm/src/index.js
generated
vendored
|
@ -1,12 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
// Changes to Aborter
|
||||
// * Rename Aborter to AbortSignal
|
||||
// * Remove withValue and getValue - async context should be solved differently/wholistically, not tied to cancellation
|
||||
// * Remove withTimeout, it's moved to the controller
|
||||
// * AbortSignal constructor no longer takes a parent. Cancellation graphs are created from the controller.
|
||||
// Potential changes to align with DOM Spec
|
||||
// * dispatchEvent on Signal
|
||||
export { AbortController, AbortError } from "./AbortController";
|
||||
export { AbortSignal } from "./AbortSignal";
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@azure/abort-controller/dist-esm/src/index.js.map
generated
vendored
1
node_modules/@azure/abort-controller/dist-esm/src/index.js.map
generated
vendored
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,qBAAqB;AACrB,kCAAkC;AAClC,uHAAuH;AACvH,qDAAqD;AACrD,2GAA2G;AAE3G,2CAA2C;AAC3C,4BAA4B;AAE5B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAmB,MAAM,eAAe,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// Changes to Aborter\n// * Rename Aborter to AbortSignal\n// * Remove withValue and getValue - async context should be solved differently/wholistically, not tied to cancellation\n// * Remove withTimeout, it's moved to the controller\n// * AbortSignal constructor no longer takes a parent. Cancellation graphs are created from the controller.\n\n// Potential changes to align with DOM Spec\n// * dispatchEvent on Signal\n\nexport { AbortController, AbortError } from \"./AbortController\";\nexport { AbortSignal, AbortSignalLike } from \"./AbortSignal\";\n"]}
|
239
node_modules/@azure/abort-controller/dist/index.js
generated
vendored
239
node_modules/@azure/abort-controller/dist/index.js
generated
vendored
|
@ -1,239 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
/// <reference path="../shims-public.d.ts" />
|
||||
const listenersMap = new WeakMap();
|
||||
const abortedMap = new WeakMap();
|
||||
/**
|
||||
* An aborter instance implements AbortSignal interface, can abort HTTP requests.
|
||||
*
|
||||
* - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.
|
||||
* Use `AbortSignal.none` when you are required to pass a cancellation token but the operation
|
||||
* cannot or will not ever be cancelled.
|
||||
*
|
||||
* @example
|
||||
* Abort without timeout
|
||||
* ```ts
|
||||
* await doAsyncWork(AbortSignal.none);
|
||||
* ```
|
||||
*/
|
||||
class AbortSignal {
|
||||
constructor() {
|
||||
/**
|
||||
* onabort event listener.
|
||||
*/
|
||||
this.onabort = null;
|
||||
listenersMap.set(this, []);
|
||||
abortedMap.set(this, false);
|
||||
}
|
||||
/**
|
||||
* Status of whether aborted or not.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
get aborted() {
|
||||
if (!abortedMap.has(this)) {
|
||||
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
||||
}
|
||||
return abortedMap.get(this);
|
||||
}
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will never be aborted.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
static get none() {
|
||||
return new AbortSignal();
|
||||
}
|
||||
/**
|
||||
* Added new "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be added
|
||||
*/
|
||||
addEventListener(
|
||||
// tslint:disable-next-line:variable-name
|
||||
_type, listener) {
|
||||
if (!listenersMap.has(this)) {
|
||||
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
||||
}
|
||||
const listeners = listenersMap.get(this);
|
||||
listeners.push(listener);
|
||||
}
|
||||
/**
|
||||
* Remove "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be removed
|
||||
*/
|
||||
removeEventListener(
|
||||
// tslint:disable-next-line:variable-name
|
||||
_type, listener) {
|
||||
if (!listenersMap.has(this)) {
|
||||
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
||||
}
|
||||
const listeners = listenersMap.get(this);
|
||||
const index = listeners.indexOf(listener);
|
||||
if (index > -1) {
|
||||
listeners.splice(index, 1);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Dispatches a synthetic event to the AbortSignal.
|
||||
*/
|
||||
dispatchEvent(_event) {
|
||||
throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.
|
||||
* Will try to trigger abort event for all linked AbortSignal nodes.
|
||||
*
|
||||
* - If there is a timeout, the timer will be cancelled.
|
||||
* - If aborted is true, nothing will happen.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters
|
||||
function abortSignal(signal) {
|
||||
if (signal.aborted) {
|
||||
return;
|
||||
}
|
||||
if (signal.onabort) {
|
||||
signal.onabort.call(signal);
|
||||
}
|
||||
const listeners = listenersMap.get(signal);
|
||||
if (listeners) {
|
||||
// Create a copy of listeners so mutations to the array
|
||||
// (e.g. via removeListener calls) don't affect the listeners
|
||||
// we invoke.
|
||||
listeners.slice().forEach((listener) => {
|
||||
listener.call(signal, { type: "abort" });
|
||||
});
|
||||
}
|
||||
abortedMap.set(signal, true);
|
||||
}
|
||||
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
/**
|
||||
* This error is thrown when an asynchronous operation has been aborted.
|
||||
* Check for this error by testing the `name` that the name property of the
|
||||
* error matches `"AbortError"`.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* controller.abort();
|
||||
* try {
|
||||
* doAsyncWork(controller.signal)
|
||||
* } catch (e) {
|
||||
* if (e.name === 'AbortError') {
|
||||
* // handle abort error here.
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
class AbortError extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "AbortError";
|
||||
}
|
||||
}
|
||||
/**
|
||||
* An AbortController provides an AbortSignal and the associated controls to signal
|
||||
* that an asynchronous operation should be aborted.
|
||||
*
|
||||
* @example
|
||||
* Abort an operation when another event fires
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* const signal = controller.signal;
|
||||
* doAsyncWork(signal);
|
||||
* button.addEventListener('click', () => controller.abort());
|
||||
* ```
|
||||
*
|
||||
* @example
|
||||
* Share aborter cross multiple operations in 30s
|
||||
* ```ts
|
||||
* // Upload the same data to 2 different data centers at the same time,
|
||||
* // abort another when any of them is finished
|
||||
* const controller = AbortController.withTimeout(30 * 1000);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
*```
|
||||
*
|
||||
* @example
|
||||
* Cascaded aborting
|
||||
* ```ts
|
||||
* // All operations can't take more than 30 seconds
|
||||
* const aborter = Aborter.timeout(30 * 1000);
|
||||
*
|
||||
* // Following 2 operations can't take more than 25 seconds
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* ```
|
||||
*/
|
||||
class AbortController {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
constructor(parentSignals) {
|
||||
this._signal = new AbortSignal();
|
||||
if (!parentSignals) {
|
||||
return;
|
||||
}
|
||||
// coerce parentSignals into an array
|
||||
if (!Array.isArray(parentSignals)) {
|
||||
// eslint-disable-next-line prefer-rest-params
|
||||
parentSignals = arguments;
|
||||
}
|
||||
for (const parentSignal of parentSignals) {
|
||||
// if the parent signal has already had abort() called,
|
||||
// then call abort on this signal as well.
|
||||
if (parentSignal.aborted) {
|
||||
this.abort();
|
||||
}
|
||||
else {
|
||||
// when the parent signal aborts, this signal should as well.
|
||||
parentSignal.addEventListener("abort", () => {
|
||||
this.abort();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* The AbortSignal associated with this controller that will signal aborted
|
||||
* when the abort method is called on this controller.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
get signal() {
|
||||
return this._signal;
|
||||
}
|
||||
/**
|
||||
* Signal that any operations passed this controller's associated abort signal
|
||||
* to cancel any remaining work and throw an `AbortError`.
|
||||
*/
|
||||
abort() {
|
||||
abortSignal(this._signal);
|
||||
}
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will abort after the provided ms.
|
||||
* @param ms - Elapsed time in milliseconds to trigger an abort.
|
||||
*/
|
||||
static timeout(ms) {
|
||||
const signal = new AbortSignal();
|
||||
const timer = setTimeout(abortSignal, ms, signal);
|
||||
// Prevent the active Timer from keeping the Node.js event loop active.
|
||||
if (typeof timer.unref === "function") {
|
||||
timer.unref();
|
||||
}
|
||||
return signal;
|
||||
}
|
||||
}
|
||||
|
||||
exports.AbortController = AbortController;
|
||||
exports.AbortError = AbortError;
|
||||
exports.AbortSignal = AbortSignal;
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/@azure/abort-controller/dist/index.js.map
generated
vendored
1
node_modules/@azure/abort-controller/dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
104
node_modules/@azure/abort-controller/package.json
generated
vendored
104
node_modules/@azure/abort-controller/package.json
generated
vendored
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"name": "@azure/abort-controller",
|
||||
"sdk-type": "client",
|
||||
"version": "1.1.0",
|
||||
"description": "Microsoft Azure SDK for JavaScript - Aborter",
|
||||
"main": "./dist/index.js",
|
||||
"module": "dist-esm/src/index.js",
|
||||
"scripts": {
|
||||
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
||||
"build:samples": "echo Obsolete",
|
||||
"build:test": "tsc -p . && dev-tool run bundle",
|
||||
"build:types": "downlevel-dts types/src types/3.1",
|
||||
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local && npm run build:types",
|
||||
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
||||
"clean": "rimraf dist dist-* temp types *.tgz *.log",
|
||||
"execute:samples": "echo skipped",
|
||||
"extract-api": "tsc -p . && api-extractor run --local",
|
||||
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
|
||||
"integration-test:browser": "echo skipped",
|
||||
"integration-test:node": "echo skipped",
|
||||
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
||||
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
|
||||
"lint": "eslint package.json api-extractor.json src test --ext .ts",
|
||||
"pack": "npm pack 2>&1",
|
||||
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
|
||||
"test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node",
|
||||
"test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
|
||||
"unit-test:browser": "karma start --single-run",
|
||||
"unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"",
|
||||
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
||||
},
|
||||
"types": "./types/src/index.d.ts",
|
||||
"typesVersions": {
|
||||
"<3.6": {
|
||||
"types/src/*": [
|
||||
"types/3.1/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist/",
|
||||
"dist-esm/src/",
|
||||
"shims-public.d.ts",
|
||||
"types/src",
|
||||
"types/3.1",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
},
|
||||
"repository": "github:Azure/azure-sdk-for-js",
|
||||
"keywords": [
|
||||
"azure",
|
||||
"aborter",
|
||||
"abortsignal",
|
||||
"cancellation",
|
||||
"node.js",
|
||||
"typescript",
|
||||
"javascript",
|
||||
"browser",
|
||||
"cloud"
|
||||
],
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller/README.md",
|
||||
"sideEffects": false,
|
||||
"dependencies": {
|
||||
"tslib": "^2.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@azure/dev-tool": "^1.0.0",
|
||||
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
||||
"@microsoft/api-extractor": "7.18.11",
|
||||
"@types/chai": "^4.1.6",
|
||||
"@types/mocha": "^7.0.2",
|
||||
"@types/node": "^12.0.0",
|
||||
"chai": "^4.2.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"downlevel-dts": "^0.8.0",
|
||||
"eslint": "^7.15.0",
|
||||
"karma": "^6.2.0",
|
||||
"karma-chrome-launcher": "^3.0.0",
|
||||
"karma-coverage": "^2.0.0",
|
||||
"karma-edge-launcher": "^0.4.2",
|
||||
"karma-env-preprocessor": "^0.1.1",
|
||||
"karma-firefox-launcher": "^1.1.0",
|
||||
"karma-ie-launcher": "^1.0.0",
|
||||
"karma-junit-reporter": "^2.0.1",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
"karma-sourcemap-loader": "^0.3.8",
|
||||
"mocha": "^7.1.1",
|
||||
"mocha-junit-reporter": "^2.0.0",
|
||||
"nyc": "^15.0.0",
|
||||
"prettier": "^2.5.1",
|
||||
"rimraf": "^3.0.0",
|
||||
"ts-node": "^10.0.0",
|
||||
"typescript": "~4.6.0"
|
||||
}
|
||||
}
|
5
node_modules/@azure/abort-controller/shims-public.d.ts
generated
vendored
5
node_modules/@azure/abort-controller/shims-public.d.ts
generated
vendored
|
@ -1,5 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
// forward declaration of Event in case DOM libs are not present.
|
||||
interface Event {}
|
85
node_modules/@azure/abort-controller/types/3.1/AbortController.d.ts
generated
vendored
85
node_modules/@azure/abort-controller/types/3.1/AbortController.d.ts
generated
vendored
|
@ -1,85 +0,0 @@
|
|||
import { AbortSignal, AbortSignalLike } from "./AbortSignal";
|
||||
/**
|
||||
* This error is thrown when an asynchronous operation has been aborted.
|
||||
* Check for this error by testing the `name` that the name property of the
|
||||
* error matches `"AbortError"`.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* controller.abort();
|
||||
* try {
|
||||
* doAsyncWork(controller.signal)
|
||||
* } catch (e) {
|
||||
* if (e.name === 'AbortError') {
|
||||
* // handle abort error here.
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export declare class AbortError extends Error {
|
||||
constructor(message?: string);
|
||||
}
|
||||
/**
|
||||
* An AbortController provides an AbortSignal and the associated controls to signal
|
||||
* that an asynchronous operation should be aborted.
|
||||
*
|
||||
* @example
|
||||
* Abort an operation when another event fires
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* const signal = controller.signal;
|
||||
* doAsyncWork(signal);
|
||||
* button.addEventListener('click', () => controller.abort());
|
||||
* ```
|
||||
*
|
||||
* @example
|
||||
* Share aborter cross multiple operations in 30s
|
||||
* ```ts
|
||||
* // Upload the same data to 2 different data centers at the same time,
|
||||
* // abort another when any of them is finished
|
||||
* const controller = AbortController.withTimeout(30 * 1000);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
*```
|
||||
*
|
||||
* @example
|
||||
* Cascaded aborting
|
||||
* ```ts
|
||||
* // All operations can't take more than 30 seconds
|
||||
* const aborter = Aborter.timeout(30 * 1000);
|
||||
*
|
||||
* // Following 2 operations can't take more than 25 seconds
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* ```
|
||||
*/
|
||||
export declare class AbortController {
|
||||
private _signal;
|
||||
/**
|
||||
* @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
|
||||
*/
|
||||
constructor(parentSignals?: AbortSignalLike[]);
|
||||
/**
|
||||
* @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
|
||||
*/
|
||||
constructor(...parentSignals: AbortSignalLike[]);
|
||||
/*
|
||||
* The AbortSignal associated with this controller that will signal aborted
|
||||
* when the abort method is called on this controller.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
readonly signal: AbortSignal;
|
||||
/**
|
||||
* Signal that any operations passed this controller's associated abort signal
|
||||
* to cancel any remaining work and throw an `AbortError`.
|
||||
*/
|
||||
abort(): void;
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will abort after the provided ms.
|
||||
* @param ms - Elapsed time in milliseconds to trigger an abort.
|
||||
*/
|
||||
static timeout(ms: number): AbortSignal;
|
||||
}
|
||||
//# sourceMappingURL=AbortController.d.ts.map
|
80
node_modules/@azure/abort-controller/types/3.1/AbortSignal.d.ts
generated
vendored
80
node_modules/@azure/abort-controller/types/3.1/AbortSignal.d.ts
generated
vendored
|
@ -1,80 +0,0 @@
|
|||
/// <reference path="../../shims-public.d.ts" />
|
||||
/**
|
||||
* Allows the request to be aborted upon firing of the "abort" event.
|
||||
* Compatible with the browser built-in AbortSignal and common polyfills.
|
||||
*/
|
||||
export interface AbortSignalLike {
|
||||
/**
|
||||
* Indicates if the signal has already been aborted.
|
||||
*/
|
||||
readonly aborted: boolean;
|
||||
/**
|
||||
* Add new "abort" event listener, only support "abort" event.
|
||||
*/
|
||||
addEventListener(type: "abort", listener: (this: AbortSignalLike, ev: any) => any, options?: any): void;
|
||||
/**
|
||||
* Remove "abort" event listener, only support "abort" event.
|
||||
*/
|
||||
removeEventListener(type: "abort", listener: (this: AbortSignalLike, ev: any) => any, options?: any): void;
|
||||
}
|
||||
/**
|
||||
* An aborter instance implements AbortSignal interface, can abort HTTP requests.
|
||||
*
|
||||
* - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.
|
||||
* Use `AbortSignal.none` when you are required to pass a cancellation token but the operation
|
||||
* cannot or will not ever be cancelled.
|
||||
*
|
||||
* @example
|
||||
* Abort without timeout
|
||||
* ```ts
|
||||
* await doAsyncWork(AbortSignal.none);
|
||||
* ```
|
||||
*/
|
||||
export declare class AbortSignal implements AbortSignalLike {
|
||||
constructor();
|
||||
/*
|
||||
* Status of whether aborted or not.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
readonly aborted: boolean;
|
||||
/*
|
||||
* Creates a new AbortSignal instance that will never be aborted.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
static readonly none: AbortSignal;
|
||||
/**
|
||||
* onabort event listener.
|
||||
*/
|
||||
onabort: ((ev?: Event) => any) | null;
|
||||
/**
|
||||
* Added new "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be added
|
||||
*/
|
||||
addEventListener(_type: "abort", listener: (this: AbortSignalLike, ev: any) => any): void;
|
||||
/**
|
||||
* Remove "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be removed
|
||||
*/
|
||||
removeEventListener(_type: "abort", listener: (this: AbortSignalLike, ev: any) => any): void;
|
||||
/**
|
||||
* Dispatches a synthetic event to the AbortSignal.
|
||||
*/
|
||||
dispatchEvent(_event: Event): boolean;
|
||||
}
|
||||
/**
|
||||
* Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.
|
||||
* Will try to trigger abort event for all linked AbortSignal nodes.
|
||||
*
|
||||
* - If there is a timeout, the timer will be cancelled.
|
||||
* - If aborted is true, nothing will happen.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export declare function abortSignal(signal: AbortSignal): void;
|
||||
//# sourceMappingURL=AbortSignal.d.ts.map
|
3
node_modules/@azure/abort-controller/types/3.1/index.d.ts
generated
vendored
3
node_modules/@azure/abort-controller/types/3.1/index.d.ts
generated
vendored
|
@ -1,3 +0,0 @@
|
|||
export { AbortController, AbortError } from "./AbortController";
|
||||
export { AbortSignal, AbortSignalLike } from "./AbortSignal";
|
||||
//# sourceMappingURL=index.d.ts.map
|
85
node_modules/@azure/abort-controller/types/src/AbortController.d.ts
generated
vendored
85
node_modules/@azure/abort-controller/types/src/AbortController.d.ts
generated
vendored
|
@ -1,85 +0,0 @@
|
|||
import { AbortSignal, AbortSignalLike } from "./AbortSignal";
|
||||
/**
|
||||
* This error is thrown when an asynchronous operation has been aborted.
|
||||
* Check for this error by testing the `name` that the name property of the
|
||||
* error matches `"AbortError"`.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* controller.abort();
|
||||
* try {
|
||||
* doAsyncWork(controller.signal)
|
||||
* } catch (e) {
|
||||
* if (e.name === 'AbortError') {
|
||||
* // handle abort error here.
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export declare class AbortError extends Error {
|
||||
constructor(message?: string);
|
||||
}
|
||||
/**
|
||||
* An AbortController provides an AbortSignal and the associated controls to signal
|
||||
* that an asynchronous operation should be aborted.
|
||||
*
|
||||
* @example
|
||||
* Abort an operation when another event fires
|
||||
* ```ts
|
||||
* const controller = new AbortController();
|
||||
* const signal = controller.signal;
|
||||
* doAsyncWork(signal);
|
||||
* button.addEventListener('click', () => controller.abort());
|
||||
* ```
|
||||
*
|
||||
* @example
|
||||
* Share aborter cross multiple operations in 30s
|
||||
* ```ts
|
||||
* // Upload the same data to 2 different data centers at the same time,
|
||||
* // abort another when any of them is finished
|
||||
* const controller = AbortController.withTimeout(30 * 1000);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
* doAsyncWork(controller.signal).then(controller.abort);
|
||||
*```
|
||||
*
|
||||
* @example
|
||||
* Cascaded aborting
|
||||
* ```ts
|
||||
* // All operations can't take more than 30 seconds
|
||||
* const aborter = Aborter.timeout(30 * 1000);
|
||||
*
|
||||
* // Following 2 operations can't take more than 25 seconds
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* await doAsyncWork(aborter.withTimeout(25 * 1000));
|
||||
* ```
|
||||
*/
|
||||
export declare class AbortController {
|
||||
private _signal;
|
||||
/**
|
||||
* @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
|
||||
*/
|
||||
constructor(parentSignals?: AbortSignalLike[]);
|
||||
/**
|
||||
* @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
|
||||
*/
|
||||
constructor(...parentSignals: AbortSignalLike[]);
|
||||
/**
|
||||
* The AbortSignal associated with this controller that will signal aborted
|
||||
* when the abort method is called on this controller.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
get signal(): AbortSignal;
|
||||
/**
|
||||
* Signal that any operations passed this controller's associated abort signal
|
||||
* to cancel any remaining work and throw an `AbortError`.
|
||||
*/
|
||||
abort(): void;
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will abort after the provided ms.
|
||||
* @param ms - Elapsed time in milliseconds to trigger an abort.
|
||||
*/
|
||||
static timeout(ms: number): AbortSignal;
|
||||
}
|
||||
//# sourceMappingURL=AbortController.d.ts.map
|
1
node_modules/@azure/abort-controller/types/src/AbortController.d.ts.map
generated
vendored
1
node_modules/@azure/abort-controller/types/src/AbortController.d.ts.map
generated
vendored
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"AbortController.d.ts","sourceRoot":"","sources":["../../src/AbortController.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAe,MAAM,eAAe,CAAC;AAE1E;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,UAAW,SAAQ,KAAK;gBACvB,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,OAAO,CAAc;IAE7B;;OAEG;gBACS,aAAa,CAAC,EAAE,eAAe,EAAE;IAC7C;;OAEG;gBACS,GAAG,aAAa,EAAE,eAAe,EAAE;IA2B/C;;;;;OAKG;IACH,IAAW,MAAM,IAAI,WAAW,CAE/B;IAED;;;OAGG;IACH,KAAK,IAAI,IAAI;IAIb;;;OAGG;WACW,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,WAAW;CAS/C"}
|
80
node_modules/@azure/abort-controller/types/src/AbortSignal.d.ts
generated
vendored
80
node_modules/@azure/abort-controller/types/src/AbortSignal.d.ts
generated
vendored
|
@ -1,80 +0,0 @@
|
|||
/// <reference path="../../shims-public.d.ts" />
|
||||
/**
|
||||
* Allows the request to be aborted upon firing of the "abort" event.
|
||||
* Compatible with the browser built-in AbortSignal and common polyfills.
|
||||
*/
|
||||
export interface AbortSignalLike {
|
||||
/**
|
||||
* Indicates if the signal has already been aborted.
|
||||
*/
|
||||
readonly aborted: boolean;
|
||||
/**
|
||||
* Add new "abort" event listener, only support "abort" event.
|
||||
*/
|
||||
addEventListener(type: "abort", listener: (this: AbortSignalLike, ev: any) => any, options?: any): void;
|
||||
/**
|
||||
* Remove "abort" event listener, only support "abort" event.
|
||||
*/
|
||||
removeEventListener(type: "abort", listener: (this: AbortSignalLike, ev: any) => any, options?: any): void;
|
||||
}
|
||||
/**
|
||||
* An aborter instance implements AbortSignal interface, can abort HTTP requests.
|
||||
*
|
||||
* - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.
|
||||
* Use `AbortSignal.none` when you are required to pass a cancellation token but the operation
|
||||
* cannot or will not ever be cancelled.
|
||||
*
|
||||
* @example
|
||||
* Abort without timeout
|
||||
* ```ts
|
||||
* await doAsyncWork(AbortSignal.none);
|
||||
* ```
|
||||
*/
|
||||
export declare class AbortSignal implements AbortSignalLike {
|
||||
constructor();
|
||||
/**
|
||||
* Status of whether aborted or not.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
get aborted(): boolean;
|
||||
/**
|
||||
* Creates a new AbortSignal instance that will never be aborted.
|
||||
*
|
||||
* @readonly
|
||||
*/
|
||||
static get none(): AbortSignal;
|
||||
/**
|
||||
* onabort event listener.
|
||||
*/
|
||||
onabort: ((ev?: Event) => any) | null;
|
||||
/**
|
||||
* Added new "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be added
|
||||
*/
|
||||
addEventListener(_type: "abort", listener: (this: AbortSignalLike, ev: any) => any): void;
|
||||
/**
|
||||
* Remove "abort" event listener, only support "abort" event.
|
||||
*
|
||||
* @param _type - Only support "abort" event
|
||||
* @param listener - The listener to be removed
|
||||
*/
|
||||
removeEventListener(_type: "abort", listener: (this: AbortSignalLike, ev: any) => any): void;
|
||||
/**
|
||||
* Dispatches a synthetic event to the AbortSignal.
|
||||
*/
|
||||
dispatchEvent(_event: Event): boolean;
|
||||
}
|
||||
/**
|
||||
* Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.
|
||||
* Will try to trigger abort event for all linked AbortSignal nodes.
|
||||
*
|
||||
* - If there is a timeout, the timer will be cancelled.
|
||||
* - If aborted is true, nothing will happen.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export declare function abortSignal(signal: AbortSignal): void;
|
||||
//# sourceMappingURL=AbortSignal.d.ts.map
|
1
node_modules/@azure/abort-controller/types/src/AbortSignal.d.ts.map
generated
vendored
1
node_modules/@azure/abort-controller/types/src/AbortSignal.d.ts.map
generated
vendored
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"AbortSignal.d.ts","sourceRoot":"","sources":["../../src/AbortSignal.ts"],"names":[],"mappings":";AAWA;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CACd,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,GAAG,KAAK,GAAG,EACjD,OAAO,CAAC,EAAE,GAAG,GACZ,IAAI,CAAC;IACR;;OAEG;IACH,mBAAmB,CACjB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,GAAG,KAAK,GAAG,EACjD,OAAO,CAAC,EAAE,GAAG,GACZ,IAAI,CAAC;CACT;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,WAAY,YAAW,eAAe;;IAMjD;;;;OAIG;IACH,IAAW,OAAO,IAAI,OAAO,CAM5B;IAED;;;;OAIG;IACH,WAAkB,IAAI,IAAI,WAAW,CAEpC;IAED;;OAEG;IACI,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,KAAK,GAAG,CAAC,GAAG,IAAI,CAAQ;IAEpD;;;;;OAKG;IACI,gBAAgB,CAErB,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,GAAG,KAAK,GAAG,GAChD,IAAI;IASP;;;;;OAKG;IACI,mBAAmB,CAExB,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,GAAG,KAAK,GAAG,GAChD,IAAI;IAaP;;OAEG;IACH,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,OAAO;CAKtC;AAED;;;;;;;;GAQG;AAEH,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAoBrD"}
|
3
node_modules/@azure/abort-controller/types/src/index.d.ts
generated
vendored
3
node_modules/@azure/abort-controller/types/src/index.d.ts
generated
vendored
|
@ -1,3 +0,0 @@
|
|||
export { AbortController, AbortError } from "./AbortController";
|
||||
export { AbortSignal, AbortSignalLike } from "./AbortSignal";
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@azure/abort-controller/types/src/index.d.ts.map
generated
vendored
1
node_modules/@azure/abort-controller/types/src/index.d.ts.map
generated
vendored
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
11
node_modules/@azure/abort-controller/types/src/tsdoc-metadata.json
generated
vendored
11
node_modules/@azure/abort-controller/types/src/tsdoc-metadata.json
generated
vendored
|
@ -1,11 +0,0 @@
|
|||
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
||||
// It should be published with your NPM package. It should not be tracked by Git.
|
||||
{
|
||||
"tsdocVersion": "0.12",
|
||||
"toolPackages": [
|
||||
{
|
||||
"packageName": "@microsoft/api-extractor",
|
||||
"packageVersion": "7.18.11"
|
||||
}
|
||||
]
|
||||
}
|
847
node_modules/@azure/arm-appservice/CHANGELOG.md
generated
vendored
847
node_modules/@azure/arm-appservice/CHANGELOG.md
generated
vendored
|
@ -1,847 +0,0 @@
|
|||
# Release History
|
||||
|
||||
## 15.0.0 (2024-06-11)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added operation WebApps.createOrUpdateSiteContainer
|
||||
- Added operation WebApps.createOrUpdateSiteContainerSlot
|
||||
- Added operation WebApps.deleteSiteContainer
|
||||
- Added operation WebApps.deleteSiteContainerSlot
|
||||
- Added operation WebApps.getSiteContainer
|
||||
- Added operation WebApps.getSiteContainerSlot
|
||||
- Added operation WebApps.listSiteContainers
|
||||
- Added operation WebApps.listSiteContainersSlot
|
||||
- Added Interface EnvironmentVariable
|
||||
- Added Interface FunctionAppConfig
|
||||
- Added Interface FunctionsAlwaysReadyConfig
|
||||
- Added Interface FunctionsDeployment
|
||||
- Added Interface FunctionsDeploymentStorage
|
||||
- Added Interface FunctionsDeploymentStorageAuthentication
|
||||
- Added Interface FunctionsRuntime
|
||||
- Added Interface FunctionsScaleAndConcurrency
|
||||
- Added Interface FunctionsScaleAndConcurrencyTriggers
|
||||
- Added Interface FunctionsScaleAndConcurrencyTriggersHttp
|
||||
- Added Interface SiteContainer
|
||||
- Added Interface SiteContainerCollection
|
||||
- Added Interface SiteDnsConfig
|
||||
- Added Interface VolumeMount
|
||||
- Added Interface WebAppsCreateOrUpdateSiteContainerOptionalParams
|
||||
- Added Interface WebAppsCreateOrUpdateSiteContainerSlotOptionalParams
|
||||
- Added Interface WebAppsDeleteSiteContainerOptionalParams
|
||||
- Added Interface WebAppsDeleteSiteContainerSlotOptionalParams
|
||||
- Added Interface WebAppsGetSiteContainerOptionalParams
|
||||
- Added Interface WebAppsGetSiteContainerSlotOptionalParams
|
||||
- Added Interface WebAppsListSiteContainersNextOptionalParams
|
||||
- Added Interface WebAppsListSiteContainersOptionalParams
|
||||
- Added Interface WebAppsListSiteContainersSlotNextOptionalParams
|
||||
- Added Interface WebAppsListSiteContainersSlotOptionalParams
|
||||
- Added Type Alias AuthenticationType
|
||||
- Added Type Alias AuthType
|
||||
- Added Type Alias AzureStorageProtocol
|
||||
- Added Type Alias FunctionsDeploymentStorageType
|
||||
- Added Type Alias RuntimeName
|
||||
- Added Type Alias WebAppsCreateOrUpdateSiteContainerResponse
|
||||
- Added Type Alias WebAppsCreateOrUpdateSiteContainerSlotResponse
|
||||
- Added Type Alias WebAppsGetSiteContainerResponse
|
||||
- Added Type Alias WebAppsGetSiteContainerSlotResponse
|
||||
- Added Type Alias WebAppsListSiteContainersNextResponse
|
||||
- Added Type Alias WebAppsListSiteContainersResponse
|
||||
- Added Type Alias WebAppsListSiteContainersSlotNextResponse
|
||||
- Added Type Alias WebAppsListSiteContainersSlotResponse
|
||||
- Interface AzureStorageInfoValue has a new optional parameter protocol
|
||||
- Interface Site has a new optional parameter dnsConfiguration
|
||||
- Interface Site has a new optional parameter functionAppConfig
|
||||
- Interface Site has a new optional parameter vnetBackupRestoreEnabled
|
||||
- Interface SitePatchResource has a new optional parameter dnsConfiguration
|
||||
- Added Enum KnownAuthenticationType
|
||||
- Added Enum KnownAzureStorageProtocol
|
||||
- Added Enum KnownFunctionsDeploymentStorageType
|
||||
- Added Enum KnownRuntimeName
|
||||
- Enum KnownSkuName has a new value FlexConsumption
|
||||
- Enum KnownSupportedTlsVersions has a new value One3
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Operation AppServiceEnvironments.beginApproveOrRejectPrivateEndpointConnection has a new signature
|
||||
- Operation AppServiceEnvironments.beginApproveOrRejectPrivateEndpointConnectionAndWait has a new signature
|
||||
- Operation StaticSites.beginApproveOrRejectPrivateEndpointConnection has a new signature
|
||||
- Operation StaticSites.beginApproveOrRejectPrivateEndpointConnectionAndWait has a new signature
|
||||
- Operation WebApps.beginApproveOrRejectPrivateEndpointConnection has a new signature
|
||||
- Operation WebApps.beginApproveOrRejectPrivateEndpointConnectionAndWait has a new signature
|
||||
- Operation WebApps.beginApproveOrRejectPrivateEndpointConnectionSlot has a new signature
|
||||
- Operation WebApps.beginApproveOrRejectPrivateEndpointConnectionSlotAndWait has a new signature
|
||||
|
||||
|
||||
## 14.1.0 (2023-11-16)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added operation group GetUsagesInLocation
|
||||
- Added Interface AseRegion
|
||||
- Added Interface AseRegionCollection
|
||||
- Added Interface DaprConfig
|
||||
- Added Interface DiagnosticData_2
|
||||
- Added Interface GetUsagesInLocationListNextOptionalParams
|
||||
- Added Interface GetUsagesInLocationListOptionalParams
|
||||
- Added Interface ListAseRegionsNextOptionalParams
|
||||
- Added Interface ListAseRegionsOptionalParams
|
||||
- Added Interface ResourceConfig
|
||||
- Added Type Alias DaprLogLevel
|
||||
- Added Type Alias GetUsagesInLocationListNextResponse
|
||||
- Added Type Alias GetUsagesInLocationListResponse
|
||||
- Added Type Alias ListAseRegionsNextResponse
|
||||
- Added Type Alias ListAseRegionsResponse
|
||||
- Added Type Alias TlsCipherSuites
|
||||
- Interface CheckNameAvailabilityOptionalParams has a new optional parameter environmentId
|
||||
- Interface ResourceNameAvailabilityRequest has a new optional parameter environmentId
|
||||
- Interface Site has a new optional parameter daprConfig
|
||||
- Interface Site has a new optional parameter resourceConfig
|
||||
- Interface Site has a new optional parameter workloadProfileName
|
||||
- Interface SiteConfig has a new optional parameter minTlsCipherSuite
|
||||
- Interface SiteConfigResource has a new optional parameter minTlsCipherSuite
|
||||
- Added Enum KnownDaprLogLevel
|
||||
- Added Enum KnownTlsCipherSuites
|
||||
- Added Enum KnownWorkflowState
|
||||
- Class WebSiteManagementClient has a new signature
|
||||
- Type of parameter dataset of interface DetectorResponse is changed from DiagnosticData[] to DiagnosticData_2[]
|
||||
|
||||
|
||||
## 14.0.0 (2023-03-10)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added operation StaticSites.createOrUpdateBasicAuth
|
||||
- Added operation StaticSites.createOrUpdateBuildDatabaseConnection
|
||||
- Added operation StaticSites.createOrUpdateDatabaseConnection
|
||||
- Added operation StaticSites.deleteBuildDatabaseConnection
|
||||
- Added operation StaticSites.deleteDatabaseConnection
|
||||
- Added operation StaticSites.getBasicAuth
|
||||
- Added operation StaticSites.getBuildDatabaseConnection
|
||||
- Added operation StaticSites.getBuildDatabaseConnectionWithDetails
|
||||
- Added operation StaticSites.getDatabaseConnection
|
||||
- Added operation StaticSites.getDatabaseConnectionWithDetails
|
||||
- Added operation StaticSites.listBasicAuth
|
||||
- Added operation StaticSites.listBuildDatabaseConnections
|
||||
- Added operation StaticSites.listBuildDatabaseConnectionsWithDetails
|
||||
- Added operation StaticSites.listDatabaseConnections
|
||||
- Added operation StaticSites.listDatabaseConnectionsWithDetails
|
||||
- Added operation StaticSites.updateBuildDatabaseConnection
|
||||
- Added operation StaticSites.updateDatabaseConnection
|
||||
- Added operation WebApps.deployWorkflowArtifacts
|
||||
- Added operation WebApps.deployWorkflowArtifactsSlot
|
||||
- Added operation WebApps.getInstanceWorkflowSlot
|
||||
- Added operation WebApps.getWorkflow
|
||||
- Added operation WebApps.listInstanceWorkflowsSlot
|
||||
- Added operation WebApps.listWorkflows
|
||||
- Added operation WebApps.listWorkflowsConnections
|
||||
- Added operation WebApps.listWorkflowsConnectionsSlot
|
||||
- Added Interface AppServiceEnvironmentsCreateOrUpdateHeaders
|
||||
- Added Interface DatabaseConnection
|
||||
- Added Interface DatabaseConnectionCollection
|
||||
- Added Interface DatabaseConnectionOverview
|
||||
- Added Interface DatabaseConnectionPatchRequest
|
||||
- Added Interface StaticSiteBasicAuthPropertiesARMResource
|
||||
- Added Interface StaticSiteBasicAuthPropertiesCollection
|
||||
- Added Interface StaticSiteDatabaseConnectionConfigurationFileOverview
|
||||
- Added Interface StaticSitesCreateOrUpdateBasicAuthOptionalParams
|
||||
- Added Interface StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesDeleteBuildDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesDeleteDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesGetBasicAuthOptionalParams
|
||||
- Added Interface StaticSitesGetBuildDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesGetBuildDatabaseConnectionsNextOptionalParams
|
||||
- Added Interface StaticSitesGetBuildDatabaseConnectionsOptionalParams
|
||||
- Added Interface StaticSitesGetBuildDatabaseConnectionsWithDetailsNextOptionalParams
|
||||
- Added Interface StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams
|
||||
- Added Interface StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams
|
||||
- Added Interface StaticSitesGetDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesGetDatabaseConnectionsNextOptionalParams
|
||||
- Added Interface StaticSitesGetDatabaseConnectionsOptionalParams
|
||||
- Added Interface StaticSitesGetDatabaseConnectionsWithDetailsNextOptionalParams
|
||||
- Added Interface StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams
|
||||
- Added Interface StaticSitesGetDatabaseConnectionWithDetailsOptionalParams
|
||||
- Added Interface StaticSitesListBasicAuthNextOptionalParams
|
||||
- Added Interface StaticSitesListBasicAuthOptionalParams
|
||||
- Added Interface StaticSitesUpdateBuildDatabaseConnectionOptionalParams
|
||||
- Added Interface StaticSitesUpdateDatabaseConnectionOptionalParams
|
||||
- Added Interface WebAppsDeployWorkflowArtifactsOptionalParams
|
||||
- Added Interface WebAppsDeployWorkflowArtifactsSlotOptionalParams
|
||||
- Added Interface WebAppsGetInstanceWorkflowSlotOptionalParams
|
||||
- Added Interface WebAppsGetWorkflowOptionalParams
|
||||
- Added Interface WebAppsListInstanceWorkflowsSlotNextOptionalParams
|
||||
- Added Interface WebAppsListInstanceWorkflowsSlotOptionalParams
|
||||
- Added Interface WebAppsListWorkflowsConnectionsOptionalParams
|
||||
- Added Interface WebAppsListWorkflowsConnectionsSlotOptionalParams
|
||||
- Added Interface WebAppsListWorkflowsNextOptionalParams
|
||||
- Added Interface WebAppsListWorkflowsOptionalParams
|
||||
- Added Interface WorkflowArtifacts
|
||||
- Added Interface WorkflowEnvelope
|
||||
- Added Interface WorkflowEnvelopeCollection
|
||||
- Added Interface WorkflowEnvelopeProperties
|
||||
- Added Interface WorkflowHealth
|
||||
- Added Type Alias BasicAuthName
|
||||
- Added Type Alias DefaultAction
|
||||
- Added Type Alias ProviderOsTypeSelected
|
||||
- Added Type Alias ProviderStackOsType
|
||||
- Added Type Alias StaticSitesCreateOrUpdateBasicAuthResponse
|
||||
- Added Type Alias StaticSitesCreateOrUpdateBuildDatabaseConnectionResponse
|
||||
- Added Type Alias StaticSitesCreateOrUpdateDatabaseConnectionResponse
|
||||
- Added Type Alias StaticSitesGetBasicAuthResponse
|
||||
- Added Type Alias StaticSitesGetBuildDatabaseConnectionResponse
|
||||
- Added Type Alias StaticSitesGetBuildDatabaseConnectionsNextResponse
|
||||
- Added Type Alias StaticSitesGetBuildDatabaseConnectionsResponse
|
||||
- Added Type Alias StaticSitesGetBuildDatabaseConnectionsWithDetailsNextResponse
|
||||
- Added Type Alias StaticSitesGetBuildDatabaseConnectionsWithDetailsResponse
|
||||
- Added Type Alias StaticSitesGetBuildDatabaseConnectionWithDetailsResponse
|
||||
- Added Type Alias StaticSitesGetDatabaseConnectionResponse
|
||||
- Added Type Alias StaticSitesGetDatabaseConnectionsNextResponse
|
||||
- Added Type Alias StaticSitesGetDatabaseConnectionsResponse
|
||||
- Added Type Alias StaticSitesGetDatabaseConnectionsWithDetailsNextResponse
|
||||
- Added Type Alias StaticSitesGetDatabaseConnectionsWithDetailsResponse
|
||||
- Added Type Alias StaticSitesGetDatabaseConnectionWithDetailsResponse
|
||||
- Added Type Alias StaticSitesListBasicAuthNextResponse
|
||||
- Added Type Alias StaticSitesListBasicAuthResponse
|
||||
- Added Type Alias StaticSitesUpdateBuildDatabaseConnectionResponse
|
||||
- Added Type Alias StaticSitesUpdateDatabaseConnectionResponse
|
||||
- Added Type Alias WebAppsGetInstanceWorkflowSlotResponse
|
||||
- Added Type Alias WebAppsGetWorkflowResponse
|
||||
- Added Type Alias WebAppsListInstanceWorkflowsSlotNextResponse
|
||||
- Added Type Alias WebAppsListInstanceWorkflowsSlotResponse
|
||||
- Added Type Alias WebAppsListWorkflowsConnectionsResponse
|
||||
- Added Type Alias WebAppsListWorkflowsConnectionsSlotResponse
|
||||
- Added Type Alias WebAppsListWorkflowsNextResponse
|
||||
- Added Type Alias WebAppsListWorkflowsResponse
|
||||
- Added Type Alias WorkflowHealthState
|
||||
- Interface Site has a new optional parameter managedEnvironmentId
|
||||
- Interface SiteConfig has a new optional parameter elasticWebAppScaleLimit
|
||||
- Interface SiteConfig has a new optional parameter ipSecurityRestrictionsDefaultAction
|
||||
- Interface SiteConfig has a new optional parameter metadata
|
||||
- Interface SiteConfig has a new optional parameter scmIpSecurityRestrictionsDefaultAction
|
||||
- Interface SiteConfigResource has a new optional parameter elasticWebAppScaleLimit
|
||||
- Interface SiteConfigResource has a new optional parameter ipSecurityRestrictionsDefaultAction
|
||||
- Interface SiteConfigResource has a new optional parameter metadata
|
||||
- Interface SiteConfigResource has a new optional parameter scmIpSecurityRestrictionsDefaultAction
|
||||
- Interface StaticSiteARMResource has a new optional parameter databaseConnections
|
||||
- Interface StaticSiteBuildARMResource has a new optional parameter databaseConnections
|
||||
- Interface StaticSitePatchResource has a new optional parameter databaseConnections
|
||||
- Added Enum KnownBasicAuthName
|
||||
- Added Enum KnownDefaultAction
|
||||
- Added Enum KnownProviderOsTypeSelected
|
||||
- Added Enum KnownProviderStackOsType
|
||||
- Interface AppServiceEnvironmentsListUsagesNextOptionalParams no longer has parameter filter
|
||||
- Interface AppServiceEnvironmentsListWebAppsNextOptionalParams no longer has parameter propertiesToInclude
|
||||
- Interface AppServicePlansListNextOptionalParams no longer has parameter detailed
|
||||
- Interface AppServicePlansListUsagesNextOptionalParams no longer has parameter filter
|
||||
- Interface AppServicePlansListWebAppsNextOptionalParams no longer has parameter filter
|
||||
- Interface AppServicePlansListWebAppsNextOptionalParams no longer has parameter skipToken
|
||||
- Interface AppServicePlansListWebAppsNextOptionalParams no longer has parameter top
|
||||
- Interface CertificatesListNextOptionalParams no longer has parameter filter
|
||||
- Interface ListBillingMetersNextOptionalParams no longer has parameter billingLocation
|
||||
- Interface ListBillingMetersNextOptionalParams no longer has parameter osType
|
||||
- Interface ListCustomHostNameSitesNextOptionalParams no longer has parameter hostname
|
||||
- Interface ListGeoRegionsNextOptionalParams no longer has parameter linuxDynamicWorkersEnabled
|
||||
- Interface ListGeoRegionsNextOptionalParams no longer has parameter linuxWorkersEnabled
|
||||
- Interface ListGeoRegionsNextOptionalParams no longer has parameter sku
|
||||
- Interface ListGeoRegionsNextOptionalParams no longer has parameter xenonWorkersEnabled
|
||||
- Interface ProviderGetAvailableStacksNextOptionalParams no longer has parameter osTypeSelected
|
||||
- Interface ProviderGetAvailableStacksOnPremNextOptionalParams no longer has parameter osTypeSelected
|
||||
- Interface ProviderGetFunctionAppStacksForLocationNextOptionalParams no longer has parameter stackOsType
|
||||
- Interface ProviderGetFunctionAppStacksNextOptionalParams no longer has parameter stackOsType
|
||||
- Interface ProviderGetWebAppStacksForLocationNextOptionalParams no longer has parameter stackOsType
|
||||
- Interface ProviderGetWebAppStacksNextOptionalParams no longer has parameter stackOsType
|
||||
- Interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams no longer has parameter expiredOnly
|
||||
- Interface RecommendationsListHistoryForHostingEnvironmentNextOptionalParams no longer has parameter filter
|
||||
- Interface RecommendationsListHistoryForWebAppNextOptionalParams no longer has parameter expiredOnly
|
||||
- Interface RecommendationsListHistoryForWebAppNextOptionalParams no longer has parameter filter
|
||||
- Interface RecommendationsListNextOptionalParams no longer has parameter featured
|
||||
- Interface RecommendationsListNextOptionalParams no longer has parameter filter
|
||||
- Interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams no longer has parameter featured
|
||||
- Interface RecommendationsListRecommendedRulesForHostingEnvironmentNextOptionalParams no longer has parameter filter
|
||||
- Interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams no longer has parameter featured
|
||||
- Interface RecommendationsListRecommendedRulesForWebAppNextOptionalParams no longer has parameter filter
|
||||
- Interface WebAppsListByResourceGroupNextOptionalParams no longer has parameter includeSlots
|
||||
- Interface WebAppsListPerfMonCountersNextOptionalParams no longer has parameter filter
|
||||
- Interface WebAppsListPerfMonCountersSlotNextOptionalParams no longer has parameter filter
|
||||
- Interface WebAppsListUsagesNextOptionalParams no longer has parameter filter
|
||||
- Interface WebAppsListUsagesSlotNextOptionalParams no longer has parameter filter
|
||||
- Interface WorkflowRunActionsListNextOptionalParams no longer has parameter filter
|
||||
- Interface WorkflowRunActionsListNextOptionalParams no longer has parameter top
|
||||
- Interface WorkflowRunsListNextOptionalParams no longer has parameter filter
|
||||
- Interface WorkflowRunsListNextOptionalParams no longer has parameter top
|
||||
- Interface WorkflowTriggerHistoriesListNextOptionalParams no longer has parameter filter
|
||||
- Interface WorkflowTriggerHistoriesListNextOptionalParams no longer has parameter top
|
||||
- Interface WorkflowTriggersListNextOptionalParams no longer has parameter filter
|
||||
- Interface WorkflowTriggersListNextOptionalParams no longer has parameter top
|
||||
- Interface WorkflowVersionsListNextOptionalParams no longer has parameter top
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Type of parameter osTypeSelected of interface ProviderGetAvailableStacksOnPremOptionalParams is changed from Enum19 to ProviderOsTypeSelected
|
||||
- Type of parameter osTypeSelected of interface ProviderGetAvailableStacksOptionalParams is changed from Enum14 to ProviderOsTypeSelected
|
||||
- Type of parameter stackOsType of interface ProviderGetFunctionAppStacksForLocationOptionalParams is changed from Enum16 to ProviderStackOsType
|
||||
- Type of parameter stackOsType of interface ProviderGetFunctionAppStacksOptionalParams is changed from Enum15 to ProviderStackOsType
|
||||
- Type of parameter stackOsType of interface ProviderGetWebAppStacksForLocationOptionalParams is changed from Enum17 to ProviderStackOsType
|
||||
- Type of parameter stackOsType of interface ProviderGetWebAppStacksOptionalParams is changed from Enum18 to ProviderStackOsType
|
||||
- Removed Enum KnownEnum14
|
||||
- Removed Enum KnownEnum15
|
||||
- Removed Enum KnownEnum16
|
||||
- Removed Enum KnownEnum17
|
||||
- Removed Enum KnownEnum18
|
||||
- Removed Enum KnownEnum19
|
||||
- Removed Enum KnownWorkflowState
|
||||
|
||||
## 13.0.3 (2022-11-16)
|
||||
|
||||
- Bugs Fixed
|
||||
|
||||
## 13.0.2 (2022-10-08)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- revert credential scopes
|
||||
|
||||
## 13.0.1 (2022-09-30)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- fix better user experience of credential scopes in government cloud
|
||||
|
||||
## 13.0.0 (2022-07-06)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added operation group WorkflowRunActionRepetitions
|
||||
- Added operation group WorkflowRunActionRepetitionsRequestHistories
|
||||
- Added operation group WorkflowRunActions
|
||||
- Added operation group WorkflowRunActionScopeRepetitions
|
||||
- Added operation group WorkflowRuns
|
||||
- Added operation group Workflows
|
||||
- Added operation group WorkflowTriggerHistories
|
||||
- Added operation group WorkflowTriggers
|
||||
- Added operation group WorkflowVersions
|
||||
- Added operation AppServiceEnvironments.beginUpgrade
|
||||
- Added operation AppServiceEnvironments.beginUpgradeAndWait
|
||||
- Added operation AppServiceEnvironments.deleteAseCustomDnsSuffixConfiguration
|
||||
- Added operation AppServiceEnvironments.getAseCustomDnsSuffixConfiguration
|
||||
- Added operation AppServiceEnvironments.testUpgradeAvailableNotification
|
||||
- Added operation AppServiceEnvironments.updateAseCustomDnsSuffixConfiguration
|
||||
- Added operation StaticSites.beginLinkBackend
|
||||
- Added operation StaticSites.beginLinkBackendAndWait
|
||||
- Added operation StaticSites.beginLinkBackendToBuild
|
||||
- Added operation StaticSites.beginLinkBackendToBuildAndWait
|
||||
- Added operation StaticSites.beginValidateBackend
|
||||
- Added operation StaticSites.beginValidateBackendAndWait
|
||||
- Added operation StaticSites.beginValidateBackendForBuild
|
||||
- Added operation StaticSites.beginValidateBackendForBuildAndWait
|
||||
- Added operation StaticSites.getLinkedBackend
|
||||
- Added operation StaticSites.getLinkedBackendForBuild
|
||||
- Added operation StaticSites.listLinkedBackends
|
||||
- Added operation StaticSites.listLinkedBackendsForBuild
|
||||
- Added operation StaticSites.unlinkBackend
|
||||
- Added operation StaticSites.unlinkBackendFromBuild
|
||||
- Added operation WebApps.beginGetProductionSiteDeploymentStatus
|
||||
- Added operation WebApps.beginGetProductionSiteDeploymentStatusAndWait
|
||||
- Added operation WebApps.beginGetSlotSiteDeploymentStatusSlot
|
||||
- Added operation WebApps.beginGetSlotSiteDeploymentStatusSlotAndWait
|
||||
- Added operation WebApps.createOneDeployOperation
|
||||
- Added operation WebApps.getAuthSettingsV2WithoutSecretsSlot
|
||||
- Added operation WebApps.getOneDeployStatus
|
||||
- Added operation WebApps.listProductionSiteDeploymentStatuses
|
||||
- Added operation WebApps.listSlotSiteDeploymentStatusesSlot
|
||||
- Added Interface AddressResponse
|
||||
- Added Interface AnalysisDefinition
|
||||
- Added Interface ApiKVReference
|
||||
- Added Interface ApplicationStackResource
|
||||
- Added Interface AppServiceCertificateOrder
|
||||
- Added Interface AppServiceCertificateOrderPatchResource
|
||||
- Added Interface AppServiceCertificatePatchResource
|
||||
- Added Interface AppServiceCertificateResource
|
||||
- Added Interface AppServiceEnvironmentPatchResource
|
||||
- Added Interface AppServiceEnvironmentResource
|
||||
- Added Interface AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationOptionalParams
|
||||
- Added Interface AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationOptionalParams
|
||||
- Added Interface AppServiceEnvironmentsTestUpgradeAvailableNotificationOptionalParams
|
||||
- Added Interface AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationOptionalParams
|
||||
- Added Interface AppServiceEnvironmentsUpgradeOptionalParams
|
||||
- Added Interface AppServicePlan
|
||||
- Added Interface AppServicePlanPatchResource
|
||||
- Added Interface AseV3NetworkingConfiguration
|
||||
- Added Interface AzureResourceErrorInfo
|
||||
- Added Interface AzureStoragePropertyDictionaryResource
|
||||
- Added Interface BackupItem
|
||||
- Added Interface BackupRequest
|
||||
- Added Interface BillingMeter
|
||||
- Added Interface Certificate
|
||||
- Added Interface CertificateEmail
|
||||
- Added Interface CertificateOrderAction
|
||||
- Added Interface CertificatePatchResource
|
||||
- Added Interface ConnectionStringDictionary
|
||||
- Added Interface ContainerApp
|
||||
- Added Interface ContentHash
|
||||
- Added Interface ContentLink
|
||||
- Added Interface ContinuousWebJob
|
||||
- Added Interface Correlation
|
||||
- Added Interface CsmDeploymentStatus
|
||||
- Added Interface CsmDeploymentStatusCollection
|
||||
- Added Interface CsmPublishingCredentialsPoliciesEntity
|
||||
- Added Interface CustomDnsSuffixConfiguration
|
||||
- Added Interface CustomHostnameAnalysisResult
|
||||
- Added Interface CustomHostnameSites
|
||||
- Added Interface DeletedAppRestoreRequest
|
||||
- Added Interface DeletedSite
|
||||
- Added Interface Deployment
|
||||
- Added Interface DetectorDefinitionResource
|
||||
- Added Interface DetectorResponse
|
||||
- Added Interface DiagnosticAnalysis
|
||||
- Added Interface DiagnosticCategory
|
||||
- Added Interface DiagnosticDetectorResponse
|
||||
- Added Interface Domain
|
||||
- Added Interface DomainOwnershipIdentifier
|
||||
- Added Interface DomainPatchResource
|
||||
- Added Interface ErrorInfo
|
||||
- Added Interface ErrorProperties
|
||||
- Added Interface ErrorResponse
|
||||
- Added Interface Expression
|
||||
- Added Interface ExpressionRoot
|
||||
- Added Interface ExpressionTraces
|
||||
- Added Interface FlowAccessControlConfiguration
|
||||
- Added Interface FlowAccessControlConfigurationPolicy
|
||||
- Added Interface FlowEndpoints
|
||||
- Added Interface FlowEndpointsConfiguration
|
||||
- Added Interface FunctionAppStack
|
||||
- Added Interface FunctionEnvelope
|
||||
- Added Interface GeoRegion
|
||||
- Added Interface HostNameBinding
|
||||
- Added Interface HybridConnection
|
||||
- Added Interface HybridConnectionKey
|
||||
- Added Interface HybridConnectionLimits
|
||||
- Added Interface Identifier
|
||||
- Added Interface IpAddress
|
||||
- Added Interface IpAddressRange
|
||||
- Added Interface JsonSchema
|
||||
- Added Interface KubeEnvironment
|
||||
- Added Interface KubeEnvironmentPatchResource
|
||||
- Added Interface MigrateMySqlRequest
|
||||
- Added Interface MigrateMySqlStatus
|
||||
- Added Interface MSDeploy
|
||||
- Added Interface MSDeployLog
|
||||
- Added Interface MSDeployStatus
|
||||
- Added Interface NetworkFeatures
|
||||
- Added Interface OpenAuthenticationAccessPolicies
|
||||
- Added Interface OpenAuthenticationAccessPolicy
|
||||
- Added Interface OpenAuthenticationPolicyClaim
|
||||
- Added Interface OperationResult
|
||||
- Added Interface OperationResultProperties
|
||||
- Added Interface PremierAddOn
|
||||
- Added Interface PremierAddOnOffer
|
||||
- Added Interface PremierAddOnPatchResource
|
||||
- Added Interface PrivateAccess
|
||||
- Added Interface PrivateLinkConnectionApprovalRequestResource
|
||||
- Added Interface ProcessInfo
|
||||
- Added Interface ProcessModuleInfo
|
||||
- Added Interface ProcessThreadInfo
|
||||
- Added Interface PublicCertificate
|
||||
- Added Interface PushSettings
|
||||
- Added Interface Recommendation
|
||||
- Added Interface RecommendationRule
|
||||
- Added Interface RecurrenceSchedule
|
||||
- Added Interface RecurrenceScheduleOccurrence
|
||||
- Added Interface RegenerateActionParameter
|
||||
- Added Interface ReissueCertificateOrderRequest
|
||||
- Added Interface RelayServiceConnectionEntity
|
||||
- Added Interface RemotePrivateEndpointConnection
|
||||
- Added Interface RemotePrivateEndpointConnectionARMResource
|
||||
- Added Interface RenewCertificateOrderRequest
|
||||
- Added Interface RepetitionIndex
|
||||
- Added Interface Request_2
|
||||
- Added Interface RequestHistory
|
||||
- Added Interface RequestHistoryListResult
|
||||
- Added Interface RequestHistoryProperties
|
||||
- Added Interface ResourceHealthMetadata
|
||||
- Added Interface ResourceMetricDefinition
|
||||
- Added Interface ResourceReference
|
||||
- Added Interface Response_2
|
||||
- Added Interface RestoreRequest
|
||||
- Added Interface RetryHistory
|
||||
- Added Interface Revision
|
||||
- Added Interface RunActionCorrelation
|
||||
- Added Interface RunCorrelation
|
||||
- Added Interface Site
|
||||
- Added Interface SiteAuthSettings
|
||||
- Added Interface SiteAuthSettingsV2
|
||||
- Added Interface SiteConfigResource
|
||||
- Added Interface SiteConfigurationSnapshotInfo
|
||||
- Added Interface SiteExtensionInfo
|
||||
- Added Interface SiteLogsConfig
|
||||
- Added Interface SitePatchResource
|
||||
- Added Interface SitePhpErrorLogFlag
|
||||
- Added Interface SiteSourceControl
|
||||
- Added Interface SlotConfigNamesResource
|
||||
- Added Interface SlotDifference
|
||||
- Added Interface Snapshot
|
||||
- Added Interface SnapshotRestoreRequest
|
||||
- Added Interface SourceControl
|
||||
- Added Interface StaticSiteARMResource
|
||||
- Added Interface StaticSiteBuildARMResource
|
||||
- Added Interface StaticSiteCustomDomainOverviewARMResource
|
||||
- Added Interface StaticSiteCustomDomainRequestPropertiesARMResource
|
||||
- Added Interface StaticSiteFunctionOverviewARMResource
|
||||
- Added Interface StaticSiteLinkedBackend
|
||||
- Added Interface StaticSiteLinkedBackendARMResource
|
||||
- Added Interface StaticSiteLinkedBackendsCollection
|
||||
- Added Interface StaticSitePatchResource
|
||||
- Added Interface StaticSiteResetPropertiesARMResource
|
||||
- Added Interface StaticSitesGetLinkedBackendForBuildOptionalParams
|
||||
- Added Interface StaticSitesGetLinkedBackendOptionalParams
|
||||
- Added Interface StaticSitesGetLinkedBackendsForBuildNextOptionalParams
|
||||
- Added Interface StaticSitesGetLinkedBackendsForBuildOptionalParams
|
||||
- Added Interface StaticSitesGetLinkedBackendsNextOptionalParams
|
||||
- Added Interface StaticSitesGetLinkedBackendsOptionalParams
|
||||
- Added Interface StaticSitesLinkBackendOptionalParams
|
||||
- Added Interface StaticSitesLinkBackendToBuildOptionalParams
|
||||
- Added Interface StaticSitesUnlinkBackendFromBuildOptionalParams
|
||||
- Added Interface StaticSitesUnlinkBackendOptionalParams
|
||||
- Added Interface StaticSitesValidateBackendForBuildOptionalParams
|
||||
- Added Interface StaticSitesValidateBackendOptionalParams
|
||||
- Added Interface StaticSitesWorkflowPreview
|
||||
- Added Interface StaticSitesWorkflowPreviewRequest
|
||||
- Added Interface StaticSiteUserARMResource
|
||||
- Added Interface StaticSiteUserInvitationRequestResource
|
||||
- Added Interface StaticSiteUserInvitationResponseResource
|
||||
- Added Interface StaticSiteUserProvidedFunctionApp
|
||||
- Added Interface StaticSiteUserProvidedFunctionAppARMResource
|
||||
- Added Interface StaticSiteZipDeploymentARMResource
|
||||
- Added Interface StorageMigrationOptions
|
||||
- Added Interface StorageMigrationResponse
|
||||
- Added Interface StringDictionary
|
||||
- Added Interface StringList
|
||||
- Added Interface SubResource
|
||||
- Added Interface SwiftVirtualNetwork
|
||||
- Added Interface TopLevelDomain
|
||||
- Added Interface TriggeredJobHistory
|
||||
- Added Interface TriggeredWebJob
|
||||
- Added Interface Usage
|
||||
- Added Interface User
|
||||
- Added Interface VnetGateway
|
||||
- Added Interface VnetInfoResource
|
||||
- Added Interface VnetParameters
|
||||
- Added Interface VnetRoute
|
||||
- Added Interface VnetValidationFailureDetails
|
||||
- Added Interface VnetValidationTestFailure
|
||||
- Added Interface WebAppsCreateOneDeployOperationOptionalParams
|
||||
- Added Interface WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams
|
||||
- Added Interface WebAppsGetOneDeployStatusOptionalParams
|
||||
- Added Interface WebAppsGetProductionSiteDeploymentStatusOptionalParams
|
||||
- Added Interface WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams
|
||||
- Added Interface WebAppsListProductionSiteDeploymentStatusesNextOptionalParams
|
||||
- Added Interface WebAppsListProductionSiteDeploymentStatusesOptionalParams
|
||||
- Added Interface WebAppsListSlotSiteDeploymentStatusesSlotNextOptionalParams
|
||||
- Added Interface WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams
|
||||
- Added Interface WebAppStack
|
||||
- Added Interface WebJob
|
||||
- Added Interface WebSiteInstanceStatus
|
||||
- Added Interface WorkerPoolResource
|
||||
- Added Interface Workflow
|
||||
- Added Interface WorkflowFilter
|
||||
- Added Interface WorkflowListResult
|
||||
- Added Interface WorkflowOutputParameter
|
||||
- Added Interface WorkflowParameter
|
||||
- Added Interface WorkflowResource
|
||||
- Added Interface WorkflowRun
|
||||
- Added Interface WorkflowRunAction
|
||||
- Added Interface WorkflowRunActionFilter
|
||||
- Added Interface WorkflowRunActionListResult
|
||||
- Added Interface WorkflowRunActionRepetitionDefinition
|
||||
- Added Interface WorkflowRunActionRepetitionDefinitionCollection
|
||||
- Added Interface WorkflowRunActionRepetitionProperties
|
||||
- Added Interface WorkflowRunActionRepetitionsGetOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsListExpressionTracesNextOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsListExpressionTracesOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsListNextOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsListOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsRequestHistoriesGetOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsRequestHistoriesListNextOptionalParams
|
||||
- Added Interface WorkflowRunActionRepetitionsRequestHistoriesListOptionalParams
|
||||
- Added Interface WorkflowRunActionScopeRepetitionsGetOptionalParams
|
||||
- Added Interface WorkflowRunActionScopeRepetitionsListNextOptionalParams
|
||||
- Added Interface WorkflowRunActionScopeRepetitionsListOptionalParams
|
||||
- Added Interface WorkflowRunActionsGetOptionalParams
|
||||
- Added Interface WorkflowRunActionsListExpressionTracesNextOptionalParams
|
||||
- Added Interface WorkflowRunActionsListExpressionTracesOptionalParams
|
||||
- Added Interface WorkflowRunActionsListNextOptionalParams
|
||||
- Added Interface WorkflowRunActionsListOptionalParams
|
||||
- Added Interface WorkflowRunFilter
|
||||
- Added Interface WorkflowRunListResult
|
||||
- Added Interface WorkflowRunsCancelOptionalParams
|
||||
- Added Interface WorkflowRunsGetOptionalParams
|
||||
- Added Interface WorkflowRunsListNextOptionalParams
|
||||
- Added Interface WorkflowRunsListOptionalParams
|
||||
- Added Interface WorkflowRunTrigger
|
||||
- Added Interface WorkflowSku
|
||||
- Added Interface WorkflowsRegenerateAccessKeyOptionalParams
|
||||
- Added Interface WorkflowsValidateOptionalParams
|
||||
- Added Interface WorkflowTrigger
|
||||
- Added Interface WorkflowTriggerCallbackUrl
|
||||
- Added Interface WorkflowTriggerFilter
|
||||
- Added Interface WorkflowTriggerHistoriesGetOptionalParams
|
||||
- Added Interface WorkflowTriggerHistoriesListNextOptionalParams
|
||||
- Added Interface WorkflowTriggerHistoriesListOptionalParams
|
||||
- Added Interface WorkflowTriggerHistoriesResubmitOptionalParams
|
||||
- Added Interface WorkflowTriggerHistory
|
||||
- Added Interface WorkflowTriggerHistoryFilter
|
||||
- Added Interface WorkflowTriggerHistoryListResult
|
||||
- Added Interface WorkflowTriggerListCallbackUrlQueries
|
||||
- Added Interface WorkflowTriggerListResult
|
||||
- Added Interface WorkflowTriggerRecurrence
|
||||
- Added Interface WorkflowTriggersGetOptionalParams
|
||||
- Added Interface WorkflowTriggersGetSchemaJsonOptionalParams
|
||||
- Added Interface WorkflowTriggersListCallbackUrlOptionalParams
|
||||
- Added Interface WorkflowTriggersListNextOptionalParams
|
||||
- Added Interface WorkflowTriggersListOptionalParams
|
||||
- Added Interface WorkflowTriggersRunOptionalParams
|
||||
- Added Interface WorkflowVersion
|
||||
- Added Interface WorkflowVersionListResult
|
||||
- Added Interface WorkflowVersionsGetOptionalParams
|
||||
- Added Interface WorkflowVersionsListNextOptionalParams
|
||||
- Added Interface WorkflowVersionsListOptionalParams
|
||||
- Added Type Alias AppServiceEnvironmentsDeleteAseCustomDnsSuffixConfigurationResponse
|
||||
- Added Type Alias AppServiceEnvironmentsGetAseCustomDnsSuffixConfigurationResponse
|
||||
- Added Type Alias AppServiceEnvironmentsUpdateAseCustomDnsSuffixConfigurationResponse
|
||||
- Added Type Alias CustomDnsSuffixProvisioningState
|
||||
- Added Type Alias DayOfWeek
|
||||
- Added Type Alias DaysOfWeek
|
||||
- Added Type Alias DeploymentBuildStatus
|
||||
- Added Type Alias Enum14
|
||||
- Added Type Alias KeyType_2
|
||||
- Added Type Alias Kind
|
||||
- Added Type Alias OpenAuthenticationProviderType
|
||||
- Added Type Alias ParameterType
|
||||
- Added Type Alias RecurrenceFrequency
|
||||
- Added Type Alias ResourceNotRenewableReason
|
||||
- Added Type Alias StaticSitesGetLinkedBackendForBuildResponse
|
||||
- Added Type Alias StaticSitesGetLinkedBackendResponse
|
||||
- Added Type Alias StaticSitesGetLinkedBackendsForBuildNextResponse
|
||||
- Added Type Alias StaticSitesGetLinkedBackendsForBuildResponse
|
||||
- Added Type Alias StaticSitesGetLinkedBackendsNextResponse
|
||||
- Added Type Alias StaticSitesGetLinkedBackendsResponse
|
||||
- Added Type Alias StaticSitesLinkBackendResponse
|
||||
- Added Type Alias StaticSitesLinkBackendToBuildResponse
|
||||
- Added Type Alias UpgradeAvailability
|
||||
- Added Type Alias UpgradePreference
|
||||
- Added Type Alias WebAppsCreateOneDeployOperationResponse
|
||||
- Added Type Alias WebAppsGetAuthSettingsV2WithoutSecretsSlotResponse
|
||||
- Added Type Alias WebAppsGetOneDeployStatusResponse
|
||||
- Added Type Alias WebAppsGetProductionSiteDeploymentStatusResponse
|
||||
- Added Type Alias WebAppsGetSlotSiteDeploymentStatusSlotResponse
|
||||
- Added Type Alias WebAppsListProductionSiteDeploymentStatusesNextResponse
|
||||
- Added Type Alias WebAppsListProductionSiteDeploymentStatusesResponse
|
||||
- Added Type Alias WebAppsListSlotSiteDeploymentStatusesSlotNextResponse
|
||||
- Added Type Alias WebAppsListSlotSiteDeploymentStatusesSlotResponse
|
||||
- Added Type Alias WorkflowProvisioningState
|
||||
- Added Type Alias WorkflowRunActionRepetitionsGetResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsListExpressionTracesNextResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsListExpressionTracesResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsListNextResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsListResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsRequestHistoriesGetResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsRequestHistoriesListNextResponse
|
||||
- Added Type Alias WorkflowRunActionRepetitionsRequestHistoriesListResponse
|
||||
- Added Type Alias WorkflowRunActionScopeRepetitionsGetResponse
|
||||
- Added Type Alias WorkflowRunActionScopeRepetitionsListNextResponse
|
||||
- Added Type Alias WorkflowRunActionScopeRepetitionsListResponse
|
||||
- Added Type Alias WorkflowRunActionsGetResponse
|
||||
- Added Type Alias WorkflowRunActionsListExpressionTracesNextResponse
|
||||
- Added Type Alias WorkflowRunActionsListExpressionTracesResponse
|
||||
- Added Type Alias WorkflowRunActionsListNextResponse
|
||||
- Added Type Alias WorkflowRunActionsListResponse
|
||||
- Added Type Alias WorkflowRunsGetResponse
|
||||
- Added Type Alias WorkflowRunsListNextResponse
|
||||
- Added Type Alias WorkflowRunsListResponse
|
||||
- Added Type Alias WorkflowSkuName
|
||||
- Added Type Alias WorkflowState
|
||||
- Added Type Alias WorkflowStatus
|
||||
- Added Type Alias WorkflowTriggerHistoriesGetResponse
|
||||
- Added Type Alias WorkflowTriggerHistoriesListNextResponse
|
||||
- Added Type Alias WorkflowTriggerHistoriesListResponse
|
||||
- Added Type Alias WorkflowTriggerProvisioningState
|
||||
- Added Type Alias WorkflowTriggersGetResponse
|
||||
- Added Type Alias WorkflowTriggersGetSchemaJsonResponse
|
||||
- Added Type Alias WorkflowTriggersListCallbackUrlResponse
|
||||
- Added Type Alias WorkflowTriggersListNextResponse
|
||||
- Added Type Alias WorkflowTriggersListResponse
|
||||
- Added Type Alias WorkflowVersionsGetResponse
|
||||
- Added Type Alias WorkflowVersionsListNextResponse
|
||||
- Added Type Alias WorkflowVersionsListResponse
|
||||
- Interface AppServiceEnvironment has a new optional parameter customDnsSuffixConfiguration
|
||||
- Interface AppServiceEnvironment has a new optional parameter networkingConfiguration
|
||||
- Interface AppServiceEnvironment has a new optional parameter upgradeAvailability
|
||||
- Interface AppServiceEnvironment has a new optional parameter upgradePreference
|
||||
- Interface ListCustomHostNameSitesNextOptionalParams has a new optional parameter hostname
|
||||
- Interface ListCustomHostNameSitesOptionalParams has a new optional parameter hostname
|
||||
- Class WebSiteManagementClient has a new parameter workflowRunActionRepetitions
|
||||
- Class WebSiteManagementClient has a new parameter workflowRunActionRepetitionsRequestHistories
|
||||
- Class WebSiteManagementClient has a new parameter workflowRunActions
|
||||
- Class WebSiteManagementClient has a new parameter workflowRunActionScopeRepetitions
|
||||
- Class WebSiteManagementClient has a new parameter workflowRuns
|
||||
- Class WebSiteManagementClient has a new parameter workflows
|
||||
- Class WebSiteManagementClient has a new parameter workflowTriggerHistories
|
||||
- Class WebSiteManagementClient has a new parameter workflowTriggers
|
||||
- Class WebSiteManagementClient has a new parameter workflowVersions
|
||||
- Added Enum KnownDeploymentBuildStatus
|
||||
- Added Enum KnownEnum14
|
||||
- Added Enum KnownKeyType
|
||||
- Added Enum KnownKind
|
||||
- Added Enum KnownOpenAuthenticationProviderType
|
||||
- Added Enum KnownParameterType
|
||||
- Added Enum KnownRecurrenceFrequency
|
||||
- Added Enum KnownResourceNotRenewableReason
|
||||
- Added Enum KnownUpgradeAvailability
|
||||
- Added Enum KnownUpgradePreference
|
||||
- Added Enum KnownWorkflowProvisioningState
|
||||
- Added Enum KnownWorkflowSkuName
|
||||
- Added Enum KnownWorkflowState
|
||||
- Added Enum KnownWorkflowStatus
|
||||
- Added Enum KnownWorkflowTriggerProvisioningState
|
||||
- Enum KnownCustomDomainStatus has a new value Unhealthy
|
||||
- Enum KnownEnum19 has a new value LinuxFunctions
|
||||
- Enum KnownEnum19 has a new value WindowsFunctions
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Removed Enum KnownAppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
|
||||
- Removed Enum KnownAppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem
|
||||
- Removed Enum KnownDomainPatchResourcePropertiesDomainNotRenewableReasonsItem
|
||||
- Removed Enum KnownDomainPropertiesDomainNotRenewableReasonsItem
|
||||
- Removed Enum KnownEnum20
|
||||
- Enum KnownEnum15 no longer has value LinuxFunctions
|
||||
- Enum KnownEnum15 no longer has value WindowsFunctions
|
||||
|
||||
|
||||
## 12.0.0 (2022-04-07)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added operation group Global_2
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Removed operation group Global
|
||||
|
||||
|
||||
## 11.0.0 (2022-01-10)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added operation group ContainerApps
|
||||
- Added operation group ContainerAppsRevisions
|
||||
- Added operation Domains.transferOut
|
||||
- Added operation WebApps.getAuthSettingsV2WithoutSecrets
|
||||
- Added Interface Configuration
|
||||
- Added Interface Container
|
||||
- Added Interface ContainerAppCollection
|
||||
- Added Interface ContainerAppsConfiguration
|
||||
- Added Interface ContainerAppsCreateOrUpdateOptionalParams
|
||||
- Added Interface ContainerAppsDeleteOptionalParams
|
||||
- Added Interface ContainerAppSecret
|
||||
- Added Interface ContainerAppsGetOptionalParams
|
||||
- Added Interface ContainerAppsListByResourceGroupNextOptionalParams
|
||||
- Added Interface ContainerAppsListByResourceGroupOptionalParams
|
||||
- Added Interface ContainerAppsListBySubscriptionNextOptionalParams
|
||||
- Added Interface ContainerAppsListBySubscriptionOptionalParams
|
||||
- Added Interface ContainerAppsListSecretsOptionalParams
|
||||
- Added Interface ContainerAppsRevisionsActivateRevisionOptionalParams
|
||||
- Added Interface ContainerAppsRevisionsDeactivateRevisionOptionalParams
|
||||
- Added Interface ContainerAppsRevisionsGetRevisionOptionalParams
|
||||
- Added Interface ContainerAppsRevisionsListRevisionsNextOptionalParams
|
||||
- Added Interface ContainerAppsRevisionsListRevisionsOptionalParams
|
||||
- Added Interface ContainerAppsRevisionsRestartRevisionOptionalParams
|
||||
- Added Interface ContainerResources
|
||||
- Added Interface CustomHostnameSitesCollection
|
||||
- Added Interface CustomScaleRule
|
||||
- Added Interface Dapr
|
||||
- Added Interface DaprComponent
|
||||
- Added Interface DaprMetadata
|
||||
- Added Interface DomainsTransferOutOptionalParams
|
||||
- Added Interface EnvironmentVar
|
||||
- Added Interface HttpScaleRule
|
||||
- Added Interface Ingress
|
||||
- Added Interface ListCustomHostNameSitesNextOptionalParams
|
||||
- Added Interface ListCustomHostNameSitesOptionalParams
|
||||
- Added Interface QueueScaleRule
|
||||
- Added Interface RegistryCredentials
|
||||
- Added Interface RevisionCollection
|
||||
- Added Interface Scale
|
||||
- Added Interface ScaleRule
|
||||
- Added Interface ScaleRuleAuth
|
||||
- Added Interface Secret
|
||||
- Added Interface SecretsCollection
|
||||
- Added Interface Template
|
||||
- Added Interface TrafficWeight
|
||||
- Added Interface WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams
|
||||
- Added Type Alias ActiveRevisionsMode
|
||||
- Added Type Alias ContainerApp
|
||||
- Added Type Alias ContainerAppProvisioningState
|
||||
- Added Type Alias ContainerAppsCreateOrUpdateResponse
|
||||
- Added Type Alias ContainerAppsGetResponse
|
||||
- Added Type Alias ContainerAppsListByResourceGroupNextResponse
|
||||
- Added Type Alias ContainerAppsListByResourceGroupResponse
|
||||
- Added Type Alias ContainerAppsListBySubscriptionNextResponse
|
||||
- Added Type Alias ContainerAppsListBySubscriptionResponse
|
||||
- Added Type Alias ContainerAppsListSecretsResponse
|
||||
- Added Type Alias ContainerAppsRevisionsGetRevisionResponse
|
||||
- Added Type Alias ContainerAppsRevisionsListRevisionsNextResponse
|
||||
- Added Type Alias ContainerAppsRevisionsListRevisionsResponse
|
||||
- Added Type Alias CustomHostnameSites
|
||||
- Added Type Alias DomainsTransferOutResponse
|
||||
- Added Type Alias EnterpriseGradeCdnStatus
|
||||
- Added Type Alias Enum16
|
||||
- Added Type Alias Enum17
|
||||
- Added Type Alias Enum18
|
||||
- Added Type Alias Enum19
|
||||
- Added Type Alias Enum20
|
||||
- Added Type Alias IngressTransportMethod
|
||||
- Added Type Alias ListCustomHostNameSitesNextResponse
|
||||
- Added Type Alias ListCustomHostNameSitesResponse
|
||||
- Added Type Alias Revision
|
||||
- Added Type Alias RevisionHealthState
|
||||
- Added Type Alias RevisionProvisioningState
|
||||
- Added Type Alias WebAppsGetAuthSettingsV2WithoutSecretsResponse
|
||||
- Class WebSiteManagementClient has a new parameter containerApps
|
||||
- Class WebSiteManagementClient has a new parameter containerAppsRevisions
|
||||
- Type Alias KubeEnvironment has a new parameter environmentType
|
||||
- Type Alias KubeEnvironment has a new parameter containerAppsConfiguration
|
||||
- Type Alias KubeEnvironmentPatchResource has a new parameter containerAppsConfiguration
|
||||
- Type Alias StaticSiteARMResource has a new parameter enterpriseGradeCdnStatus
|
||||
- Type Alias StaticSitePatchResource has a new parameter enterpriseGradeCdnStatus
|
||||
- Added Enum KnownActiveRevisionsMode
|
||||
- Added Enum KnownContainerAppProvisioningState
|
||||
- Added Enum KnownEnterpriseGradeCdnStatus
|
||||
- Added Enum KnownEnum16
|
||||
- Added Enum KnownEnum17
|
||||
- Added Enum KnownEnum18
|
||||
- Added Enum KnownEnum19
|
||||
- Added Enum KnownEnum20
|
||||
- Added Enum KnownIngressTransportMethod
|
||||
- Added Enum KnownRevisionHealthState
|
||||
- Added Enum KnownRevisionProvisioningState
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Removed Enum KnownEnum10
|
||||
- Removed Enum KnownEnum11
|
||||
- Removed Enum KnownEnum12
|
||||
- Removed Enum KnownEnum13
|
||||
- Removed Enum KnownEnum14
|
||||
|
||||
|
||||
## 10.0.0 (2021-12-13)
|
||||
|
||||
The package of @azure/arm-appservice is using our next generation design principles since version 10.0.0, which contains breaking changes.
|
||||
|
||||
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
||||
|
||||
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 ).
|
21
node_modules/@azure/arm-appservice/LICENSE
generated
vendored
21
node_modules/@azure/arm-appservice/LICENSE
generated
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2024 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
|
||||
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.
|
109
node_modules/@azure/arm-appservice/README.md
generated
vendored
109
node_modules/@azure/arm-appservice/README.md
generated
vendored
|
@ -1,109 +0,0 @@
|
|||
# Azure WebSiteManagement client library for JavaScript
|
||||
|
||||
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure WebSiteManagement client.
|
||||
|
||||
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://docs.microsoft.com/javascript/api/@azure/arm-appservice) |
|
||||
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
||||
|
||||
## 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-appservice` package
|
||||
|
||||
Install the Azure WebSiteManagement client library for JavaScript with `npm`:
|
||||
|
||||
```bash
|
||||
npm install @azure/arm-appservice
|
||||
```
|
||||
|
||||
### Create and authenticate a `WebSiteManagementClient`
|
||||
|
||||
To create a client object to access the Azure WebSiteManagement API, you will need the `endpoint` of your Azure WebSiteManagement resource and a `credential`. The Azure WebSiteManagement client can use Azure Active Directory credentials to authenticate.
|
||||
You can find the endpoint for your Azure WebSiteManagement resource in the [Azure Portal][azure_portal].
|
||||
|
||||
You 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/master/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 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://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
||||
|
||||
```javascript
|
||||
const { WebSiteManagementClient } = require("@azure/arm-appservice");
|
||||
const { DefaultAzureCredential } = require("@azure/identity");
|
||||
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
|
||||
|
||||
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
||||
const client = new WebSiteManagementClient(new DefaultAzureCredential(), subscriptionId);
|
||||
|
||||
// For client-side applications running in the browser, use this code instead:
|
||||
// const credential = new InteractiveBrowserCredential({
|
||||
// tenantId: "<YOUR_TENANT_ID>",
|
||||
// clientId: "<YOUR_CLIENT_ID>"
|
||||
// });
|
||||
// const client = new WebSiteManagementClient(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
|
||||
|
||||
### WebSiteManagementClient
|
||||
|
||||
`WebSiteManagementClient` is the primary interface for developers using the Azure WebSiteManagement client library. Explore the methods on this client object to understand the different features of the Azure WebSiteManagement 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`:
|
||||
|
||||
```javascript
|
||||
const { setLogLevel } = require("@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-Samples/azure-samples-js-management) 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_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
|
||||
[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,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateCertificateSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts"],"names":[],"mappings":""}
|
|
@ -1,45 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient, } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Creates or updates a certificate and associates with key vault secret.
|
||||
*
|
||||
* @summary Description for Creates or updates a certificate and associates with key vault secret.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/CreateAppServiceCertificate.json
|
||||
*/
|
||||
function createCertificate() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const name = "SampleCertName1";
|
||||
const keyVaultCertificate = {
|
||||
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
|
||||
keyVaultSecretName: "SampleSecretName1",
|
||||
location: "Global",
|
||||
};
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.beginCreateOrUpdateCertificateAndWait(resourceGroupName, certificateOrderName, name, keyVaultCertificate);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
createCertificate();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateCertificateSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,mBAAmB,GAAkC;YACzD,UAAU,EACR,kIAAkI;YACpI,kBAAkB,EAAE,mBAAmB;YACvC,QAAQ,EAAE,QAAQ;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,2BAA2B,CAAC,qCAAqC,CAC5E,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,EACJ,mBAAmB,CACpB,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@ -1,57 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient, } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Create or update a certificate purchase order.
|
||||
*
|
||||
* @summary Description for Create or update a certificate purchase order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/CreateAppServiceCertificateOrder.json
|
||||
*/
|
||||
function createCertificateOrder() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const certificateDistinguishedName = {
|
||||
autoRenew: true,
|
||||
certificates: {
|
||||
sampleCertName1: {
|
||||
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
|
||||
keyVaultSecretName: "SampleSecretName1",
|
||||
},
|
||||
sampleCertName2: {
|
||||
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
|
||||
keyVaultSecretName: "SampleSecretName2",
|
||||
},
|
||||
},
|
||||
distinguishedName: "CN=SampleCustomDomain.com",
|
||||
keySize: 2048,
|
||||
location: "Global",
|
||||
productType: "StandardDomainValidatedSsl",
|
||||
validityInYears: 2,
|
||||
};
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.beginCreateOrUpdateAndWait(resourceGroupName, certificateOrderName, certificateDistinguishedName);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
createCertificateOrder();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,4BAA4B,GAA+B;YAC/D,SAAS,EAAE,IAAI;YACf,YAAY,EAAE;gBACZ,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;gBACD,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;aACF;YACD,iBAAiB,EAAE,2BAA2B;YAC9C,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,4BAA4B;YACzC,eAAe,EAAE,CAAC;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CACjE,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,CAC7B,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sBAAsB,EAAE,CAAC;IAC3B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersDeleteCertificateSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersDeleteCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteCertificateSample.ts"],"names":[],"mappings":""}
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Delete the certificate associated with a certificate order.
|
||||
*
|
||||
* @summary Description for Delete the certificate associated with a certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/DeleteAppServiceCertificate.json
|
||||
*/
|
||||
function deleteAppServiceCertificate() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const name = "SampleCertName1";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.deleteCertificate(resourceGroupName, certificateOrderName, name);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
deleteAppServiceCertificate();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersDeleteCertificateSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersDeleteCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,iBAAiB,CACvE,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersDeleteSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteSample.ts"],"names":[],"mappings":""}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Delete an existing certificate order.
|
||||
*
|
||||
* @summary Description for Delete an existing certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/DeleteAppServiceCertificateOrder.json
|
||||
*/
|
||||
function deleteAppServiceCertificateOrder() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.delete(resourceGroupName, certificateOrderName);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
deleteAppServiceCertificateOrder();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersDeleteSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,MAAM,CAC5D,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersGetCertificateSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersGetCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetCertificateSample.ts"],"names":[],"mappings":""}
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Get the certificate associated with a certificate order.
|
||||
*
|
||||
* @summary Description for Get the certificate associated with a certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificate.json
|
||||
*/
|
||||
function getAppServiceCertificate() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const name = "SampleCertName1";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.getCertificate(resourceGroupName, certificateOrderName, name);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
getAppServiceCertificate();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersGetCertificateSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersGetCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,cAAc,CACpE,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersGetSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetSample.ts"],"names":[],"mappings":""}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Get a certificate order.
|
||||
*
|
||||
* @summary Description for Get a certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificateOrder.json
|
||||
*/
|
||||
function getAppServiceCertificateOrder() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.get(resourceGroupName, certificateOrderName);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
getAppServiceCertificateOrder();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersGetSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersGetSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,GAAG,CACzD,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersListByResourceGroupSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListByResourceGroupSample.ts"],"names":[],"mappings":""}
|
|
@ -1,54 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __asyncValues, __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Get certificate orders in a resource group.
|
||||
*
|
||||
* @summary Description for Get certificate orders in a resource group.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListAppServiceCertificateOrdersByResourceGroup.json
|
||||
*/
|
||||
function listAppServiceCertificateOrdersByResourceGroup() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, e_1, _b, _c;
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const resArray = new Array();
|
||||
try {
|
||||
for (var _d = true, _e = __asyncValues(client.appServiceCertificateOrders.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
||||
_c = _f.value;
|
||||
_d = false;
|
||||
let item = _c;
|
||||
resArray.push(item);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
console.log(resArray);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
listAppServiceCertificateOrdersByResourceGroup();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersListByResourceGroupSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8CAA8C;;;QAC3D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,2BAA2B,CAAC,mBAAmB,CAC3E,iBAAiB,CAClB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8CAA8C,EAAE,CAAC;IACnD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersListCertificatesSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersListCertificatesSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListCertificatesSample.ts"],"names":[],"mappings":""}
|
|
@ -1,55 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __asyncValues, __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for List all certificates associated with a certificate order.
|
||||
*
|
||||
* @summary Description for List all certificates associated with a certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListCertificatesByAppServiceCertificateOrder.json
|
||||
*/
|
||||
function listCertificatesByAppServiceCertificate() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, e_1, _b, _c;
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const resArray = new Array();
|
||||
try {
|
||||
for (var _d = true, _e = __asyncValues(client.appServiceCertificateOrders.listCertificates(resourceGroupName, certificateOrderName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
||||
_c = _f.value;
|
||||
_d = false;
|
||||
let item = _c;
|
||||
resArray.push(item);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
console.log(resArray);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
listCertificatesByAppServiceCertificate();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersListCertificatesSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersListCertificatesSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListCertificatesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,2BAA2B,CAAC,gBAAgB,CACxE,iBAAiB,EACjB,oBAAoB,CACrB,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersListSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListSample.ts"],"names":[],"mappings":""}
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __asyncValues, __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for List all certificate orders in a subscription.
|
||||
*
|
||||
* @summary Description for List all certificate orders in a subscription.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListAppServiceCertificateOrdersBySubscription.json
|
||||
*/
|
||||
function listAppServiceCertificateOrdersBySubscription() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, e_1, _b, _c;
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const resArray = new Array();
|
||||
try {
|
||||
for (var _d = true, _e = __asyncValues(client.appServiceCertificateOrders.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
||||
_c = _f.value;
|
||||
_d = false;
|
||||
let item = _c;
|
||||
resArray.push(item);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
console.log(resArray);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
listAppServiceCertificateOrdersBySubscription();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersListSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersListSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6CAA6C;;;QAC1D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAA5C,cAAyC;gBAAzC,WAAyC;gBAArD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6CAA6C,EAAE,CAAC;IAClD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersReissueSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersReissueSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersReissueSample.ts"],"names":[],"mappings":""}
|
|
@ -1,45 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient, } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Reissue an existing certificate order.
|
||||
*
|
||||
* @summary Description for Reissue an existing certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ReissueAppServiceCertificateOrder.json
|
||||
*/
|
||||
function reissueAppServiceCertificateOrder() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const reissueCertificateOrderRequest = {
|
||||
csr: "CSR1223238Value",
|
||||
delayExistingRevokeInHours: 2,
|
||||
isPrivateKeyExternal: false,
|
||||
keySize: 2048,
|
||||
};
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.reissue(resourceGroupName, certificateOrderName, reissueCertificateOrderRequest);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
reissueAppServiceCertificateOrder();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersReissueSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersReissueSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersReissueSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,8BAA8B,GAAmC;YACrE,GAAG,EAAE,iBAAiB;YACtB,0BAA0B,EAAE,CAAC;YAC7B,oBAAoB,EAAE,KAAK;YAC3B,OAAO,EAAE,IAAI;SACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,OAAO,CAC7D,iBAAiB,EACjB,oBAAoB,EACpB,8BAA8B,CAC/B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersRenewSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersRenewSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRenewSample.ts"],"names":[],"mappings":""}
|
|
@ -1,44 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient, } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Renew an existing certificate order.
|
||||
*
|
||||
* @summary Description for Renew an existing certificate order.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RenewAppServiceCertificateOrder.json
|
||||
*/
|
||||
function renewAppServiceCertificateOrder() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const renewCertificateOrderRequest = {
|
||||
csr: "CSR1223238Value",
|
||||
isPrivateKeyExternal: false,
|
||||
keySize: 2048,
|
||||
};
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.renew(resourceGroupName, certificateOrderName, renewCertificateOrderRequest);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
renewAppServiceCertificateOrder();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersRenewSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersRenewSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRenewSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,4BAA4B,GAAiC;YACjE,GAAG,EAAE,iBAAiB;YACtB,oBAAoB,EAAE,KAAK;YAC3B,OAAO,EAAE,IAAI;SACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,KAAK,CAC3D,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersResendEmailSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersResendEmailSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendEmailSample.ts"],"names":[],"mappings":""}
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Description for Resend certificate email.
|
||||
*
|
||||
* @summary Description for Resend certificate email.
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ResendAppServiceCertificateOrderEmail.json
|
||||
*/
|
||||
function resendAppServiceCertificateOrderEmail() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.resendEmail(resourceGroupName, certificateOrderName);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
resendAppServiceCertificateOrderEmail();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersResendEmailSample.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersResendEmailSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendEmailSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,WAAW,CAAC;QAC1D,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,WAAW,CACjE,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qCAAqC,EAAE,CAAC;IAC1C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||
export {};
|
||||
//# sourceMappingURL=appServiceCertificateOrdersResendRequestEmailsSample.d.ts.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"appServiceCertificateOrdersResendRequestEmailsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendRequestEmailsSample.ts"],"names":[],"mappings":""}
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
* Licensed under the MIT License.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
*/
|
||||
import { __awaiter } from "tslib";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { WebSiteManagementClient } from "@azure/arm-appservice";
|
||||
import { DefaultAzureCredential } from "@azure/identity";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
/**
|
||||
* This sample demonstrates how to Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order
|
||||
*
|
||||
* @summary Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order
|
||||
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ResendDomainOwnershipVerificationEmail.json
|
||||
*/
|
||||
function resendDomainOwnershipVerificationEmail() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const subscriptionId = process.env["APPSERVICE_SUBSCRIPTION_ID"] ||
|
||||
"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
|
||||
const resourceGroupName = process.env["APPSERVICE_RESOURCE_GROUP"] || "testrg123";
|
||||
const certificateOrderName = "SampleCertificateOrderName";
|
||||
const nameIdentifier = { name: "Domain name" };
|
||||
const credential = new DefaultAzureCredential();
|
||||
const client = new WebSiteManagementClient(credential, subscriptionId);
|
||||
const result = yield client.appServiceCertificateOrders.resendRequestEmails(resourceGroupName, certificateOrderName, nameIdentifier);
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
function main() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
resendDomainOwnershipVerificationEmail();
|
||||
});
|
||||
}
|
||||
main().catch(console.error);
|
||||
//# sourceMappingURL=appServiceCertificateOrdersResendRequestEmailsSample.js.map
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue