@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,362 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
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 PrivateEndpointConnections operations. */
|
|
16
|
+
export class PrivateEndpointConnectionsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get all private endpoint connections under a topic, domain, or partner namespace.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
27
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
28
|
+
* \'partnerNamespaces\'.
|
|
29
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
30
|
+
* partner namespace name).
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listByResource(resourceGroupName, parentType, parentName, options) {
|
|
34
|
+
const iter = this.listByResourcePagingAll(resourceGroupName, parentType, parentName, options);
|
|
35
|
+
return {
|
|
36
|
+
next() {
|
|
37
|
+
return iter.next();
|
|
38
|
+
},
|
|
39
|
+
[Symbol.asyncIterator]() {
|
|
40
|
+
return this;
|
|
41
|
+
},
|
|
42
|
+
byPage: () => {
|
|
43
|
+
return this.listByResourcePagingPage(resourceGroupName, parentType, parentName, options);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
listByResourcePagingPage(resourceGroupName, parentType, parentName, options) {
|
|
48
|
+
return __asyncGenerator(this, arguments, function* listByResourcePagingPage_1() {
|
|
49
|
+
let result = yield __await(this._listByResource(resourceGroupName, parentType, parentName, options));
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
let continuationToken = result.nextLink;
|
|
52
|
+
while (continuationToken) {
|
|
53
|
+
result = yield __await(this._listByResourceNext(resourceGroupName, parentType, parentName, continuationToken, options));
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
yield yield __await(result.value || []);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
listByResourcePagingAll(resourceGroupName, parentType, parentName, options) {
|
|
60
|
+
return __asyncGenerator(this, arguments, function* listByResourcePagingAll_1() {
|
|
61
|
+
var e_1, _a;
|
|
62
|
+
try {
|
|
63
|
+
for (var _b = __asyncValues(this.listByResourcePagingPage(resourceGroupName, parentType, parentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
64
|
+
const page = _c.value;
|
|
65
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
69
|
+
finally {
|
|
70
|
+
try {
|
|
71
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
72
|
+
}
|
|
73
|
+
finally { if (e_1) throw e_1.error; }
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Get a specific private endpoint connection under a topic, domain, or partner namespace.
|
|
79
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
80
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
81
|
+
* \'partnerNamespaces\'.
|
|
82
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
83
|
+
* partner namespace name).
|
|
84
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
85
|
+
* @param options The options parameters.
|
|
86
|
+
*/
|
|
87
|
+
get(resourceGroupName, parentType, parentName, privateEndpointConnectionName, options) {
|
|
88
|
+
return this.client.sendOperationRequest({
|
|
89
|
+
resourceGroupName,
|
|
90
|
+
parentType,
|
|
91
|
+
parentName,
|
|
92
|
+
privateEndpointConnectionName,
|
|
93
|
+
options
|
|
94
|
+
}, getOperationSpec);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Update a specific private endpoint connection under a topic, domain or partner namespace.
|
|
98
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
99
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
100
|
+
* \'partnerNamespaces\'.
|
|
101
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
102
|
+
* partner namespace name).
|
|
103
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
104
|
+
* @param privateEndpointConnection The private endpoint connection object to update.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
beginUpdate(resourceGroupName, parentType, parentName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
return this.client.sendOperationRequest(args, spec);
|
|
111
|
+
});
|
|
112
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
var _a;
|
|
114
|
+
let currentRawResponse = undefined;
|
|
115
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
116
|
+
const callback = (rawResponse, flatResponse) => {
|
|
117
|
+
currentRawResponse = rawResponse;
|
|
118
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
119
|
+
};
|
|
120
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
121
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
122
|
+
return {
|
|
123
|
+
flatResponse,
|
|
124
|
+
rawResponse: {
|
|
125
|
+
statusCode: currentRawResponse.status,
|
|
126
|
+
body: currentRawResponse.parsedBody,
|
|
127
|
+
headers: currentRawResponse.headers.toJSON()
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
});
|
|
131
|
+
const lro = new LroImpl(sendOperation, {
|
|
132
|
+
resourceGroupName,
|
|
133
|
+
parentType,
|
|
134
|
+
parentName,
|
|
135
|
+
privateEndpointConnectionName,
|
|
136
|
+
privateEndpointConnection,
|
|
137
|
+
options
|
|
138
|
+
}, updateOperationSpec);
|
|
139
|
+
return new LroEngine(lro, {
|
|
140
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
141
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Update a specific private endpoint connection under a topic, domain or partner namespace.
|
|
147
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
148
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
149
|
+
* \'partnerNamespaces\'.
|
|
150
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
151
|
+
* partner namespace name).
|
|
152
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
153
|
+
* @param privateEndpointConnection The private endpoint connection object to update.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
beginUpdateAndWait(resourceGroupName, parentType, parentName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
157
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
const poller = yield this.beginUpdate(resourceGroupName, parentType, parentName, privateEndpointConnectionName, privateEndpointConnection, options);
|
|
159
|
+
return poller.pollUntilDone();
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Delete a specific private endpoint connection under a topic, domain, or partner namespace.
|
|
164
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
165
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
166
|
+
* \'partnerNamespaces\'.
|
|
167
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
168
|
+
* partner namespace name).
|
|
169
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
170
|
+
* @param options The options parameters.
|
|
171
|
+
*/
|
|
172
|
+
beginDelete(resourceGroupName, parentType, parentName, privateEndpointConnectionName, options) {
|
|
173
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
return this.client.sendOperationRequest(args, spec);
|
|
176
|
+
});
|
|
177
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
var _a;
|
|
179
|
+
let currentRawResponse = undefined;
|
|
180
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
181
|
+
const callback = (rawResponse, flatResponse) => {
|
|
182
|
+
currentRawResponse = rawResponse;
|
|
183
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
184
|
+
};
|
|
185
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
186
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
187
|
+
return {
|
|
188
|
+
flatResponse,
|
|
189
|
+
rawResponse: {
|
|
190
|
+
statusCode: currentRawResponse.status,
|
|
191
|
+
body: currentRawResponse.parsedBody,
|
|
192
|
+
headers: currentRawResponse.headers.toJSON()
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
const lro = new LroImpl(sendOperation, {
|
|
197
|
+
resourceGroupName,
|
|
198
|
+
parentType,
|
|
199
|
+
parentName,
|
|
200
|
+
privateEndpointConnectionName,
|
|
201
|
+
options
|
|
202
|
+
}, deleteOperationSpec);
|
|
203
|
+
return new LroEngine(lro, {
|
|
204
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
205
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Delete a specific private endpoint connection under a topic, domain, or partner namespace.
|
|
211
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
212
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
213
|
+
* \'partnerNamespaces\'.
|
|
214
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
215
|
+
* partner namespace name).
|
|
216
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
217
|
+
* @param options The options parameters.
|
|
218
|
+
*/
|
|
219
|
+
beginDeleteAndWait(resourceGroupName, parentType, parentName, privateEndpointConnectionName, options) {
|
|
220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
221
|
+
const poller = yield this.beginDelete(resourceGroupName, parentType, parentName, privateEndpointConnectionName, options);
|
|
222
|
+
return poller.pollUntilDone();
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Get all private endpoint connections under a topic, domain, or partner namespace.
|
|
227
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
228
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
229
|
+
* \'partnerNamespaces\'.
|
|
230
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
231
|
+
* partner namespace name).
|
|
232
|
+
* @param options The options parameters.
|
|
233
|
+
*/
|
|
234
|
+
_listByResource(resourceGroupName, parentType, parentName, options) {
|
|
235
|
+
return this.client.sendOperationRequest({ resourceGroupName, parentType, parentName, options }, listByResourceOperationSpec);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* ListByResourceNext
|
|
239
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
240
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
241
|
+
* \'partnerNamespaces\'.
|
|
242
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
243
|
+
* partner namespace name).
|
|
244
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResource method.
|
|
245
|
+
* @param options The options parameters.
|
|
246
|
+
*/
|
|
247
|
+
_listByResourceNext(resourceGroupName, parentType, parentName, nextLink, options) {
|
|
248
|
+
return this.client.sendOperationRequest({ resourceGroupName, parentType, parentName, nextLink, options }, listByResourceNextOperationSpec);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
// Operation Specifications
|
|
252
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
253
|
+
const getOperationSpec = {
|
|
254
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
255
|
+
httpMethod: "GET",
|
|
256
|
+
responses: {
|
|
257
|
+
200: {
|
|
258
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
259
|
+
},
|
|
260
|
+
default: {}
|
|
261
|
+
},
|
|
262
|
+
queryParameters: [Parameters.apiVersion],
|
|
263
|
+
urlParameters: [
|
|
264
|
+
Parameters.$host,
|
|
265
|
+
Parameters.subscriptionId,
|
|
266
|
+
Parameters.resourceGroupName,
|
|
267
|
+
Parameters.parentType,
|
|
268
|
+
Parameters.parentName,
|
|
269
|
+
Parameters.privateEndpointConnectionName
|
|
270
|
+
],
|
|
271
|
+
headerParameters: [Parameters.accept],
|
|
272
|
+
serializer
|
|
273
|
+
};
|
|
274
|
+
const updateOperationSpec = {
|
|
275
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
276
|
+
httpMethod: "PUT",
|
|
277
|
+
responses: {
|
|
278
|
+
200: {
|
|
279
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
280
|
+
},
|
|
281
|
+
201: {
|
|
282
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
283
|
+
},
|
|
284
|
+
202: {
|
|
285
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
286
|
+
},
|
|
287
|
+
204: {
|
|
288
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
289
|
+
},
|
|
290
|
+
default: {}
|
|
291
|
+
},
|
|
292
|
+
requestBody: Parameters.privateEndpointConnection,
|
|
293
|
+
queryParameters: [Parameters.apiVersion],
|
|
294
|
+
urlParameters: [
|
|
295
|
+
Parameters.$host,
|
|
296
|
+
Parameters.subscriptionId,
|
|
297
|
+
Parameters.resourceGroupName,
|
|
298
|
+
Parameters.parentName,
|
|
299
|
+
Parameters.privateEndpointConnectionName,
|
|
300
|
+
Parameters.parentType1
|
|
301
|
+
],
|
|
302
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
303
|
+
mediaType: "json",
|
|
304
|
+
serializer
|
|
305
|
+
};
|
|
306
|
+
const deleteOperationSpec = {
|
|
307
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
308
|
+
httpMethod: "DELETE",
|
|
309
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
310
|
+
queryParameters: [Parameters.apiVersion],
|
|
311
|
+
urlParameters: [
|
|
312
|
+
Parameters.$host,
|
|
313
|
+
Parameters.subscriptionId,
|
|
314
|
+
Parameters.resourceGroupName,
|
|
315
|
+
Parameters.parentName,
|
|
316
|
+
Parameters.privateEndpointConnectionName,
|
|
317
|
+
Parameters.parentType2
|
|
318
|
+
],
|
|
319
|
+
serializer
|
|
320
|
+
};
|
|
321
|
+
const listByResourceOperationSpec = {
|
|
322
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections",
|
|
323
|
+
httpMethod: "GET",
|
|
324
|
+
responses: {
|
|
325
|
+
200: {
|
|
326
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
327
|
+
},
|
|
328
|
+
default: {}
|
|
329
|
+
},
|
|
330
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
331
|
+
urlParameters: [
|
|
332
|
+
Parameters.$host,
|
|
333
|
+
Parameters.subscriptionId,
|
|
334
|
+
Parameters.resourceGroupName,
|
|
335
|
+
Parameters.parentName,
|
|
336
|
+
Parameters.parentType3
|
|
337
|
+
],
|
|
338
|
+
headerParameters: [Parameters.accept],
|
|
339
|
+
serializer
|
|
340
|
+
};
|
|
341
|
+
const listByResourceNextOperationSpec = {
|
|
342
|
+
path: "{nextLink}",
|
|
343
|
+
httpMethod: "GET",
|
|
344
|
+
responses: {
|
|
345
|
+
200: {
|
|
346
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
347
|
+
},
|
|
348
|
+
default: {}
|
|
349
|
+
},
|
|
350
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
351
|
+
urlParameters: [
|
|
352
|
+
Parameters.$host,
|
|
353
|
+
Parameters.subscriptionId,
|
|
354
|
+
Parameters.resourceGroupName,
|
|
355
|
+
Parameters.nextLink,
|
|
356
|
+
Parameters.parentName,
|
|
357
|
+
Parameters.parentType3
|
|
358
|
+
],
|
|
359
|
+
headerParameters: [Parameters.accept],
|
|
360
|
+
serializer
|
|
361
|
+
};
|
|
362
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,M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U;QACrB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
3
|
+
import { EventGridManagementClientContext } from "../eventGridManagementClientContext";
|
|
4
|
+
import { PrivateLinkResource, PrivateLinkResourcesListByResourceOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models";
|
|
5
|
+
/** Class containing PrivateLinkResources operations. */
|
|
6
|
+
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: EventGridManagementClientContext);
|
|
13
|
+
/**
|
|
14
|
+
* List all the private link resources under a topic, domain, or partner namespace.
|
|
15
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
16
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
17
|
+
* \'partnerNamespaces\'.
|
|
18
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
19
|
+
* partner namespace name).
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
listByResource(resourceGroupName: string, parentType: string, parentName: string, options?: PrivateLinkResourcesListByResourceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
23
|
+
private listByResourcePagingPage;
|
|
24
|
+
private listByResourcePagingAll;
|
|
25
|
+
/**
|
|
26
|
+
* Get properties of a private link resource.
|
|
27
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
28
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
29
|
+
* \'partnerNamespaces\'.
|
|
30
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
31
|
+
* partner namespace name).
|
|
32
|
+
* @param privateLinkResourceName The name of private link resource.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* List all the private link resources under a topic, domain, or partner namespace.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
39
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
40
|
+
* \'partnerNamespaces\'.
|
|
41
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
42
|
+
* partner namespace name).
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
private _listByResource;
|
|
46
|
+
/**
|
|
47
|
+
* ListByResourceNext
|
|
48
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
49
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
50
|
+
* \'partnerNamespaces\'.
|
|
51
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
52
|
+
* partner namespace name).
|
|
53
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResource method.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
private _listByResourceNext;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EACL,mBAAmB,EAEnB,gDAAgD,EAChD,qCAAqC,EACrC,+BAA+B,EAGhC,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;;;OAQG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,mBAAmB,CAAC;YAyBnC,wBAAwB;YA2BxB,uBAAuB;IAgBtC;;;;;;;;;OASG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAa3C;;;;;;;;OAQG;IACH,OAAO,CAAC,eAAe;IAYvB;;;;;;;;;OASG;IACH,OAAO,CAAC,mBAAmB;CAY5B"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } 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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing PrivateLinkResources operations. */
|
|
14
|
+
export class PrivateLinkResourcesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List all the private link resources under a topic, domain, or partner namespace.
|
|
24
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
25
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
26
|
+
* \'partnerNamespaces\'.
|
|
27
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
28
|
+
* partner namespace name).
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByResource(resourceGroupName, parentType, parentName, options) {
|
|
32
|
+
const iter = this.listByResourcePagingAll(resourceGroupName, parentType, parentName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: () => {
|
|
41
|
+
return this.listByResourcePagingPage(resourceGroupName, parentType, parentName, options);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
listByResourcePagingPage(resourceGroupName, parentType, parentName, options) {
|
|
46
|
+
return __asyncGenerator(this, arguments, function* listByResourcePagingPage_1() {
|
|
47
|
+
let result = yield __await(this._listByResource(resourceGroupName, parentType, parentName, options));
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
let continuationToken = result.nextLink;
|
|
50
|
+
while (continuationToken) {
|
|
51
|
+
result = yield __await(this._listByResourceNext(resourceGroupName, parentType, parentName, continuationToken, options));
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
yield yield __await(result.value || []);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
listByResourcePagingAll(resourceGroupName, parentType, parentName, options) {
|
|
58
|
+
return __asyncGenerator(this, arguments, function* listByResourcePagingAll_1() {
|
|
59
|
+
var e_1, _a;
|
|
60
|
+
try {
|
|
61
|
+
for (var _b = __asyncValues(this.listByResourcePagingPage(resourceGroupName, parentType, parentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
62
|
+
const page = _c.value;
|
|
63
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
67
|
+
finally {
|
|
68
|
+
try {
|
|
69
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
70
|
+
}
|
|
71
|
+
finally { if (e_1) throw e_1.error; }
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get properties of a private link resource.
|
|
77
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
78
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
79
|
+
* \'partnerNamespaces\'.
|
|
80
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
81
|
+
* partner namespace name).
|
|
82
|
+
* @param privateLinkResourceName The name of private link resource.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
get(resourceGroupName, parentType, parentName, privateLinkResourceName, options) {
|
|
86
|
+
return this.client.sendOperationRequest({
|
|
87
|
+
resourceGroupName,
|
|
88
|
+
parentType,
|
|
89
|
+
parentName,
|
|
90
|
+
privateLinkResourceName,
|
|
91
|
+
options
|
|
92
|
+
}, getOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* List all the private link resources under a topic, domain, or partner namespace.
|
|
96
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
97
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
98
|
+
* \'partnerNamespaces\'.
|
|
99
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
100
|
+
* partner namespace name).
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
_listByResource(resourceGroupName, parentType, parentName, options) {
|
|
104
|
+
return this.client.sendOperationRequest({ resourceGroupName, parentType, parentName, options }, listByResourceOperationSpec);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* ListByResourceNext
|
|
108
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
109
|
+
* @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
|
|
110
|
+
* \'partnerNamespaces\'.
|
|
111
|
+
* @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
|
|
112
|
+
* partner namespace name).
|
|
113
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResource method.
|
|
114
|
+
* @param options The options parameters.
|
|
115
|
+
*/
|
|
116
|
+
_listByResourceNext(resourceGroupName, parentType, parentName, nextLink, options) {
|
|
117
|
+
return this.client.sendOperationRequest({ resourceGroupName, parentType, parentName, nextLink, options }, listByResourceNextOperationSpec);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
// Operation Specifications
|
|
121
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
122
|
+
const getOperationSpec = {
|
|
123
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}",
|
|
124
|
+
httpMethod: "GET",
|
|
125
|
+
responses: {
|
|
126
|
+
200: {
|
|
127
|
+
bodyMapper: Mappers.PrivateLinkResource
|
|
128
|
+
},
|
|
129
|
+
default: {}
|
|
130
|
+
},
|
|
131
|
+
queryParameters: [Parameters.apiVersion],
|
|
132
|
+
urlParameters: [
|
|
133
|
+
Parameters.$host,
|
|
134
|
+
Parameters.subscriptionId,
|
|
135
|
+
Parameters.resourceGroupName,
|
|
136
|
+
Parameters.parentName,
|
|
137
|
+
Parameters.parentType4,
|
|
138
|
+
Parameters.privateLinkResourceName
|
|
139
|
+
],
|
|
140
|
+
headerParameters: [Parameters.accept],
|
|
141
|
+
serializer
|
|
142
|
+
};
|
|
143
|
+
const listByResourceOperationSpec = {
|
|
144
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources",
|
|
145
|
+
httpMethod: "GET",
|
|
146
|
+
responses: {
|
|
147
|
+
200: {
|
|
148
|
+
bodyMapper: Mappers.PrivateLinkResourcesListResult
|
|
149
|
+
},
|
|
150
|
+
default: {}
|
|
151
|
+
},
|
|
152
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
153
|
+
urlParameters: [
|
|
154
|
+
Parameters.$host,
|
|
155
|
+
Parameters.subscriptionId,
|
|
156
|
+
Parameters.resourceGroupName,
|
|
157
|
+
Parameters.parentName,
|
|
158
|
+
Parameters.parentType4
|
|
159
|
+
],
|
|
160
|
+
headerParameters: [Parameters.accept],
|
|
161
|
+
serializer
|
|
162
|
+
};
|
|
163
|
+
const listByResourceNextOperationSpec = {
|
|
164
|
+
path: "{nextLink}",
|
|
165
|
+
httpMethod: "GET",
|
|
166
|
+
responses: {
|
|
167
|
+
200: {
|
|
168
|
+
bodyMapper: Mappers.PrivateLinkResourcesListResult
|
|
169
|
+
},
|
|
170
|
+
default: {}
|
|
171
|
+
},
|
|
172
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
173
|
+
urlParameters: [
|
|
174
|
+
Parameters.$host,
|
|
175
|
+
Parameters.subscriptionId,
|
|
176
|
+
Parameters.resourceGroupName,
|
|
177
|
+
Parameters.nextLink,
|
|
178
|
+
Parameters.parentName,
|
|
179
|
+
Parameters.parentType4
|
|
180
|
+
],
|
|
181
|
+
headerParameters: [Parameters.accept],
|
|
182
|
+
serializer
|
|
183
|
+
};
|
|
184
|
+
//# sourceMappingURL=privateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.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;AAYnD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,cAAc,CACnB,iBAAyB,EACzB,UAAkB,EAClB,UAAkB,EAClB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,wBAAwB,CAClC,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,OAAO,CACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,wBAAwB,CACrC,iBAAyB,EACzB,UAAkB,EAClB,UAAkB,EAClB,OAA0D;;YAE1D,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,eAAe,CACrC,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,OAAO,CACR,CAAA,CAAC;YACF,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAA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