@azure/arm-frontdoor 4.1.1 → 5.0.0
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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +6728 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/frontDoorManagementClient.d.ts +29 -0
- package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -0
- package/dist-esm/src/frontDoorManagementClient.js +62 -0
- package/dist-esm/src/frontDoorManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2380 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +399 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +93 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1812 -1645
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +36 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +316 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/endpoints.d.ts +34 -0
- package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/endpoints.js +106 -0
- package/dist-esm/src/operations/endpoints.js.map +1 -0
- package/dist-esm/src/operations/experiments.d.ts +99 -0
- package/dist-esm/src/operations/experiments.d.ts.map +1 -0
- package/dist-esm/src/operations/experiments.js +417 -0
- package/dist-esm/src/operations/experiments.js.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.d.ts +19 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.js +49 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.js.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts +19 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js +49 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
- package/dist-esm/src/operations/frontDoors.d.ts +100 -0
- package/dist-esm/src/operations/frontDoors.d.ts.map +1 -0
- package/dist-esm/src/operations/frontDoors.js +453 -0
- package/dist-esm/src/operations/frontDoors.js.map +1 -0
- package/dist-esm/src/operations/frontendEndpoints.d.ts +81 -0
- package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/frontendEndpoints.js +331 -0
- package/dist-esm/src/operations/frontendEndpoints.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +20 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managedRuleSets.d.ts +32 -0
- package/dist-esm/src/operations/managedRuleSets.d.ts.map +1 -0
- package/dist-esm/src/operations/managedRuleSets.js +124 -0
- package/dist-esm/src/operations/managedRuleSets.js.map +1 -0
- package/dist-esm/src/operations/networkExperimentProfiles.d.ts +107 -0
- package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -0
- package/dist-esm/src/operations/networkExperimentProfiles.js +500 -0
- package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -0
- package/dist-esm/src/operations/policies.d.ts +73 -0
- package/dist-esm/src/operations/policies.d.ts.map +1 -0
- package/dist-esm/src/operations/policies.js +309 -0
- package/dist-esm/src/operations/policies.js.map +1 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.d.ts +38 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.js +137 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -0
- package/dist-esm/src/operations/reports.d.ts +34 -0
- package/dist-esm/src/operations/reports.d.ts.map +1 -0
- package/dist-esm/src/operations/reports.js +120 -0
- package/dist-esm/src/operations/reports.js.map +1 -0
- package/dist-esm/src/operations/rulesEngines.d.ts +83 -0
- package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -0
- package/dist-esm/src/operations/rulesEngines.js +341 -0
- package/dist-esm/src/operations/rulesEngines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/experiments.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/experiments.js +9 -0
- package/dist-esm/src/operationsInterfaces/experiments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +20 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.js +9 -0
- package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/reports.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/reports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/reports.js +9 -0
- package/dist-esm/src/operationsInterfaces/reports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.js +9 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-frontdoor.api.md +1910 -0
- package/rollup.config.js +181 -30
- package/src/frontDoorManagementClient.ts +107 -164
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2184 -2625
- package/src/models/mappers.ts +1796 -1578
- package/src/models/parameters.ts +228 -115
- package/src/operations/endpoints.ts +110 -59
- package/src/operations/experiments.ts +439 -238
- package/src/operations/frontDoorNameAvailability.ts +68 -0
- package/src/operations/frontDoorNameAvailabilityWithSubscription.ts +69 -0
- package/src/operations/frontDoors.ts +423 -310
- package/src/operations/frontendEndpoints.ts +334 -188
- package/src/operations/index.ts +5 -5
- package/src/operations/managedRuleSets.ts +92 -76
- package/src/operations/networkExperimentProfiles.ts +488 -297
- package/src/operations/policies.ts +305 -195
- package/src/operations/preconfiguredEndpoints.ts +125 -84
- package/src/operations/reports.ts +86 -118
- package/src/operations/rulesEngines.ts +343 -193
- package/src/operationsInterfaces/endpoints.ts +47 -0
- package/src/operationsInterfaces/experiments.ts +147 -0
- package/src/operationsInterfaces/frontDoorNameAvailability.ts +26 -0
- package/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.ts +26 -0
- package/src/operationsInterfaces/frontDoors.ts +122 -0
- package/src/operationsInterfaces/frontendEndpoints.ts +104 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +6 -6
- package/src/operationsInterfaces/managedRuleSets.ts +25 -0
- package/src/operationsInterfaces/networkExperimentProfiles.ts +139 -0
- package/src/operationsInterfaces/policies.ts +97 -0
- package/src/operationsInterfaces/preconfiguredEndpoints.ts +29 -0
- package/src/operationsInterfaces/reports.ts +57 -0
- package/src/operationsInterfaces/rulesEngines.ts +111 -0
- package/tsconfig.json +3 -3
- package/types/arm-frontdoor.d.ts +3127 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-frontdoor.js +0 -5978
- package/dist/arm-frontdoor.js.map +0 -1
- package/dist/arm-frontdoor.min.js +0 -1
- package/dist/arm-frontdoor.min.js.map +0 -1
- package/esm/frontDoorManagementClient.d.ts +0 -70
- package/esm/frontDoorManagementClient.d.ts.map +0 -1
- package/esm/frontDoorManagementClient.js +0 -112
- package/esm/frontDoorManagementClient.js.map +0 -1
- package/esm/frontDoorManagementClientContext.d.ts +0 -22
- package/esm/frontDoorManagementClientContext.d.ts.map +0 -1
- package/esm/frontDoorManagementClientContext.js +0 -61
- package/esm/frontDoorManagementClientContext.js.map +0 -1
- package/esm/models/endpointsMappers.d.ts +0 -2
- package/esm/models/endpointsMappers.d.ts.map +0 -1
- package/esm/models/endpointsMappers.js +0 -9
- package/esm/models/endpointsMappers.js.map +0 -1
- package/esm/models/experimentsMappers.d.ts +0 -2
- package/esm/models/experimentsMappers.d.ts.map +0 -1
- package/esm/models/experimentsMappers.js +0 -9
- package/esm/models/experimentsMappers.js.map +0 -1
- package/esm/models/frontDoorsMappers.d.ts +0 -2
- package/esm/models/frontDoorsMappers.d.ts.map +0 -1
- package/esm/models/frontDoorsMappers.js +0 -9
- package/esm/models/frontDoorsMappers.js.map +0 -1
- package/esm/models/frontendEndpointsMappers.d.ts +0 -2
- package/esm/models/frontendEndpointsMappers.d.ts.map +0 -1
- package/esm/models/frontendEndpointsMappers.js +0 -9
- package/esm/models/frontendEndpointsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2901
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/managedRuleSetsMappers.d.ts +0 -2
- package/esm/models/managedRuleSetsMappers.d.ts.map +0 -1
- package/esm/models/managedRuleSetsMappers.js +0 -9
- package/esm/models/managedRuleSetsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -84
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/networkExperimentProfilesMappers.d.ts +0 -2
- package/esm/models/networkExperimentProfilesMappers.d.ts.map +0 -1
- package/esm/models/networkExperimentProfilesMappers.js +0 -9
- package/esm/models/networkExperimentProfilesMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -22
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -252
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/policiesMappers.d.ts +0 -2
- package/esm/models/policiesMappers.d.ts.map +0 -1
- package/esm/models/policiesMappers.js +0 -9
- package/esm/models/policiesMappers.js.map +0 -1
- package/esm/models/preconfiguredEndpointsMappers.d.ts +0 -2
- package/esm/models/preconfiguredEndpointsMappers.d.ts.map +0 -1
- package/esm/models/preconfiguredEndpointsMappers.js +0 -9
- package/esm/models/preconfiguredEndpointsMappers.js.map +0 -1
- package/esm/models/reportsMappers.d.ts +0 -2
- package/esm/models/reportsMappers.d.ts.map +0 -1
- package/esm/models/reportsMappers.js +0 -9
- package/esm/models/reportsMappers.js.map +0 -1
- package/esm/models/rulesEnginesMappers.d.ts +0 -2
- package/esm/models/rulesEnginesMappers.d.ts.map +0 -1
- package/esm/models/rulesEnginesMappers.js +0 -9
- package/esm/models/rulesEnginesMappers.js.map +0 -1
- package/esm/operations/endpoints.d.ts +0 -36
- package/esm/operations/endpoints.d.ts.map +0 -1
- package/esm/operations/endpoints.js +0 -87
- package/esm/operations/endpoints.js.map +0 -1
- package/esm/operations/experiments.d.ts +0 -137
- package/esm/operations/experiments.d.ts.map +0 -1
- package/esm/operations/experiments.js +0 -302
- package/esm/operations/experiments.js.map +0 -1
- package/esm/operations/frontDoors.d.ts +0 -165
- package/esm/operations/frontDoors.d.ts.map +0 -1
- package/esm/operations/frontDoors.js +0 -315
- package/esm/operations/frontDoors.js.map +0 -1
- package/esm/operations/frontendEndpoints.d.ts +0 -115
- package/esm/operations/frontendEndpoints.d.ts.map +0 -1
- package/esm/operations/frontendEndpoints.js +0 -229
- package/esm/operations/frontendEndpoints.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managedRuleSets.d.ts +0 -46
- package/esm/operations/managedRuleSets.d.ts.map +0 -1
- package/esm/operations/managedRuleSets.js +0 -80
- package/esm/operations/managedRuleSets.js.map +0 -1
- package/esm/operations/networkExperimentProfiles.d.ts +0 -158
- package/esm/operations/networkExperimentProfiles.d.ts.map +0 -1
- package/esm/operations/networkExperimentProfiles.js +0 -339
- package/esm/operations/networkExperimentProfiles.js.map +0 -1
- package/esm/operations/policies.d.ts +0 -105
- package/esm/operations/policies.d.ts.map +0 -1
- package/esm/operations/policies.js +0 -225
- package/esm/operations/policies.js.map +0 -1
- package/esm/operations/preconfiguredEndpoints.d.ts +0 -52
- package/esm/operations/preconfiguredEndpoints.d.ts.map +0 -1
- package/esm/operations/preconfiguredEndpoints.js +0 -84
- package/esm/operations/preconfiguredEndpoints.js.map +0 -1
- package/esm/operations/reports.d.ts +0 -85
- package/esm/operations/reports.d.ts.map +0 -1
- package/esm/operations/reports.js +0 -107
- package/esm/operations/reports.js.map +0 -1
- package/esm/operations/rulesEngines.d.ts +0 -119
- package/esm/operations/rulesEngines.d.ts.map +0 -1
- package/esm/operations/rulesEngines.js +0 -240
- package/esm/operations/rulesEngines.js.map +0 -1
- package/src/frontDoorManagementClientContext.ts +0 -67
- package/src/models/endpointsMappers.ts +0 -13
- package/src/models/experimentsMappers.ts +0 -59
- package/src/models/frontDoorsMappers.ts +0 -60
- package/src/models/frontendEndpointsMappers.ts +0 -58
- package/src/models/managedRuleSetsMappers.ts +0 -58
- package/src/models/networkExperimentProfilesMappers.ts +0 -59
- package/src/models/policiesMappers.ts +0 -59
- package/src/models/preconfiguredEndpointsMappers.ts +0 -58
- package/src/models/reportsMappers.ts +0 -57
- package/src/models/rulesEnginesMappers.ts +0 -58
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
WebApplicationFirewallPolicy,
|
|
13
|
+
PoliciesListOptionalParams,
|
|
14
|
+
PoliciesGetOptionalParams,
|
|
15
|
+
PoliciesGetResponse,
|
|
16
|
+
PoliciesCreateOrUpdateOptionalParams,
|
|
17
|
+
PoliciesCreateOrUpdateResponse,
|
|
18
|
+
PoliciesDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Policies. */
|
|
23
|
+
export interface Policies {
|
|
24
|
+
/**
|
|
25
|
+
* Lists all of the protection policies within a resource group.
|
|
26
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
options?: PoliciesListOptionalParams
|
|
32
|
+
): PagedAsyncIterableIterator<WebApplicationFirewallPolicy>;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve protection policy with specified name within a resource group.
|
|
35
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
36
|
+
* @param policyName The name of the Web Application Firewall Policy.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(
|
|
40
|
+
resourceGroupName: string,
|
|
41
|
+
policyName: string,
|
|
42
|
+
options?: PoliciesGetOptionalParams
|
|
43
|
+
): Promise<PoliciesGetResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Create or update policy with specified rule set name within a resource group.
|
|
46
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
47
|
+
* @param policyName The name of the Web Application Firewall Policy.
|
|
48
|
+
* @param parameters Policy to be created.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginCreateOrUpdate(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
policyName: string,
|
|
54
|
+
parameters: WebApplicationFirewallPolicy,
|
|
55
|
+
options?: PoliciesCreateOrUpdateOptionalParams
|
|
56
|
+
): Promise<
|
|
57
|
+
PollerLike<
|
|
58
|
+
PollOperationState<PoliciesCreateOrUpdateResponse>,
|
|
59
|
+
PoliciesCreateOrUpdateResponse
|
|
60
|
+
>
|
|
61
|
+
>;
|
|
62
|
+
/**
|
|
63
|
+
* Create or update policy with specified rule set name within a resource group.
|
|
64
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
65
|
+
* @param policyName The name of the Web Application Firewall Policy.
|
|
66
|
+
* @param parameters Policy to be created.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginCreateOrUpdateAndWait(
|
|
70
|
+
resourceGroupName: string,
|
|
71
|
+
policyName: string,
|
|
72
|
+
parameters: WebApplicationFirewallPolicy,
|
|
73
|
+
options?: PoliciesCreateOrUpdateOptionalParams
|
|
74
|
+
): Promise<PoliciesCreateOrUpdateResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Deletes Policy
|
|
77
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
78
|
+
* @param policyName The name of the Web Application Firewall Policy.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
beginDelete(
|
|
82
|
+
resourceGroupName: string,
|
|
83
|
+
policyName: string,
|
|
84
|
+
options?: PoliciesDeleteOptionalParams
|
|
85
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
86
|
+
/**
|
|
87
|
+
* Deletes Policy
|
|
88
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
89
|
+
* @param policyName The name of the Web Application Firewall Policy.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginDeleteAndWait(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
policyName: string,
|
|
95
|
+
options?: PoliciesDeleteOptionalParams
|
|
96
|
+
): Promise<void>;
|
|
97
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PreconfiguredEndpoint,
|
|
12
|
+
PreconfiguredEndpointsListOptionalParams
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Interface representing a PreconfiguredEndpoints. */
|
|
17
|
+
export interface PreconfiguredEndpoints {
|
|
18
|
+
/**
|
|
19
|
+
* Gets a list of Preconfigured Endpoints
|
|
20
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
21
|
+
* @param profileName The Profile identifier associated with the Tenant and Partner
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
list(
|
|
25
|
+
resourceGroupName: string,
|
|
26
|
+
profileName: string,
|
|
27
|
+
options?: PreconfiguredEndpointsListOptionalParams
|
|
28
|
+
): PagedAsyncIterableIterator<PreconfiguredEndpoint>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
LatencyScorecardAggregationInterval,
|
|
11
|
+
ReportsGetLatencyScorecardsOptionalParams,
|
|
12
|
+
ReportsGetLatencyScorecardsResponse,
|
|
13
|
+
TimeseriesAggregationInterval,
|
|
14
|
+
TimeseriesType,
|
|
15
|
+
ReportsGetTimeseriesOptionalParams,
|
|
16
|
+
ReportsGetTimeseriesResponse
|
|
17
|
+
} from "../models";
|
|
18
|
+
|
|
19
|
+
/** Interface representing a Reports. */
|
|
20
|
+
export interface Reports {
|
|
21
|
+
/**
|
|
22
|
+
* Gets a Latency Scorecard for a given Experiment
|
|
23
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
24
|
+
* @param profileName The Profile identifier associated with the Tenant and Partner
|
|
25
|
+
* @param experimentName The Experiment identifier associated with the Experiment
|
|
26
|
+
* @param aggregationInterval The aggregation interval of the Latency Scorecard
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
getLatencyScorecards(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
profileName: string,
|
|
32
|
+
experimentName: string,
|
|
33
|
+
aggregationInterval: LatencyScorecardAggregationInterval,
|
|
34
|
+
options?: ReportsGetLatencyScorecardsOptionalParams
|
|
35
|
+
): Promise<ReportsGetLatencyScorecardsResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Gets a Timeseries for a given Experiment
|
|
38
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
39
|
+
* @param profileName The Profile identifier associated with the Tenant and Partner
|
|
40
|
+
* @param experimentName The Experiment identifier associated with the Experiment
|
|
41
|
+
* @param startDateTimeUTC The start DateTime of the Timeseries in UTC
|
|
42
|
+
* @param endDateTimeUTC The end DateTime of the Timeseries in UTC
|
|
43
|
+
* @param aggregationInterval The aggregation interval of the Timeseries
|
|
44
|
+
* @param timeseriesType The type of Timeseries
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
getTimeseries(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
profileName: string,
|
|
50
|
+
experimentName: string,
|
|
51
|
+
startDateTimeUTC: Date,
|
|
52
|
+
endDateTimeUTC: Date,
|
|
53
|
+
aggregationInterval: TimeseriesAggregationInterval,
|
|
54
|
+
timeseriesType: TimeseriesType,
|
|
55
|
+
options?: ReportsGetTimeseriesOptionalParams
|
|
56
|
+
): Promise<ReportsGetTimeseriesResponse>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
RulesEngine,
|
|
13
|
+
RulesEnginesListByFrontDoorOptionalParams,
|
|
14
|
+
RulesEnginesGetOptionalParams,
|
|
15
|
+
RulesEnginesGetResponse,
|
|
16
|
+
RulesEnginesCreateOrUpdateOptionalParams,
|
|
17
|
+
RulesEnginesCreateOrUpdateResponse,
|
|
18
|
+
RulesEnginesDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a RulesEngines. */
|
|
23
|
+
export interface RulesEngines {
|
|
24
|
+
/**
|
|
25
|
+
* Lists all of the Rules Engine Configurations within a Front Door.
|
|
26
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
27
|
+
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByFrontDoor(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
frontDoorName: string,
|
|
33
|
+
options?: RulesEnginesListByFrontDoorOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<RulesEngine>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets a Rules Engine Configuration with the specified name within the specified Front Door.
|
|
37
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
38
|
+
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
39
|
+
* @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
frontDoorName: string,
|
|
45
|
+
rulesEngineName: string,
|
|
46
|
+
options?: RulesEnginesGetOptionalParams
|
|
47
|
+
): Promise<RulesEnginesGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
|
|
50
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
51
|
+
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
52
|
+
* @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
|
|
53
|
+
* @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
|
|
54
|
+
* Engine Configuration.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
beginCreateOrUpdate(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
frontDoorName: string,
|
|
60
|
+
rulesEngineName: string,
|
|
61
|
+
rulesEngineParameters: RulesEngine,
|
|
62
|
+
options?: RulesEnginesCreateOrUpdateOptionalParams
|
|
63
|
+
): Promise<
|
|
64
|
+
PollerLike<
|
|
65
|
+
PollOperationState<RulesEnginesCreateOrUpdateResponse>,
|
|
66
|
+
RulesEnginesCreateOrUpdateResponse
|
|
67
|
+
>
|
|
68
|
+
>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
|
|
71
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
72
|
+
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
73
|
+
* @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
|
|
74
|
+
* @param rulesEngineParameters Rules Engine Configuration properties needed to create a new Rules
|
|
75
|
+
* Engine Configuration.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
beginCreateOrUpdateAndWait(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
frontDoorName: string,
|
|
81
|
+
rulesEngineName: string,
|
|
82
|
+
rulesEngineParameters: RulesEngine,
|
|
83
|
+
options?: RulesEnginesCreateOrUpdateOptionalParams
|
|
84
|
+
): Promise<RulesEnginesCreateOrUpdateResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Deletes an existing Rules Engine Configuration with the specified parameters.
|
|
87
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
88
|
+
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
89
|
+
* @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginDelete(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
frontDoorName: string,
|
|
95
|
+
rulesEngineName: string,
|
|
96
|
+
options?: RulesEnginesDeleteOptionalParams
|
|
97
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
98
|
+
/**
|
|
99
|
+
* Deletes an existing Rules Engine Configuration with the specified parameters.
|
|
100
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
101
|
+
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
102
|
+
* @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
beginDeleteAndWait(
|
|
106
|
+
resourceGroupName: string,
|
|
107
|
+
frontDoorName: string,
|
|
108
|
+
rulesEngineName: string,
|
|
109
|
+
options?: RulesEnginesDeleteOptionalParams
|
|
110
|
+
): Promise<void>;
|
|
111
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"module": "es6",
|
|
4
4
|
"moduleResolution": "node",
|
|
5
5
|
"strict": true,
|
|
6
|
-
"target": "
|
|
6
|
+
"target": "es6",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"declarationMap": true,
|
|
9
9
|
"esModuleInterop": true,
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
12
|
"lib": ["es6", "dom"],
|
|
13
13
|
"declaration": true,
|
|
14
|
-
"outDir": "./esm",
|
|
14
|
+
"outDir": "./dist-esm",
|
|
15
15
|
"importHelpers": true
|
|
16
16
|
},
|
|
17
|
-
"include": ["./src/**/*.ts"],
|
|
17
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts"],
|
|
18
18
|
"exclude": ["node_modules"]
|
|
19
19
|
}
|