@azure/arm-eventgrid 15.0.0-alpha.20250724.1 → 15.0.0-alpha.20250730.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/dist/browser/eventGridManagementClient.js +44 -5
- package/dist/browser/eventGridManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +776 -347
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/caCertificates.js +45 -52
- package/dist/browser/operations/caCertificates.js.map +1 -1
- package/dist/browser/operations/channels.js +34 -46
- package/dist/browser/operations/channels.js.map +1 -1
- package/dist/browser/operations/clientGroups.js +45 -52
- package/dist/browser/operations/clientGroups.js.map +1 -1
- package/dist/browser/operations/clients.js +45 -52
- package/dist/browser/operations/clients.js.map +1 -1
- package/dist/browser/operations/domainEventSubscriptions.js +56 -58
- package/dist/browser/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/domainTopicEventSubscriptions.js +56 -58
- package/dist/browser/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/domainTopics.js +45 -52
- package/dist/browser/operations/domainTopics.js.map +1 -1
- package/dist/browser/operations/domains.js +78 -97
- package/dist/browser/operations/domains.js.map +1 -1
- package/dist/browser/operations/eventSubscriptions.js +254 -409
- package/dist/browser/operations/eventSubscriptions.js.map +1 -1
- package/dist/browser/operations/extensionTopics.js +1 -0
- package/dist/browser/operations/extensionTopics.js.map +1 -1
- package/dist/browser/operations/namespaceTopicEventSubscriptions.js +56 -58
- package/dist/browser/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/namespaceTopics.js +67 -64
- package/dist/browser/operations/namespaceTopics.js.map +1 -1
- package/dist/browser/operations/namespaces.js +100 -109
- package/dist/browser/operations/namespaces.js.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +21 -33
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/browser/operations/operations.js +10 -27
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/partnerConfigurations.js +65 -84
- package/dist/browser/operations/partnerConfigurations.js.map +1 -1
- package/dist/browser/operations/partnerDestinations.js +78 -97
- package/dist/browser/operations/partnerDestinations.js.map +1 -1
- package/dist/browser/operations/partnerNamespaces.js +78 -97
- package/dist/browser/operations/partnerNamespaces.js.map +1 -1
- package/dist/browser/operations/partnerRegistrations.js +78 -97
- package/dist/browser/operations/partnerRegistrations.js.map +1 -1
- package/dist/browser/operations/partnerTopicEventSubscriptions.js +56 -58
- package/dist/browser/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/partnerTopics.js +56 -85
- package/dist/browser/operations/partnerTopics.js.map +1 -1
- package/dist/browser/operations/permissionBindings.js +45 -52
- package/dist/browser/operations/permissionBindings.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +45 -52
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +23 -40
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/systemTopicEventSubscriptions.js +56 -58
- package/dist/browser/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/systemTopics.js +78 -97
- package/dist/browser/operations/systemTopics.js.map +1 -1
- package/dist/browser/operations/topicEventSubscriptions.js +56 -58
- package/dist/browser/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/topicSpaces.js +45 -52
- package/dist/browser/operations/topicSpaces.js.map +1 -1
- package/dist/browser/operations/topicTypes.js +19 -53
- package/dist/browser/operations/topicTypes.js.map +1 -1
- package/dist/browser/operations/topics.js +98 -129
- package/dist/browser/operations/topics.js.map +1 -1
- package/dist/browser/operations/verifiedPartners.js +23 -40
- package/dist/browser/operations/verifiedPartners.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/eventGridManagementClient.js +44 -5
- package/dist/commonjs/eventGridManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +776 -347
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/caCertificates.js +45 -51
- package/dist/commonjs/operations/caCertificates.js.map +1 -1
- package/dist/commonjs/operations/channels.js +34 -45
- package/dist/commonjs/operations/channels.js.map +1 -1
- package/dist/commonjs/operations/clientGroups.js +45 -51
- package/dist/commonjs/operations/clientGroups.js.map +1 -1
- package/dist/commonjs/operations/clients.js +45 -51
- package/dist/commonjs/operations/clients.js.map +1 -1
- package/dist/commonjs/operations/domainEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/domainTopicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/domainTopics.js +45 -51
- package/dist/commonjs/operations/domainTopics.js.map +1 -1
- package/dist/commonjs/operations/domains.js +78 -96
- package/dist/commonjs/operations/domains.js.map +1 -1
- package/dist/commonjs/operations/eventSubscriptions.js +254 -408
- package/dist/commonjs/operations/eventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/extensionTopics.js +1 -0
- package/dist/commonjs/operations/extensionTopics.js.map +1 -1
- package/dist/commonjs/operations/namespaceTopicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/namespaceTopics.js +67 -63
- package/dist/commonjs/operations/namespaceTopics.js.map +1 -1
- package/dist/commonjs/operations/namespaces.js +100 -108
- package/dist/commonjs/operations/namespaces.js.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +21 -32
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/commonjs/operations/operations.js +10 -26
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/partnerConfigurations.js +65 -83
- package/dist/commonjs/operations/partnerConfigurations.js.map +1 -1
- package/dist/commonjs/operations/partnerDestinations.js +78 -96
- package/dist/commonjs/operations/partnerDestinations.js.map +1 -1
- package/dist/commonjs/operations/partnerNamespaces.js +78 -96
- package/dist/commonjs/operations/partnerNamespaces.js.map +1 -1
- package/dist/commonjs/operations/partnerRegistrations.js +78 -96
- package/dist/commonjs/operations/partnerRegistrations.js.map +1 -1
- package/dist/commonjs/operations/partnerTopicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/partnerTopics.js +56 -84
- package/dist/commonjs/operations/partnerTopics.js.map +1 -1
- package/dist/commonjs/operations/permissionBindings.js +45 -51
- package/dist/commonjs/operations/permissionBindings.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +45 -51
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +23 -39
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/systemTopicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/systemTopics.js +78 -96
- package/dist/commonjs/operations/systemTopics.js.map +1 -1
- package/dist/commonjs/operations/topicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/topicSpaces.js +45 -51
- package/dist/commonjs/operations/topicSpaces.js.map +1 -1
- package/dist/commonjs/operations/topicTypes.js +19 -52
- package/dist/commonjs/operations/topicTypes.js.map +1 -1
- package/dist/commonjs/operations/topics.js +98 -128
- package/dist/commonjs/operations/topics.js.map +1 -1
- package/dist/commonjs/operations/verifiedPartners.js +23 -39
- package/dist/commonjs/operations/verifiedPartners.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/eventGridManagementClient.js +44 -5
- package/dist/esm/eventGridManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +776 -347
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/caCertificates.js +45 -52
- package/dist/esm/operations/caCertificates.js.map +1 -1
- package/dist/esm/operations/channels.js +34 -46
- package/dist/esm/operations/channels.js.map +1 -1
- package/dist/esm/operations/clientGroups.js +45 -52
- package/dist/esm/operations/clientGroups.js.map +1 -1
- package/dist/esm/operations/clients.js +45 -52
- package/dist/esm/operations/clients.js.map +1 -1
- package/dist/esm/operations/domainEventSubscriptions.js +56 -58
- package/dist/esm/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/domainTopicEventSubscriptions.js +56 -58
- package/dist/esm/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/domainTopics.js +45 -52
- package/dist/esm/operations/domainTopics.js.map +1 -1
- package/dist/esm/operations/domains.js +78 -97
- package/dist/esm/operations/domains.js.map +1 -1
- package/dist/esm/operations/eventSubscriptions.js +254 -409
- package/dist/esm/operations/eventSubscriptions.js.map +1 -1
- package/dist/esm/operations/extensionTopics.js +1 -0
- package/dist/esm/operations/extensionTopics.js.map +1 -1
- package/dist/esm/operations/namespaceTopicEventSubscriptions.js +56 -58
- package/dist/esm/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/namespaceTopics.js +67 -64
- package/dist/esm/operations/namespaceTopics.js.map +1 -1
- package/dist/esm/operations/namespaces.js +100 -109
- package/dist/esm/operations/namespaces.js.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +21 -33
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/esm/operations/operations.js +10 -27
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/partnerConfigurations.js +65 -84
- package/dist/esm/operations/partnerConfigurations.js.map +1 -1
- package/dist/esm/operations/partnerDestinations.js +78 -97
- package/dist/esm/operations/partnerDestinations.js.map +1 -1
- package/dist/esm/operations/partnerNamespaces.js +78 -97
- package/dist/esm/operations/partnerNamespaces.js.map +1 -1
- package/dist/esm/operations/partnerRegistrations.js +78 -97
- package/dist/esm/operations/partnerRegistrations.js.map +1 -1
- package/dist/esm/operations/partnerTopicEventSubscriptions.js +56 -58
- package/dist/esm/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/partnerTopics.js +56 -85
- package/dist/esm/operations/partnerTopics.js.map +1 -1
- package/dist/esm/operations/permissionBindings.js +45 -52
- package/dist/esm/operations/permissionBindings.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +45 -52
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +23 -40
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/systemTopicEventSubscriptions.js +56 -58
- package/dist/esm/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/systemTopics.js +78 -97
- package/dist/esm/operations/systemTopics.js.map +1 -1
- package/dist/esm/operations/topicEventSubscriptions.js +56 -58
- package/dist/esm/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/topicSpaces.js +45 -52
- package/dist/esm/operations/topicSpaces.js.map +1 -1
- package/dist/esm/operations/topicTypes.js +19 -53
- package/dist/esm/operations/topicTypes.js.map +1 -1
- package/dist/esm/operations/topics.js +98 -129
- package/dist/esm/operations/topics.js.map +1 -1
- package/dist/esm/operations/verifiedPartners.js +23 -40
- package/dist/esm/operations/verifiedPartners.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/eventGridManagementClient.js +44 -5
- package/dist/react-native/eventGridManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +776 -347
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/caCertificates.js +45 -52
- package/dist/react-native/operations/caCertificates.js.map +1 -1
- package/dist/react-native/operations/channels.js +34 -46
- package/dist/react-native/operations/channels.js.map +1 -1
- package/dist/react-native/operations/clientGroups.js +45 -52
- package/dist/react-native/operations/clientGroups.js.map +1 -1
- package/dist/react-native/operations/clients.js +45 -52
- package/dist/react-native/operations/clients.js.map +1 -1
- package/dist/react-native/operations/domainEventSubscriptions.js +56 -58
- package/dist/react-native/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/domainTopicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/domainTopics.js +45 -52
- package/dist/react-native/operations/domainTopics.js.map +1 -1
- package/dist/react-native/operations/domains.js +78 -97
- package/dist/react-native/operations/domains.js.map +1 -1
- package/dist/react-native/operations/eventSubscriptions.js +254 -409
- package/dist/react-native/operations/eventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/extensionTopics.js +1 -0
- package/dist/react-native/operations/extensionTopics.js.map +1 -1
- package/dist/react-native/operations/namespaceTopicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/namespaceTopics.js +67 -64
- package/dist/react-native/operations/namespaceTopics.js.map +1 -1
- package/dist/react-native/operations/namespaces.js +100 -109
- package/dist/react-native/operations/namespaces.js.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +21 -33
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/react-native/operations/operations.js +10 -27
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/partnerConfigurations.js +65 -84
- package/dist/react-native/operations/partnerConfigurations.js.map +1 -1
- package/dist/react-native/operations/partnerDestinations.js +78 -97
- package/dist/react-native/operations/partnerDestinations.js.map +1 -1
- package/dist/react-native/operations/partnerNamespaces.js +78 -97
- package/dist/react-native/operations/partnerNamespaces.js.map +1 -1
- package/dist/react-native/operations/partnerRegistrations.js +78 -97
- package/dist/react-native/operations/partnerRegistrations.js.map +1 -1
- package/dist/react-native/operations/partnerTopicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/partnerTopics.js +56 -85
- package/dist/react-native/operations/partnerTopics.js.map +1 -1
- package/dist/react-native/operations/permissionBindings.js +45 -52
- package/dist/react-native/operations/permissionBindings.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +45 -52
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +23 -40
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/systemTopicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/systemTopics.js +78 -97
- package/dist/react-native/operations/systemTopics.js.map +1 -1
- package/dist/react-native/operations/topicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/topicSpaces.js +45 -52
- package/dist/react-native/operations/topicSpaces.js.map +1 -1
- package/dist/react-native/operations/topicTypes.js +19 -53
- package/dist/react-native/operations/topicTypes.js.map +1 -1
- package/dist/react-native/operations/topics.js +98 -129
- package/dist/react-native/operations/topics.js.map +1 -1
- package/dist/react-native/operations/verifiedPartners.js +23 -40
- package/dist/react-native/operations/verifiedPartners.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing EventSubscriptions operations. */
|
|
20
20
|
class EventSubscriptionsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class EventSubscriptions class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class EventSubscriptionsImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listGlobalBySubscriptionPagingPage(options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listGlobalBySubscriptionPagingPage(options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listGlobalBySubscriptionPagingPage(options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listGlobalBySubscription(options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listGlobalBySubscriptionNext(continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
|
-
listGlobalBySubscriptionPagingAll(options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
68
|
+
async *listGlobalBySubscriptionPagingAll(options) {
|
|
69
|
+
for await (const page of this.listGlobalBySubscriptionPagingPage(options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* List all global event subscriptions under an Azure subscription for a topic type.
|
|
@@ -101,52 +85,35 @@ class EventSubscriptionsImpl {
|
|
|
101
85
|
return this;
|
|
102
86
|
},
|
|
103
87
|
byPage: (settings) => {
|
|
104
|
-
if (settings
|
|
88
|
+
if (settings?.maxPageSize) {
|
|
105
89
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
106
90
|
}
|
|
107
91
|
return this.listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options, settings);
|
|
108
92
|
},
|
|
109
93
|
};
|
|
110
94
|
}
|
|
111
|
-
listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options, settings) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
});
|
|
95
|
+
async *listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listGlobalBySubscriptionForTopicType(topicTypeName, options);
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
103
|
+
yield page;
|
|
104
|
+
}
|
|
105
|
+
while (continuationToken) {
|
|
106
|
+
result = await this._listGlobalBySubscriptionForTopicTypeNext(topicTypeName, continuationToken, options);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
let page = result.value || [];
|
|
109
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
110
|
+
yield page;
|
|
111
|
+
}
|
|
130
112
|
}
|
|
131
|
-
listGlobalBySubscriptionForTopicTypePagingAll(topicTypeName, options) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
136
|
-
_c = _f.value;
|
|
137
|
-
_d = false;
|
|
138
|
-
const page = _c;
|
|
139
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
143
|
-
finally {
|
|
144
|
-
try {
|
|
145
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
146
|
-
}
|
|
147
|
-
finally { if (e_2) throw e_2.error; }
|
|
148
|
-
}
|
|
149
|
-
});
|
|
113
|
+
async *listGlobalBySubscriptionForTopicTypePagingAll(topicTypeName, options) {
|
|
114
|
+
for await (const page of this.listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
150
117
|
}
|
|
151
118
|
/**
|
|
152
119
|
* List all global event subscriptions under a specific Azure subscription and resource group.
|
|
@@ -163,52 +130,35 @@ class EventSubscriptionsImpl {
|
|
|
163
130
|
return this;
|
|
164
131
|
},
|
|
165
132
|
byPage: (settings) => {
|
|
166
|
-
if (settings
|
|
133
|
+
if (settings?.maxPageSize) {
|
|
167
134
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
168
135
|
}
|
|
169
136
|
return this.listGlobalByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
170
137
|
},
|
|
171
138
|
};
|
|
172
139
|
}
|
|
173
|
-
listGlobalByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
});
|
|
140
|
+
async *listGlobalByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
141
|
+
let result;
|
|
142
|
+
let continuationToken = settings?.continuationToken;
|
|
143
|
+
if (!continuationToken) {
|
|
144
|
+
result = await this._listGlobalByResourceGroup(resourceGroupName, options);
|
|
145
|
+
let page = result.value || [];
|
|
146
|
+
continuationToken = result.nextLink;
|
|
147
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
148
|
+
yield page;
|
|
149
|
+
}
|
|
150
|
+
while (continuationToken) {
|
|
151
|
+
result = await this._listGlobalByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
152
|
+
continuationToken = result.nextLink;
|
|
153
|
+
let page = result.value || [];
|
|
154
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
155
|
+
yield page;
|
|
156
|
+
}
|
|
192
157
|
}
|
|
193
|
-
listGlobalByResourceGroupPagingAll(resourceGroupName, options) {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
198
|
-
_c = _f.value;
|
|
199
|
-
_d = false;
|
|
200
|
-
const page = _c;
|
|
201
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
205
|
-
finally {
|
|
206
|
-
try {
|
|
207
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
208
|
-
}
|
|
209
|
-
finally { if (e_3) throw e_3.error; }
|
|
210
|
-
}
|
|
211
|
-
});
|
|
158
|
+
async *listGlobalByResourceGroupPagingAll(resourceGroupName, options) {
|
|
159
|
+
for await (const page of this.listGlobalByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
160
|
+
yield* page;
|
|
161
|
+
}
|
|
212
162
|
}
|
|
213
163
|
/**
|
|
214
164
|
* List all global event subscriptions under a resource group for a specific topic type.
|
|
@@ -226,52 +176,35 @@ class EventSubscriptionsImpl {
|
|
|
226
176
|
return this;
|
|
227
177
|
},
|
|
228
178
|
byPage: (settings) => {
|
|
229
|
-
if (settings
|
|
179
|
+
if (settings?.maxPageSize) {
|
|
230
180
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
231
181
|
}
|
|
232
182
|
return this.listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options, settings);
|
|
233
183
|
},
|
|
234
184
|
};
|
|
235
185
|
}
|
|
236
|
-
listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options, settings) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
});
|
|
186
|
+
async *listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options, settings) {
|
|
187
|
+
let result;
|
|
188
|
+
let continuationToken = settings?.continuationToken;
|
|
189
|
+
if (!continuationToken) {
|
|
190
|
+
result = await this._listGlobalByResourceGroupForTopicType(resourceGroupName, topicTypeName, options);
|
|
191
|
+
let page = result.value || [];
|
|
192
|
+
continuationToken = result.nextLink;
|
|
193
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
194
|
+
yield page;
|
|
195
|
+
}
|
|
196
|
+
while (continuationToken) {
|
|
197
|
+
result = await this._listGlobalByResourceGroupForTopicTypeNext(resourceGroupName, topicTypeName, continuationToken, options);
|
|
198
|
+
continuationToken = result.nextLink;
|
|
199
|
+
let page = result.value || [];
|
|
200
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
201
|
+
yield page;
|
|
202
|
+
}
|
|
255
203
|
}
|
|
256
|
-
listGlobalByResourceGroupForTopicTypePagingAll(resourceGroupName, topicTypeName, options) {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
261
|
-
_c = _f.value;
|
|
262
|
-
_d = false;
|
|
263
|
-
const page = _c;
|
|
264
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
268
|
-
finally {
|
|
269
|
-
try {
|
|
270
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
271
|
-
}
|
|
272
|
-
finally { if (e_4) throw e_4.error; }
|
|
273
|
-
}
|
|
274
|
-
});
|
|
204
|
+
async *listGlobalByResourceGroupForTopicTypePagingAll(resourceGroupName, topicTypeName, options) {
|
|
205
|
+
for await (const page of this.listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options)) {
|
|
206
|
+
yield* page;
|
|
207
|
+
}
|
|
275
208
|
}
|
|
276
209
|
/**
|
|
277
210
|
* List all event subscriptions from the given location under a specific Azure subscription.
|
|
@@ -288,52 +221,35 @@ class EventSubscriptionsImpl {
|
|
|
288
221
|
return this;
|
|
289
222
|
},
|
|
290
223
|
byPage: (settings) => {
|
|
291
|
-
if (settings
|
|
224
|
+
if (settings?.maxPageSize) {
|
|
292
225
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
293
226
|
}
|
|
294
227
|
return this.listRegionalBySubscriptionPagingPage(location, options, settings);
|
|
295
228
|
},
|
|
296
229
|
};
|
|
297
230
|
}
|
|
298
|
-
listRegionalBySubscriptionPagingPage(location, options, settings) {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
});
|
|
231
|
+
async *listRegionalBySubscriptionPagingPage(location, options, settings) {
|
|
232
|
+
let result;
|
|
233
|
+
let continuationToken = settings?.continuationToken;
|
|
234
|
+
if (!continuationToken) {
|
|
235
|
+
result = await this._listRegionalBySubscription(location, options);
|
|
236
|
+
let page = result.value || [];
|
|
237
|
+
continuationToken = result.nextLink;
|
|
238
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
239
|
+
yield page;
|
|
240
|
+
}
|
|
241
|
+
while (continuationToken) {
|
|
242
|
+
result = await this._listRegionalBySubscriptionNext(location, continuationToken, options);
|
|
243
|
+
continuationToken = result.nextLink;
|
|
244
|
+
let page = result.value || [];
|
|
245
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
246
|
+
yield page;
|
|
247
|
+
}
|
|
317
248
|
}
|
|
318
|
-
listRegionalBySubscriptionPagingAll(location, options) {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalBySubscriptionPagingPage(location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
323
|
-
_c = _f.value;
|
|
324
|
-
_d = false;
|
|
325
|
-
const page = _c;
|
|
326
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
330
|
-
finally {
|
|
331
|
-
try {
|
|
332
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
333
|
-
}
|
|
334
|
-
finally { if (e_5) throw e_5.error; }
|
|
335
|
-
}
|
|
336
|
-
});
|
|
249
|
+
async *listRegionalBySubscriptionPagingAll(location, options) {
|
|
250
|
+
for await (const page of this.listRegionalBySubscriptionPagingPage(location, options)) {
|
|
251
|
+
yield* page;
|
|
252
|
+
}
|
|
337
253
|
}
|
|
338
254
|
/**
|
|
339
255
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
@@ -352,52 +268,35 @@ class EventSubscriptionsImpl {
|
|
|
352
268
|
return this;
|
|
353
269
|
},
|
|
354
270
|
byPage: (settings) => {
|
|
355
|
-
if (settings
|
|
271
|
+
if (settings?.maxPageSize) {
|
|
356
272
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
357
273
|
}
|
|
358
274
|
return this.listRegionalByResourceGroupPagingPage(resourceGroupName, location, options, settings);
|
|
359
275
|
},
|
|
360
276
|
};
|
|
361
277
|
}
|
|
362
|
-
listRegionalByResourceGroupPagingPage(resourceGroupName, location, options, settings) {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
});
|
|
278
|
+
async *listRegionalByResourceGroupPagingPage(resourceGroupName, location, options, settings) {
|
|
279
|
+
let result;
|
|
280
|
+
let continuationToken = settings?.continuationToken;
|
|
281
|
+
if (!continuationToken) {
|
|
282
|
+
result = await this._listRegionalByResourceGroup(resourceGroupName, location, options);
|
|
283
|
+
let page = result.value || [];
|
|
284
|
+
continuationToken = result.nextLink;
|
|
285
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
286
|
+
yield page;
|
|
287
|
+
}
|
|
288
|
+
while (continuationToken) {
|
|
289
|
+
result = await this._listRegionalByResourceGroupNext(resourceGroupName, location, continuationToken, options);
|
|
290
|
+
continuationToken = result.nextLink;
|
|
291
|
+
let page = result.value || [];
|
|
292
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
293
|
+
yield page;
|
|
294
|
+
}
|
|
381
295
|
}
|
|
382
|
-
listRegionalByResourceGroupPagingAll(resourceGroupName, location, options) {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalByResourceGroupPagingPage(resourceGroupName, location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
387
|
-
_c = _f.value;
|
|
388
|
-
_d = false;
|
|
389
|
-
const page = _c;
|
|
390
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
394
|
-
finally {
|
|
395
|
-
try {
|
|
396
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
397
|
-
}
|
|
398
|
-
finally { if (e_6) throw e_6.error; }
|
|
399
|
-
}
|
|
400
|
-
});
|
|
296
|
+
async *listRegionalByResourceGroupPagingAll(resourceGroupName, location, options) {
|
|
297
|
+
for await (const page of this.listRegionalByResourceGroupPagingPage(resourceGroupName, location, options)) {
|
|
298
|
+
yield* page;
|
|
299
|
+
}
|
|
401
300
|
}
|
|
402
301
|
/**
|
|
403
302
|
* List all event subscriptions from the given location under a specific Azure subscription and topic
|
|
@@ -416,52 +315,35 @@ class EventSubscriptionsImpl {
|
|
|
416
315
|
return this;
|
|
417
316
|
},
|
|
418
317
|
byPage: (settings) => {
|
|
419
|
-
if (settings
|
|
318
|
+
if (settings?.maxPageSize) {
|
|
420
319
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
421
320
|
}
|
|
422
321
|
return this.listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options, settings);
|
|
423
322
|
},
|
|
424
323
|
};
|
|
425
324
|
}
|
|
426
|
-
listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options, settings) {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
444
|
-
});
|
|
325
|
+
async *listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options, settings) {
|
|
326
|
+
let result;
|
|
327
|
+
let continuationToken = settings?.continuationToken;
|
|
328
|
+
if (!continuationToken) {
|
|
329
|
+
result = await this._listRegionalBySubscriptionForTopicType(location, topicTypeName, options);
|
|
330
|
+
let page = result.value || [];
|
|
331
|
+
continuationToken = result.nextLink;
|
|
332
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
333
|
+
yield page;
|
|
334
|
+
}
|
|
335
|
+
while (continuationToken) {
|
|
336
|
+
result = await this._listRegionalBySubscriptionForTopicTypeNext(location, topicTypeName, continuationToken, options);
|
|
337
|
+
continuationToken = result.nextLink;
|
|
338
|
+
let page = result.value || [];
|
|
339
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
340
|
+
yield page;
|
|
341
|
+
}
|
|
445
342
|
}
|
|
446
|
-
listRegionalBySubscriptionForTopicTypePagingAll(location, topicTypeName, options) {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
451
|
-
_c = _f.value;
|
|
452
|
-
_d = false;
|
|
453
|
-
const page = _c;
|
|
454
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
458
|
-
finally {
|
|
459
|
-
try {
|
|
460
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
461
|
-
}
|
|
462
|
-
finally { if (e_7) throw e_7.error; }
|
|
463
|
-
}
|
|
464
|
-
});
|
|
343
|
+
async *listRegionalBySubscriptionForTopicTypePagingAll(location, topicTypeName, options) {
|
|
344
|
+
for await (const page of this.listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options)) {
|
|
345
|
+
yield* page;
|
|
346
|
+
}
|
|
465
347
|
}
|
|
466
348
|
/**
|
|
467
349
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
@@ -481,52 +363,35 @@ class EventSubscriptionsImpl {
|
|
|
481
363
|
return this;
|
|
482
364
|
},
|
|
483
365
|
byPage: (settings) => {
|
|
484
|
-
if (settings
|
|
366
|
+
if (settings?.maxPageSize) {
|
|
485
367
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
486
368
|
}
|
|
487
369
|
return this.listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options, settings);
|
|
488
370
|
},
|
|
489
371
|
};
|
|
490
372
|
}
|
|
491
|
-
listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options, settings) {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
}
|
|
509
|
-
});
|
|
373
|
+
async *listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options, settings) {
|
|
374
|
+
let result;
|
|
375
|
+
let continuationToken = settings?.continuationToken;
|
|
376
|
+
if (!continuationToken) {
|
|
377
|
+
result = await this._listRegionalByResourceGroupForTopicType(resourceGroupName, location, topicTypeName, options);
|
|
378
|
+
let page = result.value || [];
|
|
379
|
+
continuationToken = result.nextLink;
|
|
380
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
381
|
+
yield page;
|
|
382
|
+
}
|
|
383
|
+
while (continuationToken) {
|
|
384
|
+
result = await this._listRegionalByResourceGroupForTopicTypeNext(resourceGroupName, location, topicTypeName, continuationToken, options);
|
|
385
|
+
continuationToken = result.nextLink;
|
|
386
|
+
let page = result.value || [];
|
|
387
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
388
|
+
yield page;
|
|
389
|
+
}
|
|
510
390
|
}
|
|
511
|
-
listRegionalByResourceGroupForTopicTypePagingAll(resourceGroupName, location, topicTypeName, options) {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
516
|
-
_c = _f.value;
|
|
517
|
-
_d = false;
|
|
518
|
-
const page = _c;
|
|
519
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
523
|
-
finally {
|
|
524
|
-
try {
|
|
525
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
526
|
-
}
|
|
527
|
-
finally { if (e_8) throw e_8.error; }
|
|
528
|
-
}
|
|
529
|
-
});
|
|
391
|
+
async *listRegionalByResourceGroupForTopicTypePagingAll(resourceGroupName, location, topicTypeName, options) {
|
|
392
|
+
for await (const page of this.listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options)) {
|
|
393
|
+
yield* page;
|
|
394
|
+
}
|
|
530
395
|
}
|
|
531
396
|
/**
|
|
532
397
|
* List all event subscriptions that have been created for a specific resource.
|
|
@@ -546,52 +411,35 @@ class EventSubscriptionsImpl {
|
|
|
546
411
|
return this;
|
|
547
412
|
},
|
|
548
413
|
byPage: (settings) => {
|
|
549
|
-
if (settings
|
|
414
|
+
if (settings?.maxPageSize) {
|
|
550
415
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
551
416
|
}
|
|
552
417
|
return this.listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options, settings);
|
|
553
418
|
},
|
|
554
419
|
};
|
|
555
420
|
}
|
|
556
|
-
listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options, settings) {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}
|
|
574
|
-
});
|
|
421
|
+
async *listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options, settings) {
|
|
422
|
+
let result;
|
|
423
|
+
let continuationToken = settings?.continuationToken;
|
|
424
|
+
if (!continuationToken) {
|
|
425
|
+
result = await this._listByResource(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options);
|
|
426
|
+
let page = result.value || [];
|
|
427
|
+
continuationToken = result.nextLink;
|
|
428
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
429
|
+
yield page;
|
|
430
|
+
}
|
|
431
|
+
while (continuationToken) {
|
|
432
|
+
result = await this._listByResourceNext(resourceGroupName, providerNamespace, resourceTypeName, resourceName, continuationToken, options);
|
|
433
|
+
continuationToken = result.nextLink;
|
|
434
|
+
let page = result.value || [];
|
|
435
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
436
|
+
yield page;
|
|
437
|
+
}
|
|
575
438
|
}
|
|
576
|
-
listByResourcePagingAll(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options) {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
581
|
-
_c = _f.value;
|
|
582
|
-
_d = false;
|
|
583
|
-
const page = _c;
|
|
584
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
588
|
-
finally {
|
|
589
|
-
try {
|
|
590
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
591
|
-
}
|
|
592
|
-
finally { if (e_9) throw e_9.error; }
|
|
593
|
-
}
|
|
594
|
-
});
|
|
439
|
+
async *listByResourcePagingAll(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options) {
|
|
440
|
+
for await (const page of this.listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options)) {
|
|
441
|
+
yield* page;
|
|
442
|
+
}
|
|
595
443
|
}
|
|
596
444
|
/**
|
|
597
445
|
* List all event subscriptions that have been created for a specific domain topic.
|
|
@@ -610,52 +458,35 @@ class EventSubscriptionsImpl {
|
|
|
610
458
|
return this;
|
|
611
459
|
},
|
|
612
460
|
byPage: (settings) => {
|
|
613
|
-
if (settings
|
|
461
|
+
if (settings?.maxPageSize) {
|
|
614
462
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
615
463
|
}
|
|
616
464
|
return this.listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options, settings);
|
|
617
465
|
},
|
|
618
466
|
};
|
|
619
467
|
}
|
|
620
|
-
listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options, settings) {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
});
|
|
468
|
+
async *listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options, settings) {
|
|
469
|
+
let result;
|
|
470
|
+
let continuationToken = settings?.continuationToken;
|
|
471
|
+
if (!continuationToken) {
|
|
472
|
+
result = await this._listByDomainTopic(resourceGroupName, domainName, topicName, options);
|
|
473
|
+
let page = result.value || [];
|
|
474
|
+
continuationToken = result.nextLink;
|
|
475
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
476
|
+
yield page;
|
|
477
|
+
}
|
|
478
|
+
while (continuationToken) {
|
|
479
|
+
result = await this._listByDomainTopicNext(resourceGroupName, domainName, topicName, continuationToken, options);
|
|
480
|
+
continuationToken = result.nextLink;
|
|
481
|
+
let page = result.value || [];
|
|
482
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
483
|
+
yield page;
|
|
484
|
+
}
|
|
639
485
|
}
|
|
640
|
-
listByDomainTopicPagingAll(resourceGroupName, domainName, topicName, options) {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
645
|
-
_c = _f.value;
|
|
646
|
-
_d = false;
|
|
647
|
-
const page = _c;
|
|
648
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
652
|
-
finally {
|
|
653
|
-
try {
|
|
654
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
655
|
-
}
|
|
656
|
-
finally { if (e_10) throw e_10.error; }
|
|
657
|
-
}
|
|
658
|
-
});
|
|
486
|
+
async *listByDomainTopicPagingAll(resourceGroupName, domainName, topicName, options) {
|
|
487
|
+
for await (const page of this.listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options)) {
|
|
488
|
+
yield* page;
|
|
489
|
+
}
|
|
659
490
|
}
|
|
660
491
|
/**
|
|
661
492
|
* Get all delivery attributes for an event subscription.
|
|
@@ -712,14 +543,19 @@ class EventSubscriptionsImpl {
|
|
|
712
543
|
return this.client.sendOperationRequest(args, spec);
|
|
713
544
|
};
|
|
714
545
|
const sendOperationFn = async (args, spec) => {
|
|
715
|
-
var _a;
|
|
716
546
|
let currentRawResponse = undefined;
|
|
717
|
-
const providedCallback =
|
|
547
|
+
const providedCallback = args.options?.onResponse;
|
|
718
548
|
const callback = (rawResponse, flatResponse) => {
|
|
719
549
|
currentRawResponse = rawResponse;
|
|
720
|
-
providedCallback
|
|
550
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
551
|
+
};
|
|
552
|
+
const updatedArgs = {
|
|
553
|
+
...args,
|
|
554
|
+
options: {
|
|
555
|
+
...args.options,
|
|
556
|
+
onResponse: callback,
|
|
557
|
+
},
|
|
721
558
|
};
|
|
722
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
723
559
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
724
560
|
return {
|
|
725
561
|
flatResponse,
|
|
@@ -736,8 +572,8 @@ class EventSubscriptionsImpl {
|
|
|
736
572
|
spec: createOrUpdateOperationSpec,
|
|
737
573
|
});
|
|
738
574
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
739
|
-
restoreFrom: options
|
|
740
|
-
intervalInMs: options
|
|
575
|
+
restoreFrom: options?.resumeFrom,
|
|
576
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
741
577
|
});
|
|
742
578
|
await poller.poll();
|
|
743
579
|
return poller;
|
|
@@ -782,14 +618,19 @@ class EventSubscriptionsImpl {
|
|
|
782
618
|
return this.client.sendOperationRequest(args, spec);
|
|
783
619
|
};
|
|
784
620
|
const sendOperationFn = async (args, spec) => {
|
|
785
|
-
var _a;
|
|
786
621
|
let currentRawResponse = undefined;
|
|
787
|
-
const providedCallback =
|
|
622
|
+
const providedCallback = args.options?.onResponse;
|
|
788
623
|
const callback = (rawResponse, flatResponse) => {
|
|
789
624
|
currentRawResponse = rawResponse;
|
|
790
|
-
providedCallback
|
|
625
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
626
|
+
};
|
|
627
|
+
const updatedArgs = {
|
|
628
|
+
...args,
|
|
629
|
+
options: {
|
|
630
|
+
...args.options,
|
|
631
|
+
onResponse: callback,
|
|
632
|
+
},
|
|
791
633
|
};
|
|
792
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
793
634
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
794
635
|
return {
|
|
795
636
|
flatResponse,
|
|
@@ -806,8 +647,8 @@ class EventSubscriptionsImpl {
|
|
|
806
647
|
spec: deleteOperationSpec,
|
|
807
648
|
});
|
|
808
649
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
809
|
-
restoreFrom: options
|
|
810
|
-
intervalInMs: options
|
|
650
|
+
restoreFrom: options?.resumeFrom,
|
|
651
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
811
652
|
});
|
|
812
653
|
await poller.poll();
|
|
813
654
|
return poller;
|
|
@@ -848,14 +689,19 @@ class EventSubscriptionsImpl {
|
|
|
848
689
|
return this.client.sendOperationRequest(args, spec);
|
|
849
690
|
};
|
|
850
691
|
const sendOperationFn = async (args, spec) => {
|
|
851
|
-
var _a;
|
|
852
692
|
let currentRawResponse = undefined;
|
|
853
|
-
const providedCallback =
|
|
693
|
+
const providedCallback = args.options?.onResponse;
|
|
854
694
|
const callback = (rawResponse, flatResponse) => {
|
|
855
695
|
currentRawResponse = rawResponse;
|
|
856
|
-
providedCallback
|
|
696
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
697
|
+
};
|
|
698
|
+
const updatedArgs = {
|
|
699
|
+
...args,
|
|
700
|
+
options: {
|
|
701
|
+
...args.options,
|
|
702
|
+
onResponse: callback,
|
|
703
|
+
},
|
|
857
704
|
};
|
|
858
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
859
705
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
860
706
|
return {
|
|
861
707
|
flatResponse,
|
|
@@ -877,8 +723,8 @@ class EventSubscriptionsImpl {
|
|
|
877
723
|
spec: updateOperationSpec,
|
|
878
724
|
});
|
|
879
725
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
880
|
-
restoreFrom: options
|
|
881
|
-
intervalInMs: options
|
|
726
|
+
restoreFrom: options?.resumeFrom,
|
|
727
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
882
728
|
});
|
|
883
729
|
await poller.poll();
|
|
884
730
|
return poller;
|