@azure/arm-eventgrid 12.0.0 → 13.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.txt → LICENSE} +1 -1
- package/README.md +70 -82
- package/dist/index.js +7613 -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/eventGridManagementClient.d.ts +29 -0
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClient.js +62 -0
- package/dist-esm/src/eventGridManagementClient.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 +1943 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +204 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +107 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1216 -1303
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +42 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +347 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/domainTopics.d.ts +79 -0
- package/dist-esm/src/operations/domainTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/domainTopics.js +310 -0
- package/dist-esm/src/operations/domainTopics.js.map +1 -0
- package/dist-esm/src/operations/domains.d.ts +122 -0
- package/dist-esm/src/operations/domains.d.ts.map +1 -0
- package/dist-esm/src/operations/domains.js +522 -0
- package/dist-esm/src/operations/domains.js.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts +404 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.js +1504 -0
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/extensionTopics.d.ts +24 -0
- package/dist-esm/src/operations/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/extensionTopics.js +50 -0
- package/dist-esm/src/operations/extensionTopics.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +88 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +89 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +346 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +50 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +176 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +128 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +483 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/systemTopics.d.ts +107 -0
- package/dist-esm/src/operations/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopics.js +482 -0
- package/dist-esm/src/operations/systemTopics.js.map +1 -0
- package/dist-esm/src/operations/topicTypes.d.ts +46 -0
- package/dist-esm/src/operations/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/topicTypes.js +175 -0
- package/dist-esm/src/operations/topicTypes.js.map +1 -0
- package/dist-esm/src/operations/topics.d.ts +150 -0
- package/dist-esm/src/operations/topics.d.ts.map +1 -0
- package/dist-esm/src/operations/topics.js +656 -0
- package/dist-esm/src/operations/topics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/domainTopics.js} +2 -8
- package/dist-esm/src/operationsInterfaces/domainTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -0
- package/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/domains.js} +2 -7
- package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +217 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/eventSubscriptions.js} +2 -2
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/topics.js} +2 -1
- package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.d.ts +4 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +166 -0
- package/dist-esm/test/eventgrid_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-eventgrid.api.md +1777 -0
- package/rollup.config.js +181 -30
- package/src/eventGridManagementClient.ts +107 -53
- package/{esm/models/privateLinkResourcesMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1844 -3910
- package/src/models/mappers.ts +1261 -1339
- package/src/models/parameters.ts +239 -82
- package/src/operations/domainTopics.ts +346 -224
- package/src/operations/domains.ts +545 -454
- package/src/operations/eventSubscriptions.ts +1658 -1236
- package/src/operations/extensionTopics.ts +37 -66
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +65 -43
- package/src/operations/privateEndpointConnections.ts +386 -253
- package/src/operations/privateLinkResources.ts +178 -150
- package/src/operations/systemTopicEventSubscriptions.ts +537 -394
- package/src/operations/systemTopics.ts +505 -349
- package/src/operations/topicTypes.ts +138 -114
- package/src/operations/topics.ts +728 -494
- package/src/operationsInterfaces/domainTopics.ts +105 -0
- package/src/operationsInterfaces/domains.ts +162 -0
- package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
- package/src/operationsInterfaces/extensionTopics.ts +30 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +125 -0
- package/src/operationsInterfaces/privateLinkResources.ts +48 -0
- package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +190 -0
- package/src/operationsInterfaces/systemTopics.ts +139 -0
- package/src/operationsInterfaces/topicTypes.ts +47 -0
- package/src/operationsInterfaces/topics.ts +197 -0
- package/tsconfig.json +3 -3
- package/types/arm-eventgrid.d.ts +2998 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-eventgrid.js +0 -6824
- package/dist/arm-eventgrid.js.map +0 -1
- package/dist/arm-eventgrid.min.js +0 -1
- package/dist/arm-eventgrid.min.js.map +0 -1
- package/esm/eventGridManagementClient.d.ts +0 -35
- package/esm/eventGridManagementClient.d.ts.map +0 -1
- package/esm/eventGridManagementClient.js +0 -48
- package/esm/eventGridManagementClient.js.map +0 -1
- package/esm/eventGridManagementClientContext.d.ts +0 -23
- package/esm/eventGridManagementClientContext.d.ts.map +0 -1
- package/esm/eventGridManagementClientContext.js +0 -61
- package/esm/eventGridManagementClientContext.js.map +0 -1
- package/esm/models/domainTopicsMappers.d.ts +0 -2
- package/esm/models/domainTopicsMappers.d.ts.map +0 -1
- package/esm/models/domainTopicsMappers.js +0 -9
- package/esm/models/domainTopicsMappers.js.map +0 -1
- package/esm/models/domainsMappers.d.ts +0 -2
- package/esm/models/domainsMappers.d.ts.map +0 -1
- package/esm/models/domainsMappers.js +0 -9
- package/esm/models/domainsMappers.js.map +0 -1
- package/esm/models/eventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/eventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/eventSubscriptionsMappers.js +0 -9
- package/esm/models/eventSubscriptionsMappers.js.map +0 -1
- package/esm/models/extensionTopicsMappers.d.ts +0 -2
- package/esm/models/extensionTopicsMappers.d.ts.map +0 -1
- package/esm/models/extensionTopicsMappers.js +0 -9
- package/esm/models/extensionTopicsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4080
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -109
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -25
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -245
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.js +0 -9
- package/esm/models/systemTopicEventSubscriptionsMappers.js.map +0 -1
- package/esm/models/systemTopicsMappers.d.ts +0 -2
- package/esm/models/systemTopicsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicsMappers.js +0 -9
- package/esm/models/systemTopicsMappers.js.map +0 -1
- package/esm/models/topicTypesMappers.d.ts +0 -2
- package/esm/models/topicTypesMappers.d.ts.map +0 -1
- package/esm/models/topicTypesMappers.js +0 -9
- package/esm/models/topicTypesMappers.js.map +0 -1
- package/esm/models/topicsMappers.d.ts +0 -2
- package/esm/models/topicsMappers.d.ts.map +0 -1
- package/esm/models/topicsMappers.js +0 -9
- package/esm/models/topicsMappers.js.map +0 -1
- package/esm/operations/domainTopics.d.ts +0 -120
- package/esm/operations/domainTopics.d.ts.map +0 -1
- package/esm/operations/domainTopics.js +0 -233
- package/esm/operations/domainTopics.js.map +0 -1
- package/esm/operations/domains.d.ts +0 -214
- package/esm/operations/domains.d.ts.map +0 -1
- package/esm/operations/domains.js +0 -415
- package/esm/operations/domains.js.map +0 -1
- package/esm/operations/eventSubscriptions.d.ts +0 -666
- package/esm/operations/eventSubscriptions.d.ts.map +0 -1
- package/esm/operations/eventSubscriptions.js +0 -969
- package/esm/operations/eventSubscriptions.js.map +0 -1
- package/esm/operations/extensionTopics.d.ts +0 -47
- package/esm/operations/extensionTopics.d.ts.map +0 -1
- package/esm/operations/extensionTopics.js +0 -54
- package/esm/operations/extensionTopics.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -152
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -263
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -91
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -127
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.d.ts +0 -213
- package/esm/operations/systemTopicEventSubscriptions.d.ts.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.js +0 -379
- package/esm/operations/systemTopicEventSubscriptions.js.map +0 -1
- package/esm/operations/systemTopics.d.ts +0 -167
- package/esm/operations/systemTopics.d.ts.map +0 -1
- package/esm/operations/systemTopics.js +0 -353
- package/esm/operations/systemTopics.js.map +0 -1
- package/esm/operations/topicTypes.d.ts +0 -67
- package/esm/operations/topicTypes.d.ts.map +0 -1
- package/esm/operations/topicTypes.js +0 -106
- package/esm/operations/topicTypes.js.map +0 -1
- package/esm/operations/topics.d.ts +0 -237
- package/esm/operations/topics.d.ts.map +0 -1
- package/esm/operations/topics.js +0 -471
- package/esm/operations/topics.js.map +0 -1
- package/src/eventGridManagementClientContext.ts +0 -68
- package/src/models/domainTopicsMappers.ts +0 -66
- package/src/models/domainsMappers.ts +0 -69
- package/src/models/eventSubscriptionsMappers.ts +0 -69
- package/src/models/extensionTopicsMappers.ts +0 -65
- package/src/models/privateEndpointConnectionsMappers.ts +0 -66
- package/src/models/systemTopicEventSubscriptionsMappers.ts +0 -69
- package/src/models/systemTopicsMappers.ts +0 -67
- package/src/models/topicTypesMappers.ts +0 -67
- package/src/models/topicsMappers.ts +0 -70
|
@@ -3,1653 +3,2075 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { EventSubscriptions } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
EventSubscription,
|
|
19
|
+
EventSubscriptionsListGlobalBySubscriptionNextOptionalParams,
|
|
20
|
+
EventSubscriptionsListGlobalBySubscriptionOptionalParams,
|
|
21
|
+
EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams,
|
|
22
|
+
EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
|
|
23
|
+
EventSubscriptionsListGlobalByResourceGroupNextOptionalParams,
|
|
24
|
+
EventSubscriptionsListGlobalByResourceGroupOptionalParams,
|
|
25
|
+
EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams,
|
|
26
|
+
EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
|
|
27
|
+
EventSubscriptionsListRegionalBySubscriptionNextOptionalParams,
|
|
28
|
+
EventSubscriptionsListRegionalBySubscriptionOptionalParams,
|
|
29
|
+
EventSubscriptionsListRegionalByResourceGroupNextOptionalParams,
|
|
30
|
+
EventSubscriptionsListRegionalByResourceGroupOptionalParams,
|
|
31
|
+
EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams,
|
|
32
|
+
EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
|
|
33
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams,
|
|
34
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
|
|
35
|
+
EventSubscriptionsListByResourceNextOptionalParams,
|
|
36
|
+
EventSubscriptionsListByResourceOptionalParams,
|
|
37
|
+
EventSubscriptionsListByDomainTopicNextOptionalParams,
|
|
38
|
+
EventSubscriptionsListByDomainTopicOptionalParams,
|
|
39
|
+
EventSubscriptionsGetOptionalParams,
|
|
40
|
+
EventSubscriptionsGetResponse,
|
|
41
|
+
EventSubscriptionsCreateOrUpdateOptionalParams,
|
|
42
|
+
EventSubscriptionsCreateOrUpdateResponse,
|
|
43
|
+
EventSubscriptionsDeleteOptionalParams,
|
|
44
|
+
EventSubscriptionUpdateParameters,
|
|
45
|
+
EventSubscriptionsUpdateOptionalParams,
|
|
46
|
+
EventSubscriptionsUpdateResponse,
|
|
47
|
+
EventSubscriptionsGetFullUrlOptionalParams,
|
|
48
|
+
EventSubscriptionsGetFullUrlResponse,
|
|
49
|
+
EventSubscriptionsListGlobalBySubscriptionResponse,
|
|
50
|
+
EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse,
|
|
51
|
+
EventSubscriptionsListGlobalByResourceGroupResponse,
|
|
52
|
+
EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse,
|
|
53
|
+
EventSubscriptionsListRegionalBySubscriptionResponse,
|
|
54
|
+
EventSubscriptionsListRegionalByResourceGroupResponse,
|
|
55
|
+
EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse,
|
|
56
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse,
|
|
57
|
+
EventSubscriptionsListByResourceResponse,
|
|
58
|
+
EventSubscriptionsListByDomainTopicResponse,
|
|
59
|
+
EventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
60
|
+
EventSubscriptionsGetDeliveryAttributesResponse,
|
|
61
|
+
EventSubscriptionsListGlobalBySubscriptionNextResponse,
|
|
62
|
+
EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse,
|
|
63
|
+
EventSubscriptionsListGlobalByResourceGroupNextResponse,
|
|
64
|
+
EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse,
|
|
65
|
+
EventSubscriptionsListRegionalBySubscriptionNextResponse,
|
|
66
|
+
EventSubscriptionsListRegionalByResourceGroupNextResponse,
|
|
67
|
+
EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse,
|
|
68
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse,
|
|
69
|
+
EventSubscriptionsListByResourceNextResponse,
|
|
70
|
+
EventSubscriptionsListByDomainTopicNextResponse
|
|
71
|
+
} from "../models";
|
|
16
72
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
73
|
+
/// <reference lib="esnext.asynciterable" />
|
|
74
|
+
/** Class containing EventSubscriptions operations. */
|
|
75
|
+
export class EventSubscriptionsImpl implements EventSubscriptions {
|
|
76
|
+
private readonly client: EventGridManagementClient;
|
|
20
77
|
|
|
21
78
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
79
|
+
* Initialize a new instance of the class EventSubscriptions class.
|
|
80
|
+
* @param client Reference to the service client
|
|
24
81
|
*/
|
|
25
|
-
constructor(client:
|
|
82
|
+
constructor(client: EventGridManagementClient) {
|
|
26
83
|
this.client = client;
|
|
27
84
|
}
|
|
28
85
|
|
|
29
86
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
41
|
-
* @param [options] The optional parameters
|
|
42
|
-
* @returns Promise<Models.EventSubscriptionsGetResponse>
|
|
43
|
-
*/
|
|
44
|
-
get(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase): Promise<Models.EventSubscriptionsGetResponse>;
|
|
45
|
-
/**
|
|
46
|
-
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
47
|
-
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
48
|
-
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
49
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
50
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
51
|
-
* for a resource, and
|
|
52
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
53
|
-
* for an EventGrid topic.
|
|
54
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
55
|
-
* @param callback The callback
|
|
56
|
-
*/
|
|
57
|
-
get(scope: string, eventSubscriptionName: string, callback: msRest.ServiceCallback<Models.EventSubscription>): void;
|
|
58
|
-
/**
|
|
59
|
-
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
60
|
-
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
61
|
-
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
62
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
63
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
64
|
-
* for a resource, and
|
|
65
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
66
|
-
* for an EventGrid topic.
|
|
67
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
68
|
-
* @param options The optional parameters
|
|
69
|
-
* @param callback The callback
|
|
70
|
-
*/
|
|
71
|
-
get(scope: string, eventSubscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EventSubscription>): void;
|
|
72
|
-
get(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EventSubscription>, callback?: msRest.ServiceCallback<Models.EventSubscription>): Promise<Models.EventSubscriptionsGetResponse> {
|
|
73
|
-
return this.client.sendOperationRequest(
|
|
74
|
-
{
|
|
75
|
-
scope,
|
|
76
|
-
eventSubscriptionName,
|
|
77
|
-
options
|
|
87
|
+
* List all aggregated global event subscriptions under a specific Azure subscription.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
public listGlobalBySubscription(
|
|
91
|
+
options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
|
|
92
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
93
|
+
const iter = this.listGlobalBySubscriptionPagingAll(options);
|
|
94
|
+
return {
|
|
95
|
+
next() {
|
|
96
|
+
return iter.next();
|
|
78
97
|
},
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
* @summary Create or update an event subscription.
|
|
87
|
-
* @param scope The identifier of the resource to which the event subscription needs to be created
|
|
88
|
-
* or updated. The scope can be a subscription, or a resource group, or a top level resource
|
|
89
|
-
* belonging to a resource provider namespace, or an EventGrid topic. For example, use
|
|
90
|
-
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
91
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
92
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
93
|
-
* for a resource, and
|
|
94
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
95
|
-
* for an EventGrid topic.
|
|
96
|
-
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
97
|
-
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
98
|
-
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
99
|
-
* information.
|
|
100
|
-
* @param [options] The optional parameters
|
|
101
|
-
* @returns Promise<Models.EventSubscriptionsCreateOrUpdateResponse>
|
|
102
|
-
*/
|
|
103
|
-
createOrUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: Models.EventSubscription, options?: msRest.RequestOptionsBase): Promise<Models.EventSubscriptionsCreateOrUpdateResponse> {
|
|
104
|
-
return this.beginCreateOrUpdate(scope,eventSubscriptionName,eventSubscriptionInfo,options)
|
|
105
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.EventSubscriptionsCreateOrUpdateResponse>;
|
|
98
|
+
[Symbol.asyncIterator]() {
|
|
99
|
+
return this;
|
|
100
|
+
},
|
|
101
|
+
byPage: () => {
|
|
102
|
+
return this.listGlobalBySubscriptionPagingPage(options);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
106
105
|
}
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
*/
|
|
123
|
-
deleteMethod(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
124
|
-
return this.beginDeleteMethod(scope,eventSubscriptionName,options)
|
|
125
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
107
|
+
private async *listGlobalBySubscriptionPagingPage(
|
|
108
|
+
options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
|
|
109
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
110
|
+
let result = await this._listGlobalBySubscription(options);
|
|
111
|
+
yield result.value || [];
|
|
112
|
+
let continuationToken = result.nextLink;
|
|
113
|
+
while (continuationToken) {
|
|
114
|
+
result = await this._listGlobalBySubscriptionNext(
|
|
115
|
+
continuationToken,
|
|
116
|
+
options
|
|
117
|
+
);
|
|
118
|
+
continuationToken = result.nextLink;
|
|
119
|
+
yield result.value || [];
|
|
120
|
+
}
|
|
126
121
|
}
|
|
127
122
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
135
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
136
|
-
* for a resource, and
|
|
137
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
138
|
-
* for an EventGrid topic.
|
|
139
|
-
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
140
|
-
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
141
|
-
* @param [options] The optional parameters
|
|
142
|
-
* @returns Promise<Models.EventSubscriptionsUpdateResponse>
|
|
143
|
-
*/
|
|
144
|
-
update(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: Models.EventSubscriptionUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.EventSubscriptionsUpdateResponse> {
|
|
145
|
-
return this.beginUpdate(scope,eventSubscriptionName,eventSubscriptionUpdateParameters,options)
|
|
146
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.EventSubscriptionsUpdateResponse>;
|
|
123
|
+
private async *listGlobalBySubscriptionPagingAll(
|
|
124
|
+
options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
|
|
125
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
126
|
+
for await (const page of this.listGlobalBySubscriptionPagingPage(options)) {
|
|
127
|
+
yield* page;
|
|
128
|
+
}
|
|
147
129
|
}
|
|
148
130
|
|
|
149
131
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @
|
|
152
|
-
* @param
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
167
|
-
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
168
|
-
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
169
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
170
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
171
|
-
* for a resource, and
|
|
172
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
173
|
-
* for an EventGrid topic.
|
|
174
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
175
|
-
* @param callback The callback
|
|
176
|
-
*/
|
|
177
|
-
getFullUrl(scope: string, eventSubscriptionName: string, callback: msRest.ServiceCallback<Models.EventSubscriptionFullUrl>): void;
|
|
178
|
-
/**
|
|
179
|
-
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
180
|
-
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
181
|
-
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
182
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
183
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
184
|
-
* for a resource, and
|
|
185
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
186
|
-
* for an EventGrid topic.
|
|
187
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
188
|
-
* @param options The optional parameters
|
|
189
|
-
* @param callback The callback
|
|
190
|
-
*/
|
|
191
|
-
getFullUrl(scope: string, eventSubscriptionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EventSubscriptionFullUrl>): void;
|
|
192
|
-
getFullUrl(scope: string, eventSubscriptionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EventSubscriptionFullUrl>, callback?: msRest.ServiceCallback<Models.EventSubscriptionFullUrl>): Promise<Models.EventSubscriptionsGetFullUrlResponse> {
|
|
193
|
-
return this.client.sendOperationRequest(
|
|
194
|
-
{
|
|
195
|
-
scope,
|
|
196
|
-
eventSubscriptionName,
|
|
197
|
-
options
|
|
132
|
+
* List all global event subscriptions under an Azure subscription for a topic type.
|
|
133
|
+
* @param topicTypeName Name of the topic type.
|
|
134
|
+
* @param options The options parameters.
|
|
135
|
+
*/
|
|
136
|
+
public listGlobalBySubscriptionForTopicType(
|
|
137
|
+
topicTypeName: string,
|
|
138
|
+
options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
|
|
139
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
140
|
+
const iter = this.listGlobalBySubscriptionForTopicTypePagingAll(
|
|
141
|
+
topicTypeName,
|
|
142
|
+
options
|
|
143
|
+
);
|
|
144
|
+
return {
|
|
145
|
+
next() {
|
|
146
|
+
return iter.next();
|
|
198
147
|
},
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* List all aggregated global event subscriptions under a specific Azure subscription.
|
|
205
|
-
* @summary Get an aggregated list of all global event subscriptions under an Azure subscription.
|
|
206
|
-
* @param [options] The optional parameters
|
|
207
|
-
* @returns Promise<Models.EventSubscriptionsListGlobalBySubscriptionResponse>
|
|
208
|
-
*/
|
|
209
|
-
listGlobalBySubscription(options?: Models.EventSubscriptionsListGlobalBySubscriptionOptionalParams): Promise<Models.EventSubscriptionsListGlobalBySubscriptionResponse>;
|
|
210
|
-
/**
|
|
211
|
-
* @param callback The callback
|
|
212
|
-
*/
|
|
213
|
-
listGlobalBySubscription(callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
214
|
-
/**
|
|
215
|
-
* @param options The optional parameters
|
|
216
|
-
* @param callback The callback
|
|
217
|
-
*/
|
|
218
|
-
listGlobalBySubscription(options: Models.EventSubscriptionsListGlobalBySubscriptionOptionalParams, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
219
|
-
listGlobalBySubscription(options?: Models.EventSubscriptionsListGlobalBySubscriptionOptionalParams | msRest.ServiceCallback<Models.EventSubscriptionsListResult>, callback?: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): Promise<Models.EventSubscriptionsListGlobalBySubscriptionResponse> {
|
|
220
|
-
return this.client.sendOperationRequest(
|
|
221
|
-
{
|
|
222
|
-
options
|
|
148
|
+
[Symbol.asyncIterator]() {
|
|
149
|
+
return this;
|
|
223
150
|
},
|
|
224
|
-
|
|
225
|
-
|
|
151
|
+
byPage: () => {
|
|
152
|
+
return this.listGlobalBySubscriptionForTopicTypePagingPage(
|
|
153
|
+
topicTypeName,
|
|
154
|
+
options
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
226
158
|
}
|
|
227
159
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
listGlobalBySubscriptionForTopicType(topicTypeName: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
241
|
-
/**
|
|
242
|
-
* @param topicTypeName Name of the topic type.
|
|
243
|
-
* @param options The optional parameters
|
|
244
|
-
* @param callback The callback
|
|
245
|
-
*/
|
|
246
|
-
listGlobalBySubscriptionForTopicType(topicTypeName: string, options: Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
247
|
-
listGlobalBySubscriptionForTopicType(topicTypeName: string, options?: Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams | msRest.ServiceCallback<Models.EventSubscriptionsListResult>, callback?: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): Promise<Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse> {
|
|
248
|
-
return this.client.sendOperationRequest(
|
|
249
|
-
{
|
|
160
|
+
private async *listGlobalBySubscriptionForTopicTypePagingPage(
|
|
161
|
+
topicTypeName: string,
|
|
162
|
+
options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
|
|
163
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
164
|
+
let result = await this._listGlobalBySubscriptionForTopicType(
|
|
165
|
+
topicTypeName,
|
|
166
|
+
options
|
|
167
|
+
);
|
|
168
|
+
yield result.value || [];
|
|
169
|
+
let continuationToken = result.nextLink;
|
|
170
|
+
while (continuationToken) {
|
|
171
|
+
result = await this._listGlobalBySubscriptionForTopicTypeNext(
|
|
250
172
|
topicTypeName,
|
|
173
|
+
continuationToken,
|
|
251
174
|
options
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
175
|
+
);
|
|
176
|
+
continuationToken = result.nextLink;
|
|
177
|
+
yield result.value || [];
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
private async *listGlobalBySubscriptionForTopicTypePagingAll(
|
|
182
|
+
topicTypeName: string,
|
|
183
|
+
options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
|
|
184
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
185
|
+
for await (const page of this.listGlobalBySubscriptionForTopicTypePagingPage(
|
|
186
|
+
topicTypeName,
|
|
187
|
+
options
|
|
188
|
+
)) {
|
|
189
|
+
yield* page;
|
|
190
|
+
}
|
|
255
191
|
}
|
|
256
192
|
|
|
257
193
|
/**
|
|
258
194
|
* List all global event subscriptions under a specific Azure subscription and resource group.
|
|
259
|
-
* @summary List all global event subscriptions under an Azure subscription and resource group.
|
|
260
195
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
261
|
-
* @param
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
{
|
|
196
|
+
* @param options The options parameters.
|
|
197
|
+
*/
|
|
198
|
+
public listGlobalByResourceGroup(
|
|
199
|
+
resourceGroupName: string,
|
|
200
|
+
options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
|
|
201
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
202
|
+
const iter = this.listGlobalByResourceGroupPagingAll(
|
|
203
|
+
resourceGroupName,
|
|
204
|
+
options
|
|
205
|
+
);
|
|
206
|
+
return {
|
|
207
|
+
next() {
|
|
208
|
+
return iter.next();
|
|
209
|
+
},
|
|
210
|
+
[Symbol.asyncIterator]() {
|
|
211
|
+
return this;
|
|
212
|
+
},
|
|
213
|
+
byPage: () => {
|
|
214
|
+
return this.listGlobalByResourceGroupPagingPage(
|
|
215
|
+
resourceGroupName,
|
|
216
|
+
options
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
private async *listGlobalByResourceGroupPagingPage(
|
|
223
|
+
resourceGroupName: string,
|
|
224
|
+
options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
|
|
225
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
226
|
+
let result = await this._listGlobalByResourceGroup(
|
|
227
|
+
resourceGroupName,
|
|
228
|
+
options
|
|
229
|
+
);
|
|
230
|
+
yield result.value || [];
|
|
231
|
+
let continuationToken = result.nextLink;
|
|
232
|
+
while (continuationToken) {
|
|
233
|
+
result = await this._listGlobalByResourceGroupNext(
|
|
279
234
|
resourceGroupName,
|
|
235
|
+
continuationToken,
|
|
280
236
|
options
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
237
|
+
);
|
|
238
|
+
continuationToken = result.nextLink;
|
|
239
|
+
yield result.value || [];
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
private async *listGlobalByResourceGroupPagingAll(
|
|
244
|
+
resourceGroupName: string,
|
|
245
|
+
options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
|
|
246
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
247
|
+
for await (const page of this.listGlobalByResourceGroupPagingPage(
|
|
248
|
+
resourceGroupName,
|
|
249
|
+
options
|
|
250
|
+
)) {
|
|
251
|
+
yield* page;
|
|
252
|
+
}
|
|
284
253
|
}
|
|
285
254
|
|
|
286
255
|
/**
|
|
287
256
|
* List all global event subscriptions under a resource group for a specific topic type.
|
|
288
|
-
* @summary List all global event subscriptions under a resource group for a topic type.
|
|
289
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
290
|
-
* @param topicTypeName Name of the topic type.
|
|
291
|
-
* @param [options] The optional parameters
|
|
292
|
-
* @returns Promise<Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse>
|
|
293
|
-
*/
|
|
294
|
-
listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams): Promise<Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse>;
|
|
295
|
-
/**
|
|
296
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
297
|
-
* @param topicTypeName Name of the topic type.
|
|
298
|
-
* @param callback The callback
|
|
299
|
-
*/
|
|
300
|
-
listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
301
|
-
/**
|
|
302
257
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
303
258
|
* @param topicTypeName Name of the topic type.
|
|
304
|
-
* @param options The
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
259
|
+
* @param options The options parameters.
|
|
260
|
+
*/
|
|
261
|
+
public listGlobalByResourceGroupForTopicType(
|
|
262
|
+
resourceGroupName: string,
|
|
263
|
+
topicTypeName: string,
|
|
264
|
+
options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
|
|
265
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
266
|
+
const iter = this.listGlobalByResourceGroupForTopicTypePagingAll(
|
|
267
|
+
resourceGroupName,
|
|
268
|
+
topicTypeName,
|
|
269
|
+
options
|
|
270
|
+
);
|
|
271
|
+
return {
|
|
272
|
+
next() {
|
|
273
|
+
return iter.next();
|
|
274
|
+
},
|
|
275
|
+
[Symbol.asyncIterator]() {
|
|
276
|
+
return this;
|
|
277
|
+
},
|
|
278
|
+
byPage: () => {
|
|
279
|
+
return this.listGlobalByResourceGroupForTopicTypePagingPage(
|
|
280
|
+
resourceGroupName,
|
|
281
|
+
topicTypeName,
|
|
282
|
+
options
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
private async *listGlobalByResourceGroupForTopicTypePagingPage(
|
|
289
|
+
resourceGroupName: string,
|
|
290
|
+
topicTypeName: string,
|
|
291
|
+
options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
|
|
292
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
293
|
+
let result = await this._listGlobalByResourceGroupForTopicType(
|
|
294
|
+
resourceGroupName,
|
|
295
|
+
topicTypeName,
|
|
296
|
+
options
|
|
297
|
+
);
|
|
298
|
+
yield result.value || [];
|
|
299
|
+
let continuationToken = result.nextLink;
|
|
300
|
+
while (continuationToken) {
|
|
301
|
+
result = await this._listGlobalByResourceGroupForTopicTypeNext(
|
|
311
302
|
resourceGroupName,
|
|
312
303
|
topicTypeName,
|
|
304
|
+
continuationToken,
|
|
313
305
|
options
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
306
|
+
);
|
|
307
|
+
continuationToken = result.nextLink;
|
|
308
|
+
yield result.value || [];
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
private async *listGlobalByResourceGroupForTopicTypePagingAll(
|
|
313
|
+
resourceGroupName: string,
|
|
314
|
+
topicTypeName: string,
|
|
315
|
+
options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
|
|
316
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
317
|
+
for await (const page of this.listGlobalByResourceGroupForTopicTypePagingPage(
|
|
318
|
+
resourceGroupName,
|
|
319
|
+
topicTypeName,
|
|
320
|
+
options
|
|
321
|
+
)) {
|
|
322
|
+
yield* page;
|
|
323
|
+
}
|
|
317
324
|
}
|
|
318
325
|
|
|
319
326
|
/**
|
|
320
327
|
* List all event subscriptions from the given location under a specific Azure subscription.
|
|
321
|
-
* @summary List all regional event subscriptions under an Azure subscription.
|
|
322
328
|
* @param location Name of the location.
|
|
323
|
-
* @param
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
329
|
+
* @param options The options parameters.
|
|
330
|
+
*/
|
|
331
|
+
public listRegionalBySubscription(
|
|
332
|
+
location: string,
|
|
333
|
+
options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
|
|
334
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
335
|
+
const iter = this.listRegionalBySubscriptionPagingAll(location, options);
|
|
336
|
+
return {
|
|
337
|
+
next() {
|
|
338
|
+
return iter.next();
|
|
339
|
+
},
|
|
340
|
+
[Symbol.asyncIterator]() {
|
|
341
|
+
return this;
|
|
342
|
+
},
|
|
343
|
+
byPage: () => {
|
|
344
|
+
return this.listRegionalBySubscriptionPagingPage(location, options);
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
private async *listRegionalBySubscriptionPagingPage(
|
|
350
|
+
location: string,
|
|
351
|
+
options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
|
|
352
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
353
|
+
let result = await this._listRegionalBySubscription(location, options);
|
|
354
|
+
yield result.value || [];
|
|
355
|
+
let continuationToken = result.nextLink;
|
|
356
|
+
while (continuationToken) {
|
|
357
|
+
result = await this._listRegionalBySubscriptionNext(
|
|
341
358
|
location,
|
|
359
|
+
continuationToken,
|
|
342
360
|
options
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
361
|
+
);
|
|
362
|
+
continuationToken = result.nextLink;
|
|
363
|
+
yield result.value || [];
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
private async *listRegionalBySubscriptionPagingAll(
|
|
368
|
+
location: string,
|
|
369
|
+
options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
|
|
370
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
371
|
+
for await (const page of this.listRegionalBySubscriptionPagingPage(
|
|
372
|
+
location,
|
|
373
|
+
options
|
|
374
|
+
)) {
|
|
375
|
+
yield* page;
|
|
376
|
+
}
|
|
346
377
|
}
|
|
347
378
|
|
|
348
379
|
/**
|
|
349
380
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
350
381
|
* resource group.
|
|
351
|
-
* @summary List all regional event subscriptions under an Azure subscription and resource group.
|
|
352
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
353
|
-
* @param location Name of the location.
|
|
354
|
-
* @param [options] The optional parameters
|
|
355
|
-
* @returns Promise<Models.EventSubscriptionsListRegionalByResourceGroupResponse>
|
|
356
|
-
*/
|
|
357
|
-
listRegionalByResourceGroup(resourceGroupName: string, location: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupOptionalParams): Promise<Models.EventSubscriptionsListRegionalByResourceGroupResponse>;
|
|
358
|
-
/**
|
|
359
382
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
360
383
|
* @param location Name of the location.
|
|
361
|
-
* @param
|
|
362
|
-
*/
|
|
363
|
-
listRegionalByResourceGroup(
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
384
|
+
* @param options The options parameters.
|
|
385
|
+
*/
|
|
386
|
+
public listRegionalByResourceGroup(
|
|
387
|
+
resourceGroupName: string,
|
|
388
|
+
location: string,
|
|
389
|
+
options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
|
|
390
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
391
|
+
const iter = this.listRegionalByResourceGroupPagingAll(
|
|
392
|
+
resourceGroupName,
|
|
393
|
+
location,
|
|
394
|
+
options
|
|
395
|
+
);
|
|
396
|
+
return {
|
|
397
|
+
next() {
|
|
398
|
+
return iter.next();
|
|
399
|
+
},
|
|
400
|
+
[Symbol.asyncIterator]() {
|
|
401
|
+
return this;
|
|
402
|
+
},
|
|
403
|
+
byPage: () => {
|
|
404
|
+
return this.listRegionalByResourceGroupPagingPage(
|
|
405
|
+
resourceGroupName,
|
|
406
|
+
location,
|
|
407
|
+
options
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
private async *listRegionalByResourceGroupPagingPage(
|
|
414
|
+
resourceGroupName: string,
|
|
415
|
+
location: string,
|
|
416
|
+
options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
|
|
417
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
418
|
+
let result = await this._listRegionalByResourceGroup(
|
|
419
|
+
resourceGroupName,
|
|
420
|
+
location,
|
|
421
|
+
options
|
|
422
|
+
);
|
|
423
|
+
yield result.value || [];
|
|
424
|
+
let continuationToken = result.nextLink;
|
|
425
|
+
while (continuationToken) {
|
|
426
|
+
result = await this._listRegionalByResourceGroupNext(
|
|
374
427
|
resourceGroupName,
|
|
375
428
|
location,
|
|
429
|
+
continuationToken,
|
|
376
430
|
options
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
431
|
+
);
|
|
432
|
+
continuationToken = result.nextLink;
|
|
433
|
+
yield result.value || [];
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
private async *listRegionalByResourceGroupPagingAll(
|
|
438
|
+
resourceGroupName: string,
|
|
439
|
+
location: string,
|
|
440
|
+
options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
|
|
441
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
442
|
+
for await (const page of this.listRegionalByResourceGroupPagingPage(
|
|
443
|
+
resourceGroupName,
|
|
444
|
+
location,
|
|
445
|
+
options
|
|
446
|
+
)) {
|
|
447
|
+
yield* page;
|
|
448
|
+
}
|
|
380
449
|
}
|
|
381
450
|
|
|
382
451
|
/**
|
|
383
|
-
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
384
|
-
*
|
|
385
|
-
* @summary List all regional event subscriptions under an Azure subscription for a topic type.
|
|
386
|
-
* @param location Name of the location.
|
|
387
|
-
* @param topicTypeName Name of the topic type.
|
|
388
|
-
* @param [options] The optional parameters
|
|
389
|
-
* @returns Promise<Models.EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse>
|
|
390
|
-
*/
|
|
391
|
-
listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options?: Models.EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams): Promise<Models.EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse>;
|
|
392
|
-
/**
|
|
393
|
-
* @param location Name of the location.
|
|
394
|
-
* @param topicTypeName Name of the topic type.
|
|
395
|
-
* @param callback The callback
|
|
396
|
-
*/
|
|
397
|
-
listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
398
|
-
/**
|
|
452
|
+
* List all event subscriptions from the given location under a specific Azure subscription and topic
|
|
453
|
+
* type.
|
|
399
454
|
* @param location Name of the location.
|
|
400
455
|
* @param topicTypeName Name of the topic type.
|
|
401
|
-
* @param options The
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
456
|
+
* @param options The options parameters.
|
|
457
|
+
*/
|
|
458
|
+
public listRegionalBySubscriptionForTopicType(
|
|
459
|
+
location: string,
|
|
460
|
+
topicTypeName: string,
|
|
461
|
+
options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
|
|
462
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
463
|
+
const iter = this.listRegionalBySubscriptionForTopicTypePagingAll(
|
|
464
|
+
location,
|
|
465
|
+
topicTypeName,
|
|
466
|
+
options
|
|
467
|
+
);
|
|
468
|
+
return {
|
|
469
|
+
next() {
|
|
470
|
+
return iter.next();
|
|
471
|
+
},
|
|
472
|
+
[Symbol.asyncIterator]() {
|
|
473
|
+
return this;
|
|
474
|
+
},
|
|
475
|
+
byPage: () => {
|
|
476
|
+
return this.listRegionalBySubscriptionForTopicTypePagingPage(
|
|
477
|
+
location,
|
|
478
|
+
topicTypeName,
|
|
479
|
+
options
|
|
480
|
+
);
|
|
481
|
+
}
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
private async *listRegionalBySubscriptionForTopicTypePagingPage(
|
|
486
|
+
location: string,
|
|
487
|
+
topicTypeName: string,
|
|
488
|
+
options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
|
|
489
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
490
|
+
let result = await this._listRegionalBySubscriptionForTopicType(
|
|
491
|
+
location,
|
|
492
|
+
topicTypeName,
|
|
493
|
+
options
|
|
494
|
+
);
|
|
495
|
+
yield result.value || [];
|
|
496
|
+
let continuationToken = result.nextLink;
|
|
497
|
+
while (continuationToken) {
|
|
498
|
+
result = await this._listRegionalBySubscriptionForTopicTypeNext(
|
|
408
499
|
location,
|
|
409
500
|
topicTypeName,
|
|
501
|
+
continuationToken,
|
|
410
502
|
options
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
503
|
+
);
|
|
504
|
+
continuationToken = result.nextLink;
|
|
505
|
+
yield result.value || [];
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
private async *listRegionalBySubscriptionForTopicTypePagingAll(
|
|
510
|
+
location: string,
|
|
511
|
+
topicTypeName: string,
|
|
512
|
+
options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
|
|
513
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
514
|
+
for await (const page of this.listRegionalBySubscriptionForTopicTypePagingPage(
|
|
515
|
+
location,
|
|
516
|
+
topicTypeName,
|
|
517
|
+
options
|
|
518
|
+
)) {
|
|
519
|
+
yield* page;
|
|
520
|
+
}
|
|
414
521
|
}
|
|
415
522
|
|
|
416
523
|
/**
|
|
417
524
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
418
525
|
* resource group and topic type.
|
|
419
|
-
* @summary List all regional event subscriptions under an Azure subscription and resource group
|
|
420
|
-
* for a topic type.
|
|
421
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
422
|
-
* @param location Name of the location.
|
|
423
|
-
* @param topicTypeName Name of the topic type.
|
|
424
|
-
* @param [options] The optional parameters
|
|
425
|
-
* @returns Promise<Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse>
|
|
426
|
-
*/
|
|
427
|
-
listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams): Promise<Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse>;
|
|
428
|
-
/**
|
|
429
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
430
|
-
* @param location Name of the location.
|
|
431
|
-
* @param topicTypeName Name of the topic type.
|
|
432
|
-
* @param callback The callback
|
|
433
|
-
*/
|
|
434
|
-
listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
435
|
-
/**
|
|
436
526
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
437
527
|
* @param location Name of the location.
|
|
438
528
|
* @param topicTypeName Name of the topic type.
|
|
439
|
-
* @param options The
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
529
|
+
* @param options The options parameters.
|
|
530
|
+
*/
|
|
531
|
+
public listRegionalByResourceGroupForTopicType(
|
|
532
|
+
resourceGroupName: string,
|
|
533
|
+
location: string,
|
|
534
|
+
topicTypeName: string,
|
|
535
|
+
options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
|
|
536
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
537
|
+
const iter = this.listRegionalByResourceGroupForTopicTypePagingAll(
|
|
538
|
+
resourceGroupName,
|
|
539
|
+
location,
|
|
540
|
+
topicTypeName,
|
|
541
|
+
options
|
|
542
|
+
);
|
|
543
|
+
return {
|
|
544
|
+
next() {
|
|
545
|
+
return iter.next();
|
|
546
|
+
},
|
|
547
|
+
[Symbol.asyncIterator]() {
|
|
548
|
+
return this;
|
|
549
|
+
},
|
|
550
|
+
byPage: () => {
|
|
551
|
+
return this.listRegionalByResourceGroupForTopicTypePagingPage(
|
|
552
|
+
resourceGroupName,
|
|
553
|
+
location,
|
|
554
|
+
topicTypeName,
|
|
555
|
+
options
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
private async *listRegionalByResourceGroupForTopicTypePagingPage(
|
|
562
|
+
resourceGroupName: string,
|
|
563
|
+
location: string,
|
|
564
|
+
topicTypeName: string,
|
|
565
|
+
options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
|
|
566
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
567
|
+
let result = await this._listRegionalByResourceGroupForTopicType(
|
|
568
|
+
resourceGroupName,
|
|
569
|
+
location,
|
|
570
|
+
topicTypeName,
|
|
571
|
+
options
|
|
572
|
+
);
|
|
573
|
+
yield result.value || [];
|
|
574
|
+
let continuationToken = result.nextLink;
|
|
575
|
+
while (continuationToken) {
|
|
576
|
+
result = await this._listRegionalByResourceGroupForTopicTypeNext(
|
|
446
577
|
resourceGroupName,
|
|
447
578
|
location,
|
|
448
579
|
topicTypeName,
|
|
580
|
+
continuationToken,
|
|
449
581
|
options
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
582
|
+
);
|
|
583
|
+
continuationToken = result.nextLink;
|
|
584
|
+
yield result.value || [];
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
private async *listRegionalByResourceGroupForTopicTypePagingAll(
|
|
589
|
+
resourceGroupName: string,
|
|
590
|
+
location: string,
|
|
591
|
+
topicTypeName: string,
|
|
592
|
+
options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
|
|
593
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
594
|
+
for await (const page of this.listRegionalByResourceGroupForTopicTypePagingPage(
|
|
595
|
+
resourceGroupName,
|
|
596
|
+
location,
|
|
597
|
+
topicTypeName,
|
|
598
|
+
options
|
|
599
|
+
)) {
|
|
600
|
+
yield* page;
|
|
601
|
+
}
|
|
453
602
|
}
|
|
454
603
|
|
|
455
604
|
/**
|
|
456
605
|
* List all event subscriptions that have been created for a specific topic.
|
|
457
|
-
* @summary List all event subscriptions for a specific topic.
|
|
458
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
459
|
-
* @param providerNamespace Namespace of the provider of the topic.
|
|
460
|
-
* @param resourceTypeName Name of the resource type.
|
|
461
|
-
* @param resourceName Name of the resource.
|
|
462
|
-
* @param [options] The optional parameters
|
|
463
|
-
* @returns Promise<Models.EventSubscriptionsListByResourceResponse>
|
|
464
|
-
*/
|
|
465
|
-
listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: Models.EventSubscriptionsListByResourceOptionalParams): Promise<Models.EventSubscriptionsListByResourceResponse>;
|
|
466
|
-
/**
|
|
467
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
468
|
-
* @param providerNamespace Namespace of the provider of the topic.
|
|
469
|
-
* @param resourceTypeName Name of the resource type.
|
|
470
|
-
* @param resourceName Name of the resource.
|
|
471
|
-
* @param callback The callback
|
|
472
|
-
*/
|
|
473
|
-
listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
474
|
-
/**
|
|
475
606
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
476
607
|
* @param providerNamespace Namespace of the provider of the topic.
|
|
477
608
|
* @param resourceTypeName Name of the resource type.
|
|
478
609
|
* @param resourceName Name of the resource.
|
|
479
|
-
* @param options The
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
610
|
+
* @param options The options parameters.
|
|
611
|
+
*/
|
|
612
|
+
public listByResource(
|
|
613
|
+
resourceGroupName: string,
|
|
614
|
+
providerNamespace: string,
|
|
615
|
+
resourceTypeName: string,
|
|
616
|
+
resourceName: string,
|
|
617
|
+
options?: EventSubscriptionsListByResourceOptionalParams
|
|
618
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
619
|
+
const iter = this.listByResourcePagingAll(
|
|
620
|
+
resourceGroupName,
|
|
621
|
+
providerNamespace,
|
|
622
|
+
resourceTypeName,
|
|
623
|
+
resourceName,
|
|
624
|
+
options
|
|
625
|
+
);
|
|
626
|
+
return {
|
|
627
|
+
next() {
|
|
628
|
+
return iter.next();
|
|
629
|
+
},
|
|
630
|
+
[Symbol.asyncIterator]() {
|
|
631
|
+
return this;
|
|
632
|
+
},
|
|
633
|
+
byPage: () => {
|
|
634
|
+
return this.listByResourcePagingPage(
|
|
635
|
+
resourceGroupName,
|
|
636
|
+
providerNamespace,
|
|
637
|
+
resourceTypeName,
|
|
638
|
+
resourceName,
|
|
639
|
+
options
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
private async *listByResourcePagingPage(
|
|
646
|
+
resourceGroupName: string,
|
|
647
|
+
providerNamespace: string,
|
|
648
|
+
resourceTypeName: string,
|
|
649
|
+
resourceName: string,
|
|
650
|
+
options?: EventSubscriptionsListByResourceOptionalParams
|
|
651
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
652
|
+
let result = await this._listByResource(
|
|
653
|
+
resourceGroupName,
|
|
654
|
+
providerNamespace,
|
|
655
|
+
resourceTypeName,
|
|
656
|
+
resourceName,
|
|
657
|
+
options
|
|
658
|
+
);
|
|
659
|
+
yield result.value || [];
|
|
660
|
+
let continuationToken = result.nextLink;
|
|
661
|
+
while (continuationToken) {
|
|
662
|
+
result = await this._listByResourceNext(
|
|
486
663
|
resourceGroupName,
|
|
487
664
|
providerNamespace,
|
|
488
665
|
resourceTypeName,
|
|
489
666
|
resourceName,
|
|
667
|
+
continuationToken,
|
|
490
668
|
options
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
669
|
+
);
|
|
670
|
+
continuationToken = result.nextLink;
|
|
671
|
+
yield result.value || [];
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
private async *listByResourcePagingAll(
|
|
676
|
+
resourceGroupName: string,
|
|
677
|
+
providerNamespace: string,
|
|
678
|
+
resourceTypeName: string,
|
|
679
|
+
resourceName: string,
|
|
680
|
+
options?: EventSubscriptionsListByResourceOptionalParams
|
|
681
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
682
|
+
for await (const page of this.listByResourcePagingPage(
|
|
683
|
+
resourceGroupName,
|
|
684
|
+
providerNamespace,
|
|
685
|
+
resourceTypeName,
|
|
686
|
+
resourceName,
|
|
687
|
+
options
|
|
688
|
+
)) {
|
|
689
|
+
yield* page;
|
|
690
|
+
}
|
|
494
691
|
}
|
|
495
692
|
|
|
496
693
|
/**
|
|
497
694
|
* List all event subscriptions that have been created for a specific domain topic.
|
|
498
|
-
* @summary List all event subscriptions for a specific domain topic.
|
|
499
695
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
500
696
|
* @param domainName Name of the top level domain.
|
|
501
697
|
* @param topicName Name of the domain topic.
|
|
502
|
-
* @param
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
{
|
|
698
|
+
* @param options The options parameters.
|
|
699
|
+
*/
|
|
700
|
+
public listByDomainTopic(
|
|
701
|
+
resourceGroupName: string,
|
|
702
|
+
domainName: string,
|
|
703
|
+
topicName: string,
|
|
704
|
+
options?: EventSubscriptionsListByDomainTopicOptionalParams
|
|
705
|
+
): PagedAsyncIterableIterator<EventSubscription> {
|
|
706
|
+
const iter = this.listByDomainTopicPagingAll(
|
|
707
|
+
resourceGroupName,
|
|
708
|
+
domainName,
|
|
709
|
+
topicName,
|
|
710
|
+
options
|
|
711
|
+
);
|
|
712
|
+
return {
|
|
713
|
+
next() {
|
|
714
|
+
return iter.next();
|
|
715
|
+
},
|
|
716
|
+
[Symbol.asyncIterator]() {
|
|
717
|
+
return this;
|
|
718
|
+
},
|
|
719
|
+
byPage: () => {
|
|
720
|
+
return this.listByDomainTopicPagingPage(
|
|
721
|
+
resourceGroupName,
|
|
722
|
+
domainName,
|
|
723
|
+
topicName,
|
|
724
|
+
options
|
|
725
|
+
);
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
private async *listByDomainTopicPagingPage(
|
|
731
|
+
resourceGroupName: string,
|
|
732
|
+
domainName: string,
|
|
733
|
+
topicName: string,
|
|
734
|
+
options?: EventSubscriptionsListByDomainTopicOptionalParams
|
|
735
|
+
): AsyncIterableIterator<EventSubscription[]> {
|
|
736
|
+
let result = await this._listByDomainTopic(
|
|
737
|
+
resourceGroupName,
|
|
738
|
+
domainName,
|
|
739
|
+
topicName,
|
|
740
|
+
options
|
|
741
|
+
);
|
|
742
|
+
yield result.value || [];
|
|
743
|
+
let continuationToken = result.nextLink;
|
|
744
|
+
while (continuationToken) {
|
|
745
|
+
result = await this._listByDomainTopicNext(
|
|
524
746
|
resourceGroupName,
|
|
525
747
|
domainName,
|
|
526
748
|
topicName,
|
|
749
|
+
continuationToken,
|
|
527
750
|
options
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
751
|
+
);
|
|
752
|
+
continuationToken = result.nextLink;
|
|
753
|
+
yield result.value || [];
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
private async *listByDomainTopicPagingAll(
|
|
758
|
+
resourceGroupName: string,
|
|
759
|
+
domainName: string,
|
|
760
|
+
topicName: string,
|
|
761
|
+
options?: EventSubscriptionsListByDomainTopicOptionalParams
|
|
762
|
+
): AsyncIterableIterator<EventSubscription> {
|
|
763
|
+
for await (const page of this.listByDomainTopicPagingPage(
|
|
764
|
+
resourceGroupName,
|
|
765
|
+
domainName,
|
|
766
|
+
topicName,
|
|
767
|
+
options
|
|
768
|
+
)) {
|
|
769
|
+
yield* page;
|
|
770
|
+
}
|
|
531
771
|
}
|
|
532
772
|
|
|
533
773
|
/**
|
|
534
|
-
* Get
|
|
535
|
-
* @summary Get delivery attributes for an event subscription.
|
|
774
|
+
* Get properties of an event subscription.
|
|
536
775
|
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
537
|
-
*
|
|
538
|
-
*
|
|
539
|
-
*
|
|
540
|
-
*
|
|
541
|
-
*
|
|
542
|
-
*
|
|
543
|
-
*
|
|
776
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
777
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
778
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
779
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
780
|
+
* for a resource, and
|
|
781
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
782
|
+
* for an EventGrid topic.
|
|
544
783
|
* @param eventSubscriptionName Name of the event subscription.
|
|
545
|
-
* @param
|
|
546
|
-
* @returns Promise<Models.EventSubscriptionsGetDeliveryAttributesResponse>
|
|
784
|
+
* @param options The options parameters.
|
|
547
785
|
*/
|
|
548
|
-
|
|
786
|
+
get(
|
|
787
|
+
scope: string,
|
|
788
|
+
eventSubscriptionName: string,
|
|
789
|
+
options?: EventSubscriptionsGetOptionalParams
|
|
790
|
+
): Promise<EventSubscriptionsGetResponse> {
|
|
791
|
+
return this.client.sendOperationRequest(
|
|
792
|
+
{ scope, eventSubscriptionName, options },
|
|
793
|
+
getOperationSpec
|
|
794
|
+
);
|
|
795
|
+
}
|
|
796
|
+
|
|
549
797
|
/**
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
553
|
-
*
|
|
554
|
-
*
|
|
555
|
-
* for a
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
|
|
561
|
-
|
|
798
|
+
* Asynchronously creates a new event subscription or updates an existing event subscription based on
|
|
799
|
+
* the specified scope.
|
|
800
|
+
* @param scope The identifier of the resource to which the event subscription needs to be created or
|
|
801
|
+
* updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
|
|
802
|
+
* a resource provider namespace, or an EventGrid topic. For example, use
|
|
803
|
+
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
804
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
805
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
806
|
+
* for a resource, and
|
|
807
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
808
|
+
* for an EventGrid topic.
|
|
809
|
+
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
810
|
+
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
811
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
812
|
+
* information.
|
|
813
|
+
* @param options The options parameters.
|
|
814
|
+
*/
|
|
815
|
+
async beginCreateOrUpdate(
|
|
816
|
+
scope: string,
|
|
817
|
+
eventSubscriptionName: string,
|
|
818
|
+
eventSubscriptionInfo: EventSubscription,
|
|
819
|
+
options?: EventSubscriptionsCreateOrUpdateOptionalParams
|
|
820
|
+
): Promise<
|
|
821
|
+
PollerLike<
|
|
822
|
+
PollOperationState<EventSubscriptionsCreateOrUpdateResponse>,
|
|
823
|
+
EventSubscriptionsCreateOrUpdateResponse
|
|
824
|
+
>
|
|
825
|
+
> {
|
|
826
|
+
const directSendOperation = async (
|
|
827
|
+
args: coreClient.OperationArguments,
|
|
828
|
+
spec: coreClient.OperationSpec
|
|
829
|
+
): Promise<EventSubscriptionsCreateOrUpdateResponse> => {
|
|
830
|
+
return this.client.sendOperationRequest(args, spec);
|
|
831
|
+
};
|
|
832
|
+
const sendOperation = async (
|
|
833
|
+
args: coreClient.OperationArguments,
|
|
834
|
+
spec: coreClient.OperationSpec
|
|
835
|
+
) => {
|
|
836
|
+
let currentRawResponse:
|
|
837
|
+
| coreClient.FullOperationResponse
|
|
838
|
+
| undefined = undefined;
|
|
839
|
+
const providedCallback = args.options?.onResponse;
|
|
840
|
+
const callback: coreClient.RawResponseCallback = (
|
|
841
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
842
|
+
flatResponse: unknown
|
|
843
|
+
) => {
|
|
844
|
+
currentRawResponse = rawResponse;
|
|
845
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
846
|
+
};
|
|
847
|
+
const updatedArgs = {
|
|
848
|
+
...args,
|
|
849
|
+
options: {
|
|
850
|
+
...args.options,
|
|
851
|
+
onResponse: callback
|
|
852
|
+
}
|
|
853
|
+
};
|
|
854
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
855
|
+
return {
|
|
856
|
+
flatResponse,
|
|
857
|
+
rawResponse: {
|
|
858
|
+
statusCode: currentRawResponse!.status,
|
|
859
|
+
body: currentRawResponse!.parsedBody,
|
|
860
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
861
|
+
}
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
const lro = new LroImpl(
|
|
866
|
+
sendOperation,
|
|
867
|
+
{ scope, eventSubscriptionName, eventSubscriptionInfo, options },
|
|
868
|
+
createOrUpdateOperationSpec
|
|
869
|
+
);
|
|
870
|
+
return new LroEngine(lro, {
|
|
871
|
+
resumeFrom: options?.resumeFrom,
|
|
872
|
+
intervalInMs: options?.updateIntervalInMs
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
|
|
562
876
|
/**
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
*
|
|
567
|
-
*
|
|
568
|
-
* for a
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
877
|
+
* Asynchronously creates a new event subscription or updates an existing event subscription based on
|
|
878
|
+
* the specified scope.
|
|
879
|
+
* @param scope The identifier of the resource to which the event subscription needs to be created or
|
|
880
|
+
* updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
|
|
881
|
+
* a resource provider namespace, or an EventGrid topic. For example, use
|
|
882
|
+
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
883
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
884
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
885
|
+
* for a resource, and
|
|
886
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
887
|
+
* for an EventGrid topic.
|
|
888
|
+
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
889
|
+
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
890
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
891
|
+
* information.
|
|
892
|
+
* @param options The options parameters.
|
|
893
|
+
*/
|
|
894
|
+
async beginCreateOrUpdateAndWait(
|
|
895
|
+
scope: string,
|
|
896
|
+
eventSubscriptionName: string,
|
|
897
|
+
eventSubscriptionInfo: EventSubscription,
|
|
898
|
+
options?: EventSubscriptionsCreateOrUpdateOptionalParams
|
|
899
|
+
): Promise<EventSubscriptionsCreateOrUpdateResponse> {
|
|
900
|
+
const poller = await this.beginCreateOrUpdate(
|
|
901
|
+
scope,
|
|
902
|
+
eventSubscriptionName,
|
|
903
|
+
eventSubscriptionInfo,
|
|
904
|
+
options
|
|
905
|
+
);
|
|
906
|
+
return poller.pollUntilDone();
|
|
585
907
|
}
|
|
586
908
|
|
|
587
909
|
/**
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
*
|
|
597
|
-
*
|
|
598
|
-
*
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
910
|
+
* Delete an existing event subscription.
|
|
911
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
912
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
913
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
914
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
915
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
916
|
+
* for a resource, and
|
|
917
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
918
|
+
* for an EventGrid topic.
|
|
919
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
920
|
+
* @param options The options parameters.
|
|
921
|
+
*/
|
|
922
|
+
async beginDelete(
|
|
923
|
+
scope: string,
|
|
924
|
+
eventSubscriptionName: string,
|
|
925
|
+
options?: EventSubscriptionsDeleteOptionalParams
|
|
926
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
927
|
+
const directSendOperation = async (
|
|
928
|
+
args: coreClient.OperationArguments,
|
|
929
|
+
spec: coreClient.OperationSpec
|
|
930
|
+
): Promise<void> => {
|
|
931
|
+
return this.client.sendOperationRequest(args, spec);
|
|
932
|
+
};
|
|
933
|
+
const sendOperation = async (
|
|
934
|
+
args: coreClient.OperationArguments,
|
|
935
|
+
spec: coreClient.OperationSpec
|
|
936
|
+
) => {
|
|
937
|
+
let currentRawResponse:
|
|
938
|
+
| coreClient.FullOperationResponse
|
|
939
|
+
| undefined = undefined;
|
|
940
|
+
const providedCallback = args.options?.onResponse;
|
|
941
|
+
const callback: coreClient.RawResponseCallback = (
|
|
942
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
943
|
+
flatResponse: unknown
|
|
944
|
+
) => {
|
|
945
|
+
currentRawResponse = rawResponse;
|
|
946
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
947
|
+
};
|
|
948
|
+
const updatedArgs = {
|
|
949
|
+
...args,
|
|
950
|
+
options: {
|
|
951
|
+
...args.options,
|
|
952
|
+
onResponse: callback
|
|
953
|
+
}
|
|
954
|
+
};
|
|
955
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
956
|
+
return {
|
|
957
|
+
flatResponse,
|
|
958
|
+
rawResponse: {
|
|
959
|
+
statusCode: currentRawResponse!.status,
|
|
960
|
+
body: currentRawResponse!.parsedBody,
|
|
961
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
const lro = new LroImpl(
|
|
967
|
+
sendOperation,
|
|
968
|
+
{ scope, eventSubscriptionName, options },
|
|
969
|
+
deleteOperationSpec
|
|
970
|
+
);
|
|
971
|
+
return new LroEngine(lro, {
|
|
972
|
+
resumeFrom: options?.resumeFrom,
|
|
973
|
+
intervalInMs: options?.updateIntervalInMs
|
|
974
|
+
});
|
|
617
975
|
}
|
|
618
976
|
|
|
619
977
|
/**
|
|
620
978
|
* Delete an existing event subscription.
|
|
621
|
-
* @summary Delete an event subscription.
|
|
622
979
|
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
627
|
-
*
|
|
628
|
-
*
|
|
629
|
-
*
|
|
980
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
981
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
982
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
983
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
984
|
+
* for a resource, and
|
|
985
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
986
|
+
* for an EventGrid topic.
|
|
630
987
|
* @param eventSubscriptionName Name of the event subscription.
|
|
631
|
-
* @param
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
988
|
+
* @param options The options parameters.
|
|
989
|
+
*/
|
|
990
|
+
async beginDeleteAndWait(
|
|
991
|
+
scope: string,
|
|
992
|
+
eventSubscriptionName: string,
|
|
993
|
+
options?: EventSubscriptionsDeleteOptionalParams
|
|
994
|
+
): Promise<void> {
|
|
995
|
+
const poller = await this.beginDelete(
|
|
996
|
+
scope,
|
|
997
|
+
eventSubscriptionName,
|
|
998
|
+
options
|
|
999
|
+
);
|
|
1000
|
+
return poller.pollUntilDone();
|
|
643
1001
|
}
|
|
644
1002
|
|
|
645
1003
|
/**
|
|
646
1004
|
* Asynchronously updates an existing event subscription.
|
|
647
|
-
* @summary Update an event subscription.
|
|
648
1005
|
* @param scope The scope of existing event subscription. The scope can be a subscription, or a
|
|
649
|
-
*
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
*
|
|
653
|
-
*
|
|
654
|
-
*
|
|
655
|
-
*
|
|
1006
|
+
* resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
1007
|
+
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1008
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1009
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1010
|
+
* for a resource, and
|
|
1011
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1012
|
+
* for an EventGrid topic.
|
|
656
1013
|
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
657
1014
|
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
658
|
-
* @param
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
1015
|
+
* @param options The options parameters.
|
|
1016
|
+
*/
|
|
1017
|
+
async beginUpdate(
|
|
1018
|
+
scope: string,
|
|
1019
|
+
eventSubscriptionName: string,
|
|
1020
|
+
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
1021
|
+
options?: EventSubscriptionsUpdateOptionalParams
|
|
1022
|
+
): Promise<
|
|
1023
|
+
PollerLike<
|
|
1024
|
+
PollOperationState<EventSubscriptionsUpdateResponse>,
|
|
1025
|
+
EventSubscriptionsUpdateResponse
|
|
1026
|
+
>
|
|
1027
|
+
> {
|
|
1028
|
+
const directSendOperation = async (
|
|
1029
|
+
args: coreClient.OperationArguments,
|
|
1030
|
+
spec: coreClient.OperationSpec
|
|
1031
|
+
): Promise<EventSubscriptionsUpdateResponse> => {
|
|
1032
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1033
|
+
};
|
|
1034
|
+
const sendOperation = async (
|
|
1035
|
+
args: coreClient.OperationArguments,
|
|
1036
|
+
spec: coreClient.OperationSpec
|
|
1037
|
+
) => {
|
|
1038
|
+
let currentRawResponse:
|
|
1039
|
+
| coreClient.FullOperationResponse
|
|
1040
|
+
| undefined = undefined;
|
|
1041
|
+
const providedCallback = args.options?.onResponse;
|
|
1042
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1043
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1044
|
+
flatResponse: unknown
|
|
1045
|
+
) => {
|
|
1046
|
+
currentRawResponse = rawResponse;
|
|
1047
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1048
|
+
};
|
|
1049
|
+
const updatedArgs = {
|
|
1050
|
+
...args,
|
|
1051
|
+
options: {
|
|
1052
|
+
...args.options,
|
|
1053
|
+
onResponse: callback
|
|
1054
|
+
}
|
|
1055
|
+
};
|
|
1056
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1057
|
+
return {
|
|
1058
|
+
flatResponse,
|
|
1059
|
+
rawResponse: {
|
|
1060
|
+
statusCode: currentRawResponse!.status,
|
|
1061
|
+
body: currentRawResponse!.parsedBody,
|
|
1062
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1063
|
+
}
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
const lro = new LroImpl(
|
|
1068
|
+
sendOperation,
|
|
663
1069
|
{
|
|
664
1070
|
scope,
|
|
665
1071
|
eventSubscriptionName,
|
|
666
1072
|
eventSubscriptionUpdateParameters,
|
|
667
1073
|
options
|
|
668
1074
|
},
|
|
669
|
-
|
|
670
|
-
|
|
1075
|
+
updateOperationSpec
|
|
1076
|
+
);
|
|
1077
|
+
return new LroEngine(lro, {
|
|
1078
|
+
resumeFrom: options?.resumeFrom,
|
|
1079
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1080
|
+
});
|
|
671
1081
|
}
|
|
672
1082
|
|
|
673
1083
|
/**
|
|
674
|
-
*
|
|
675
|
-
* @
|
|
676
|
-
*
|
|
677
|
-
*
|
|
678
|
-
*
|
|
679
|
-
|
|
680
|
-
|
|
1084
|
+
* Asynchronously updates an existing event subscription.
|
|
1085
|
+
* @param scope The scope of existing event subscription. The scope can be a subscription, or a
|
|
1086
|
+
* resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
1087
|
+
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1088
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1089
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1090
|
+
* for a resource, and
|
|
1091
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1092
|
+
* for an EventGrid topic.
|
|
1093
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
1094
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
1095
|
+
* @param options The options parameters.
|
|
1096
|
+
*/
|
|
1097
|
+
async beginUpdateAndWait(
|
|
1098
|
+
scope: string,
|
|
1099
|
+
eventSubscriptionName: string,
|
|
1100
|
+
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
1101
|
+
options?: EventSubscriptionsUpdateOptionalParams
|
|
1102
|
+
): Promise<EventSubscriptionsUpdateResponse> {
|
|
1103
|
+
const poller = await this.beginUpdate(
|
|
1104
|
+
scope,
|
|
1105
|
+
eventSubscriptionName,
|
|
1106
|
+
eventSubscriptionUpdateParameters,
|
|
1107
|
+
options
|
|
1108
|
+
);
|
|
1109
|
+
return poller.pollUntilDone();
|
|
1110
|
+
}
|
|
1111
|
+
|
|
681
1112
|
/**
|
|
682
|
-
*
|
|
683
|
-
* @param
|
|
1113
|
+
* Get the full endpoint URL for an event subscription.
|
|
1114
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
1115
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
1116
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1117
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1118
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1119
|
+
* for a resource, and
|
|
1120
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1121
|
+
* for an EventGrid topic.
|
|
1122
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
1123
|
+
* @param options The options parameters.
|
|
684
1124
|
*/
|
|
685
|
-
|
|
1125
|
+
getFullUrl(
|
|
1126
|
+
scope: string,
|
|
1127
|
+
eventSubscriptionName: string,
|
|
1128
|
+
options?: EventSubscriptionsGetFullUrlOptionalParams
|
|
1129
|
+
): Promise<EventSubscriptionsGetFullUrlResponse> {
|
|
1130
|
+
return this.client.sendOperationRequest(
|
|
1131
|
+
{ scope, eventSubscriptionName, options },
|
|
1132
|
+
getFullUrlOperationSpec
|
|
1133
|
+
);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
686
1136
|
/**
|
|
687
|
-
*
|
|
688
|
-
* @param options The
|
|
689
|
-
* @param callback The callback
|
|
1137
|
+
* List all aggregated global event subscriptions under a specific Azure subscription.
|
|
1138
|
+
* @param options The options parameters.
|
|
690
1139
|
*/
|
|
691
|
-
|
|
692
|
-
|
|
1140
|
+
private _listGlobalBySubscription(
|
|
1141
|
+
options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
|
|
1142
|
+
): Promise<EventSubscriptionsListGlobalBySubscriptionResponse> {
|
|
693
1143
|
return this.client.sendOperationRequest(
|
|
694
|
-
{
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
},
|
|
698
|
-
listGlobalBySubscriptionNextOperationSpec,
|
|
699
|
-
callback) as Promise<Models.EventSubscriptionsListGlobalBySubscriptionNextResponse>;
|
|
1144
|
+
{ options },
|
|
1145
|
+
listGlobalBySubscriptionOperationSpec
|
|
1146
|
+
);
|
|
700
1147
|
}
|
|
701
1148
|
|
|
702
1149
|
/**
|
|
703
1150
|
* List all global event subscriptions under an Azure subscription for a topic type.
|
|
704
|
-
* @
|
|
705
|
-
* @param
|
|
706
|
-
* @param [options] The optional parameters
|
|
707
|
-
* @returns Promise<Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse>
|
|
708
|
-
*/
|
|
709
|
-
listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams): Promise<Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse>;
|
|
710
|
-
/**
|
|
711
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
712
|
-
* @param callback The callback
|
|
713
|
-
*/
|
|
714
|
-
listGlobalBySubscriptionForTopicTypeNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
715
|
-
/**
|
|
716
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
717
|
-
* @param options The optional parameters
|
|
718
|
-
* @param callback The callback
|
|
1151
|
+
* @param topicTypeName Name of the topic type.
|
|
1152
|
+
* @param options The options parameters.
|
|
719
1153
|
*/
|
|
720
|
-
|
|
721
|
-
|
|
1154
|
+
private _listGlobalBySubscriptionForTopicType(
|
|
1155
|
+
topicTypeName: string,
|
|
1156
|
+
options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
|
|
1157
|
+
): Promise<EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse> {
|
|
722
1158
|
return this.client.sendOperationRequest(
|
|
723
|
-
{
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
},
|
|
727
|
-
listGlobalBySubscriptionForTopicTypeNextOperationSpec,
|
|
728
|
-
callback) as Promise<Models.EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse>;
|
|
1159
|
+
{ topicTypeName, options },
|
|
1160
|
+
listGlobalBySubscriptionForTopicTypeOperationSpec
|
|
1161
|
+
);
|
|
729
1162
|
}
|
|
730
1163
|
|
|
731
1164
|
/**
|
|
732
1165
|
* List all global event subscriptions under a specific Azure subscription and resource group.
|
|
733
|
-
* @
|
|
734
|
-
* @param
|
|
735
|
-
* @param [options] The optional parameters
|
|
736
|
-
* @returns Promise<Models.EventSubscriptionsListGlobalByResourceGroupNextResponse>
|
|
737
|
-
*/
|
|
738
|
-
listGlobalByResourceGroupNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupNextOptionalParams): Promise<Models.EventSubscriptionsListGlobalByResourceGroupNextResponse>;
|
|
739
|
-
/**
|
|
740
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
741
|
-
* @param callback The callback
|
|
742
|
-
*/
|
|
743
|
-
listGlobalByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
744
|
-
/**
|
|
745
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
746
|
-
* @param options The optional parameters
|
|
747
|
-
* @param callback The callback
|
|
1166
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1167
|
+
* @param options The options parameters.
|
|
748
1168
|
*/
|
|
749
|
-
|
|
750
|
-
|
|
1169
|
+
private _listGlobalByResourceGroup(
|
|
1170
|
+
resourceGroupName: string,
|
|
1171
|
+
options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
|
|
1172
|
+
): Promise<EventSubscriptionsListGlobalByResourceGroupResponse> {
|
|
751
1173
|
return this.client.sendOperationRequest(
|
|
752
|
-
{
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
},
|
|
756
|
-
listGlobalByResourceGroupNextOperationSpec,
|
|
757
|
-
callback) as Promise<Models.EventSubscriptionsListGlobalByResourceGroupNextResponse>;
|
|
1174
|
+
{ resourceGroupName, options },
|
|
1175
|
+
listGlobalByResourceGroupOperationSpec
|
|
1176
|
+
);
|
|
758
1177
|
}
|
|
759
1178
|
|
|
760
1179
|
/**
|
|
761
1180
|
* List all global event subscriptions under a resource group for a specific topic type.
|
|
762
|
-
* @
|
|
763
|
-
* @param
|
|
764
|
-
* @param
|
|
765
|
-
* @returns Promise<Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse>
|
|
766
|
-
*/
|
|
767
|
-
listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, options?: Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams): Promise<Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse>;
|
|
768
|
-
/**
|
|
769
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
770
|
-
* @param callback The callback
|
|
771
|
-
*/
|
|
772
|
-
listGlobalByResourceGroupForTopicTypeNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
773
|
-
/**
|
|
774
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
775
|
-
* @param options The optional parameters
|
|
776
|
-
* @param callback The callback
|
|
1181
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1182
|
+
* @param topicTypeName Name of the topic type.
|
|
1183
|
+
* @param options The options parameters.
|
|
777
1184
|
*/
|
|
778
|
-
|
|
779
|
-
|
|
1185
|
+
private _listGlobalByResourceGroupForTopicType(
|
|
1186
|
+
resourceGroupName: string,
|
|
1187
|
+
topicTypeName: string,
|
|
1188
|
+
options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
|
|
1189
|
+
): Promise<EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse> {
|
|
780
1190
|
return this.client.sendOperationRequest(
|
|
781
|
-
{
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
},
|
|
785
|
-
listGlobalByResourceGroupForTopicTypeNextOperationSpec,
|
|
786
|
-
callback) as Promise<Models.EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse>;
|
|
1191
|
+
{ resourceGroupName, topicTypeName, options },
|
|
1192
|
+
listGlobalByResourceGroupForTopicTypeOperationSpec
|
|
1193
|
+
);
|
|
787
1194
|
}
|
|
788
1195
|
|
|
789
1196
|
/**
|
|
790
1197
|
* List all event subscriptions from the given location under a specific Azure subscription.
|
|
791
|
-
* @
|
|
792
|
-
* @param
|
|
793
|
-
* @param [options] The optional parameters
|
|
794
|
-
* @returns Promise<Models.EventSubscriptionsListRegionalBySubscriptionNextResponse>
|
|
795
|
-
*/
|
|
796
|
-
listRegionalBySubscriptionNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalBySubscriptionNextOptionalParams): Promise<Models.EventSubscriptionsListRegionalBySubscriptionNextResponse>;
|
|
797
|
-
/**
|
|
798
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
799
|
-
* @param callback The callback
|
|
800
|
-
*/
|
|
801
|
-
listRegionalBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EventSubscriptionsListResult>): void;
|
|
802
|
-
/**
|
|
803
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
804
|
-
* @param options The optional parameters
|
|
805
|
-
* @param callback The callback
|
|
1198
|
+
* @param location Name of the location.
|
|
1199
|
+
* @param options The options parameters.
|
|
806
1200
|
*/
|
|
807
|
-
|
|
808
|
-
|
|
1201
|
+
private _listRegionalBySubscription(
|
|
1202
|
+
location: string,
|
|
1203
|
+
options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
|
|
1204
|
+
): Promise<EventSubscriptionsListRegionalBySubscriptionResponse> {
|
|
809
1205
|
return this.client.sendOperationRequest(
|
|
810
|
-
{
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
},
|
|
814
|
-
listRegionalBySubscriptionNextOperationSpec,
|
|
815
|
-
callback) as Promise<Models.EventSubscriptionsListRegionalBySubscriptionNextResponse>;
|
|
1206
|
+
{ location, options },
|
|
1207
|
+
listRegionalBySubscriptionOperationSpec
|
|
1208
|
+
);
|
|
816
1209
|
}
|
|
817
1210
|
|
|
818
1211
|
/**
|
|
819
1212
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
820
1213
|
* resource group.
|
|
821
|
-
* @
|
|
822
|
-
* @param
|
|
823
|
-
* @param
|
|
824
|
-
* @returns Promise<Models.EventSubscriptionsListRegionalByResourceGroupNextResponse>
|
|
825
|
-
*/
|
|
826
|
-
listRegionalByResourceGroupNext(nextPageLink: string, options?: Models.EventSubscriptionsListRegionalByResourceGroupNextOptionalParams): Promise<Models.EventSubscriptionsListRegionalByResourceGroupNextResponse>;
|
|
827
|
-
/**
|
|
828
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
829
|
-
* @param callback The callback
|
|
1214
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1215
|
+
* @param location Name of the location.
|
|
1216
|
+
* @param options The options parameters.
|
|
830
1217
|
*/
|
|
831
|
-
|
|
1218
|
+
private _listRegionalByResourceGroup(
|
|
1219
|
+
resourceGroupName: string,
|
|
1220
|
+
location: string,
|
|
1221
|
+
options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
|
|
1222
|
+
): Promise<EventSubscriptionsListRegionalByResourceGroupResponse> {
|
|
1223
|
+
return this.client.sendOperationRequest(
|
|
1224
|
+
{ resourceGroupName, location, options },
|
|
1225
|
+
listRegionalByResourceGroupOperationSpec
|
|
1226
|
+
);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
832
1229
|
/**
|
|
833
|
-
*
|
|
834
|
-
*
|
|
835
|
-
* @param
|
|
1230
|
+
* List all event subscriptions from the given location under a specific Azure subscription and topic
|
|
1231
|
+
* type.
|
|
1232
|
+
* @param location Name of the location.
|
|
1233
|
+
* @param topicTypeName Name of the topic type.
|
|
1234
|
+
* @param options The options parameters.
|
|
836
1235
|
*/
|
|
837
|
-
|
|
838
|
-
|
|
1236
|
+
private _listRegionalBySubscriptionForTopicType(
|
|
1237
|
+
location: string,
|
|
1238
|
+
topicTypeName: string,
|
|
1239
|
+
options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
|
|
1240
|
+
): Promise<EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse> {
|
|
839
1241
|
return this.client.sendOperationRequest(
|
|
840
|
-
{
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
},
|
|
844
|
-
listRegionalByResourceGroupNextOperationSpec,
|
|
845
|
-
callback) as Promise<Models.EventSubscriptionsListRegionalByResourceGroupNextResponse>;
|
|
1242
|
+
{ location, topicTypeName, options },
|
|
1243
|
+
listRegionalBySubscriptionForTopicTypeOperationSpec
|
|
1244
|
+
);
|
|
846
1245
|
}
|
|
847
1246
|
|
|
848
1247
|
/**
|
|
849
1248
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
850
|
-
* topic type.
|
|
851
|
-
* @
|
|
852
|
-
* @param
|
|
853
|
-
* @param
|
|
854
|
-
* @
|
|
855
|
-
*/
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
1249
|
+
* resource group and topic type.
|
|
1250
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1251
|
+
* @param location Name of the location.
|
|
1252
|
+
* @param topicTypeName Name of the topic type.
|
|
1253
|
+
* @param options The options parameters.
|
|
1254
|
+
*/
|
|
1255
|
+
private _listRegionalByResourceGroupForTopicType(
|
|
1256
|
+
resourceGroupName: string,
|
|
1257
|
+
location: string,
|
|
1258
|
+
topicTypeName: string,
|
|
1259
|
+
options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
|
|
1260
|
+
): Promise<
|
|
1261
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse
|
|
1262
|
+
> {
|
|
1263
|
+
return this.client.sendOperationRequest(
|
|
1264
|
+
{ resourceGroupName, location, topicTypeName, options },
|
|
1265
|
+
listRegionalByResourceGroupForTopicTypeOperationSpec
|
|
1266
|
+
);
|
|
1267
|
+
}
|
|
1268
|
+
|
|
862
1269
|
/**
|
|
863
|
-
*
|
|
864
|
-
* @param
|
|
865
|
-
* @param
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1270
|
+
* List all event subscriptions that have been created for a specific topic.
|
|
1271
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1272
|
+
* @param providerNamespace Namespace of the provider of the topic.
|
|
1273
|
+
* @param resourceTypeName Name of the resource type.
|
|
1274
|
+
* @param resourceName Name of the resource.
|
|
1275
|
+
* @param options The options parameters.
|
|
1276
|
+
*/
|
|
1277
|
+
private _listByResource(
|
|
1278
|
+
resourceGroupName: string,
|
|
1279
|
+
providerNamespace: string,
|
|
1280
|
+
resourceTypeName: string,
|
|
1281
|
+
resourceName: string,
|
|
1282
|
+
options?: EventSubscriptionsListByResourceOptionalParams
|
|
1283
|
+
): Promise<EventSubscriptionsListByResourceResponse> {
|
|
869
1284
|
return this.client.sendOperationRequest(
|
|
870
1285
|
{
|
|
871
|
-
|
|
1286
|
+
resourceGroupName,
|
|
1287
|
+
providerNamespace,
|
|
1288
|
+
resourceTypeName,
|
|
1289
|
+
resourceName,
|
|
872
1290
|
options
|
|
873
1291
|
},
|
|
874
|
-
|
|
875
|
-
|
|
1292
|
+
listByResourceOperationSpec
|
|
1293
|
+
);
|
|
876
1294
|
}
|
|
877
1295
|
|
|
878
1296
|
/**
|
|
879
|
-
* List all event subscriptions
|
|
880
|
-
* resource group
|
|
881
|
-
* @
|
|
882
|
-
*
|
|
883
|
-
* @param
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
1297
|
+
* List all event subscriptions that have been created for a specific domain topic.
|
|
1298
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1299
|
+
* @param domainName Name of the top level domain.
|
|
1300
|
+
* @param topicName Name of the domain topic.
|
|
1301
|
+
* @param options The options parameters.
|
|
1302
|
+
*/
|
|
1303
|
+
private _listByDomainTopic(
|
|
1304
|
+
resourceGroupName: string,
|
|
1305
|
+
domainName: string,
|
|
1306
|
+
topicName: string,
|
|
1307
|
+
options?: EventSubscriptionsListByDomainTopicOptionalParams
|
|
1308
|
+
): Promise<EventSubscriptionsListByDomainTopicResponse> {
|
|
1309
|
+
return this.client.sendOperationRequest(
|
|
1310
|
+
{ resourceGroupName, domainName, topicName, options },
|
|
1311
|
+
listByDomainTopicOperationSpec
|
|
1312
|
+
);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
888
1315
|
/**
|
|
889
|
-
*
|
|
890
|
-
* @param
|
|
1316
|
+
* Get all delivery attributes for an event subscription.
|
|
1317
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
1318
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
1319
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1320
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1321
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1322
|
+
* for a resource, and
|
|
1323
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1324
|
+
* for an EventGrid topic.
|
|
1325
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
1326
|
+
* @param options The options parameters.
|
|
891
1327
|
*/
|
|
892
|
-
|
|
1328
|
+
getDeliveryAttributes(
|
|
1329
|
+
scope: string,
|
|
1330
|
+
eventSubscriptionName: string,
|
|
1331
|
+
options?: EventSubscriptionsGetDeliveryAttributesOptionalParams
|
|
1332
|
+
): Promise<EventSubscriptionsGetDeliveryAttributesResponse> {
|
|
1333
|
+
return this.client.sendOperationRequest(
|
|
1334
|
+
{ scope, eventSubscriptionName, options },
|
|
1335
|
+
getDeliveryAttributesOperationSpec
|
|
1336
|
+
);
|
|
1337
|
+
}
|
|
1338
|
+
|
|
893
1339
|
/**
|
|
894
|
-
*
|
|
895
|
-
* @param
|
|
896
|
-
*
|
|
1340
|
+
* ListGlobalBySubscriptionNext
|
|
1341
|
+
* @param nextLink The nextLink from the previous successful call to the ListGlobalBySubscription
|
|
1342
|
+
* method.
|
|
1343
|
+
* @param options The options parameters.
|
|
897
1344
|
*/
|
|
898
|
-
|
|
899
|
-
|
|
1345
|
+
private _listGlobalBySubscriptionNext(
|
|
1346
|
+
nextLink: string,
|
|
1347
|
+
options?: EventSubscriptionsListGlobalBySubscriptionNextOptionalParams
|
|
1348
|
+
): Promise<EventSubscriptionsListGlobalBySubscriptionNextResponse> {
|
|
900
1349
|
return this.client.sendOperationRequest(
|
|
901
|
-
{
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
},
|
|
905
|
-
listRegionalByResourceGroupForTopicTypeNextOperationSpec,
|
|
906
|
-
callback) as Promise<Models.EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse>;
|
|
1350
|
+
{ nextLink, options },
|
|
1351
|
+
listGlobalBySubscriptionNextOperationSpec
|
|
1352
|
+
);
|
|
907
1353
|
}
|
|
908
1354
|
|
|
909
1355
|
/**
|
|
910
|
-
*
|
|
911
|
-
* @
|
|
912
|
-
* @param
|
|
913
|
-
*
|
|
914
|
-
* @
|
|
915
|
-
*/
|
|
916
|
-
|
|
1356
|
+
* ListGlobalBySubscriptionForTopicTypeNext
|
|
1357
|
+
* @param topicTypeName Name of the topic type.
|
|
1358
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1359
|
+
* ListGlobalBySubscriptionForTopicType method.
|
|
1360
|
+
* @param options The options parameters.
|
|
1361
|
+
*/
|
|
1362
|
+
private _listGlobalBySubscriptionForTopicTypeNext(
|
|
1363
|
+
topicTypeName: string,
|
|
1364
|
+
nextLink: string,
|
|
1365
|
+
options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams
|
|
1366
|
+
): Promise<
|
|
1367
|
+
EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse
|
|
1368
|
+
> {
|
|
1369
|
+
return this.client.sendOperationRequest(
|
|
1370
|
+
{ topicTypeName, nextLink, options },
|
|
1371
|
+
listGlobalBySubscriptionForTopicTypeNextOperationSpec
|
|
1372
|
+
);
|
|
1373
|
+
}
|
|
1374
|
+
|
|
917
1375
|
/**
|
|
918
|
-
*
|
|
919
|
-
* @param
|
|
920
|
-
|
|
921
|
-
|
|
1376
|
+
* ListGlobalByResourceGroupNext
|
|
1377
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1378
|
+
* @param nextLink The nextLink from the previous successful call to the ListGlobalByResourceGroup
|
|
1379
|
+
* method.
|
|
1380
|
+
* @param options The options parameters.
|
|
1381
|
+
*/
|
|
1382
|
+
private _listGlobalByResourceGroupNext(
|
|
1383
|
+
resourceGroupName: string,
|
|
1384
|
+
nextLink: string,
|
|
1385
|
+
options?: EventSubscriptionsListGlobalByResourceGroupNextOptionalParams
|
|
1386
|
+
): Promise<EventSubscriptionsListGlobalByResourceGroupNextResponse> {
|
|
1387
|
+
return this.client.sendOperationRequest(
|
|
1388
|
+
{ resourceGroupName, nextLink, options },
|
|
1389
|
+
listGlobalByResourceGroupNextOperationSpec
|
|
1390
|
+
);
|
|
1391
|
+
}
|
|
1392
|
+
|
|
922
1393
|
/**
|
|
923
|
-
*
|
|
924
|
-
* @param
|
|
925
|
-
* @param
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1394
|
+
* ListGlobalByResourceGroupForTopicTypeNext
|
|
1395
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1396
|
+
* @param topicTypeName Name of the topic type.
|
|
1397
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1398
|
+
* ListGlobalByResourceGroupForTopicType method.
|
|
1399
|
+
* @param options The options parameters.
|
|
1400
|
+
*/
|
|
1401
|
+
private _listGlobalByResourceGroupForTopicTypeNext(
|
|
1402
|
+
resourceGroupName: string,
|
|
1403
|
+
topicTypeName: string,
|
|
1404
|
+
nextLink: string,
|
|
1405
|
+
options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams
|
|
1406
|
+
): Promise<
|
|
1407
|
+
EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse
|
|
1408
|
+
> {
|
|
929
1409
|
return this.client.sendOperationRequest(
|
|
930
|
-
{
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
},
|
|
934
|
-
listByResourceNextOperationSpec,
|
|
935
|
-
callback) as Promise<Models.EventSubscriptionsListByResourceNextResponse>;
|
|
1410
|
+
{ resourceGroupName, topicTypeName, nextLink, options },
|
|
1411
|
+
listGlobalByResourceGroupForTopicTypeNextOperationSpec
|
|
1412
|
+
);
|
|
936
1413
|
}
|
|
937
1414
|
|
|
938
1415
|
/**
|
|
939
|
-
*
|
|
940
|
-
* @
|
|
941
|
-
* @param
|
|
942
|
-
*
|
|
943
|
-
* @
|
|
944
|
-
*/
|
|
945
|
-
|
|
1416
|
+
* ListRegionalBySubscriptionNext
|
|
1417
|
+
* @param location Name of the location.
|
|
1418
|
+
* @param nextLink The nextLink from the previous successful call to the ListRegionalBySubscription
|
|
1419
|
+
* method.
|
|
1420
|
+
* @param options The options parameters.
|
|
1421
|
+
*/
|
|
1422
|
+
private _listRegionalBySubscriptionNext(
|
|
1423
|
+
location: string,
|
|
1424
|
+
nextLink: string,
|
|
1425
|
+
options?: EventSubscriptionsListRegionalBySubscriptionNextOptionalParams
|
|
1426
|
+
): Promise<EventSubscriptionsListRegionalBySubscriptionNextResponse> {
|
|
1427
|
+
return this.client.sendOperationRequest(
|
|
1428
|
+
{ location, nextLink, options },
|
|
1429
|
+
listRegionalBySubscriptionNextOperationSpec
|
|
1430
|
+
);
|
|
1431
|
+
}
|
|
1432
|
+
|
|
946
1433
|
/**
|
|
947
|
-
*
|
|
948
|
-
* @param
|
|
949
|
-
|
|
950
|
-
|
|
1434
|
+
* ListRegionalByResourceGroupNext
|
|
1435
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1436
|
+
* @param location Name of the location.
|
|
1437
|
+
* @param nextLink The nextLink from the previous successful call to the ListRegionalByResourceGroup
|
|
1438
|
+
* method.
|
|
1439
|
+
* @param options The options parameters.
|
|
1440
|
+
*/
|
|
1441
|
+
private _listRegionalByResourceGroupNext(
|
|
1442
|
+
resourceGroupName: string,
|
|
1443
|
+
location: string,
|
|
1444
|
+
nextLink: string,
|
|
1445
|
+
options?: EventSubscriptionsListRegionalByResourceGroupNextOptionalParams
|
|
1446
|
+
): Promise<EventSubscriptionsListRegionalByResourceGroupNextResponse> {
|
|
1447
|
+
return this.client.sendOperationRequest(
|
|
1448
|
+
{ resourceGroupName, location, nextLink, options },
|
|
1449
|
+
listRegionalByResourceGroupNextOperationSpec
|
|
1450
|
+
);
|
|
1451
|
+
}
|
|
1452
|
+
|
|
951
1453
|
/**
|
|
952
|
-
*
|
|
953
|
-
* @param
|
|
954
|
-
* @param
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1454
|
+
* ListRegionalBySubscriptionForTopicTypeNext
|
|
1455
|
+
* @param location Name of the location.
|
|
1456
|
+
* @param topicTypeName Name of the topic type.
|
|
1457
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1458
|
+
* ListRegionalBySubscriptionForTopicType method.
|
|
1459
|
+
* @param options The options parameters.
|
|
1460
|
+
*/
|
|
1461
|
+
private _listRegionalBySubscriptionForTopicTypeNext(
|
|
1462
|
+
location: string,
|
|
1463
|
+
topicTypeName: string,
|
|
1464
|
+
nextLink: string,
|
|
1465
|
+
options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams
|
|
1466
|
+
): Promise<
|
|
1467
|
+
EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse
|
|
1468
|
+
> {
|
|
1469
|
+
return this.client.sendOperationRequest(
|
|
1470
|
+
{ location, topicTypeName, nextLink, options },
|
|
1471
|
+
listRegionalBySubscriptionForTopicTypeNextOperationSpec
|
|
1472
|
+
);
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* ListRegionalByResourceGroupForTopicTypeNext
|
|
1477
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1478
|
+
* @param location Name of the location.
|
|
1479
|
+
* @param topicTypeName Name of the topic type.
|
|
1480
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1481
|
+
* ListRegionalByResourceGroupForTopicType method.
|
|
1482
|
+
* @param options The options parameters.
|
|
1483
|
+
*/
|
|
1484
|
+
private _listRegionalByResourceGroupForTopicTypeNext(
|
|
1485
|
+
resourceGroupName: string,
|
|
1486
|
+
location: string,
|
|
1487
|
+
topicTypeName: string,
|
|
1488
|
+
nextLink: string,
|
|
1489
|
+
options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams
|
|
1490
|
+
): Promise<
|
|
1491
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse
|
|
1492
|
+
> {
|
|
1493
|
+
return this.client.sendOperationRequest(
|
|
1494
|
+
{ resourceGroupName, location, topicTypeName, nextLink, options },
|
|
1495
|
+
listRegionalByResourceGroupForTopicTypeNextOperationSpec
|
|
1496
|
+
);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* ListByResourceNext
|
|
1501
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1502
|
+
* @param providerNamespace Namespace of the provider of the topic.
|
|
1503
|
+
* @param resourceTypeName Name of the resource type.
|
|
1504
|
+
* @param resourceName Name of the resource.
|
|
1505
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResource method.
|
|
1506
|
+
* @param options The options parameters.
|
|
1507
|
+
*/
|
|
1508
|
+
private _listByResourceNext(
|
|
1509
|
+
resourceGroupName: string,
|
|
1510
|
+
providerNamespace: string,
|
|
1511
|
+
resourceTypeName: string,
|
|
1512
|
+
resourceName: string,
|
|
1513
|
+
nextLink: string,
|
|
1514
|
+
options?: EventSubscriptionsListByResourceNextOptionalParams
|
|
1515
|
+
): Promise<EventSubscriptionsListByResourceNextResponse> {
|
|
958
1516
|
return this.client.sendOperationRequest(
|
|
959
1517
|
{
|
|
960
|
-
|
|
1518
|
+
resourceGroupName,
|
|
1519
|
+
providerNamespace,
|
|
1520
|
+
resourceTypeName,
|
|
1521
|
+
resourceName,
|
|
1522
|
+
nextLink,
|
|
961
1523
|
options
|
|
962
1524
|
},
|
|
963
|
-
|
|
964
|
-
|
|
1525
|
+
listByResourceNextOperationSpec
|
|
1526
|
+
);
|
|
965
1527
|
}
|
|
966
|
-
}
|
|
967
1528
|
|
|
1529
|
+
/**
|
|
1530
|
+
* ListByDomainTopicNext
|
|
1531
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
1532
|
+
* @param domainName Name of the top level domain.
|
|
1533
|
+
* @param topicName Name of the domain topic.
|
|
1534
|
+
* @param nextLink The nextLink from the previous successful call to the ListByDomainTopic method.
|
|
1535
|
+
* @param options The options parameters.
|
|
1536
|
+
*/
|
|
1537
|
+
private _listByDomainTopicNext(
|
|
1538
|
+
resourceGroupName: string,
|
|
1539
|
+
domainName: string,
|
|
1540
|
+
topicName: string,
|
|
1541
|
+
nextLink: string,
|
|
1542
|
+
options?: EventSubscriptionsListByDomainTopicNextOptionalParams
|
|
1543
|
+
): Promise<EventSubscriptionsListByDomainTopicNextResponse> {
|
|
1544
|
+
return this.client.sendOperationRequest(
|
|
1545
|
+
{ resourceGroupName, domainName, topicName, nextLink, options },
|
|
1546
|
+
listByDomainTopicNextOperationSpec
|
|
1547
|
+
);
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
968
1550
|
// Operation Specifications
|
|
969
|
-
const serializer =
|
|
970
|
-
|
|
1551
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1552
|
+
|
|
1553
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
1554
|
+
path:
|
|
1555
|
+
"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
971
1556
|
httpMethod: "GET",
|
|
972
|
-
|
|
1557
|
+
responses: {
|
|
1558
|
+
200: {
|
|
1559
|
+
bodyMapper: Mappers.EventSubscription
|
|
1560
|
+
},
|
|
1561
|
+
default: {}
|
|
1562
|
+
},
|
|
1563
|
+
queryParameters: [Parameters.apiVersion],
|
|
973
1564
|
urlParameters: [
|
|
974
|
-
Parameters
|
|
1565
|
+
Parameters.$host,
|
|
1566
|
+
Parameters.scope,
|
|
975
1567
|
Parameters.eventSubscriptionName
|
|
976
1568
|
],
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1569
|
+
headerParameters: [Parameters.accept],
|
|
1570
|
+
serializer
|
|
1571
|
+
};
|
|
1572
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
1573
|
+
path:
|
|
1574
|
+
"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1575
|
+
httpMethod: "PUT",
|
|
983
1576
|
responses: {
|
|
984
1577
|
200: {
|
|
985
1578
|
bodyMapper: Mappers.EventSubscription
|
|
986
1579
|
},
|
|
987
|
-
|
|
988
|
-
bodyMapper: Mappers.
|
|
989
|
-
}
|
|
1580
|
+
201: {
|
|
1581
|
+
bodyMapper: Mappers.EventSubscription
|
|
1582
|
+
},
|
|
1583
|
+
202: {
|
|
1584
|
+
bodyMapper: Mappers.EventSubscription
|
|
1585
|
+
},
|
|
1586
|
+
204: {
|
|
1587
|
+
bodyMapper: Mappers.EventSubscription
|
|
1588
|
+
},
|
|
1589
|
+
default: {}
|
|
990
1590
|
},
|
|
1591
|
+
requestBody: Parameters.eventSubscriptionInfo,
|
|
1592
|
+
queryParameters: [Parameters.apiVersion],
|
|
1593
|
+
urlParameters: [
|
|
1594
|
+
Parameters.$host,
|
|
1595
|
+
Parameters.scope,
|
|
1596
|
+
Parameters.eventSubscriptionName
|
|
1597
|
+
],
|
|
1598
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1599
|
+
mediaType: "json",
|
|
991
1600
|
serializer
|
|
992
1601
|
};
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1602
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1603
|
+
path:
|
|
1604
|
+
"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1605
|
+
httpMethod: "DELETE",
|
|
1606
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
1607
|
+
queryParameters: [Parameters.apiVersion],
|
|
997
1608
|
urlParameters: [
|
|
998
|
-
Parameters
|
|
1609
|
+
Parameters.$host,
|
|
1610
|
+
Parameters.scope,
|
|
999
1611
|
Parameters.eventSubscriptionName
|
|
1000
1612
|
],
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1613
|
+
serializer
|
|
1614
|
+
};
|
|
1615
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
1616
|
+
path:
|
|
1617
|
+
"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1618
|
+
httpMethod: "PATCH",
|
|
1619
|
+
responses: {
|
|
1620
|
+
200: {
|
|
1621
|
+
bodyMapper: Mappers.EventSubscription
|
|
1622
|
+
},
|
|
1623
|
+
201: {
|
|
1624
|
+
bodyMapper: Mappers.EventSubscription
|
|
1625
|
+
},
|
|
1626
|
+
202: {
|
|
1627
|
+
bodyMapper: Mappers.EventSubscription
|
|
1628
|
+
},
|
|
1629
|
+
204: {
|
|
1630
|
+
bodyMapper: Mappers.EventSubscription
|
|
1631
|
+
},
|
|
1632
|
+
default: {}
|
|
1633
|
+
},
|
|
1634
|
+
requestBody: Parameters.eventSubscriptionUpdateParameters,
|
|
1635
|
+
queryParameters: [Parameters.apiVersion],
|
|
1636
|
+
urlParameters: [
|
|
1637
|
+
Parameters.$host,
|
|
1638
|
+
Parameters.scope,
|
|
1639
|
+
Parameters.eventSubscriptionName
|
|
1006
1640
|
],
|
|
1641
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1642
|
+
mediaType: "json",
|
|
1643
|
+
serializer
|
|
1644
|
+
};
|
|
1645
|
+
const getFullUrlOperationSpec: coreClient.OperationSpec = {
|
|
1646
|
+
path:
|
|
1647
|
+
"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl",
|
|
1648
|
+
httpMethod: "POST",
|
|
1007
1649
|
responses: {
|
|
1008
1650
|
200: {
|
|
1009
1651
|
bodyMapper: Mappers.EventSubscriptionFullUrl
|
|
1010
1652
|
},
|
|
1011
|
-
default: {
|
|
1012
|
-
bodyMapper: Mappers.CloudError
|
|
1013
|
-
}
|
|
1653
|
+
default: {}
|
|
1014
1654
|
},
|
|
1655
|
+
queryParameters: [Parameters.apiVersion],
|
|
1656
|
+
urlParameters: [
|
|
1657
|
+
Parameters.$host,
|
|
1658
|
+
Parameters.scope,
|
|
1659
|
+
Parameters.eventSubscriptionName
|
|
1660
|
+
],
|
|
1661
|
+
headerParameters: [Parameters.accept],
|
|
1015
1662
|
serializer
|
|
1016
1663
|
};
|
|
1017
|
-
|
|
1018
|
-
|
|
1664
|
+
const listGlobalBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1665
|
+
path:
|
|
1666
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1019
1667
|
httpMethod: "GET",
|
|
1020
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1021
|
-
urlParameters: [
|
|
1022
|
-
Parameters.subscriptionId
|
|
1023
|
-
],
|
|
1024
|
-
queryParameters: [
|
|
1025
|
-
Parameters.apiVersion,
|
|
1026
|
-
Parameters.filter,
|
|
1027
|
-
Parameters.top
|
|
1028
|
-
],
|
|
1029
|
-
headerParameters: [
|
|
1030
|
-
Parameters.acceptLanguage
|
|
1031
|
-
],
|
|
1032
1668
|
responses: {
|
|
1033
1669
|
200: {
|
|
1034
1670
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1035
1671
|
},
|
|
1036
|
-
default: {
|
|
1037
|
-
bodyMapper: Mappers.CloudError
|
|
1038
|
-
}
|
|
1672
|
+
default: {}
|
|
1039
1673
|
},
|
|
1674
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1675
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
1676
|
+
headerParameters: [Parameters.accept],
|
|
1040
1677
|
serializer
|
|
1041
1678
|
};
|
|
1042
|
-
|
|
1043
|
-
|
|
1679
|
+
const listGlobalBySubscriptionForTopicTypeOperationSpec: coreClient.OperationSpec = {
|
|
1680
|
+
path:
|
|
1681
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1044
1682
|
httpMethod: "GET",
|
|
1045
|
-
|
|
1683
|
+
responses: {
|
|
1684
|
+
200: {
|
|
1685
|
+
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1686
|
+
},
|
|
1687
|
+
default: {}
|
|
1688
|
+
},
|
|
1689
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1046
1690
|
urlParameters: [
|
|
1691
|
+
Parameters.$host,
|
|
1047
1692
|
Parameters.subscriptionId,
|
|
1048
1693
|
Parameters.topicTypeName
|
|
1049
1694
|
],
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
],
|
|
1695
|
+
headerParameters: [Parameters.accept],
|
|
1696
|
+
serializer
|
|
1697
|
+
};
|
|
1698
|
+
const listGlobalByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1699
|
+
path:
|
|
1700
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1701
|
+
httpMethod: "GET",
|
|
1058
1702
|
responses: {
|
|
1059
1703
|
200: {
|
|
1060
1704
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1061
1705
|
},
|
|
1062
|
-
default: {
|
|
1063
|
-
bodyMapper: Mappers.CloudError
|
|
1064
|
-
}
|
|
1706
|
+
default: {}
|
|
1065
1707
|
},
|
|
1066
|
-
|
|
1067
|
-
};
|
|
1068
|
-
|
|
1069
|
-
const listGlobalByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
1070
|
-
httpMethod: "GET",
|
|
1071
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1708
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1072
1709
|
urlParameters: [
|
|
1710
|
+
Parameters.$host,
|
|
1073
1711
|
Parameters.subscriptionId,
|
|
1074
1712
|
Parameters.resourceGroupName
|
|
1075
1713
|
],
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
],
|
|
1714
|
+
headerParameters: [Parameters.accept],
|
|
1715
|
+
serializer
|
|
1716
|
+
};
|
|
1717
|
+
const listGlobalByResourceGroupForTopicTypeOperationSpec: coreClient.OperationSpec = {
|
|
1718
|
+
path:
|
|
1719
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1720
|
+
httpMethod: "GET",
|
|
1084
1721
|
responses: {
|
|
1085
1722
|
200: {
|
|
1086
1723
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1087
1724
|
},
|
|
1088
|
-
default: {
|
|
1089
|
-
bodyMapper: Mappers.CloudError
|
|
1090
|
-
}
|
|
1725
|
+
default: {}
|
|
1091
1726
|
},
|
|
1092
|
-
|
|
1093
|
-
};
|
|
1094
|
-
|
|
1095
|
-
const listGlobalByResourceGroupForTopicTypeOperationSpec: msRest.OperationSpec = {
|
|
1096
|
-
httpMethod: "GET",
|
|
1097
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1727
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1098
1728
|
urlParameters: [
|
|
1729
|
+
Parameters.$host,
|
|
1099
1730
|
Parameters.subscriptionId,
|
|
1100
1731
|
Parameters.resourceGroupName,
|
|
1101
1732
|
Parameters.topicTypeName
|
|
1102
1733
|
],
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
],
|
|
1734
|
+
headerParameters: [Parameters.accept],
|
|
1735
|
+
serializer
|
|
1736
|
+
};
|
|
1737
|
+
const listRegionalBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1738
|
+
path:
|
|
1739
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
|
|
1740
|
+
httpMethod: "GET",
|
|
1111
1741
|
responses: {
|
|
1112
1742
|
200: {
|
|
1113
1743
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1114
1744
|
},
|
|
1115
|
-
default: {
|
|
1116
|
-
bodyMapper: Mappers.CloudError
|
|
1117
|
-
}
|
|
1745
|
+
default: {}
|
|
1118
1746
|
},
|
|
1119
|
-
|
|
1120
|
-
};
|
|
1121
|
-
|
|
1122
|
-
const listRegionalBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
1123
|
-
httpMethod: "GET",
|
|
1124
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
|
|
1747
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1125
1748
|
urlParameters: [
|
|
1749
|
+
Parameters.$host,
|
|
1126
1750
|
Parameters.subscriptionId,
|
|
1127
1751
|
Parameters.location
|
|
1128
1752
|
],
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
],
|
|
1753
|
+
headerParameters: [Parameters.accept],
|
|
1754
|
+
serializer
|
|
1755
|
+
};
|
|
1756
|
+
const listRegionalByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1757
|
+
path:
|
|
1758
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
|
|
1759
|
+
httpMethod: "GET",
|
|
1137
1760
|
responses: {
|
|
1138
1761
|
200: {
|
|
1139
1762
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1140
1763
|
},
|
|
1141
|
-
default: {
|
|
1142
|
-
bodyMapper: Mappers.CloudError
|
|
1143
|
-
}
|
|
1764
|
+
default: {}
|
|
1144
1765
|
},
|
|
1145
|
-
|
|
1146
|
-
};
|
|
1147
|
-
|
|
1148
|
-
const listRegionalByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
1149
|
-
httpMethod: "GET",
|
|
1150
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
|
|
1766
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1151
1767
|
urlParameters: [
|
|
1768
|
+
Parameters.$host,
|
|
1152
1769
|
Parameters.subscriptionId,
|
|
1153
1770
|
Parameters.resourceGroupName,
|
|
1154
1771
|
Parameters.location
|
|
1155
1772
|
],
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
],
|
|
1773
|
+
headerParameters: [Parameters.accept],
|
|
1774
|
+
serializer
|
|
1775
|
+
};
|
|
1776
|
+
const listRegionalBySubscriptionForTopicTypeOperationSpec: coreClient.OperationSpec = {
|
|
1777
|
+
path:
|
|
1778
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1779
|
+
httpMethod: "GET",
|
|
1164
1780
|
responses: {
|
|
1165
1781
|
200: {
|
|
1166
1782
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1167
1783
|
},
|
|
1168
|
-
default: {
|
|
1169
|
-
bodyMapper: Mappers.CloudError
|
|
1170
|
-
}
|
|
1784
|
+
default: {}
|
|
1171
1785
|
},
|
|
1172
|
-
|
|
1173
|
-
};
|
|
1174
|
-
|
|
1175
|
-
const listRegionalBySubscriptionForTopicTypeOperationSpec: msRest.OperationSpec = {
|
|
1176
|
-
httpMethod: "GET",
|
|
1177
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1786
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1178
1787
|
urlParameters: [
|
|
1788
|
+
Parameters.$host,
|
|
1179
1789
|
Parameters.subscriptionId,
|
|
1180
|
-
Parameters.
|
|
1181
|
-
Parameters.
|
|
1182
|
-
],
|
|
1183
|
-
queryParameters: [
|
|
1184
|
-
Parameters.apiVersion,
|
|
1185
|
-
Parameters.filter,
|
|
1186
|
-
Parameters.top
|
|
1187
|
-
],
|
|
1188
|
-
headerParameters: [
|
|
1189
|
-
Parameters.acceptLanguage
|
|
1790
|
+
Parameters.topicTypeName,
|
|
1791
|
+
Parameters.location
|
|
1190
1792
|
],
|
|
1793
|
+
headerParameters: [Parameters.accept],
|
|
1794
|
+
serializer
|
|
1795
|
+
};
|
|
1796
|
+
const listRegionalByResourceGroupForTopicTypeOperationSpec: coreClient.OperationSpec = {
|
|
1797
|
+
path:
|
|
1798
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1799
|
+
httpMethod: "GET",
|
|
1191
1800
|
responses: {
|
|
1192
1801
|
200: {
|
|
1193
1802
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1194
1803
|
},
|
|
1195
|
-
default: {
|
|
1196
|
-
bodyMapper: Mappers.CloudError
|
|
1197
|
-
}
|
|
1804
|
+
default: {}
|
|
1198
1805
|
},
|
|
1199
|
-
|
|
1200
|
-
};
|
|
1201
|
-
|
|
1202
|
-
const listRegionalByResourceGroupForTopicTypeOperationSpec: msRest.OperationSpec = {
|
|
1203
|
-
httpMethod: "GET",
|
|
1204
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
|
|
1806
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1205
1807
|
urlParameters: [
|
|
1808
|
+
Parameters.$host,
|
|
1206
1809
|
Parameters.subscriptionId,
|
|
1207
1810
|
Parameters.resourceGroupName,
|
|
1208
|
-
Parameters.
|
|
1209
|
-
Parameters.
|
|
1210
|
-
],
|
|
1211
|
-
queryParameters: [
|
|
1212
|
-
Parameters.apiVersion,
|
|
1213
|
-
Parameters.filter,
|
|
1214
|
-
Parameters.top
|
|
1215
|
-
],
|
|
1216
|
-
headerParameters: [
|
|
1217
|
-
Parameters.acceptLanguage
|
|
1811
|
+
Parameters.topicTypeName,
|
|
1812
|
+
Parameters.location
|
|
1218
1813
|
],
|
|
1814
|
+
headerParameters: [Parameters.accept],
|
|
1815
|
+
serializer
|
|
1816
|
+
};
|
|
1817
|
+
const listByResourceOperationSpec: coreClient.OperationSpec = {
|
|
1818
|
+
path:
|
|
1819
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1820
|
+
httpMethod: "GET",
|
|
1219
1821
|
responses: {
|
|
1220
1822
|
200: {
|
|
1221
1823
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1222
1824
|
},
|
|
1223
|
-
default: {
|
|
1224
|
-
bodyMapper: Mappers.CloudError
|
|
1225
|
-
}
|
|
1825
|
+
default: {}
|
|
1226
1826
|
},
|
|
1227
|
-
|
|
1228
|
-
};
|
|
1229
|
-
|
|
1230
|
-
const listByResourceOperationSpec: msRest.OperationSpec = {
|
|
1231
|
-
httpMethod: "GET",
|
|
1232
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1827
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1233
1828
|
urlParameters: [
|
|
1829
|
+
Parameters.$host,
|
|
1234
1830
|
Parameters.subscriptionId,
|
|
1235
1831
|
Parameters.resourceGroupName,
|
|
1236
1832
|
Parameters.providerNamespace,
|
|
1237
1833
|
Parameters.resourceTypeName,
|
|
1238
1834
|
Parameters.resourceName
|
|
1239
1835
|
],
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
],
|
|
1836
|
+
headerParameters: [Parameters.accept],
|
|
1837
|
+
serializer
|
|
1838
|
+
};
|
|
1839
|
+
const listByDomainTopicOperationSpec: coreClient.OperationSpec = {
|
|
1840
|
+
path:
|
|
1841
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1842
|
+
httpMethod: "GET",
|
|
1248
1843
|
responses: {
|
|
1249
1844
|
200: {
|
|
1250
1845
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1251
1846
|
},
|
|
1252
|
-
default: {
|
|
1253
|
-
bodyMapper: Mappers.CloudError
|
|
1254
|
-
}
|
|
1847
|
+
default: {}
|
|
1255
1848
|
},
|
|
1256
|
-
|
|
1257
|
-
};
|
|
1258
|
-
|
|
1259
|
-
const listByDomainTopicOperationSpec: msRest.OperationSpec = {
|
|
1260
|
-
httpMethod: "GET",
|
|
1261
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions",
|
|
1849
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1262
1850
|
urlParameters: [
|
|
1851
|
+
Parameters.$host,
|
|
1263
1852
|
Parameters.subscriptionId,
|
|
1264
1853
|
Parameters.resourceGroupName,
|
|
1265
1854
|
Parameters.domainName,
|
|
1266
1855
|
Parameters.topicName
|
|
1267
1856
|
],
|
|
1268
|
-
|
|
1269
|
-
Parameters.apiVersion,
|
|
1270
|
-
Parameters.filter,
|
|
1271
|
-
Parameters.top
|
|
1272
|
-
],
|
|
1273
|
-
headerParameters: [
|
|
1274
|
-
Parameters.acceptLanguage
|
|
1275
|
-
],
|
|
1276
|
-
responses: {
|
|
1277
|
-
200: {
|
|
1278
|
-
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1279
|
-
},
|
|
1280
|
-
default: {
|
|
1281
|
-
bodyMapper: Mappers.CloudError
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1857
|
+
headerParameters: [Parameters.accept],
|
|
1284
1858
|
serializer
|
|
1285
1859
|
};
|
|
1286
|
-
|
|
1287
|
-
|
|
1860
|
+
const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
1861
|
+
path:
|
|
1862
|
+
"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
1288
1863
|
httpMethod: "POST",
|
|
1289
|
-
path: "{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
1290
|
-
urlParameters: [
|
|
1291
|
-
Parameters.scope0,
|
|
1292
|
-
Parameters.eventSubscriptionName
|
|
1293
|
-
],
|
|
1294
|
-
queryParameters: [
|
|
1295
|
-
Parameters.apiVersion
|
|
1296
|
-
],
|
|
1297
|
-
headerParameters: [
|
|
1298
|
-
Parameters.acceptLanguage
|
|
1299
|
-
],
|
|
1300
1864
|
responses: {
|
|
1301
1865
|
200: {
|
|
1302
1866
|
bodyMapper: Mappers.DeliveryAttributeListResult
|
|
1303
1867
|
},
|
|
1304
|
-
default: {
|
|
1305
|
-
bodyMapper: Mappers.CloudError
|
|
1306
|
-
}
|
|
1307
|
-
},
|
|
1308
|
-
serializer
|
|
1309
|
-
};
|
|
1310
|
-
|
|
1311
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
1312
|
-
httpMethod: "PUT",
|
|
1313
|
-
path: "{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1314
|
-
urlParameters: [
|
|
1315
|
-
Parameters.scope0,
|
|
1316
|
-
Parameters.eventSubscriptionName
|
|
1317
|
-
],
|
|
1318
|
-
queryParameters: [
|
|
1319
|
-
Parameters.apiVersion
|
|
1320
|
-
],
|
|
1321
|
-
headerParameters: [
|
|
1322
|
-
Parameters.acceptLanguage
|
|
1323
|
-
],
|
|
1324
|
-
requestBody: {
|
|
1325
|
-
parameterPath: "eventSubscriptionInfo",
|
|
1326
|
-
mapper: {
|
|
1327
|
-
...Mappers.EventSubscription,
|
|
1328
|
-
required: true
|
|
1329
|
-
}
|
|
1330
|
-
},
|
|
1331
|
-
responses: {
|
|
1332
|
-
201: {
|
|
1333
|
-
bodyMapper: Mappers.EventSubscription
|
|
1334
|
-
},
|
|
1335
|
-
default: {
|
|
1336
|
-
bodyMapper: Mappers.CloudError
|
|
1337
|
-
}
|
|
1338
|
-
},
|
|
1339
|
-
serializer
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
1343
|
-
httpMethod: "DELETE",
|
|
1344
|
-
path: "{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1345
|
-
urlParameters: [
|
|
1346
|
-
Parameters.scope0,
|
|
1347
|
-
Parameters.eventSubscriptionName
|
|
1348
|
-
],
|
|
1349
|
-
queryParameters: [
|
|
1350
|
-
Parameters.apiVersion
|
|
1351
|
-
],
|
|
1352
|
-
headerParameters: [
|
|
1353
|
-
Parameters.acceptLanguage
|
|
1354
|
-
],
|
|
1355
|
-
responses: {
|
|
1356
|
-
200: {},
|
|
1357
|
-
202: {},
|
|
1358
|
-
204: {},
|
|
1359
|
-
default: {
|
|
1360
|
-
bodyMapper: Mappers.CloudError
|
|
1361
|
-
}
|
|
1868
|
+
default: {}
|
|
1362
1869
|
},
|
|
1363
|
-
|
|
1364
|
-
};
|
|
1365
|
-
|
|
1366
|
-
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
1367
|
-
httpMethod: "PATCH",
|
|
1368
|
-
path: "{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1870
|
+
queryParameters: [Parameters.apiVersion],
|
|
1369
1871
|
urlParameters: [
|
|
1370
|
-
Parameters
|
|
1872
|
+
Parameters.$host,
|
|
1873
|
+
Parameters.scope,
|
|
1371
1874
|
Parameters.eventSubscriptionName
|
|
1372
1875
|
],
|
|
1373
|
-
|
|
1374
|
-
Parameters.apiVersion
|
|
1375
|
-
],
|
|
1376
|
-
headerParameters: [
|
|
1377
|
-
Parameters.acceptLanguage
|
|
1378
|
-
],
|
|
1379
|
-
requestBody: {
|
|
1380
|
-
parameterPath: "eventSubscriptionUpdateParameters",
|
|
1381
|
-
mapper: {
|
|
1382
|
-
...Mappers.EventSubscriptionUpdateParameters,
|
|
1383
|
-
required: true
|
|
1384
|
-
}
|
|
1385
|
-
},
|
|
1386
|
-
responses: {
|
|
1387
|
-
201: {
|
|
1388
|
-
bodyMapper: Mappers.EventSubscription
|
|
1389
|
-
},
|
|
1390
|
-
default: {
|
|
1391
|
-
bodyMapper: Mappers.CloudError
|
|
1392
|
-
}
|
|
1393
|
-
},
|
|
1876
|
+
headerParameters: [Parameters.accept],
|
|
1394
1877
|
serializer
|
|
1395
1878
|
};
|
|
1396
|
-
|
|
1397
|
-
const listGlobalBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
1398
|
-
httpMethod: "GET",
|
|
1399
|
-
baseUrl: "https://management.azure.com",
|
|
1879
|
+
const listGlobalBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
1400
1880
|
path: "{nextLink}",
|
|
1401
|
-
|
|
1402
|
-
Parameters.nextPageLink
|
|
1403
|
-
],
|
|
1404
|
-
queryParameters: [
|
|
1405
|
-
Parameters.apiVersion,
|
|
1406
|
-
Parameters.filter,
|
|
1407
|
-
Parameters.top
|
|
1408
|
-
],
|
|
1409
|
-
headerParameters: [
|
|
1410
|
-
Parameters.acceptLanguage
|
|
1411
|
-
],
|
|
1881
|
+
httpMethod: "GET",
|
|
1412
1882
|
responses: {
|
|
1413
1883
|
200: {
|
|
1414
1884
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1415
1885
|
},
|
|
1416
|
-
default: {
|
|
1417
|
-
bodyMapper: Mappers.CloudError
|
|
1418
|
-
}
|
|
1886
|
+
default: {}
|
|
1419
1887
|
},
|
|
1888
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1889
|
+
urlParameters: [
|
|
1890
|
+
Parameters.$host,
|
|
1891
|
+
Parameters.subscriptionId,
|
|
1892
|
+
Parameters.nextLink
|
|
1893
|
+
],
|
|
1894
|
+
headerParameters: [Parameters.accept],
|
|
1420
1895
|
serializer
|
|
1421
1896
|
};
|
|
1422
|
-
|
|
1423
|
-
const listGlobalBySubscriptionForTopicTypeNextOperationSpec: msRest.OperationSpec = {
|
|
1424
|
-
httpMethod: "GET",
|
|
1425
|
-
baseUrl: "https://management.azure.com",
|
|
1897
|
+
const listGlobalBySubscriptionForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
|
|
1426
1898
|
path: "{nextLink}",
|
|
1427
|
-
|
|
1428
|
-
Parameters.nextPageLink
|
|
1429
|
-
],
|
|
1430
|
-
queryParameters: [
|
|
1431
|
-
Parameters.apiVersion,
|
|
1432
|
-
Parameters.filter,
|
|
1433
|
-
Parameters.top
|
|
1434
|
-
],
|
|
1435
|
-
headerParameters: [
|
|
1436
|
-
Parameters.acceptLanguage
|
|
1437
|
-
],
|
|
1899
|
+
httpMethod: "GET",
|
|
1438
1900
|
responses: {
|
|
1439
1901
|
200: {
|
|
1440
1902
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1441
1903
|
},
|
|
1442
|
-
default: {
|
|
1443
|
-
bodyMapper: Mappers.CloudError
|
|
1444
|
-
}
|
|
1904
|
+
default: {}
|
|
1445
1905
|
},
|
|
1906
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1907
|
+
urlParameters: [
|
|
1908
|
+
Parameters.$host,
|
|
1909
|
+
Parameters.subscriptionId,
|
|
1910
|
+
Parameters.nextLink,
|
|
1911
|
+
Parameters.topicTypeName
|
|
1912
|
+
],
|
|
1913
|
+
headerParameters: [Parameters.accept],
|
|
1446
1914
|
serializer
|
|
1447
1915
|
};
|
|
1448
|
-
|
|
1449
|
-
const listGlobalByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
1450
|
-
httpMethod: "GET",
|
|
1451
|
-
baseUrl: "https://management.azure.com",
|
|
1916
|
+
const listGlobalByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1452
1917
|
path: "{nextLink}",
|
|
1453
|
-
|
|
1454
|
-
Parameters.nextPageLink
|
|
1455
|
-
],
|
|
1456
|
-
queryParameters: [
|
|
1457
|
-
Parameters.apiVersion,
|
|
1458
|
-
Parameters.filter,
|
|
1459
|
-
Parameters.top
|
|
1460
|
-
],
|
|
1461
|
-
headerParameters: [
|
|
1462
|
-
Parameters.acceptLanguage
|
|
1463
|
-
],
|
|
1918
|
+
httpMethod: "GET",
|
|
1464
1919
|
responses: {
|
|
1465
1920
|
200: {
|
|
1466
1921
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1467
1922
|
},
|
|
1468
|
-
default: {
|
|
1469
|
-
bodyMapper: Mappers.CloudError
|
|
1470
|
-
}
|
|
1923
|
+
default: {}
|
|
1471
1924
|
},
|
|
1925
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1926
|
+
urlParameters: [
|
|
1927
|
+
Parameters.$host,
|
|
1928
|
+
Parameters.subscriptionId,
|
|
1929
|
+
Parameters.resourceGroupName,
|
|
1930
|
+
Parameters.nextLink
|
|
1931
|
+
],
|
|
1932
|
+
headerParameters: [Parameters.accept],
|
|
1472
1933
|
serializer
|
|
1473
1934
|
};
|
|
1474
|
-
|
|
1475
|
-
const listGlobalByResourceGroupForTopicTypeNextOperationSpec: msRest.OperationSpec = {
|
|
1476
|
-
httpMethod: "GET",
|
|
1477
|
-
baseUrl: "https://management.azure.com",
|
|
1935
|
+
const listGlobalByResourceGroupForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
|
|
1478
1936
|
path: "{nextLink}",
|
|
1479
|
-
|
|
1480
|
-
Parameters.nextPageLink
|
|
1481
|
-
],
|
|
1482
|
-
queryParameters: [
|
|
1483
|
-
Parameters.apiVersion,
|
|
1484
|
-
Parameters.filter,
|
|
1485
|
-
Parameters.top
|
|
1486
|
-
],
|
|
1487
|
-
headerParameters: [
|
|
1488
|
-
Parameters.acceptLanguage
|
|
1489
|
-
],
|
|
1937
|
+
httpMethod: "GET",
|
|
1490
1938
|
responses: {
|
|
1491
1939
|
200: {
|
|
1492
1940
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1493
1941
|
},
|
|
1494
|
-
default: {
|
|
1495
|
-
bodyMapper: Mappers.CloudError
|
|
1496
|
-
}
|
|
1942
|
+
default: {}
|
|
1497
1943
|
},
|
|
1944
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1945
|
+
urlParameters: [
|
|
1946
|
+
Parameters.$host,
|
|
1947
|
+
Parameters.subscriptionId,
|
|
1948
|
+
Parameters.resourceGroupName,
|
|
1949
|
+
Parameters.nextLink,
|
|
1950
|
+
Parameters.topicTypeName
|
|
1951
|
+
],
|
|
1952
|
+
headerParameters: [Parameters.accept],
|
|
1498
1953
|
serializer
|
|
1499
1954
|
};
|
|
1500
|
-
|
|
1501
|
-
const listRegionalBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
1502
|
-
httpMethod: "GET",
|
|
1503
|
-
baseUrl: "https://management.azure.com",
|
|
1955
|
+
const listRegionalBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
1504
1956
|
path: "{nextLink}",
|
|
1505
|
-
|
|
1506
|
-
Parameters.nextPageLink
|
|
1507
|
-
],
|
|
1508
|
-
queryParameters: [
|
|
1509
|
-
Parameters.apiVersion,
|
|
1510
|
-
Parameters.filter,
|
|
1511
|
-
Parameters.top
|
|
1512
|
-
],
|
|
1513
|
-
headerParameters: [
|
|
1514
|
-
Parameters.acceptLanguage
|
|
1515
|
-
],
|
|
1957
|
+
httpMethod: "GET",
|
|
1516
1958
|
responses: {
|
|
1517
1959
|
200: {
|
|
1518
1960
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1519
1961
|
},
|
|
1520
|
-
default: {
|
|
1521
|
-
bodyMapper: Mappers.CloudError
|
|
1522
|
-
}
|
|
1962
|
+
default: {}
|
|
1523
1963
|
},
|
|
1964
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1965
|
+
urlParameters: [
|
|
1966
|
+
Parameters.$host,
|
|
1967
|
+
Parameters.subscriptionId,
|
|
1968
|
+
Parameters.nextLink,
|
|
1969
|
+
Parameters.location
|
|
1970
|
+
],
|
|
1971
|
+
headerParameters: [Parameters.accept],
|
|
1524
1972
|
serializer
|
|
1525
1973
|
};
|
|
1526
|
-
|
|
1527
|
-
const listRegionalByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
1528
|
-
httpMethod: "GET",
|
|
1529
|
-
baseUrl: "https://management.azure.com",
|
|
1974
|
+
const listRegionalByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1530
1975
|
path: "{nextLink}",
|
|
1531
|
-
|
|
1532
|
-
Parameters.nextPageLink
|
|
1533
|
-
],
|
|
1534
|
-
queryParameters: [
|
|
1535
|
-
Parameters.apiVersion,
|
|
1536
|
-
Parameters.filter,
|
|
1537
|
-
Parameters.top
|
|
1538
|
-
],
|
|
1539
|
-
headerParameters: [
|
|
1540
|
-
Parameters.acceptLanguage
|
|
1541
|
-
],
|
|
1976
|
+
httpMethod: "GET",
|
|
1542
1977
|
responses: {
|
|
1543
1978
|
200: {
|
|
1544
1979
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1545
1980
|
},
|
|
1546
|
-
default: {
|
|
1547
|
-
bodyMapper: Mappers.CloudError
|
|
1548
|
-
}
|
|
1981
|
+
default: {}
|
|
1549
1982
|
},
|
|
1983
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1984
|
+
urlParameters: [
|
|
1985
|
+
Parameters.$host,
|
|
1986
|
+
Parameters.subscriptionId,
|
|
1987
|
+
Parameters.resourceGroupName,
|
|
1988
|
+
Parameters.nextLink,
|
|
1989
|
+
Parameters.location
|
|
1990
|
+
],
|
|
1991
|
+
headerParameters: [Parameters.accept],
|
|
1550
1992
|
serializer
|
|
1551
1993
|
};
|
|
1552
|
-
|
|
1553
|
-
const listRegionalBySubscriptionForTopicTypeNextOperationSpec: msRest.OperationSpec = {
|
|
1554
|
-
httpMethod: "GET",
|
|
1555
|
-
baseUrl: "https://management.azure.com",
|
|
1994
|
+
const listRegionalBySubscriptionForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
|
|
1556
1995
|
path: "{nextLink}",
|
|
1557
|
-
|
|
1558
|
-
Parameters.nextPageLink
|
|
1559
|
-
],
|
|
1560
|
-
queryParameters: [
|
|
1561
|
-
Parameters.apiVersion,
|
|
1562
|
-
Parameters.filter,
|
|
1563
|
-
Parameters.top
|
|
1564
|
-
],
|
|
1565
|
-
headerParameters: [
|
|
1566
|
-
Parameters.acceptLanguage
|
|
1567
|
-
],
|
|
1996
|
+
httpMethod: "GET",
|
|
1568
1997
|
responses: {
|
|
1569
1998
|
200: {
|
|
1570
1999
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1571
2000
|
},
|
|
1572
|
-
default: {
|
|
1573
|
-
bodyMapper: Mappers.CloudError
|
|
1574
|
-
}
|
|
2001
|
+
default: {}
|
|
1575
2002
|
},
|
|
2003
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2004
|
+
urlParameters: [
|
|
2005
|
+
Parameters.$host,
|
|
2006
|
+
Parameters.subscriptionId,
|
|
2007
|
+
Parameters.nextLink,
|
|
2008
|
+
Parameters.topicTypeName,
|
|
2009
|
+
Parameters.location
|
|
2010
|
+
],
|
|
2011
|
+
headerParameters: [Parameters.accept],
|
|
1576
2012
|
serializer
|
|
1577
2013
|
};
|
|
1578
|
-
|
|
1579
|
-
const listRegionalByResourceGroupForTopicTypeNextOperationSpec: msRest.OperationSpec = {
|
|
1580
|
-
httpMethod: "GET",
|
|
1581
|
-
baseUrl: "https://management.azure.com",
|
|
2014
|
+
const listRegionalByResourceGroupForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
|
|
1582
2015
|
path: "{nextLink}",
|
|
1583
|
-
|
|
1584
|
-
Parameters.nextPageLink
|
|
1585
|
-
],
|
|
1586
|
-
queryParameters: [
|
|
1587
|
-
Parameters.apiVersion,
|
|
1588
|
-
Parameters.filter,
|
|
1589
|
-
Parameters.top
|
|
1590
|
-
],
|
|
1591
|
-
headerParameters: [
|
|
1592
|
-
Parameters.acceptLanguage
|
|
1593
|
-
],
|
|
2016
|
+
httpMethod: "GET",
|
|
1594
2017
|
responses: {
|
|
1595
2018
|
200: {
|
|
1596
2019
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1597
2020
|
},
|
|
1598
|
-
default: {
|
|
1599
|
-
bodyMapper: Mappers.CloudError
|
|
1600
|
-
}
|
|
2021
|
+
default: {}
|
|
1601
2022
|
},
|
|
2023
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2024
|
+
urlParameters: [
|
|
2025
|
+
Parameters.$host,
|
|
2026
|
+
Parameters.subscriptionId,
|
|
2027
|
+
Parameters.resourceGroupName,
|
|
2028
|
+
Parameters.nextLink,
|
|
2029
|
+
Parameters.topicTypeName,
|
|
2030
|
+
Parameters.location
|
|
2031
|
+
],
|
|
2032
|
+
headerParameters: [Parameters.accept],
|
|
1602
2033
|
serializer
|
|
1603
2034
|
};
|
|
1604
|
-
|
|
1605
|
-
const listByResourceNextOperationSpec: msRest.OperationSpec = {
|
|
1606
|
-
httpMethod: "GET",
|
|
1607
|
-
baseUrl: "https://management.azure.com",
|
|
2035
|
+
const listByResourceNextOperationSpec: coreClient.OperationSpec = {
|
|
1608
2036
|
path: "{nextLink}",
|
|
1609
|
-
|
|
1610
|
-
Parameters.nextPageLink
|
|
1611
|
-
],
|
|
1612
|
-
queryParameters: [
|
|
1613
|
-
Parameters.apiVersion,
|
|
1614
|
-
Parameters.filter,
|
|
1615
|
-
Parameters.top
|
|
1616
|
-
],
|
|
1617
|
-
headerParameters: [
|
|
1618
|
-
Parameters.acceptLanguage
|
|
1619
|
-
],
|
|
2037
|
+
httpMethod: "GET",
|
|
1620
2038
|
responses: {
|
|
1621
2039
|
200: {
|
|
1622
2040
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1623
2041
|
},
|
|
1624
|
-
default: {
|
|
1625
|
-
bodyMapper: Mappers.CloudError
|
|
1626
|
-
}
|
|
2042
|
+
default: {}
|
|
1627
2043
|
},
|
|
2044
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2045
|
+
urlParameters: [
|
|
2046
|
+
Parameters.$host,
|
|
2047
|
+
Parameters.subscriptionId,
|
|
2048
|
+
Parameters.resourceGroupName,
|
|
2049
|
+
Parameters.nextLink,
|
|
2050
|
+
Parameters.providerNamespace,
|
|
2051
|
+
Parameters.resourceTypeName,
|
|
2052
|
+
Parameters.resourceName
|
|
2053
|
+
],
|
|
2054
|
+
headerParameters: [Parameters.accept],
|
|
1628
2055
|
serializer
|
|
1629
2056
|
};
|
|
1630
|
-
|
|
1631
|
-
const listByDomainTopicNextOperationSpec: msRest.OperationSpec = {
|
|
1632
|
-
httpMethod: "GET",
|
|
1633
|
-
baseUrl: "https://management.azure.com",
|
|
2057
|
+
const listByDomainTopicNextOperationSpec: coreClient.OperationSpec = {
|
|
1634
2058
|
path: "{nextLink}",
|
|
1635
|
-
|
|
1636
|
-
Parameters.nextPageLink
|
|
1637
|
-
],
|
|
1638
|
-
queryParameters: [
|
|
1639
|
-
Parameters.apiVersion,
|
|
1640
|
-
Parameters.filter,
|
|
1641
|
-
Parameters.top
|
|
1642
|
-
],
|
|
1643
|
-
headerParameters: [
|
|
1644
|
-
Parameters.acceptLanguage
|
|
1645
|
-
],
|
|
2059
|
+
httpMethod: "GET",
|
|
1646
2060
|
responses: {
|
|
1647
2061
|
200: {
|
|
1648
2062
|
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
1649
2063
|
},
|
|
1650
|
-
default: {
|
|
1651
|
-
bodyMapper: Mappers.CloudError
|
|
1652
|
-
}
|
|
2064
|
+
default: {}
|
|
1653
2065
|
},
|
|
2066
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2067
|
+
urlParameters: [
|
|
2068
|
+
Parameters.$host,
|
|
2069
|
+
Parameters.subscriptionId,
|
|
2070
|
+
Parameters.resourceGroupName,
|
|
2071
|
+
Parameters.domainName,
|
|
2072
|
+
Parameters.nextLink,
|
|
2073
|
+
Parameters.topicName
|
|
2074
|
+
],
|
|
2075
|
+
headerParameters: [Parameters.accept],
|
|
1654
2076
|
serializer
|
|
1655
2077
|
};
|