@azure/arm-monitor 8.0.0-beta.3 → 8.0.0-beta.4
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 +83 -4
- package/dist/index.js +3354 -1977
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +42 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +39 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +52 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +51 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +45 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/metricsListSample.js +3 -3
- package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorOperationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorOperationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorOperationsListSample.js +51 -0
- package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +138 -83
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +8 -8
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +8 -8
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +7 -7
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +6 -6
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +10 -9
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +705 -271
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +84 -64
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +29 -17
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1127 -445
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +5 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +39 -7
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/monitorClient.d.ts +4 -2
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +5 -3
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.d.ts +4 -4
- package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +34 -17
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +87 -0
- package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/azureMonitorWorkspaces.js +389 -0
- package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/{metrics.d.ts → metricsOperations.d.ts} +5 -5
- package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/{metrics.js → metricsOperations.js} +4 -4
- package/dist-esm/src/operations/metricsOperations.js.map +1 -0
- package/dist-esm/src/operations/monitorOperations.d.ts +32 -0
- package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/monitorOperations.js +131 -0
- package/dist-esm/src/operations/monitorOperations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -16
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts +3 -3
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +18 -10
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.d.ts +2 -2
- package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +10 -6
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.d.ts +30 -17
- package/dist-esm/src/operations/scheduledQueryRules.d.ts.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +131 -48
- package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +51 -0
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/{metrics.d.ts → metricsOperations.d.ts} +3 -3
- package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{metrics.js → metricsOperations.js} +1 -1
- package/dist-esm/src/operationsInterfaces/metricsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts +13 -13
- package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts.map +1 -1
- package/dist-esm/test/monitor_examples.js +60 -3
- package/dist-esm/test/monitor_examples.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-monitor.api.md +419 -158
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +760 -294
- package/src/models/mappers.ts +1990 -1300
- package/src/models/parameters.ts +48 -10
- package/src/monitorClient.ts +15 -7
- package/src/operations/actionGroups.ts +57 -35
- package/src/operations/azureMonitorWorkspaces.ts +483 -0
- package/src/operations/index.ts +3 -1
- package/src/operations/{metrics.ts → metricsOperations.ts} +4 -4
- package/src/operations/monitorOperations.ts +149 -0
- package/src/operations/privateEndpointConnections.ts +33 -21
- package/src/operations/privateLinkScopedResources.ts +28 -21
- package/src/operations/privateLinkScopes.ts +15 -11
- package/src/operations/scheduledQueryRules.ts +179 -73
- package/src/operationsInterfaces/actionGroups.ts +7 -7
- package/src/operationsInterfaces/azureMonitorWorkspaces.ts +93 -0
- package/src/operationsInterfaces/index.ts +3 -1
- package/src/operationsInterfaces/{metrics.ts → metricsOperations.ts} +2 -2
- package/src/operationsInterfaces/monitorOperations.ts +25 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/privateLinkScopedResources.ts +4 -4
- package/src/operationsInterfaces/privateLinkScopes.ts +2 -2
- package/src/operationsInterfaces/scheduledQueryRules.ts +21 -21
- package/types/arm-monitor.d.ts +825 -289
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/operations/metrics.d.ts.map +0 -1
- package/dist-esm/src/operations/metrics.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { ScheduledQueryRules } from "../operationsInterfaces";
|
|
3
3
|
import { MonitorClient } from "../monitorClient";
|
|
4
|
-
import {
|
|
4
|
+
import { ScheduledQueryRuleResource, ScheduledQueryRulesListBySubscriptionOptionalParams, ScheduledQueryRulesListByResourceGroupOptionalParams, ScheduledQueryRulesGetOptionalParams, ScheduledQueryRulesGetResponse, ScheduledQueryRulesCreateOrUpdateOptionalParams, ScheduledQueryRulesCreateOrUpdateResponse, ScheduledQueryRuleResourcePatch, ScheduledQueryRulesUpdateOptionalParams, ScheduledQueryRulesUpdateResponse, ScheduledQueryRulesDeleteOptionalParams } from "../models";
|
|
5
5
|
/** Class containing ScheduledQueryRules operations. */
|
|
6
6
|
export declare class ScheduledQueryRulesImpl implements ScheduledQueryRules {
|
|
7
7
|
private readonly client;
|
|
@@ -11,60 +11,73 @@ export declare class ScheduledQueryRulesImpl implements ScheduledQueryRules {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(client: MonitorClient);
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Retrieve a scheduled query rule definitions in a subscription.
|
|
15
15
|
* @param options The options parameters.
|
|
16
16
|
*/
|
|
17
|
-
listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<
|
|
17
|
+
listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ScheduledQueryRuleResource>;
|
|
18
18
|
private listBySubscriptionPagingPage;
|
|
19
19
|
private listBySubscriptionPagingAll;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Retrieve scheduled query rule definitions in a resource group.
|
|
22
22
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
23
|
* @param options The options parameters.
|
|
24
24
|
*/
|
|
25
|
-
listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<
|
|
25
|
+
listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ScheduledQueryRuleResource>;
|
|
26
26
|
private listByResourceGroupPagingPage;
|
|
27
27
|
private listByResourceGroupPagingAll;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Retrieve a scheduled query rule definitions in a subscription.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
private _listBySubscription;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve scheduled query rule definitions in a resource group.
|
|
30
35
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
-
* @param ruleName The name of the rule.
|
|
32
|
-
* @param parameters The parameters of the rule to create or update.
|
|
33
36
|
* @param options The options parameters.
|
|
34
37
|
*/
|
|
35
|
-
|
|
38
|
+
private _listByResourceGroup;
|
|
36
39
|
/**
|
|
37
|
-
*
|
|
40
|
+
* Retrieve an scheduled query rule definition.
|
|
38
41
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
42
|
* @param ruleName The name of the rule.
|
|
40
43
|
* @param options The options parameters.
|
|
41
44
|
*/
|
|
42
45
|
get(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesGetOptionalParams): Promise<ScheduledQueryRulesGetResponse>;
|
|
43
46
|
/**
|
|
44
|
-
*
|
|
47
|
+
* Creates or updates a scheduled query rule.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param ruleName The name of the rule.
|
|
50
|
+
* @param parameters The parameters of the rule to create or update.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
createOrUpdate(resourceGroupName: string, ruleName: string, parameters: ScheduledQueryRuleResource, options?: ScheduledQueryRulesCreateOrUpdateOptionalParams): Promise<ScheduledQueryRulesCreateOrUpdateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Update a scheduled query rule.
|
|
45
56
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
57
|
* @param ruleName The name of the rule.
|
|
47
58
|
* @param parameters The parameters of the rule to update.
|
|
48
59
|
* @param options The options parameters.
|
|
49
60
|
*/
|
|
50
|
-
update(resourceGroupName: string, ruleName: string, parameters:
|
|
61
|
+
update(resourceGroupName: string, ruleName: string, parameters: ScheduledQueryRuleResourcePatch, options?: ScheduledQueryRulesUpdateOptionalParams): Promise<ScheduledQueryRulesUpdateResponse>;
|
|
51
62
|
/**
|
|
52
|
-
* Deletes a
|
|
63
|
+
* Deletes a scheduled query rule.
|
|
53
64
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
65
|
* @param ruleName The name of the rule.
|
|
55
66
|
* @param options The options parameters.
|
|
56
67
|
*/
|
|
57
68
|
delete(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesDeleteOptionalParams): Promise<void>;
|
|
58
69
|
/**
|
|
59
|
-
*
|
|
70
|
+
* ListBySubscriptionNext
|
|
71
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
60
72
|
* @param options The options parameters.
|
|
61
73
|
*/
|
|
62
|
-
private
|
|
74
|
+
private _listBySubscriptionNext;
|
|
63
75
|
/**
|
|
64
|
-
*
|
|
76
|
+
* ListByResourceGroupNext
|
|
65
77
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
66
79
|
* @param options The options parameters.
|
|
67
80
|
*/
|
|
68
|
-
private
|
|
81
|
+
private _listByResourceGroupNext;
|
|
69
82
|
}
|
|
70
83
|
//# sourceMappingURL=scheduledQueryRules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduledQueryRules.d.ts","sourceRoot":"","sources":["../../../src/operations/scheduledQueryRules.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduledQueryRules.d.ts","sourceRoot":"","sources":["../../../src/operations/scheduledQueryRules.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EACL,0BAA0B,EAE1B,mDAAmD,EAGnD,oDAAoD,EAEpD,oCAAoC,EACpC,8BAA8B,EAC9B,+CAA+C,EAC/C,yCAAyC,EACzC,+BAA+B,EAC/B,uCAAuC,EACvC,iCAAiC,EACjC,uCAAuC,EAGxC,MAAM,WAAW,CAAC;AAGnB,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,0BAA0B,CAAC;YAkB1C,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,0BAA0B,CAAC;YAsB1C,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,0BAA0B,EACtC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,+BAA+B,EAC3C,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
9
10
|
import * as coreClient from "@azure/core-client";
|
|
10
11
|
import * as Mappers from "../models/mappers";
|
|
11
12
|
import * as Parameters from "../models/parameters";
|
|
@@ -20,7 +21,7 @@ export class ScheduledQueryRulesImpl {
|
|
|
20
21
|
this.client = client;
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* Retrieve a scheduled query rule definitions in a subscription.
|
|
24
25
|
* @param options The options parameters.
|
|
25
26
|
*/
|
|
26
27
|
listBySubscription(options) {
|
|
@@ -40,11 +41,24 @@ export class ScheduledQueryRulesImpl {
|
|
|
40
41
|
}
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
|
-
listBySubscriptionPagingPage(options,
|
|
44
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
44
45
|
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
45
46
|
let result;
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = yield __await(this._listBySubscription(options));
|
|
50
|
+
let page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield yield __await(page);
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield yield __await(page);
|
|
61
|
+
}
|
|
48
62
|
});
|
|
49
63
|
}
|
|
50
64
|
listBySubscriptionPagingAll(options) {
|
|
@@ -66,7 +80,7 @@ export class ScheduledQueryRulesImpl {
|
|
|
66
80
|
});
|
|
67
81
|
}
|
|
68
82
|
/**
|
|
69
|
-
*
|
|
83
|
+
* Retrieve scheduled query rule definitions in a resource group.
|
|
70
84
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
85
|
* @param options The options parameters.
|
|
72
86
|
*/
|
|
@@ -87,11 +101,24 @@ export class ScheduledQueryRulesImpl {
|
|
|
87
101
|
}
|
|
88
102
|
};
|
|
89
103
|
}
|
|
90
|
-
listByResourceGroupPagingPage(resourceGroupName, options,
|
|
104
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
91
105
|
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
92
106
|
let result;
|
|
93
|
-
|
|
94
|
-
|
|
107
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
108
|
+
if (!continuationToken) {
|
|
109
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
110
|
+
let page = result.value || [];
|
|
111
|
+
continuationToken = result.nextLink;
|
|
112
|
+
setContinuationToken(page, continuationToken);
|
|
113
|
+
yield yield __await(page);
|
|
114
|
+
}
|
|
115
|
+
while (continuationToken) {
|
|
116
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
117
|
+
continuationToken = result.nextLink;
|
|
118
|
+
let page = result.value || [];
|
|
119
|
+
setContinuationToken(page, continuationToken);
|
|
120
|
+
yield yield __await(page);
|
|
121
|
+
}
|
|
95
122
|
});
|
|
96
123
|
}
|
|
97
124
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
@@ -113,17 +140,22 @@ export class ScheduledQueryRulesImpl {
|
|
|
113
140
|
});
|
|
114
141
|
}
|
|
115
142
|
/**
|
|
116
|
-
*
|
|
143
|
+
* Retrieve a scheduled query rule definitions in a subscription.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
_listBySubscription(options) {
|
|
147
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Retrieve scheduled query rule definitions in a resource group.
|
|
117
151
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
118
|
-
* @param ruleName The name of the rule.
|
|
119
|
-
* @param parameters The parameters of the rule to create or update.
|
|
120
152
|
* @param options The options parameters.
|
|
121
153
|
*/
|
|
122
|
-
|
|
123
|
-
return this.client.sendOperationRequest({ resourceGroupName,
|
|
154
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
155
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
124
156
|
}
|
|
125
157
|
/**
|
|
126
|
-
*
|
|
158
|
+
* Retrieve an scheduled query rule definition.
|
|
127
159
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
128
160
|
* @param ruleName The name of the rule.
|
|
129
161
|
* @param options The options parameters.
|
|
@@ -132,7 +164,17 @@ export class ScheduledQueryRulesImpl {
|
|
|
132
164
|
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec);
|
|
133
165
|
}
|
|
134
166
|
/**
|
|
135
|
-
*
|
|
167
|
+
* Creates or updates a scheduled query rule.
|
|
168
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
169
|
+
* @param ruleName The name of the rule.
|
|
170
|
+
* @param parameters The parameters of the rule to create or update.
|
|
171
|
+
* @param options The options parameters.
|
|
172
|
+
*/
|
|
173
|
+
createOrUpdate(resourceGroupName, ruleName, parameters, options) {
|
|
174
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, createOrUpdateOperationSpec);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Update a scheduled query rule.
|
|
136
178
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
137
179
|
* @param ruleName The name of the rule.
|
|
138
180
|
* @param parameters The parameters of the rule to update.
|
|
@@ -142,7 +184,7 @@ export class ScheduledQueryRulesImpl {
|
|
|
142
184
|
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, updateOperationSpec);
|
|
143
185
|
}
|
|
144
186
|
/**
|
|
145
|
-
* Deletes a
|
|
187
|
+
* Deletes a scheduled query rule.
|
|
146
188
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
189
|
* @param ruleName The name of the rule.
|
|
148
190
|
* @param options The options parameters.
|
|
@@ -151,55 +193,67 @@ export class ScheduledQueryRulesImpl {
|
|
|
151
193
|
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec);
|
|
152
194
|
}
|
|
153
195
|
/**
|
|
154
|
-
*
|
|
196
|
+
* ListBySubscriptionNext
|
|
197
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
155
198
|
* @param options The options parameters.
|
|
156
199
|
*/
|
|
157
|
-
|
|
158
|
-
return this.client.sendOperationRequest({ options },
|
|
200
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
201
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
159
202
|
}
|
|
160
203
|
/**
|
|
161
|
-
*
|
|
204
|
+
* ListByResourceGroupNext
|
|
162
205
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
206
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
163
207
|
* @param options The options parameters.
|
|
164
208
|
*/
|
|
165
|
-
|
|
166
|
-
return this.client.sendOperationRequest({ resourceGroupName, options },
|
|
209
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
210
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
167
211
|
}
|
|
168
212
|
}
|
|
169
213
|
// Operation Specifications
|
|
170
214
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
171
|
-
const
|
|
172
|
-
path: "/subscriptions/{subscriptionId}/
|
|
173
|
-
httpMethod: "
|
|
215
|
+
const listBySubscriptionOperationSpec = {
|
|
216
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules",
|
|
217
|
+
httpMethod: "GET",
|
|
174
218
|
responses: {
|
|
175
219
|
200: {
|
|
176
|
-
bodyMapper: Mappers.
|
|
220
|
+
bodyMapper: Mappers.ScheduledQueryRuleResourceCollection
|
|
177
221
|
},
|
|
178
|
-
|
|
179
|
-
bodyMapper: Mappers.
|
|
222
|
+
default: {
|
|
223
|
+
bodyMapper: Mappers.ErrorContract
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
queryParameters: [Parameters.apiVersion8],
|
|
227
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
228
|
+
headerParameters: [Parameters.accept],
|
|
229
|
+
serializer
|
|
230
|
+
};
|
|
231
|
+
const listByResourceGroupOperationSpec = {
|
|
232
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules",
|
|
233
|
+
httpMethod: "GET",
|
|
234
|
+
responses: {
|
|
235
|
+
200: {
|
|
236
|
+
bodyMapper: Mappers.ScheduledQueryRuleResourceCollection
|
|
180
237
|
},
|
|
181
238
|
default: {
|
|
182
239
|
bodyMapper: Mappers.ErrorContract
|
|
183
240
|
}
|
|
184
241
|
},
|
|
185
|
-
requestBody: Parameters.parameters6,
|
|
186
242
|
queryParameters: [Parameters.apiVersion8],
|
|
187
243
|
urlParameters: [
|
|
188
244
|
Parameters.$host,
|
|
189
245
|
Parameters.resourceGroupName,
|
|
190
|
-
Parameters.subscriptionId
|
|
191
|
-
Parameters.ruleName
|
|
246
|
+
Parameters.subscriptionId
|
|
192
247
|
],
|
|
193
|
-
headerParameters: [Parameters.accept
|
|
194
|
-
mediaType: "json",
|
|
248
|
+
headerParameters: [Parameters.accept],
|
|
195
249
|
serializer
|
|
196
250
|
};
|
|
197
251
|
const getOperationSpec = {
|
|
198
|
-
path: "/subscriptions/{subscriptionId}/
|
|
252
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
199
253
|
httpMethod: "GET",
|
|
200
254
|
responses: {
|
|
201
255
|
200: {
|
|
202
|
-
bodyMapper: Mappers.
|
|
256
|
+
bodyMapper: Mappers.ScheduledQueryRuleResource
|
|
203
257
|
},
|
|
204
258
|
default: {
|
|
205
259
|
bodyMapper: Mappers.ErrorContract
|
|
@@ -215,12 +269,38 @@ const getOperationSpec = {
|
|
|
215
269
|
headerParameters: [Parameters.accept],
|
|
216
270
|
serializer
|
|
217
271
|
};
|
|
272
|
+
const createOrUpdateOperationSpec = {
|
|
273
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
274
|
+
httpMethod: "PUT",
|
|
275
|
+
responses: {
|
|
276
|
+
200: {
|
|
277
|
+
bodyMapper: Mappers.ScheduledQueryRuleResource
|
|
278
|
+
},
|
|
279
|
+
201: {
|
|
280
|
+
bodyMapper: Mappers.ScheduledQueryRuleResource
|
|
281
|
+
},
|
|
282
|
+
default: {
|
|
283
|
+
bodyMapper: Mappers.ErrorContract
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
requestBody: Parameters.parameters6,
|
|
287
|
+
queryParameters: [Parameters.apiVersion8],
|
|
288
|
+
urlParameters: [
|
|
289
|
+
Parameters.$host,
|
|
290
|
+
Parameters.resourceGroupName,
|
|
291
|
+
Parameters.subscriptionId,
|
|
292
|
+
Parameters.ruleName
|
|
293
|
+
],
|
|
294
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
295
|
+
mediaType: "json",
|
|
296
|
+
serializer
|
|
297
|
+
};
|
|
218
298
|
const updateOperationSpec = {
|
|
219
|
-
path: "/subscriptions/{subscriptionId}/
|
|
299
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
220
300
|
httpMethod: "PATCH",
|
|
221
301
|
responses: {
|
|
222
302
|
200: {
|
|
223
|
-
bodyMapper: Mappers.
|
|
303
|
+
bodyMapper: Mappers.ScheduledQueryRuleResource
|
|
224
304
|
},
|
|
225
305
|
default: {
|
|
226
306
|
bodyMapper: Mappers.ErrorContract
|
|
@@ -239,7 +319,7 @@ const updateOperationSpec = {
|
|
|
239
319
|
serializer
|
|
240
320
|
};
|
|
241
321
|
const deleteOperationSpec = {
|
|
242
|
-
path: "/subscriptions/{subscriptionId}/
|
|
322
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
243
323
|
httpMethod: "DELETE",
|
|
244
324
|
responses: {
|
|
245
325
|
200: {},
|
|
@@ -258,38 +338,41 @@ const deleteOperationSpec = {
|
|
|
258
338
|
headerParameters: [Parameters.accept],
|
|
259
339
|
serializer
|
|
260
340
|
};
|
|
261
|
-
const
|
|
262
|
-
path: "
|
|
341
|
+
const listBySubscriptionNextOperationSpec = {
|
|
342
|
+
path: "{nextLink}",
|
|
263
343
|
httpMethod: "GET",
|
|
264
344
|
responses: {
|
|
265
345
|
200: {
|
|
266
|
-
bodyMapper: Mappers.
|
|
346
|
+
bodyMapper: Mappers.ScheduledQueryRuleResourceCollection
|
|
267
347
|
},
|
|
268
348
|
default: {
|
|
269
349
|
bodyMapper: Mappers.ErrorContract
|
|
270
350
|
}
|
|
271
351
|
},
|
|
272
|
-
|
|
273
|
-
|
|
352
|
+
urlParameters: [
|
|
353
|
+
Parameters.$host,
|
|
354
|
+
Parameters.subscriptionId,
|
|
355
|
+
Parameters.nextLink
|
|
356
|
+
],
|
|
274
357
|
headerParameters: [Parameters.accept],
|
|
275
358
|
serializer
|
|
276
359
|
};
|
|
277
|
-
const
|
|
278
|
-
path: "
|
|
360
|
+
const listByResourceGroupNextOperationSpec = {
|
|
361
|
+
path: "{nextLink}",
|
|
279
362
|
httpMethod: "GET",
|
|
280
363
|
responses: {
|
|
281
364
|
200: {
|
|
282
|
-
bodyMapper: Mappers.
|
|
365
|
+
bodyMapper: Mappers.ScheduledQueryRuleResourceCollection
|
|
283
366
|
},
|
|
284
367
|
default: {
|
|
285
368
|
bodyMapper: Mappers.ErrorContract
|
|
286
369
|
}
|
|
287
370
|
},
|
|
288
|
-
queryParameters: [Parameters.filter1, Parameters.apiVersion8],
|
|
289
371
|
urlParameters: [
|
|
290
372
|
Parameters.$host,
|
|
291
373
|
Parameters.resourceGroupName,
|
|
292
|
-
Parameters.subscriptionId
|
|
374
|
+
Parameters.subscriptionId,
|
|
375
|
+
Parameters.nextLink
|
|
293
376
|
],
|
|
294
377
|
headerParameters: [Parameters.accept],
|
|
295
378
|
serializer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduledQueryRules.js","sourceRoot":"","sources":["../../../src/operations/scheduledQueryRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;
|
|
1
|
+
{"version":3,"file":"scheduledQueryRules.js","sourceRoot":"","sources":["../../../src/operations/scheduledQueryRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,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AU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import {
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
3
|
import { ActionGroupResource, ActionGroupsListBySubscriptionIdOptionalParams, ActionGroupsListByResourceGroupOptionalParams, ActionGroupsCreateOrUpdateOptionalParams, ActionGroupsCreateOrUpdateResponse, ActionGroupsGetOptionalParams, ActionGroupsGetResponse, ActionGroupsDeleteOptionalParams, ActionGroupPatchBody, ActionGroupsUpdateOptionalParams, ActionGroupsUpdateResponse, NotificationRequestBody, ActionGroupsPostTestNotificationsOptionalParams, ActionGroupsPostTestNotificationsResponse, ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse, ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse, ActionGroupsGetTestNotificationsOptionalParams, ActionGroupsGetTestNotificationsResponse, ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams, ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse, ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams, ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse, EnableRequest, ActionGroupsEnableReceiverOptionalParams } from "../models";
|
|
4
4
|
/** Interface representing a ActionGroups. */
|
|
5
5
|
export interface ActionGroups {
|
|
@@ -49,7 +49,7 @@ export interface ActionGroups {
|
|
|
49
49
|
* @param notificationRequest The notification request body which includes the contact details
|
|
50
50
|
* @param options The options parameters.
|
|
51
51
|
*/
|
|
52
|
-
beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<
|
|
52
|
+
beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsPostTestNotificationsResponse>, ActionGroupsPostTestNotificationsResponse>>;
|
|
53
53
|
/**
|
|
54
54
|
* Send test notifications to a set of provided receivers
|
|
55
55
|
* @param notificationRequest The notification request body which includes the contact details
|
|
@@ -62,7 +62,7 @@ export interface ActionGroups {
|
|
|
62
62
|
* @param notificationRequest The notification request body which includes the contact details
|
|
63
63
|
* @param options The options parameters.
|
|
64
64
|
*/
|
|
65
|
-
beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<
|
|
65
|
+
beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
|
|
66
66
|
/**
|
|
67
67
|
* Send test notifications to a set of provided receivers
|
|
68
68
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -77,7 +77,7 @@ export interface ActionGroups {
|
|
|
77
77
|
* @param notificationRequest The notification request body which includes the contact details
|
|
78
78
|
* @param options The options parameters.
|
|
79
79
|
*/
|
|
80
|
-
beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<
|
|
80
|
+
beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>>;
|
|
81
81
|
/**
|
|
82
82
|
* Send test notifications to a set of provided receivers
|
|
83
83
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionGroups.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/actionGroups.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"actionGroups.d.ts","sourceRoot":"","sources":["../../../src/operationsIn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Ae,EAAE,MAAM,EACvB,mBAAmB,EAAE,uBAAuB,EAC5C,OAAO,CAAC,EAAE,uEAAuE,GAChF,OAAO,CAAC,iEAAiE,CAAC,CAAC;IAC9E;;;;OAIG;IACH,oBAAoB,CAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;OAKG;IACH,wCAAwC,CACtC,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kEAAkE,GAC3E,OAAO,CAAC,4DAA4D,CAAC,CAAC;IACzE;;;;;;OAMG;IACH,8CAA8C,CAC5C,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wEAAwE,GACjF,OAAO,CACR,kEAAkE,CACnE,CAAC;IACF;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AzureMonitorWorkspaceResource, AzureMonitorWorkspacesListByResourceGroupOptionalParams, AzureMonitorWorkspacesListBySubscriptionOptionalParams, AzureMonitorWorkspacesGetOptionalParams, AzureMonitorWorkspacesGetResponse, AzureMonitorWorkspacesCreateOptionalParams, AzureMonitorWorkspacesCreateResponse, AzureMonitorWorkspacesUpdateOptionalParams, AzureMonitorWorkspacesUpdateResponse, AzureMonitorWorkspacesDeleteOptionalParams } from "../models";
|
|
3
|
+
/** Interface representing a AzureMonitorWorkspaces. */
|
|
4
|
+
export interface AzureMonitorWorkspaces {
|
|
5
|
+
/**
|
|
6
|
+
* Lists all workspaces in the specified resource group
|
|
7
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listByResourceGroup(resourceGroupName: string, options?: AzureMonitorWorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
|
|
11
|
+
/**
|
|
12
|
+
* Lists all workspaces in the specified subscription
|
|
13
|
+
* @param options The options parameters.
|
|
14
|
+
*/
|
|
15
|
+
listBySubscription(options?: AzureMonitorWorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the specific Azure Monitor workspace
|
|
18
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19
|
+
* @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
|
|
20
|
+
* insensitive
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
get(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesGetOptionalParams): Promise<AzureMonitorWorkspacesGetResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Create or update a workspace
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
|
|
28
|
+
* insensitive
|
|
29
|
+
* @param azureMonitorWorkspaceProperties Properties that need to be specified to create a new
|
|
30
|
+
* workspace
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
create(resourceGroupName: string, azureMonitorWorkspaceName: string, azureMonitorWorkspaceProperties: AzureMonitorWorkspaceResource, options?: AzureMonitorWorkspacesCreateOptionalParams): Promise<AzureMonitorWorkspacesCreateResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Updates part of a workspace
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
|
|
38
|
+
* insensitive
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
update(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesUpdateOptionalParams): Promise<AzureMonitorWorkspacesUpdateResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Delete a workspace
|
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
+
* @param azureMonitorWorkspaceName The name of the Azure Monitor workspace. The name is case
|
|
46
|
+
* insensitive
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
delete(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesDeleteOptionalParams): Promise<void>;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=azureMonitorWorkspaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureMonitorWorkspaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureMonitorWorkspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,6BAA6B,EAC7B,uDAAuD,EACvD,sDAAsD,EACtD,uCAAuC,EACvC,iCAAiC,EACjC,0CAA0C,EAC1C,oCAAoC,EACpC,0CAA0C,EAC1C,oCAAoC,EACpC,0CAA0C,EAC3C,MAAM,WAAW,CAAC;AAGnB,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,6BAA6B,CAAC,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,6BAA6B,CAAC,CAAC;IAC7D;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,+BAA+B,EAAE,6BAA6B,EAC9D,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=azureMonitorWorkspaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureMonitorWorkspaces.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureMonitorWorkspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -11,7 +11,7 @@ export * from "./activityLogs";
|
|
|
11
11
|
export * from "./eventCategories";
|
|
12
12
|
export * from "./tenantActivityLogs";
|
|
13
13
|
export * from "./metricDefinitions";
|
|
14
|
-
export * from "./
|
|
14
|
+
export * from "./metricsOperations";
|
|
15
15
|
export * from "./baselines";
|
|
16
16
|
export * from "./metricAlerts";
|
|
17
17
|
export * from "./metricAlertsStatus";
|
|
@@ -27,4 +27,6 @@ export * from "./activityLogAlerts";
|
|
|
27
27
|
export * from "./dataCollectionEndpoints";
|
|
28
28
|
export * from "./dataCollectionRuleAssociations";
|
|
29
29
|
export * from "./dataCollectionRules";
|
|
30
|
+
export * from "./azureMonitorWorkspaces";
|
|
31
|
+
export * from "./monitorOperations";
|
|
30
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,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