@azure/arm-edgeactions 1.0.0-alpha.20260212.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/browser/api/edgeActionExecutionFilters/index.d.ts +3 -0
- package/dist/browser/api/edgeActionExecutionFilters/index.js +4 -0
- package/dist/browser/api/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/browser/api/edgeActionExecutionFilters/operations.d.ts +32 -0
- package/dist/browser/api/edgeActionExecutionFilters/operations.js +176 -0
- package/dist/browser/api/edgeActionExecutionFilters/operations.js.map +1 -0
- package/dist/browser/api/edgeActionExecutionFilters/options.d.ts +23 -0
- package/dist/browser/api/edgeActionExecutionFilters/options.js +4 -0
- package/dist/browser/api/edgeActionExecutionFilters/options.js.map +1 -0
- package/dist/browser/api/edgeActionVersions/index.d.ts +3 -0
- package/dist/browser/api/edgeActionVersions/index.js +4 -0
- package/dist/browser/api/edgeActionVersions/index.js.map +1 -0
- package/dist/browser/api/edgeActionVersions/operations.d.ts +44 -0
- package/dist/browser/api/edgeActionVersions/operations.js +280 -0
- package/dist/browser/api/edgeActionVersions/operations.js.map +1 -0
- package/dist/browser/api/edgeActionVersions/options.d.ts +38 -0
- package/dist/browser/api/edgeActionVersions/options.js +4 -0
- package/dist/browser/api/edgeActionVersions/options.js.map +1 -0
- package/dist/browser/api/edgeActions/index.d.ts +3 -0
- package/dist/browser/api/edgeActions/index.js +4 -0
- package/dist/browser/api/edgeActions/index.js.map +1 -0
- package/dist/browser/api/edgeActions/operations.d.ts +36 -0
- package/dist/browser/api/edgeActions/operations.js +200 -0
- package/dist/browser/api/edgeActions/operations.js.map +1 -0
- package/dist/browser/api/edgeActions/options.d.ts +26 -0
- package/dist/browser/api/edgeActions/options.js +4 -0
- package/dist/browser/api/edgeActions/options.js.map +1 -0
- package/dist/browser/api/edgeActionsManagementContext.d.ts +20 -0
- package/dist/browser/api/edgeActionsManagementContext.js +23 -0
- package/dist/browser/api/edgeActionsManagementContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/classic/edgeActionExecutionFilters/index.d.ts +25 -0
- package/dist/browser/classic/edgeActionExecutionFilters/index.js +18 -0
- package/dist/browser/classic/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/browser/classic/edgeActionVersions/index.d.ts +31 -0
- package/dist/browser/classic/edgeActionVersions/index.js +21 -0
- package/dist/browser/classic/edgeActionVersions/index.js.map +1 -0
- package/dist/browser/classic/edgeActions/index.d.ts +27 -0
- package/dist/browser/classic/edgeActions/index.js +19 -0
- package/dist/browser/classic/edgeActions/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +4 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/edgeActionsManagementClient.d.ts +20 -0
- package/dist/browser/edgeActionsManagementClient.js +32 -0
- package/dist/browser/edgeActionsManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +13 -0
- package/dist/browser/index.js +8 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +353 -0
- package/dist/browser/models/models.js +378 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +110 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/index.d.ts +3 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/index.js +12 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/operations.d.ts +32 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/operations.js +193 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/operations.js.map +1 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/options.d.ts +23 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/options.js +5 -0
- package/dist/commonjs/api/edgeActionExecutionFilters/options.js.map +1 -0
- package/dist/commonjs/api/edgeActionVersions/index.d.ts +3 -0
- package/dist/commonjs/api/edgeActionVersions/index.js +15 -0
- package/dist/commonjs/api/edgeActionVersions/index.js.map +1 -0
- package/dist/commonjs/api/edgeActionVersions/operations.d.ts +44 -0
- package/dist/commonjs/api/edgeActionVersions/operations.js +306 -0
- package/dist/commonjs/api/edgeActionVersions/operations.js.map +1 -0
- package/dist/commonjs/api/edgeActionVersions/options.d.ts +38 -0
- package/dist/commonjs/api/edgeActionVersions/options.js +5 -0
- package/dist/commonjs/api/edgeActionVersions/options.js.map +1 -0
- package/dist/commonjs/api/edgeActions/index.d.ts +3 -0
- package/dist/commonjs/api/edgeActions/index.js +13 -0
- package/dist/commonjs/api/edgeActions/index.js.map +1 -0
- package/dist/commonjs/api/edgeActions/operations.d.ts +36 -0
- package/dist/commonjs/api/edgeActions/operations.js +220 -0
- package/dist/commonjs/api/edgeActions/operations.js.map +1 -0
- package/dist/commonjs/api/edgeActions/options.d.ts +26 -0
- package/dist/commonjs/api/edgeActions/options.js +5 -0
- package/dist/commonjs/api/edgeActions/options.js.map +1 -0
- package/dist/commonjs/api/edgeActionsManagementContext.d.ts +20 -0
- package/dist/commonjs/api/edgeActionsManagementContext.js +26 -0
- package/dist/commonjs/api/edgeActionsManagementContext.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/classic/edgeActionExecutionFilters/index.d.ts +25 -0
- package/dist/commonjs/classic/edgeActionExecutionFilters/index.js +21 -0
- package/dist/commonjs/classic/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/commonjs/classic/edgeActionVersions/index.d.ts +31 -0
- package/dist/commonjs/classic/edgeActionVersions/index.js +24 -0
- package/dist/commonjs/classic/edgeActionVersions/index.js.map +1 -0
- package/dist/commonjs/classic/edgeActions/index.d.ts +27 -0
- package/dist/commonjs/classic/edgeActions/index.js +22 -0
- package/dist/commonjs/classic/edgeActions/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +4 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/edgeActionsManagementClient.d.ts +20 -0
- package/dist/commonjs/edgeActionsManagementClient.js +36 -0
- package/dist/commonjs/edgeActionsManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +13 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.js +13 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +353 -0
- package/dist/commonjs/models/models.js +425 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +113 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +146 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +98 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +203 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/edgeActionExecutionFilters/index.d.ts +3 -0
- package/dist/esm/api/edgeActionExecutionFilters/index.js +4 -0
- package/dist/esm/api/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/esm/api/edgeActionExecutionFilters/operations.d.ts +32 -0
- package/dist/esm/api/edgeActionExecutionFilters/operations.js +176 -0
- package/dist/esm/api/edgeActionExecutionFilters/operations.js.map +1 -0
- package/dist/esm/api/edgeActionExecutionFilters/options.d.ts +23 -0
- package/dist/esm/api/edgeActionExecutionFilters/options.js +4 -0
- package/dist/esm/api/edgeActionExecutionFilters/options.js.map +1 -0
- package/dist/esm/api/edgeActionVersions/index.d.ts +3 -0
- package/dist/esm/api/edgeActionVersions/index.js +4 -0
- package/dist/esm/api/edgeActionVersions/index.js.map +1 -0
- package/dist/esm/api/edgeActionVersions/operations.d.ts +44 -0
- package/dist/esm/api/edgeActionVersions/operations.js +280 -0
- package/dist/esm/api/edgeActionVersions/operations.js.map +1 -0
- package/dist/esm/api/edgeActionVersions/options.d.ts +38 -0
- package/dist/esm/api/edgeActionVersions/options.js +4 -0
- package/dist/esm/api/edgeActionVersions/options.js.map +1 -0
- package/dist/esm/api/edgeActions/index.d.ts +3 -0
- package/dist/esm/api/edgeActions/index.js +4 -0
- package/dist/esm/api/edgeActions/index.js.map +1 -0
- package/dist/esm/api/edgeActions/operations.d.ts +36 -0
- package/dist/esm/api/edgeActions/operations.js +200 -0
- package/dist/esm/api/edgeActions/operations.js.map +1 -0
- package/dist/esm/api/edgeActions/options.d.ts +26 -0
- package/dist/esm/api/edgeActions/options.js +4 -0
- package/dist/esm/api/edgeActions/options.js.map +1 -0
- package/dist/esm/api/edgeActionsManagementContext.d.ts +20 -0
- package/dist/esm/api/edgeActionsManagementContext.js +23 -0
- package/dist/esm/api/edgeActionsManagementContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/classic/edgeActionExecutionFilters/index.d.ts +25 -0
- package/dist/esm/classic/edgeActionExecutionFilters/index.js +18 -0
- package/dist/esm/classic/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/esm/classic/edgeActionVersions/index.d.ts +31 -0
- package/dist/esm/classic/edgeActionVersions/index.js +21 -0
- package/dist/esm/classic/edgeActionVersions/index.js.map +1 -0
- package/dist/esm/classic/edgeActions/index.d.ts +27 -0
- package/dist/esm/classic/edgeActions/index.js +19 -0
- package/dist/esm/classic/edgeActions/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +4 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/edgeActionsManagementClient.d.ts +20 -0
- package/dist/esm/edgeActionsManagementClient.js +32 -0
- package/dist/esm/edgeActionsManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +353 -0
- package/dist/esm/models/models.js +378 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +110 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/edgeActionExecutionFilters/index.d.ts +3 -0
- package/dist/react-native/api/edgeActionExecutionFilters/index.js +4 -0
- package/dist/react-native/api/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/react-native/api/edgeActionExecutionFilters/operations.d.ts +32 -0
- package/dist/react-native/api/edgeActionExecutionFilters/operations.js +176 -0
- package/dist/react-native/api/edgeActionExecutionFilters/operations.js.map +1 -0
- package/dist/react-native/api/edgeActionExecutionFilters/options.d.ts +23 -0
- package/dist/react-native/api/edgeActionExecutionFilters/options.js +4 -0
- package/dist/react-native/api/edgeActionExecutionFilters/options.js.map +1 -0
- package/dist/react-native/api/edgeActionVersions/index.d.ts +3 -0
- package/dist/react-native/api/edgeActionVersions/index.js +4 -0
- package/dist/react-native/api/edgeActionVersions/index.js.map +1 -0
- package/dist/react-native/api/edgeActionVersions/operations.d.ts +44 -0
- package/dist/react-native/api/edgeActionVersions/operations.js +280 -0
- package/dist/react-native/api/edgeActionVersions/operations.js.map +1 -0
- package/dist/react-native/api/edgeActionVersions/options.d.ts +38 -0
- package/dist/react-native/api/edgeActionVersions/options.js +4 -0
- package/dist/react-native/api/edgeActionVersions/options.js.map +1 -0
- package/dist/react-native/api/edgeActions/index.d.ts +3 -0
- package/dist/react-native/api/edgeActions/index.js +4 -0
- package/dist/react-native/api/edgeActions/index.js.map +1 -0
- package/dist/react-native/api/edgeActions/operations.d.ts +36 -0
- package/dist/react-native/api/edgeActions/operations.js +200 -0
- package/dist/react-native/api/edgeActions/operations.js.map +1 -0
- package/dist/react-native/api/edgeActions/options.d.ts +26 -0
- package/dist/react-native/api/edgeActions/options.js +4 -0
- package/dist/react-native/api/edgeActions/options.js.map +1 -0
- package/dist/react-native/api/edgeActionsManagementContext.d.ts +20 -0
- package/dist/react-native/api/edgeActionsManagementContext.js +23 -0
- package/dist/react-native/api/edgeActionsManagementContext.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/classic/edgeActionExecutionFilters/index.d.ts +25 -0
- package/dist/react-native/classic/edgeActionExecutionFilters/index.js +18 -0
- package/dist/react-native/classic/edgeActionExecutionFilters/index.js.map +1 -0
- package/dist/react-native/classic/edgeActionVersions/index.d.ts +31 -0
- package/dist/react-native/classic/edgeActionVersions/index.js +21 -0
- package/dist/react-native/classic/edgeActionVersions/index.js.map +1 -0
- package/dist/react-native/classic/edgeActions/index.d.ts +27 -0
- package/dist/react-native/classic/edgeActions/index.js +19 -0
- package/dist/react-native/classic/edgeActions/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +4 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/edgeActionsManagementClient.d.ts +20 -0
- package/dist/react-native/edgeActionsManagementClient.js +32 -0
- package/dist/react-native/edgeActionsManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +13 -0
- package/dist/react-native/index.js +8 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +353 -0
- package/dist/react-native/models/models.js +378 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.js +110 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +143 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +95 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +200 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +235 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Azure Cdn client library for JavaScript
|
|
2
|
+
|
|
3
|
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Cdn client.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Key links:
|
|
8
|
+
|
|
9
|
+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/edgeactions/arm-edgeactions)
|
|
10
|
+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-edgeactions)
|
|
11
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-edgeactions?view=azure-node-preview)
|
|
12
|
+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/edgeactions/arm-edgeactions/samples)
|
|
13
|
+
|
|
14
|
+
## Getting started
|
|
15
|
+
|
|
16
|
+
### Currently supported environments
|
|
17
|
+
|
|
18
|
+
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
|
|
19
|
+
- Latest versions of Safari, Chrome, Edge and Firefox.
|
|
20
|
+
|
|
21
|
+
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
|
22
|
+
|
|
23
|
+
### Prerequisites
|
|
24
|
+
|
|
25
|
+
- An [Azure subscription][azure_sub].
|
|
26
|
+
|
|
27
|
+
### Install the `@azure/arm-edgeactions` package
|
|
28
|
+
|
|
29
|
+
Install the Azure Cdn client library for JavaScript with `npm`:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install @azure/arm-edgeactions
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Create and authenticate a `EdgeActionsManagementClient`
|
|
36
|
+
|
|
37
|
+
To create a client object to access the Azure Cdn API, you will need the `endpoint` of your Azure Cdn resource and a `credential`. The Azure Cdn client can use Azure Active Directory credentials to authenticate.
|
|
38
|
+
You can find the endpoint for your Azure Cdn resource in the [Azure Portal][azure_portal].
|
|
39
|
+
|
|
40
|
+
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).
|
|
41
|
+
|
|
42
|
+
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm install @azure/identity
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
You will also need to **register a new AAD application and grant access to Azure Cdn** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
49
|
+
|
|
50
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
51
|
+
|
|
52
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
53
|
+
|
|
54
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
55
|
+
import { EdgeActionsManagementClient } from "@azure/arm-edgeactions";
|
|
56
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
57
|
+
|
|
58
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
59
|
+
const client = new EdgeActionsManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
63
|
+
|
|
64
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
65
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
66
|
+
import { EdgeActionsManagementClient } from "@azure/arm-edgeactions";
|
|
67
|
+
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
73
|
+
const client = new EdgeActionsManagementClient(credential, subscriptionId);
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### JavaScript Bundle
|
|
78
|
+
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).
|
|
79
|
+
|
|
80
|
+
## Key concepts
|
|
81
|
+
|
|
82
|
+
### EdgeActionsManagementClient
|
|
83
|
+
|
|
84
|
+
`EdgeActionsManagementClient` is the primary interface for developers using the Azure Cdn client library. Explore the methods on this client object to understand the different features of the Azure Cdn service that you can access.
|
|
85
|
+
|
|
86
|
+
## Troubleshooting
|
|
87
|
+
|
|
88
|
+
### Logging
|
|
89
|
+
|
|
90
|
+
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`:
|
|
91
|
+
|
|
92
|
+
```ts snippet:SetLogLevel
|
|
93
|
+
import { setLogLevel } from "@azure/logger";
|
|
94
|
+
|
|
95
|
+
setLogLevel("info");
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
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).
|
|
99
|
+
|
|
100
|
+
## Next steps
|
|
101
|
+
|
|
102
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/edgeactions/arm-edgeactions/samples) directory for detailed examples on how to use this library.
|
|
103
|
+
|
|
104
|
+
## Contributing
|
|
105
|
+
|
|
106
|
+
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.
|
|
107
|
+
|
|
108
|
+
## Related projects
|
|
109
|
+
|
|
110
|
+
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
111
|
+
|
|
112
|
+
[azure_sub]: https://azure.microsoft.com/free/
|
|
113
|
+
[azure_portal]: https://portal.azure.com
|
|
114
|
+
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
|
|
115
|
+
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { listByEdgeAction, $delete, update, create, get } from "./operations.js";
|
|
2
|
+
export { EdgeActionExecutionFiltersListByEdgeActionOptionalParams, EdgeActionExecutionFiltersDeleteOptionalParams, EdgeActionExecutionFiltersUpdateOptionalParams, EdgeActionExecutionFiltersCreateOptionalParams, EdgeActionExecutionFiltersGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/edgeActionExecutionFilters/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByEdgeAction, $delete, update, create, get } from \"./operations.js\";\nexport {\n EdgeActionExecutionFiltersListByEdgeActionOptionalParams,\n EdgeActionExecutionFiltersDeleteOptionalParams,\n EdgeActionExecutionFiltersUpdateOptionalParams,\n EdgeActionExecutionFiltersCreateOptionalParams,\n EdgeActionExecutionFiltersGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { EdgeActionsManagementContext as Client } from "../index.js";
|
|
2
|
+
import type { EdgeActionExecutionFilter, EdgeActionExecutionFilterUpdate, _EdgeActionExecutionFilterListResult } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { EdgeActionExecutionFiltersListByEdgeActionOptionalParams, EdgeActionExecutionFiltersDeleteOptionalParams, EdgeActionExecutionFiltersUpdateOptionalParams, EdgeActionExecutionFiltersCreateOptionalParams, EdgeActionExecutionFiltersGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listByEdgeActionSend(context: Client, resourceGroupName: string, edgeActionName: string, options?: EdgeActionExecutionFiltersListByEdgeActionOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listByEdgeActionDeserialize(result: PathUncheckedResponse): Promise<_EdgeActionExecutionFilterListResult>;
|
|
9
|
+
/** List EdgeActionExecutionFilter resources by EdgeAction */
|
|
10
|
+
export declare function listByEdgeAction(context: Client, resourceGroupName: string, edgeActionName: string, options?: EdgeActionExecutionFiltersListByEdgeActionOptionalParams): PagedAsyncIterableIterator<EdgeActionExecutionFilter>;
|
|
11
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, options?: EdgeActionExecutionFiltersDeleteOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
13
|
+
/** Delete a EdgeActionExecutionFilter */
|
|
14
|
+
/**
|
|
15
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
16
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
17
|
+
* to the operation to override the generated name.
|
|
18
|
+
*/
|
|
19
|
+
export declare function $delete(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, options?: EdgeActionExecutionFiltersDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
20
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, properties: EdgeActionExecutionFilterUpdate, options?: EdgeActionExecutionFiltersUpdateOptionalParams): StreamableMethod;
|
|
21
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<EdgeActionExecutionFilter>;
|
|
22
|
+
/** Update a EdgeActionExecutionFilter */
|
|
23
|
+
export declare function update(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, properties: EdgeActionExecutionFilterUpdate, options?: EdgeActionExecutionFiltersUpdateOptionalParams): PollerLike<OperationState<EdgeActionExecutionFilter>, EdgeActionExecutionFilter>;
|
|
24
|
+
export declare function _createSend(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, resource: EdgeActionExecutionFilter, options?: EdgeActionExecutionFiltersCreateOptionalParams): StreamableMethod;
|
|
25
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<EdgeActionExecutionFilter>;
|
|
26
|
+
/** Create a EdgeActionExecutionFilter */
|
|
27
|
+
export declare function create(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, resource: EdgeActionExecutionFilter, options?: EdgeActionExecutionFiltersCreateOptionalParams): PollerLike<OperationState<EdgeActionExecutionFilter>, EdgeActionExecutionFilter>;
|
|
28
|
+
export declare function _getSend(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, options?: EdgeActionExecutionFiltersGetOptionalParams): StreamableMethod;
|
|
29
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<EdgeActionExecutionFilter>;
|
|
30
|
+
/** Get a EdgeActionExecutionFilter */
|
|
31
|
+
export declare function get(context: Client, resourceGroupName: string, edgeActionName: string, executionFilter: string, options?: EdgeActionExecutionFiltersGetOptionalParams): Promise<EdgeActionExecutionFilter>;
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, edgeActionExecutionFilterSerializer, edgeActionExecutionFilterDeserializer, edgeActionExecutionFilterUpdateSerializer, _edgeActionExecutionFilterListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
8
|
+
export function _listByEdgeActionSend(context, resourceGroupName, edgeActionName, options = { requestOptions: {} }) {
|
|
9
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters{?api%2Dversion}", {
|
|
10
|
+
subscriptionId: context.subscriptionId,
|
|
11
|
+
resourceGroupName: resourceGroupName,
|
|
12
|
+
edgeActionName: edgeActionName,
|
|
13
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
14
|
+
}, {
|
|
15
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
|
+
});
|
|
17
|
+
return context.path(path).get({
|
|
18
|
+
...operationOptionsToRequestParameters(options),
|
|
19
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function _listByEdgeActionDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["200"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
return _edgeActionExecutionFilterListResultDeserializer(result.body);
|
|
30
|
+
}
|
|
31
|
+
/** List EdgeActionExecutionFilter resources by EdgeAction */
|
|
32
|
+
export function listByEdgeAction(context, resourceGroupName, edgeActionName, options = { requestOptions: {} }) {
|
|
33
|
+
return buildPagedAsyncIterator(context, () => _listByEdgeActionSend(context, resourceGroupName, edgeActionName, options), _listByEdgeActionDeserialize, ["200"], {
|
|
34
|
+
itemName: "value",
|
|
35
|
+
nextLinkName: "nextLink",
|
|
36
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
export function _$deleteSend(context, resourceGroupName, edgeActionName, executionFilter, options = { requestOptions: {} }) {
|
|
40
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}", {
|
|
41
|
+
subscriptionId: context.subscriptionId,
|
|
42
|
+
resourceGroupName: resourceGroupName,
|
|
43
|
+
edgeActionName: edgeActionName,
|
|
44
|
+
executionFilter: executionFilter,
|
|
45
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
46
|
+
}, {
|
|
47
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
48
|
+
});
|
|
49
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
50
|
+
}
|
|
51
|
+
export async function _$deleteDeserialize(result) {
|
|
52
|
+
const expectedStatuses = ["200", "202", "204"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
54
|
+
const error = createRestError(result);
|
|
55
|
+
error.details = errorResponseDeserializer(result.body);
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
/** Delete a EdgeActionExecutionFilter */
|
|
61
|
+
/**
|
|
62
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
63
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
64
|
+
* to the operation to override the generated name.
|
|
65
|
+
*/
|
|
66
|
+
export function $delete(context, resourceGroupName, edgeActionName, executionFilter, options = { requestOptions: {} }) {
|
|
67
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["200", "202", "204"], {
|
|
68
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
69
|
+
abortSignal: options?.abortSignal,
|
|
70
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, edgeActionName, executionFilter, options),
|
|
71
|
+
resourceLocationConfig: "location",
|
|
72
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
export function _updateSend(context, resourceGroupName, edgeActionName, executionFilter, properties, options = { requestOptions: {} }) {
|
|
76
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}", {
|
|
77
|
+
subscriptionId: context.subscriptionId,
|
|
78
|
+
resourceGroupName: resourceGroupName,
|
|
79
|
+
edgeActionName: edgeActionName,
|
|
80
|
+
executionFilter: executionFilter,
|
|
81
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
82
|
+
}, {
|
|
83
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
84
|
+
});
|
|
85
|
+
return context.path(path).patch({
|
|
86
|
+
...operationOptionsToRequestParameters(options),
|
|
87
|
+
contentType: "application/json",
|
|
88
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
89
|
+
body: edgeActionExecutionFilterUpdateSerializer(properties),
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
export async function _updateDeserialize(result) {
|
|
93
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
94
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
95
|
+
const error = createRestError(result);
|
|
96
|
+
error.details = errorResponseDeserializer(result.body);
|
|
97
|
+
throw error;
|
|
98
|
+
}
|
|
99
|
+
return edgeActionExecutionFilterDeserializer(result.body);
|
|
100
|
+
}
|
|
101
|
+
/** Update a EdgeActionExecutionFilter */
|
|
102
|
+
export function update(context, resourceGroupName, edgeActionName, executionFilter, properties, options = { requestOptions: {} }) {
|
|
103
|
+
return getLongRunningPoller(context, _updateDeserialize, ["200", "202", "201"], {
|
|
104
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
105
|
+
abortSignal: options?.abortSignal,
|
|
106
|
+
getInitialResponse: () => _updateSend(context, resourceGroupName, edgeActionName, executionFilter, properties, options),
|
|
107
|
+
resourceLocationConfig: "location",
|
|
108
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
export function _createSend(context, resourceGroupName, edgeActionName, executionFilter, resource, options = { requestOptions: {} }) {
|
|
112
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}", {
|
|
113
|
+
subscriptionId: context.subscriptionId,
|
|
114
|
+
resourceGroupName: resourceGroupName,
|
|
115
|
+
edgeActionName: edgeActionName,
|
|
116
|
+
executionFilter: executionFilter,
|
|
117
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
118
|
+
}, {
|
|
119
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
120
|
+
});
|
|
121
|
+
return context.path(path).put({
|
|
122
|
+
...operationOptionsToRequestParameters(options),
|
|
123
|
+
contentType: "application/json",
|
|
124
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
125
|
+
body: edgeActionExecutionFilterSerializer(resource),
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
export async function _createDeserialize(result) {
|
|
129
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
130
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
131
|
+
const error = createRestError(result);
|
|
132
|
+
error.details = errorResponseDeserializer(result.body);
|
|
133
|
+
throw error;
|
|
134
|
+
}
|
|
135
|
+
return edgeActionExecutionFilterDeserializer(result.body);
|
|
136
|
+
}
|
|
137
|
+
/** Create a EdgeActionExecutionFilter */
|
|
138
|
+
export function create(context, resourceGroupName, edgeActionName, executionFilter, resource, options = { requestOptions: {} }) {
|
|
139
|
+
return getLongRunningPoller(context, _createDeserialize, ["200", "201", "202"], {
|
|
140
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
141
|
+
abortSignal: options?.abortSignal,
|
|
142
|
+
getInitialResponse: () => _createSend(context, resourceGroupName, edgeActionName, executionFilter, resource, options),
|
|
143
|
+
resourceLocationConfig: "azure-async-operation",
|
|
144
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
export function _getSend(context, resourceGroupName, edgeActionName, executionFilter, options = { requestOptions: {} }) {
|
|
148
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}", {
|
|
149
|
+
subscriptionId: context.subscriptionId,
|
|
150
|
+
resourceGroupName: resourceGroupName,
|
|
151
|
+
edgeActionName: edgeActionName,
|
|
152
|
+
executionFilter: executionFilter,
|
|
153
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
154
|
+
}, {
|
|
155
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
156
|
+
});
|
|
157
|
+
return context.path(path).get({
|
|
158
|
+
...operationOptionsToRequestParameters(options),
|
|
159
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
export async function _getDeserialize(result) {
|
|
163
|
+
const expectedStatuses = ["200"];
|
|
164
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
165
|
+
const error = createRestError(result);
|
|
166
|
+
error.details = errorResponseDeserializer(result.body);
|
|
167
|
+
throw error;
|
|
168
|
+
}
|
|
169
|
+
return edgeActionExecutionFilterDeserializer(result.body);
|
|
170
|
+
}
|
|
171
|
+
/** Get a EdgeActionExecutionFilter */
|
|
172
|
+
export async function get(context, resourceGroupName, edgeActionName, executionFilter, options = { requestOptions: {} }) {
|
|
173
|
+
const result = await _getSend(context, resourceGroupName, edgeActionName, executionFilter, options);
|
|
174
|
+
return _getDeserialize(result);
|
|
175
|
+
}
|
|
176
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/edgeActionExecutionFilters/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EACL,yBAAyB,EACzB,mCA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,CACnC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,qCAAqC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,sCAAsC;AACtC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,cAAsB,EACtB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { EdgeActionsManagementContext as Client } from \"../index.js\";\nimport type {\n EdgeActionExecutionFilter,\n EdgeActionExecutionFilterUpdate,\n _EdgeActionExecutionFilterListResult,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n edgeActionExecutionFilterSerializer,\n edgeActionExecutionFilterDeserializer,\n edgeActionExecutionFilterUpdateSerializer,\n _edgeActionExecutionFilterListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n EdgeActionExecutionFiltersListByEdgeActionOptionalParams,\n EdgeActionExecutionFiltersDeleteOptionalParams,\n EdgeActionExecutionFiltersUpdateOptionalParams,\n EdgeActionExecutionFiltersCreateOptionalParams,\n EdgeActionExecutionFiltersGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listByEdgeActionSend(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n options: EdgeActionExecutionFiltersListByEdgeActionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n edgeActionName: edgeActionName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByEdgeActionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_EdgeActionExecutionFilterListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _edgeActionExecutionFilterListResultDeserializer(result.body);\n}\n\n/** List EdgeActionExecutionFilter resources by EdgeAction */\nexport function listByEdgeAction(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n options: EdgeActionExecutionFiltersListByEdgeActionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<EdgeActionExecutionFilter> {\n return buildPagedAsyncIterator(\n context,\n () => _listByEdgeActionSend(context, resourceGroupName, edgeActionName, options),\n _listByEdgeActionDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n options: EdgeActionExecutionFiltersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n edgeActionName: edgeActionName,\n executionFilter: executionFilter,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Delete a EdgeActionExecutionFilter */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n options: EdgeActionExecutionFiltersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"202\", \"204\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, edgeActionName, executionFilter, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n properties: EdgeActionExecutionFilterUpdate,\n options: EdgeActionExecutionFiltersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n edgeActionName: edgeActionName,\n executionFilter: executionFilter,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: edgeActionExecutionFilterUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EdgeActionExecutionFilter> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return edgeActionExecutionFilterDeserializer(result.body);\n}\n\n/** Update a EdgeActionExecutionFilter */\nexport function update(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n properties: EdgeActionExecutionFilterUpdate,\n options: EdgeActionExecutionFiltersUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<EdgeActionExecutionFilter>, EdgeActionExecutionFilter> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, edgeActionName, executionFilter, properties, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<EdgeActionExecutionFilter>, EdgeActionExecutionFilter>;\n}\n\nexport function _createSend(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n resource: EdgeActionExecutionFilter,\n options: EdgeActionExecutionFiltersCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n edgeActionName: edgeActionName,\n executionFilter: executionFilter,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: edgeActionExecutionFilterSerializer(resource),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<EdgeActionExecutionFilter> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return edgeActionExecutionFilterDeserializer(result.body);\n}\n\n/** Create a EdgeActionExecutionFilter */\nexport function create(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n resource: EdgeActionExecutionFilter,\n options: EdgeActionExecutionFiltersCreateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<EdgeActionExecutionFilter>, EdgeActionExecutionFilter> {\n return getLongRunningPoller(context, _createDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createSend(context, resourceGroupName, edgeActionName, executionFilter, resource, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<EdgeActionExecutionFilter>, EdgeActionExecutionFilter>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n options: EdgeActionExecutionFiltersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n edgeActionName: edgeActionName,\n executionFilter: executionFilter,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<EdgeActionExecutionFilter> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return edgeActionExecutionFilterDeserializer(result.body);\n}\n\n/** Get a EdgeActionExecutionFilter */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n edgeActionName: string,\n executionFilter: string,\n options: EdgeActionExecutionFiltersGetOptionalParams = { requestOptions: {} },\n): Promise<EdgeActionExecutionFilter> {\n const result = await _getSend(\n context,\n resourceGroupName,\n edgeActionName,\n executionFilter,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface EdgeActionExecutionFiltersListByEdgeActionOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface EdgeActionExecutionFiltersDeleteOptionalParams extends OperationOptions {
|
|
7
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
8
|
+
updateIntervalInMs?: number;
|
|
9
|
+
}
|
|
10
|
+
/** Optional parameters. */
|
|
11
|
+
export interface EdgeActionExecutionFiltersUpdateOptionalParams extends OperationOptions {
|
|
12
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
13
|
+
updateIntervalInMs?: number;
|
|
14
|
+
}
|
|
15
|
+
/** Optional parameters. */
|
|
16
|
+
export interface EdgeActionExecutionFiltersCreateOptionalParams extends OperationOptions {
|
|
17
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
18
|
+
updateIntervalInMs?: number;
|
|
19
|
+
}
|
|
20
|
+
/** Optional parameters. */
|
|
21
|
+
export interface EdgeActionExecutionFiltersGetOptionalParams extends OperationOptions {
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/edgeActionExecutionFilters/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface EdgeActionExecutionFiltersListByEdgeActionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface EdgeActionExecutionFiltersDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface EdgeActionExecutionFiltersUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface EdgeActionExecutionFiltersCreateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface EdgeActionExecutionFiltersGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { swapDefault, getVersionCode, deployVersionCode, listByEdgeAction, $delete, update, create, get, } from "./operations.js";
|
|
2
|
+
export { EdgeActionVersionsSwapDefaultOptionalParams, EdgeActionVersionsGetVersionCodeOptionalParams, EdgeActionVersionsDeployVersionCodeOptionalParams, EdgeActionVersionsListByEdgeActionOptionalParams, EdgeActionVersionsDeleteOptionalParams, EdgeActionVersionsUpdateOptionalParams, EdgeActionVersionsCreateOptionalParams, EdgeActionVersionsGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/edgeActionVersions/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,EACP,MAAM,EACN,MAAM,EACN,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n swapDefault,\n getVersionCode,\n deployVersionCode,\n listByEdgeAction,\n $delete,\n update,\n create,\n get,\n} from \"./operations.js\";\nexport {\n EdgeActionVersionsSwapDefaultOptionalParams,\n EdgeActionVersionsGetVersionCodeOptionalParams,\n EdgeActionVersionsDeployVersionCodeOptionalParams,\n EdgeActionVersionsListByEdgeActionOptionalParams,\n EdgeActionVersionsDeleteOptionalParams,\n EdgeActionVersionsUpdateOptionalParams,\n EdgeActionVersionsCreateOptionalParams,\n EdgeActionVersionsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { EdgeActionsManagementContext as Client } from "../index.js";
|
|
2
|
+
import type { EdgeActionVersion, EdgeActionVersionProperties, EdgeActionVersionUpdate, _EdgeActionVersionListResult, VersionCode } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { EdgeActionVersionsSwapDefaultOptionalParams, EdgeActionVersionsGetVersionCodeOptionalParams, EdgeActionVersionsDeployVersionCodeOptionalParams, EdgeActionVersionsListByEdgeActionOptionalParams, EdgeActionVersionsDeleteOptionalParams, EdgeActionVersionsUpdateOptionalParams, EdgeActionVersionsCreateOptionalParams, EdgeActionVersionsGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _swapDefaultSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsSwapDefaultOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _swapDefaultDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
9
|
+
/** Swap the default version for the edge action. */
|
|
10
|
+
export declare function swapDefault(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsSwapDefaultOptionalParams): PollerLike<OperationState<void>, void>;
|
|
11
|
+
export declare function _getVersionCodeSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsGetVersionCodeOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _getVersionCodeDeserialize(result: PathUncheckedResponse): Promise<VersionCode>;
|
|
13
|
+
/** Get the version code for the edge action version. */
|
|
14
|
+
export declare function getVersionCode(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsGetVersionCodeOptionalParams): PollerLike<OperationState<VersionCode>, VersionCode>;
|
|
15
|
+
export declare function _deployVersionCodeSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, body: VersionCode, options?: EdgeActionVersionsDeployVersionCodeOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _deployVersionCodeDeserialize(result: PathUncheckedResponse): Promise<EdgeActionVersionProperties>;
|
|
17
|
+
/** A long-running resource action. */
|
|
18
|
+
export declare function deployVersionCode(context: Client, resourceGroupName: string, edgeActionName: string, version: string, body: VersionCode, options?: EdgeActionVersionsDeployVersionCodeOptionalParams): PollerLike<OperationState<EdgeActionVersionProperties>, EdgeActionVersionProperties>;
|
|
19
|
+
export declare function _listByEdgeActionSend(context: Client, resourceGroupName: string, edgeActionName: string, options?: EdgeActionVersionsListByEdgeActionOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _listByEdgeActionDeserialize(result: PathUncheckedResponse): Promise<_EdgeActionVersionListResult>;
|
|
21
|
+
/** List EdgeActionVersion resources by EdgeAction */
|
|
22
|
+
export declare function listByEdgeAction(context: Client, resourceGroupName: string, edgeActionName: string, options?: EdgeActionVersionsListByEdgeActionOptionalParams): PagedAsyncIterableIterator<EdgeActionVersion>;
|
|
23
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsDeleteOptionalParams): StreamableMethod;
|
|
24
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
25
|
+
/** Delete a EdgeActionVersion */
|
|
26
|
+
/**
|
|
27
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
28
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
29
|
+
* to the operation to override the generated name.
|
|
30
|
+
*/
|
|
31
|
+
export declare function $delete(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
32
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, properties: EdgeActionVersionUpdate, options?: EdgeActionVersionsUpdateOptionalParams): StreamableMethod;
|
|
33
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<EdgeActionVersion>;
|
|
34
|
+
/** Update a EdgeActionVersion */
|
|
35
|
+
export declare function update(context: Client, resourceGroupName: string, edgeActionName: string, version: string, properties: EdgeActionVersionUpdate, options?: EdgeActionVersionsUpdateOptionalParams): PollerLike<OperationState<EdgeActionVersion>, EdgeActionVersion>;
|
|
36
|
+
export declare function _createSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, resource: EdgeActionVersion, options?: EdgeActionVersionsCreateOptionalParams): StreamableMethod;
|
|
37
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<EdgeActionVersion>;
|
|
38
|
+
/** Create a EdgeActionVersion */
|
|
39
|
+
export declare function create(context: Client, resourceGroupName: string, edgeActionName: string, version: string, resource: EdgeActionVersion, options?: EdgeActionVersionsCreateOptionalParams): PollerLike<OperationState<EdgeActionVersion>, EdgeActionVersion>;
|
|
40
|
+
export declare function _getSend(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsGetOptionalParams): StreamableMethod;
|
|
41
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<EdgeActionVersion>;
|
|
42
|
+
/** Get a EdgeActionVersion */
|
|
43
|
+
export declare function get(context: Client, resourceGroupName: string, edgeActionName: string, version: string, options?: EdgeActionVersionsGetOptionalParams): Promise<EdgeActionVersion>;
|
|
44
|
+
//# sourceMappingURL=operations.d.ts.map
|