@azure/arm-eventgrid 30.0.0-alpha.20210929.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/LICENSE +21 -0
- package/README.md +94 -0
- package/dist/index.js +10620 -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 +31 -0
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClient.js +38 -0
- package/dist-esm/src/eventGridManagementClient.js.map +1 -0
- package/dist-esm/src/eventGridManagementClientContext.d.ts +17 -0
- package/dist-esm/src/eventGridManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClientContext.js +50 -0
- package/dist-esm/src/eventGridManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -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 +2765 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +289 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +139 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +2979 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +415 -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/eventChannels.d.ts +72 -0
- package/dist-esm/src/operations/eventChannels.d.ts.map +1 -0
- package/dist-esm/src/operations/eventChannels.js +269 -0
- package/dist-esm/src/operations/eventChannels.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/dist-esm/src/operations/index.d.ts +17 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +24 -0
- 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/partnerNamespaces.d.ts +122 -0
- package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerNamespaces.js +537 -0
- package/dist-esm/src/operations/partnerNamespaces.js.map +1 -0
- package/dist-esm/src/operations/partnerRegistrations.d.ts +83 -0
- package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerRegistrations.js +349 -0
- package/dist-esm/src/operations/partnerRegistrations.js.map +1 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +128 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +483 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/partnerTopics.d.ts +97 -0
- package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerTopics.js +408 -0
- package/dist-esm/src/operations/partnerTopics.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +105 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +362 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +58 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +184 -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/dist-esm/src/operationsInterfaces/domainTopics.js +9 -0
- 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/dist-esm/src/operationsInterfaces/domains.js +9 -0
- package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.js +9 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.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/dist-esm/src/operationsInterfaces/eventSubscriptions.js +9 -0
- 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 +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -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/partnerNamespaces.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +74 -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 +27 -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/dist-esm/src/operationsInterfaces/topics.js +9 -0
- package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.d.ts +2 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +163 -0
- package/dist-esm/test/eventgrid_examples.js.map +1 -0
- package/package.json +102 -0
- package/review/arm-eventgrid.api.md +2518 -0
- package/rollup.config.js +188 -0
- package/src/eventGridManagementClient.ts +101 -0
- package/src/eventGridManagementClientContext.ts +71 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3297 -0
- package/src/models/mappers.ts +3334 -0
- package/src/models/parameters.ts +490 -0
- package/src/operations/domainTopics.ts +452 -0
- package/src/operations/domains.ts +713 -0
- package/src/operations/eventChannels.ts +382 -0
- package/src/operations/eventSubscriptions.ts +2077 -0
- package/src/operations/extensionTopics.ts +67 -0
- package/src/operations/index.ts +24 -0
- package/src/operations/operations.ts +96 -0
- package/src/operations/partnerNamespaces.ts +729 -0
- package/src/operations/partnerRegistrations.ts +440 -0
- package/src/operations/partnerTopicEventSubscriptions.ts +699 -0
- package/src/operations/partnerTopics.ts +532 -0
- package/src/operations/privateEndpointConnections.ts +529 -0
- package/src/operations/privateLinkResources.ts +259 -0
- package/src/operations/systemTopicEventSubscriptions.ts +699 -0
- package/src/operations/systemTopics.ts +656 -0
- package/src/operations/topicTypes.ts +202 -0
- package/src/operations/topics.ts +921 -0
- package/src/operationsInterfaces/domainTopics.ts +105 -0
- package/src/operationsInterfaces/domains.ts +162 -0
- package/src/operationsInterfaces/eventChannels.ts +89 -0
- package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
- package/src/operationsInterfaces/extensionTopics.ts +30 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/partnerNamespaces.ts +162 -0
- package/src/operationsInterfaces/partnerRegistrations.ts +91 -0
- package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +190 -0
- package/src/operationsInterfaces/partnerTopics.ts +114 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +137 -0
- package/src/operationsInterfaces/privateLinkResources.ts +52 -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 +19 -0
- package/types/arm-eventgrid.d.ts +4299 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SystemTopics } from "../operationsInterfaces";
|
|
3
|
+
import { EventGridManagementClientContext } from "../eventGridManagementClientContext";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { SystemTopic, SystemTopicsListBySubscriptionOptionalParams, SystemTopicsListByResourceGroupOptionalParams, SystemTopicsGetOptionalParams, SystemTopicsGetResponse, SystemTopicsCreateOrUpdateOptionalParams, SystemTopicsCreateOrUpdateResponse, SystemTopicsDeleteOptionalParams, SystemTopicUpdateParameters, SystemTopicsUpdateOptionalParams, SystemTopicsUpdateResponse } from "../models";
|
|
6
|
+
/** Class containing SystemTopics operations. */
|
|
7
|
+
export declare class SystemTopicsImpl implements SystemTopics {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class SystemTopics class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: EventGridManagementClientContext);
|
|
14
|
+
/**
|
|
15
|
+
* List all the system topics under an Azure subscription.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listBySubscription(options?: SystemTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SystemTopic>;
|
|
19
|
+
private listBySubscriptionPagingPage;
|
|
20
|
+
private listBySubscriptionPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* List all the system topics under a resource group.
|
|
23
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByResourceGroup(resourceGroupName: string, options?: SystemTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SystemTopic>;
|
|
27
|
+
private listByResourceGroupPagingPage;
|
|
28
|
+
private listByResourceGroupPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Get properties of a system topic.
|
|
31
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
32
|
+
* @param systemTopicName Name of the system topic.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
get(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsGetOptionalParams): Promise<SystemTopicsGetResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Asynchronously creates a new system topic with the specified parameters.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
39
|
+
* @param systemTopicName Name of the system topic.
|
|
40
|
+
* @param systemTopicInfo System Topic information.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicsCreateOrUpdateResponse>, SystemTopicsCreateOrUpdateResponse>>;
|
|
44
|
+
/**
|
|
45
|
+
* Asynchronously creates a new system topic with the specified parameters.
|
|
46
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
47
|
+
* @param systemTopicName Name of the system topic.
|
|
48
|
+
* @param systemTopicInfo System Topic information.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise<SystemTopicsCreateOrUpdateResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Delete existing system topic.
|
|
54
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
55
|
+
* @param systemTopicName Name of the system topic.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginDelete(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete existing system topic.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
62
|
+
* @param systemTopicName Name of the system topic.
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Asynchronously updates a system topic with the specified parameters.
|
|
68
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
69
|
+
* @param systemTopicName Name of the system topic.
|
|
70
|
+
* @param systemTopicUpdateParameters SystemTopic update information.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
beginUpdate(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicsUpdateResponse>, SystemTopicsUpdateResponse>>;
|
|
74
|
+
/**
|
|
75
|
+
* Asynchronously updates a system topic with the specified parameters.
|
|
76
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
77
|
+
* @param systemTopicName Name of the system topic.
|
|
78
|
+
* @param systemTopicUpdateParameters SystemTopic update information.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise<SystemTopicsUpdateResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* List all the system topics under an Azure subscription.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
private _listBySubscription;
|
|
87
|
+
/**
|
|
88
|
+
* List all the system topics under a resource group.
|
|
89
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
private _listByResourceGroup;
|
|
93
|
+
/**
|
|
94
|
+
* ListBySubscriptionNext
|
|
95
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
private _listBySubscriptionNext;
|
|
99
|
+
/**
|
|
100
|
+
* ListByResourceGroupNext
|
|
101
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
private _listByResourceGroupNext;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=systemTopics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3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License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing SystemTopics operations. */
|
|
16
|
+
export class SystemTopicsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class SystemTopics class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* List all the system topics under an Azure subscription.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listBySubscription(options) {
|
|
29
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listBySubscriptionPagingPage(options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listBySubscriptionPagingPage(options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listBySubscription(options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listBySubscriptionPagingAll(options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* List all the system topics under a resource group.
|
|
74
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
78
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Get properties of a system topic.
|
|
123
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
124
|
+
* @param systemTopicName Name of the system topic.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
get(resourceGroupName, systemTopicName, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ resourceGroupName, systemTopicName, options }, getOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Asynchronously creates a new system topic with the specified parameters.
|
|
132
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
133
|
+
* @param systemTopicName Name of the system topic.
|
|
134
|
+
* @param systemTopicInfo System Topic information.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
beginCreateOrUpdate(resourceGroupName, systemTopicName, systemTopicInfo, options) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
return this.client.sendOperationRequest(args, spec);
|
|
141
|
+
});
|
|
142
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
var _a;
|
|
144
|
+
let currentRawResponse = undefined;
|
|
145
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
146
|
+
const callback = (rawResponse, flatResponse) => {
|
|
147
|
+
currentRawResponse = rawResponse;
|
|
148
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
149
|
+
};
|
|
150
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
151
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
152
|
+
return {
|
|
153
|
+
flatResponse,
|
|
154
|
+
rawResponse: {
|
|
155
|
+
statusCode: currentRawResponse.status,
|
|
156
|
+
body: currentRawResponse.parsedBody,
|
|
157
|
+
headers: currentRawResponse.headers.toJSON()
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, systemTopicName, systemTopicInfo, options }, createOrUpdateOperationSpec);
|
|
162
|
+
return new LroEngine(lro, {
|
|
163
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
164
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Asynchronously creates a new system topic with the specified parameters.
|
|
170
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
171
|
+
* @param systemTopicName Name of the system topic.
|
|
172
|
+
* @param systemTopicInfo System Topic information.
|
|
173
|
+
* @param options The options parameters.
|
|
174
|
+
*/
|
|
175
|
+
beginCreateOrUpdateAndWait(resourceGroupName, systemTopicName, systemTopicInfo, options) {
|
|
176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
177
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, systemTopicName, systemTopicInfo, options);
|
|
178
|
+
return poller.pollUntilDone();
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Delete existing system topic.
|
|
183
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
184
|
+
* @param systemTopicName Name of the system topic.
|
|
185
|
+
* @param options The options parameters.
|
|
186
|
+
*/
|
|
187
|
+
beginDelete(resourceGroupName, systemTopicName, options) {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
return this.client.sendOperationRequest(args, spec);
|
|
191
|
+
});
|
|
192
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
193
|
+
var _a;
|
|
194
|
+
let currentRawResponse = undefined;
|
|
195
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
196
|
+
const callback = (rawResponse, flatResponse) => {
|
|
197
|
+
currentRawResponse = rawResponse;
|
|
198
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
199
|
+
};
|
|
200
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
201
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
202
|
+
return {
|
|
203
|
+
flatResponse,
|
|
204
|
+
rawResponse: {
|
|
205
|
+
statusCode: currentRawResponse.status,
|
|
206
|
+
body: currentRawResponse.parsedBody,
|
|
207
|
+
headers: currentRawResponse.headers.toJSON()
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
});
|
|
211
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, systemTopicName, options }, deleteOperationSpec);
|
|
212
|
+
return new LroEngine(lro, {
|
|
213
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
214
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Delete existing system topic.
|
|
220
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
221
|
+
* @param systemTopicName Name of the system topic.
|
|
222
|
+
* @param options The options parameters.
|
|
223
|
+
*/
|
|
224
|
+
beginDeleteAndWait(resourceGroupName, systemTopicName, options) {
|
|
225
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
226
|
+
const poller = yield this.beginDelete(resourceGroupName, systemTopicName, options);
|
|
227
|
+
return poller.pollUntilDone();
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Asynchronously updates a system topic with the specified parameters.
|
|
232
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
233
|
+
* @param systemTopicName Name of the system topic.
|
|
234
|
+
* @param systemTopicUpdateParameters SystemTopic update information.
|
|
235
|
+
* @param options The options parameters.
|
|
236
|
+
*/
|
|
237
|
+
beginUpdate(resourceGroupName, systemTopicName, systemTopicUpdateParameters, options) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
return this.client.sendOperationRequest(args, spec);
|
|
241
|
+
});
|
|
242
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
243
|
+
var _a;
|
|
244
|
+
let currentRawResponse = undefined;
|
|
245
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
246
|
+
const callback = (rawResponse, flatResponse) => {
|
|
247
|
+
currentRawResponse = rawResponse;
|
|
248
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
249
|
+
};
|
|
250
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
251
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
252
|
+
return {
|
|
253
|
+
flatResponse,
|
|
254
|
+
rawResponse: {
|
|
255
|
+
statusCode: currentRawResponse.status,
|
|
256
|
+
body: currentRawResponse.parsedBody,
|
|
257
|
+
headers: currentRawResponse.headers.toJSON()
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
});
|
|
261
|
+
const lro = new LroImpl(sendOperation, {
|
|
262
|
+
resourceGroupName,
|
|
263
|
+
systemTopicName,
|
|
264
|
+
systemTopicUpdateParameters,
|
|
265
|
+
options
|
|
266
|
+
}, updateOperationSpec);
|
|
267
|
+
return new LroEngine(lro, {
|
|
268
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
269
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Asynchronously updates a system topic with the specified parameters.
|
|
275
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
276
|
+
* @param systemTopicName Name of the system topic.
|
|
277
|
+
* @param systemTopicUpdateParameters SystemTopic update information.
|
|
278
|
+
* @param options The options parameters.
|
|
279
|
+
*/
|
|
280
|
+
beginUpdateAndWait(resourceGroupName, systemTopicName, systemTopicUpdateParameters, options) {
|
|
281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
282
|
+
const poller = yield this.beginUpdate(resourceGroupName, systemTopicName, systemTopicUpdateParameters, options);
|
|
283
|
+
return poller.pollUntilDone();
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* List all the system topics under an Azure subscription.
|
|
288
|
+
* @param options The options parameters.
|
|
289
|
+
*/
|
|
290
|
+
_listBySubscription(options) {
|
|
291
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* List all the system topics under a resource group.
|
|
295
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
296
|
+
* @param options The options parameters.
|
|
297
|
+
*/
|
|
298
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
299
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* ListBySubscriptionNext
|
|
303
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
304
|
+
* @param options The options parameters.
|
|
305
|
+
*/
|
|
306
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
307
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* ListByResourceGroupNext
|
|
311
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
312
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
313
|
+
* @param options The options parameters.
|
|
314
|
+
*/
|
|
315
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
316
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
// Operation Specifications
|
|
320
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
321
|
+
const getOperationSpec = {
|
|
322
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}",
|
|
323
|
+
httpMethod: "GET",
|
|
324
|
+
responses: {
|
|
325
|
+
200: {
|
|
326
|
+
bodyMapper: Mappers.SystemTopic
|
|
327
|
+
},
|
|
328
|
+
default: {}
|
|
329
|
+
},
|
|
330
|
+
queryParameters: [Parameters.apiVersion],
|
|
331
|
+
urlParameters: [
|
|
332
|
+
Parameters.$host,
|
|
333
|
+
Parameters.subscriptionId,
|
|
334
|
+
Parameters.resourceGroupName,
|
|
335
|
+
Parameters.systemTopicName
|
|
336
|
+
],
|
|
337
|
+
headerParameters: [Parameters.accept],
|
|
338
|
+
serializer
|
|
339
|
+
};
|
|
340
|
+
const createOrUpdateOperationSpec = {
|
|
341
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}",
|
|
342
|
+
httpMethod: "PUT",
|
|
343
|
+
responses: {
|
|
344
|
+
200: {
|
|
345
|
+
bodyMapper: Mappers.SystemTopic
|
|
346
|
+
},
|
|
347
|
+
201: {
|
|
348
|
+
bodyMapper: Mappers.SystemTopic
|
|
349
|
+
},
|
|
350
|
+
202: {
|
|
351
|
+
bodyMapper: Mappers.SystemTopic
|
|
352
|
+
},
|
|
353
|
+
204: {
|
|
354
|
+
bodyMapper: Mappers.SystemTopic
|
|
355
|
+
},
|
|
356
|
+
default: {}
|
|
357
|
+
},
|
|
358
|
+
requestBody: Parameters.systemTopicInfo,
|
|
359
|
+
queryParameters: [Parameters.apiVersion],
|
|
360
|
+
urlParameters: [
|
|
361
|
+
Parameters.$host,
|
|
362
|
+
Parameters.subscriptionId,
|
|
363
|
+
Parameters.resourceGroupName,
|
|
364
|
+
Parameters.systemTopicName
|
|
365
|
+
],
|
|
366
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
367
|
+
mediaType: "json",
|
|
368
|
+
serializer
|
|
369
|
+
};
|
|
370
|
+
const deleteOperationSpec = {
|
|
371
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}",
|
|
372
|
+
httpMethod: "DELETE",
|
|
373
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
374
|
+
queryParameters: [Parameters.apiVersion],
|
|
375
|
+
urlParameters: [
|
|
376
|
+
Parameters.$host,
|
|
377
|
+
Parameters.subscriptionId,
|
|
378
|
+
Parameters.resourceGroupName,
|
|
379
|
+
Parameters.systemTopicName
|
|
380
|
+
],
|
|
381
|
+
serializer
|
|
382
|
+
};
|
|
383
|
+
const updateOperationSpec = {
|
|
384
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}",
|
|
385
|
+
httpMethod: "PATCH",
|
|
386
|
+
responses: {
|
|
387
|
+
200: {
|
|
388
|
+
bodyMapper: Mappers.SystemTopic
|
|
389
|
+
},
|
|
390
|
+
201: {
|
|
391
|
+
bodyMapper: Mappers.SystemTopic
|
|
392
|
+
},
|
|
393
|
+
202: {
|
|
394
|
+
bodyMapper: Mappers.SystemTopic
|
|
395
|
+
},
|
|
396
|
+
204: {
|
|
397
|
+
bodyMapper: Mappers.SystemTopic
|
|
398
|
+
},
|
|
399
|
+
default: {}
|
|
400
|
+
},
|
|
401
|
+
requestBody: Parameters.systemTopicUpdateParameters,
|
|
402
|
+
queryParameters: [Parameters.apiVersion],
|
|
403
|
+
urlParameters: [
|
|
404
|
+
Parameters.$host,
|
|
405
|
+
Parameters.subscriptionId,
|
|
406
|
+
Parameters.resourceGroupName,
|
|
407
|
+
Parameters.systemTopicName
|
|
408
|
+
],
|
|
409
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
410
|
+
mediaType: "json",
|
|
411
|
+
serializer
|
|
412
|
+
};
|
|
413
|
+
const listBySubscriptionOperationSpec = {
|
|
414
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/systemTopics",
|
|
415
|
+
httpMethod: "GET",
|
|
416
|
+
responses: {
|
|
417
|
+
200: {
|
|
418
|
+
bodyMapper: Mappers.SystemTopicsListResult
|
|
419
|
+
},
|
|
420
|
+
default: {}
|
|
421
|
+
},
|
|
422
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
423
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
424
|
+
headerParameters: [Parameters.accept],
|
|
425
|
+
serializer
|
|
426
|
+
};
|
|
427
|
+
const listByResourceGroupOperationSpec = {
|
|
428
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics",
|
|
429
|
+
httpMethod: "GET",
|
|
430
|
+
responses: {
|
|
431
|
+
200: {
|
|
432
|
+
bodyMapper: Mappers.SystemTopicsListResult
|
|
433
|
+
},
|
|
434
|
+
default: {}
|
|
435
|
+
},
|
|
436
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
437
|
+
urlParameters: [
|
|
438
|
+
Parameters.$host,
|
|
439
|
+
Parameters.subscriptionId,
|
|
440
|
+
Parameters.resourceGroupName
|
|
441
|
+
],
|
|
442
|
+
headerParameters: [Parameters.accept],
|
|
443
|
+
serializer
|
|
444
|
+
};
|
|
445
|
+
const listBySubscriptionNextOperationSpec = {
|
|
446
|
+
path: "{nextLink}",
|
|
447
|
+
httpMethod: "GET",
|
|
448
|
+
responses: {
|
|
449
|
+
200: {
|
|
450
|
+
bodyMapper: Mappers.SystemTopicsListResult
|
|
451
|
+
},
|
|
452
|
+
default: {}
|
|
453
|
+
},
|
|
454
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
455
|
+
urlParameters: [
|
|
456
|
+
Parameters.$host,
|
|
457
|
+
Parameters.subscriptionId,
|
|
458
|
+
Parameters.nextLink
|
|
459
|
+
],
|
|
460
|
+
headerParameters: [Parameters.accept],
|
|
461
|
+
serializer
|
|
462
|
+
};
|
|
463
|
+
const listByResourceGroupNextOperationSpec = {
|
|
464
|
+
path: "{nextLink}",
|
|
465
|
+
httpMethod: "GET",
|
|
466
|
+
responses: {
|
|
467
|
+
200: {
|
|
468
|
+
bodyMapper: Mappers.SystemTopicsListResult
|
|
469
|
+
},
|
|
470
|
+
default: {}
|
|
471
|
+
},
|
|
472
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
473
|
+
urlParameters: [
|
|
474
|
+
Parameters.$host,
|
|
475
|
+
Parameters.subscriptionId,
|
|
476
|
+
Parameters.resourceGroupName,
|
|
477
|
+
Parameters.nextLink
|
|
478
|
+
],
|
|
479
|
+
headerParameters: [Parameters.accept],
|
|
480
|
+
serializer
|
|
481
|
+
};
|
|
482
|
+
//# sourceMappingURL=systemTopics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"systemTopics.js","sourceRoot":"","sources":["../../../src/operations/systemTopics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAA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B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC;IAC3E,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC;IAC3E,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { TopicTypes } from "../operationsInterfaces";
|
|
3
|
+
import { EventGridManagementClientContext } from "../eventGridManagementClientContext";
|
|
4
|
+
import { TopicTypeInfo, TopicTypesListOptionalParams, EventType, TopicTypesListEventTypesOptionalParams, TopicTypesGetOptionalParams, TopicTypesGetResponse } from "../models";
|
|
5
|
+
/** Class containing TopicTypes operations. */
|
|
6
|
+
export declare class TopicTypesImpl implements TopicTypes {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class TopicTypes class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: EventGridManagementClientContext);
|
|
13
|
+
/**
|
|
14
|
+
* List all registered topic types.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: TopicTypesListOptionalParams): PagedAsyncIterableIterator<TopicTypeInfo>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* List event types for a topic type.
|
|
22
|
+
* @param topicTypeName Name of the topic type.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
listEventTypes(topicTypeName: string, options?: TopicTypesListEventTypesOptionalParams): PagedAsyncIterableIterator<EventType>;
|
|
26
|
+
private listEventTypesPagingPage;
|
|
27
|
+
private listEventTypesPagingAll;
|
|
28
|
+
/**
|
|
29
|
+
* List all registered topic types.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
private _list;
|
|
33
|
+
/**
|
|
34
|
+
* Get information about a topic type.
|
|
35
|
+
* @param topicTypeName Name of the topic type.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(topicTypeName: string, options?: TopicTypesGetOptionalParams): Promise<TopicTypesGetResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* List event types for a topic type.
|
|
41
|
+
* @param topicTypeName Name of the topic type.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
private _listEventTypes;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=topicTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topicTypes.d.ts","sourceRoot":"","sources":["../../../src/operations/topicTypes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EACL,aAAa,EACb,4BAA4B,EAC5B,SAAS,EACT,sCAAsC,EAEtC,2BAA2B,EAC3B,qBAAqB,EAEtB,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,aAAa,CAAC;YAe7B,cAAc;YAOd,aAAa;IAQ5B;;;;OAIG;IACI,cAAc,CACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,SAAS,CAAC;YAezB,wBAAwB;YAQxB,uBAAuB;IAYtC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;OAIG;IACH,OAAO,CAAC,eAAe;CASxB"}
|