@azure/arm-eventgrid 12.0.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -82
- package/dist/index.js +7613 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/eventGridManagementClient.d.ts +29 -0
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClient.js +62 -0
- package/dist-esm/src/eventGridManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1943 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +204 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +107 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1216 -1303
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +42 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +347 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/domainTopics.d.ts +79 -0
- package/dist-esm/src/operations/domainTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/domainTopics.js +310 -0
- package/dist-esm/src/operations/domainTopics.js.map +1 -0
- package/dist-esm/src/operations/domains.d.ts +122 -0
- package/dist-esm/src/operations/domains.d.ts.map +1 -0
- package/dist-esm/src/operations/domains.js +522 -0
- package/dist-esm/src/operations/domains.js.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts +404 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.js +1504 -0
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/extensionTopics.d.ts +24 -0
- package/dist-esm/src/operations/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/extensionTopics.js +50 -0
- package/dist-esm/src/operations/extensionTopics.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +88 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +89 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +346 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +50 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +176 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +128 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +483 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/systemTopics.d.ts +107 -0
- package/dist-esm/src/operations/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopics.js +482 -0
- package/dist-esm/src/operations/systemTopics.js.map +1 -0
- package/dist-esm/src/operations/topicTypes.d.ts +46 -0
- package/dist-esm/src/operations/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/topicTypes.js +175 -0
- package/dist-esm/src/operations/topicTypes.js.map +1 -0
- package/dist-esm/src/operations/topics.d.ts +150 -0
- package/dist-esm/src/operations/topics.d.ts.map +1 -0
- package/dist-esm/src/operations/topics.js +656 -0
- package/dist-esm/src/operations/topics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/domainTopics.js} +2 -8
- package/dist-esm/src/operationsInterfaces/domainTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -0
- package/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/domains.js} +2 -7
- package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +217 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/eventSubscriptions.js} +2 -2
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/topics.js} +2 -1
- package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.d.ts +4 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +166 -0
- package/dist-esm/test/eventgrid_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-eventgrid.api.md +1777 -0
- package/rollup.config.js +181 -30
- package/src/eventGridManagementClient.ts +107 -53
- package/{esm/models/privateLinkResourcesMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1844 -3910
- package/src/models/mappers.ts +1261 -1339
- package/src/models/parameters.ts +239 -82
- package/src/operations/domainTopics.ts +346 -224
- package/src/operations/domains.ts +545 -454
- package/src/operations/eventSubscriptions.ts +1658 -1236
- package/src/operations/extensionTopics.ts +37 -66
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +65 -43
- package/src/operations/privateEndpointConnections.ts +386 -253
- package/src/operations/privateLinkResources.ts +178 -150
- package/src/operations/systemTopicEventSubscriptions.ts +537 -394
- package/src/operations/systemTopics.ts +505 -349
- package/src/operations/topicTypes.ts +138 -114
- package/src/operations/topics.ts +728 -494
- package/src/operationsInterfaces/domainTopics.ts +105 -0
- package/src/operationsInterfaces/domains.ts +162 -0
- package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
- package/src/operationsInterfaces/extensionTopics.ts +30 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +125 -0
- package/src/operationsInterfaces/privateLinkResources.ts +48 -0
- package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +190 -0
- package/src/operationsInterfaces/systemTopics.ts +139 -0
- package/src/operationsInterfaces/topicTypes.ts +47 -0
- package/src/operationsInterfaces/topics.ts +197 -0
- package/tsconfig.json +3 -3
- package/types/arm-eventgrid.d.ts +2998 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-eventgrid.js +0 -6824
- package/dist/arm-eventgrid.js.map +0 -1
- package/dist/arm-eventgrid.min.js +0 -1
- package/dist/arm-eventgrid.min.js.map +0 -1
- package/esm/eventGridManagementClient.d.ts +0 -35
- package/esm/eventGridManagementClient.d.ts.map +0 -1
- package/esm/eventGridManagementClient.js +0 -48
- package/esm/eventGridManagementClient.js.map +0 -1
- package/esm/eventGridManagementClientContext.d.ts +0 -23
- package/esm/eventGridManagementClientContext.d.ts.map +0 -1
- package/esm/eventGridManagementClientContext.js +0 -61
- package/esm/eventGridManagementClientContext.js.map +0 -1
- package/esm/models/domainTopicsMappers.d.ts +0 -2
- package/esm/models/domainTopicsMappers.d.ts.map +0 -1
- package/esm/models/domainTopicsMappers.js +0 -9
- package/esm/models/domainTopicsMappers.js.map +0 -1
- package/esm/models/domainsMappers.d.ts +0 -2
- package/esm/models/domainsMappers.d.ts.map +0 -1
- package/esm/models/domainsMappers.js +0 -9
- package/esm/models/domainsMappers.js.map +0 -1
- package/esm/models/eventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/eventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/eventSubscriptionsMappers.js +0 -9
- package/esm/models/eventSubscriptionsMappers.js.map +0 -1
- package/esm/models/extensionTopicsMappers.d.ts +0 -2
- package/esm/models/extensionTopicsMappers.d.ts.map +0 -1
- package/esm/models/extensionTopicsMappers.js +0 -9
- package/esm/models/extensionTopicsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4080
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -109
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -25
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -245
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.js +0 -9
- package/esm/models/systemTopicEventSubscriptionsMappers.js.map +0 -1
- package/esm/models/systemTopicsMappers.d.ts +0 -2
- package/esm/models/systemTopicsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicsMappers.js +0 -9
- package/esm/models/systemTopicsMappers.js.map +0 -1
- package/esm/models/topicTypesMappers.d.ts +0 -2
- package/esm/models/topicTypesMappers.d.ts.map +0 -1
- package/esm/models/topicTypesMappers.js +0 -9
- package/esm/models/topicTypesMappers.js.map +0 -1
- package/esm/models/topicsMappers.d.ts +0 -2
- package/esm/models/topicsMappers.d.ts.map +0 -1
- package/esm/models/topicsMappers.js +0 -9
- package/esm/models/topicsMappers.js.map +0 -1
- package/esm/operations/domainTopics.d.ts +0 -120
- package/esm/operations/domainTopics.d.ts.map +0 -1
- package/esm/operations/domainTopics.js +0 -233
- package/esm/operations/domainTopics.js.map +0 -1
- package/esm/operations/domains.d.ts +0 -214
- package/esm/operations/domains.d.ts.map +0 -1
- package/esm/operations/domains.js +0 -415
- package/esm/operations/domains.js.map +0 -1
- package/esm/operations/eventSubscriptions.d.ts +0 -666
- package/esm/operations/eventSubscriptions.d.ts.map +0 -1
- package/esm/operations/eventSubscriptions.js +0 -969
- package/esm/operations/eventSubscriptions.js.map +0 -1
- package/esm/operations/extensionTopics.d.ts +0 -47
- package/esm/operations/extensionTopics.d.ts.map +0 -1
- package/esm/operations/extensionTopics.js +0 -54
- package/esm/operations/extensionTopics.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -152
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -263
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -91
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -127
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.d.ts +0 -213
- package/esm/operations/systemTopicEventSubscriptions.d.ts.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.js +0 -379
- package/esm/operations/systemTopicEventSubscriptions.js.map +0 -1
- package/esm/operations/systemTopics.d.ts +0 -167
- package/esm/operations/systemTopics.d.ts.map +0 -1
- package/esm/operations/systemTopics.js +0 -353
- package/esm/operations/systemTopics.js.map +0 -1
- package/esm/operations/topicTypes.d.ts +0 -67
- package/esm/operations/topicTypes.d.ts.map +0 -1
- package/esm/operations/topicTypes.js +0 -106
- package/esm/operations/topicTypes.js.map +0 -1
- package/esm/operations/topics.d.ts +0 -237
- package/esm/operations/topics.d.ts.map +0 -1
- package/esm/operations/topics.js +0 -471
- package/esm/operations/topics.js.map +0 -1
- package/src/eventGridManagementClientContext.ts +0 -68
- package/src/models/domainTopicsMappers.ts +0 -66
- package/src/models/domainsMappers.ts +0 -69
- package/src/models/eventSubscriptionsMappers.ts +0 -69
- package/src/models/extensionTopicsMappers.ts +0 -65
- package/src/models/privateEndpointConnectionsMappers.ts +0 -66
- package/src/models/systemTopicEventSubscriptionsMappers.ts +0 -69
- package/src/models/systemTopicsMappers.ts +0 -67
- package/src/models/topicTypesMappers.ts +0 -67
- package/src/models/topicsMappers.ts +0 -70
|
@@ -3,64 +3,143 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
PrivateEndpointConnection,
|
|
19
|
+
Enum21,
|
|
20
|
+
PrivateEndpointConnectionsListByResourceNextOptionalParams,
|
|
21
|
+
PrivateEndpointConnectionsListByResourceOptionalParams,
|
|
22
|
+
Enum18,
|
|
23
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
|
24
|
+
PrivateEndpointConnectionsGetResponse,
|
|
25
|
+
Enum19,
|
|
26
|
+
PrivateEndpointConnectionsUpdateOptionalParams,
|
|
27
|
+
PrivateEndpointConnectionsUpdateResponse,
|
|
28
|
+
Enum20,
|
|
29
|
+
PrivateEndpointConnectionsDeleteOptionalParams,
|
|
30
|
+
PrivateEndpointConnectionsListByResourceResponse,
|
|
31
|
+
PrivateEndpointConnectionsListByResourceNextResponse
|
|
32
|
+
} from "../models";
|
|
16
33
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
34
|
+
/// <reference lib="esnext.asynciterable" />
|
|
35
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
36
|
+
export class PrivateEndpointConnectionsImpl
|
|
37
|
+
implements PrivateEndpointConnections {
|
|
38
|
+
private readonly client: EventGridManagementClient;
|
|
20
39
|
|
|
21
40
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
41
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
42
|
+
* @param client Reference to the service client
|
|
24
43
|
*/
|
|
25
|
-
constructor(client:
|
|
44
|
+
constructor(client: EventGridManagementClient) {
|
|
26
45
|
this.client = client;
|
|
27
46
|
}
|
|
28
47
|
|
|
29
48
|
/**
|
|
30
|
-
* Get
|
|
31
|
-
* @summary Get a specific private endpoint connection.
|
|
32
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
33
|
-
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
34
|
-
* Possible values include: 'topics', 'domains'
|
|
35
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
36
|
-
* name).
|
|
37
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<Models.PrivateEndpointConnectionsGetResponse>
|
|
40
|
-
*/
|
|
41
|
-
get(resourceGroupName: string, parentType: Models.ParentType, parentName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsGetResponse>;
|
|
42
|
-
/**
|
|
49
|
+
* Get all private endpoint connections under a topic or domain.
|
|
43
50
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
44
51
|
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
45
|
-
*
|
|
46
|
-
* @param
|
|
47
|
-
* name).
|
|
48
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
49
|
-
* @param callback The callback
|
|
52
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
53
|
+
* @param options The options parameters.
|
|
50
54
|
*/
|
|
51
|
-
|
|
55
|
+
public listByResource(
|
|
56
|
+
resourceGroupName: string,
|
|
57
|
+
parentType: Enum21,
|
|
58
|
+
parentName: string,
|
|
59
|
+
options?: PrivateEndpointConnectionsListByResourceOptionalParams
|
|
60
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection> {
|
|
61
|
+
const iter = this.listByResourcePagingAll(
|
|
62
|
+
resourceGroupName,
|
|
63
|
+
parentType,
|
|
64
|
+
parentName,
|
|
65
|
+
options
|
|
66
|
+
);
|
|
67
|
+
return {
|
|
68
|
+
next() {
|
|
69
|
+
return iter.next();
|
|
70
|
+
},
|
|
71
|
+
[Symbol.asyncIterator]() {
|
|
72
|
+
return this;
|
|
73
|
+
},
|
|
74
|
+
byPage: () => {
|
|
75
|
+
return this.listByResourcePagingPage(
|
|
76
|
+
resourceGroupName,
|
|
77
|
+
parentType,
|
|
78
|
+
parentName,
|
|
79
|
+
options
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
private async *listByResourcePagingPage(
|
|
86
|
+
resourceGroupName: string,
|
|
87
|
+
parentType: Enum21,
|
|
88
|
+
parentName: string,
|
|
89
|
+
options?: PrivateEndpointConnectionsListByResourceOptionalParams
|
|
90
|
+
): AsyncIterableIterator<PrivateEndpointConnection[]> {
|
|
91
|
+
let result = await this._listByResource(
|
|
92
|
+
resourceGroupName,
|
|
93
|
+
parentType,
|
|
94
|
+
parentName,
|
|
95
|
+
options
|
|
96
|
+
);
|
|
97
|
+
yield result.value || [];
|
|
98
|
+
let continuationToken = result.nextLink;
|
|
99
|
+
while (continuationToken) {
|
|
100
|
+
result = await this._listByResourceNext(
|
|
101
|
+
resourceGroupName,
|
|
102
|
+
parentType,
|
|
103
|
+
parentName,
|
|
104
|
+
continuationToken,
|
|
105
|
+
options
|
|
106
|
+
);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
yield result.value || [];
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
private async *listByResourcePagingAll(
|
|
113
|
+
resourceGroupName: string,
|
|
114
|
+
parentType: Enum21,
|
|
115
|
+
parentName: string,
|
|
116
|
+
options?: PrivateEndpointConnectionsListByResourceOptionalParams
|
|
117
|
+
): AsyncIterableIterator<PrivateEndpointConnection> {
|
|
118
|
+
for await (const page of this.listByResourcePagingPage(
|
|
119
|
+
resourceGroupName,
|
|
120
|
+
parentType,
|
|
121
|
+
parentName,
|
|
122
|
+
options
|
|
123
|
+
)) {
|
|
124
|
+
yield* page;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
52
128
|
/**
|
|
129
|
+
* Get a specific private endpoint connection under a topic or domain.
|
|
53
130
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
54
131
|
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
55
|
-
*
|
|
56
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
57
|
-
* name).
|
|
132
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
58
133
|
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
59
|
-
* @param options The
|
|
60
|
-
* @param callback The callback
|
|
134
|
+
* @param options The options parameters.
|
|
61
135
|
*/
|
|
62
|
-
get(
|
|
63
|
-
|
|
136
|
+
get(
|
|
137
|
+
resourceGroupName: string,
|
|
138
|
+
parentType: Enum18,
|
|
139
|
+
parentName: string,
|
|
140
|
+
privateEndpointConnectionName: string,
|
|
141
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
142
|
+
): Promise<PrivateEndpointConnectionsGetResponse> {
|
|
64
143
|
return this.client.sendOperationRequest(
|
|
65
144
|
{
|
|
66
145
|
resourceGroupName,
|
|
@@ -69,129 +148,173 @@ export class PrivateEndpointConnections {
|
|
|
69
148
|
privateEndpointConnectionName,
|
|
70
149
|
options
|
|
71
150
|
},
|
|
72
|
-
getOperationSpec
|
|
73
|
-
|
|
151
|
+
getOperationSpec
|
|
152
|
+
);
|
|
74
153
|
}
|
|
75
154
|
|
|
76
155
|
/**
|
|
77
156
|
* Update a specific private endpoint connection under a topic or domain.
|
|
78
|
-
* @summary Update a specific private endpoint connection.
|
|
79
157
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
80
158
|
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
81
|
-
*
|
|
82
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
83
|
-
* name).
|
|
159
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
84
160
|
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
85
161
|
* @param privateEndpointConnection The private endpoint connection object to update.
|
|
86
|
-
* @param
|
|
87
|
-
* @returns Promise<Models.PrivateEndpointConnectionsUpdateResponse>
|
|
162
|
+
* @param options The options parameters.
|
|
88
163
|
*/
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
164
|
+
async beginUpdate(
|
|
165
|
+
resourceGroupName: string,
|
|
166
|
+
parentType: Enum19,
|
|
167
|
+
parentName: string,
|
|
168
|
+
privateEndpointConnectionName: string,
|
|
169
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
|
170
|
+
options?: PrivateEndpointConnectionsUpdateOptionalParams
|
|
171
|
+
): Promise<
|
|
172
|
+
PollerLike<
|
|
173
|
+
PollOperationState<PrivateEndpointConnectionsUpdateResponse>,
|
|
174
|
+
PrivateEndpointConnectionsUpdateResponse
|
|
175
|
+
>
|
|
176
|
+
> {
|
|
177
|
+
const directSendOperation = async (
|
|
178
|
+
args: coreClient.OperationArguments,
|
|
179
|
+
spec: coreClient.OperationSpec
|
|
180
|
+
): Promise<PrivateEndpointConnectionsUpdateResponse> => {
|
|
181
|
+
return this.client.sendOperationRequest(args, spec);
|
|
182
|
+
};
|
|
183
|
+
const sendOperation = async (
|
|
184
|
+
args: coreClient.OperationArguments,
|
|
185
|
+
spec: coreClient.OperationSpec
|
|
186
|
+
) => {
|
|
187
|
+
let currentRawResponse:
|
|
188
|
+
| coreClient.FullOperationResponse
|
|
189
|
+
| undefined = undefined;
|
|
190
|
+
const providedCallback = args.options?.onResponse;
|
|
191
|
+
const callback: coreClient.RawResponseCallback = (
|
|
192
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
193
|
+
flatResponse: unknown
|
|
194
|
+
) => {
|
|
195
|
+
currentRawResponse = rawResponse;
|
|
196
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
197
|
+
};
|
|
198
|
+
const updatedArgs = {
|
|
199
|
+
...args,
|
|
200
|
+
options: {
|
|
201
|
+
...args.options,
|
|
202
|
+
onResponse: callback
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
206
|
+
return {
|
|
207
|
+
flatResponse,
|
|
208
|
+
rawResponse: {
|
|
209
|
+
statusCode: currentRawResponse!.status,
|
|
210
|
+
body: currentRawResponse!.parsedBody,
|
|
211
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
};
|
|
93
215
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
* @summary Delete a specific private endpoint connection.
|
|
97
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
98
|
-
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
99
|
-
* Possible values include: 'topics', 'domains'
|
|
100
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
101
|
-
* name).
|
|
102
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
103
|
-
* @param [options] The optional parameters
|
|
104
|
-
* @returns Promise<msRest.RestResponse>
|
|
105
|
-
*/
|
|
106
|
-
deleteMethod(resourceGroupName: string, parentType: Models.ParentType2, parentName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
107
|
-
return this.beginDeleteMethod(resourceGroupName,parentType,parentName,privateEndpointConnectionName,options)
|
|
108
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Get all private endpoint connections under a topic or domain.
|
|
113
|
-
* @summary Lists all private endpoint connections under a resource.
|
|
114
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
115
|
-
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
116
|
-
* Possible values include: 'topics', 'domains'
|
|
117
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
118
|
-
* name).
|
|
119
|
-
* @param [options] The optional parameters
|
|
120
|
-
* @returns Promise<Models.PrivateEndpointConnectionsListByResourceResponse>
|
|
121
|
-
*/
|
|
122
|
-
listByResource(resourceGroupName: string, parentType: Models.ParentType3, parentName: string, options?: Models.PrivateEndpointConnectionsListByResourceOptionalParams): Promise<Models.PrivateEndpointConnectionsListByResourceResponse>;
|
|
123
|
-
/**
|
|
124
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
125
|
-
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
126
|
-
* Possible values include: 'topics', 'domains'
|
|
127
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
128
|
-
* name).
|
|
129
|
-
* @param callback The callback
|
|
130
|
-
*/
|
|
131
|
-
listByResource(resourceGroupName: string, parentType: Models.ParentType3, parentName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
|
|
132
|
-
/**
|
|
133
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
134
|
-
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
135
|
-
* Possible values include: 'topics', 'domains'
|
|
136
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
137
|
-
* name).
|
|
138
|
-
* @param options The optional parameters
|
|
139
|
-
* @param callback The callback
|
|
140
|
-
*/
|
|
141
|
-
listByResource(resourceGroupName: string, parentType: Models.ParentType3, parentName: string, options: Models.PrivateEndpointConnectionsListByResourceOptionalParams, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
|
|
142
|
-
listByResource(resourceGroupName: string, parentType: Models.ParentType3, parentName: string, options?: Models.PrivateEndpointConnectionsListByResourceOptionalParams | msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): Promise<Models.PrivateEndpointConnectionsListByResourceResponse> {
|
|
143
|
-
return this.client.sendOperationRequest(
|
|
216
|
+
const lro = new LroImpl(
|
|
217
|
+
sendOperation,
|
|
144
218
|
{
|
|
145
219
|
resourceGroupName,
|
|
146
220
|
parentType,
|
|
147
221
|
parentName,
|
|
222
|
+
privateEndpointConnectionName,
|
|
223
|
+
privateEndpointConnection,
|
|
148
224
|
options
|
|
149
225
|
},
|
|
150
|
-
|
|
151
|
-
|
|
226
|
+
updateOperationSpec
|
|
227
|
+
);
|
|
228
|
+
return new LroEngine(lro, {
|
|
229
|
+
resumeFrom: options?.resumeFrom,
|
|
230
|
+
intervalInMs: options?.updateIntervalInMs
|
|
231
|
+
});
|
|
152
232
|
}
|
|
153
233
|
|
|
154
234
|
/**
|
|
155
235
|
* Update a specific private endpoint connection under a topic or domain.
|
|
156
|
-
* @summary Update a specific private endpoint connection.
|
|
157
236
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
158
237
|
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
159
|
-
*
|
|
160
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
161
|
-
* name).
|
|
238
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
162
239
|
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
163
240
|
* @param privateEndpointConnection The private endpoint connection object to update.
|
|
164
|
-
* @param
|
|
165
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
241
|
+
* @param options The options parameters.
|
|
166
242
|
*/
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
243
|
+
async beginUpdateAndWait(
|
|
244
|
+
resourceGroupName: string,
|
|
245
|
+
parentType: Enum19,
|
|
246
|
+
parentName: string,
|
|
247
|
+
privateEndpointConnectionName: string,
|
|
248
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
|
249
|
+
options?: PrivateEndpointConnectionsUpdateOptionalParams
|
|
250
|
+
): Promise<PrivateEndpointConnectionsUpdateResponse> {
|
|
251
|
+
const poller = await this.beginUpdate(
|
|
252
|
+
resourceGroupName,
|
|
253
|
+
parentType,
|
|
254
|
+
parentName,
|
|
255
|
+
privateEndpointConnectionName,
|
|
256
|
+
privateEndpointConnection,
|
|
257
|
+
options
|
|
258
|
+
);
|
|
259
|
+
return poller.pollUntilDone();
|
|
179
260
|
}
|
|
180
261
|
|
|
181
262
|
/**
|
|
182
263
|
* Delete a specific private endpoint connection under a topic or domain.
|
|
183
|
-
* @summary Delete a specific private endpoint connection.
|
|
184
264
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
185
265
|
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
186
|
-
*
|
|
187
|
-
* @param parentName The name of the parent resource (namely, either, the topic name or domain
|
|
188
|
-
* name).
|
|
266
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
189
267
|
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
190
|
-
* @param
|
|
191
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
268
|
+
* @param options The options parameters.
|
|
192
269
|
*/
|
|
193
|
-
|
|
194
|
-
|
|
270
|
+
async beginDelete(
|
|
271
|
+
resourceGroupName: string,
|
|
272
|
+
parentType: Enum20,
|
|
273
|
+
parentName: string,
|
|
274
|
+
privateEndpointConnectionName: string,
|
|
275
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
276
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
277
|
+
const directSendOperation = async (
|
|
278
|
+
args: coreClient.OperationArguments,
|
|
279
|
+
spec: coreClient.OperationSpec
|
|
280
|
+
): Promise<void> => {
|
|
281
|
+
return this.client.sendOperationRequest(args, spec);
|
|
282
|
+
};
|
|
283
|
+
const sendOperation = async (
|
|
284
|
+
args: coreClient.OperationArguments,
|
|
285
|
+
spec: coreClient.OperationSpec
|
|
286
|
+
) => {
|
|
287
|
+
let currentRawResponse:
|
|
288
|
+
| coreClient.FullOperationResponse
|
|
289
|
+
| undefined = undefined;
|
|
290
|
+
const providedCallback = args.options?.onResponse;
|
|
291
|
+
const callback: coreClient.RawResponseCallback = (
|
|
292
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
293
|
+
flatResponse: unknown
|
|
294
|
+
) => {
|
|
295
|
+
currentRawResponse = rawResponse;
|
|
296
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
297
|
+
};
|
|
298
|
+
const updatedArgs = {
|
|
299
|
+
...args,
|
|
300
|
+
options: {
|
|
301
|
+
...args.options,
|
|
302
|
+
onResponse: callback
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
306
|
+
return {
|
|
307
|
+
flatResponse,
|
|
308
|
+
rawResponse: {
|
|
309
|
+
statusCode: currentRawResponse!.status,
|
|
310
|
+
body: currentRawResponse!.parsedBody,
|
|
311
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
const lro = new LroImpl(
|
|
317
|
+
sendOperation,
|
|
195
318
|
{
|
|
196
319
|
resourceGroupName,
|
|
197
320
|
parentType,
|
|
@@ -199,182 +322,192 @@ export class PrivateEndpointConnections {
|
|
|
199
322
|
privateEndpointConnectionName,
|
|
200
323
|
options
|
|
201
324
|
},
|
|
202
|
-
|
|
203
|
-
|
|
325
|
+
deleteOperationSpec
|
|
326
|
+
);
|
|
327
|
+
return new LroEngine(lro, {
|
|
328
|
+
resumeFrom: options?.resumeFrom,
|
|
329
|
+
intervalInMs: options?.updateIntervalInMs
|
|
330
|
+
});
|
|
204
331
|
}
|
|
205
332
|
|
|
206
333
|
/**
|
|
207
|
-
*
|
|
208
|
-
* @
|
|
209
|
-
* @param
|
|
210
|
-
* @param
|
|
211
|
-
* @
|
|
334
|
+
* Delete a specific private endpoint connection under a topic or domain.
|
|
335
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
336
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
337
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
338
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection connection.
|
|
339
|
+
* @param options The options parameters.
|
|
212
340
|
*/
|
|
213
|
-
|
|
341
|
+
async beginDeleteAndWait(
|
|
342
|
+
resourceGroupName: string,
|
|
343
|
+
parentType: Enum20,
|
|
344
|
+
parentName: string,
|
|
345
|
+
privateEndpointConnectionName: string,
|
|
346
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
347
|
+
): Promise<void> {
|
|
348
|
+
const poller = await this.beginDelete(
|
|
349
|
+
resourceGroupName,
|
|
350
|
+
parentType,
|
|
351
|
+
parentName,
|
|
352
|
+
privateEndpointConnectionName,
|
|
353
|
+
options
|
|
354
|
+
);
|
|
355
|
+
return poller.pollUntilDone();
|
|
356
|
+
}
|
|
357
|
+
|
|
214
358
|
/**
|
|
215
|
-
*
|
|
216
|
-
* @param
|
|
359
|
+
* Get all private endpoint connections under a topic or domain.
|
|
360
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
361
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
362
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
363
|
+
* @param options The options parameters.
|
|
217
364
|
*/
|
|
218
|
-
|
|
365
|
+
private _listByResource(
|
|
366
|
+
resourceGroupName: string,
|
|
367
|
+
parentType: Enum21,
|
|
368
|
+
parentName: string,
|
|
369
|
+
options?: PrivateEndpointConnectionsListByResourceOptionalParams
|
|
370
|
+
): Promise<PrivateEndpointConnectionsListByResourceResponse> {
|
|
371
|
+
return this.client.sendOperationRequest(
|
|
372
|
+
{ resourceGroupName, parentType, parentName, options },
|
|
373
|
+
listByResourceOperationSpec
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
|
|
219
377
|
/**
|
|
220
|
-
*
|
|
221
|
-
* @param
|
|
222
|
-
* @param
|
|
378
|
+
* ListByResourceNext
|
|
379
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
380
|
+
* @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
|
|
381
|
+
* @param parentName The name of the parent resource (namely, either, the topic name or domain name).
|
|
382
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResource method.
|
|
383
|
+
* @param options The options parameters.
|
|
223
384
|
*/
|
|
224
|
-
|
|
225
|
-
|
|
385
|
+
private _listByResourceNext(
|
|
386
|
+
resourceGroupName: string,
|
|
387
|
+
parentType: Enum21,
|
|
388
|
+
parentName: string,
|
|
389
|
+
nextLink: string,
|
|
390
|
+
options?: PrivateEndpointConnectionsListByResourceNextOptionalParams
|
|
391
|
+
): Promise<PrivateEndpointConnectionsListByResourceNextResponse> {
|
|
226
392
|
return this.client.sendOperationRequest(
|
|
227
|
-
{
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
},
|
|
231
|
-
listByResourceNextOperationSpec,
|
|
232
|
-
callback) as Promise<Models.PrivateEndpointConnectionsListByResourceNextResponse>;
|
|
393
|
+
{ resourceGroupName, parentType, parentName, nextLink, options },
|
|
394
|
+
listByResourceNextOperationSpec
|
|
395
|
+
);
|
|
233
396
|
}
|
|
234
397
|
}
|
|
235
|
-
|
|
236
398
|
// Operation Specifications
|
|
237
|
-
const serializer =
|
|
238
|
-
|
|
399
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
400
|
+
|
|
401
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
402
|
+
path:
|
|
403
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
239
404
|
httpMethod: "GET",
|
|
240
|
-
|
|
405
|
+
responses: {
|
|
406
|
+
200: {
|
|
407
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
408
|
+
},
|
|
409
|
+
default: {}
|
|
410
|
+
},
|
|
411
|
+
queryParameters: [Parameters.apiVersion],
|
|
241
412
|
urlParameters: [
|
|
413
|
+
Parameters.$host,
|
|
242
414
|
Parameters.subscriptionId,
|
|
243
415
|
Parameters.resourceGroupName,
|
|
244
416
|
Parameters.parentType,
|
|
245
417
|
Parameters.parentName,
|
|
246
418
|
Parameters.privateEndpointConnectionName
|
|
247
419
|
],
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
420
|
+
headerParameters: [Parameters.accept],
|
|
421
|
+
serializer
|
|
422
|
+
};
|
|
423
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
424
|
+
path:
|
|
425
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
426
|
+
httpMethod: "PUT",
|
|
254
427
|
responses: {
|
|
255
428
|
200: {
|
|
256
429
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
257
430
|
},
|
|
258
|
-
|
|
259
|
-
bodyMapper: Mappers.
|
|
260
|
-
}
|
|
431
|
+
201: {
|
|
432
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
433
|
+
},
|
|
434
|
+
202: {
|
|
435
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
436
|
+
},
|
|
437
|
+
204: {
|
|
438
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
439
|
+
},
|
|
440
|
+
default: {}
|
|
261
441
|
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
const listByResourceOperationSpec: msRest.OperationSpec = {
|
|
266
|
-
httpMethod: "GET",
|
|
267
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections",
|
|
442
|
+
requestBody: Parameters.privateEndpointConnection,
|
|
443
|
+
queryParameters: [Parameters.apiVersion],
|
|
268
444
|
urlParameters: [
|
|
445
|
+
Parameters.$host,
|
|
269
446
|
Parameters.subscriptionId,
|
|
270
447
|
Parameters.resourceGroupName,
|
|
271
|
-
Parameters.
|
|
272
|
-
Parameters.
|
|
273
|
-
|
|
274
|
-
queryParameters: [
|
|
275
|
-
Parameters.apiVersion,
|
|
276
|
-
Parameters.filter,
|
|
277
|
-
Parameters.top
|
|
278
|
-
],
|
|
279
|
-
headerParameters: [
|
|
280
|
-
Parameters.acceptLanguage
|
|
448
|
+
Parameters.parentName,
|
|
449
|
+
Parameters.privateEndpointConnectionName,
|
|
450
|
+
Parameters.parentType1
|
|
281
451
|
],
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
285
|
-
},
|
|
286
|
-
default: {
|
|
287
|
-
bodyMapper: Mappers.CloudError
|
|
288
|
-
}
|
|
289
|
-
},
|
|
452
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
453
|
+
mediaType: "json",
|
|
290
454
|
serializer
|
|
291
455
|
};
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
456
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
457
|
+
path:
|
|
458
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
459
|
+
httpMethod: "DELETE",
|
|
460
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
461
|
+
queryParameters: [Parameters.apiVersion],
|
|
296
462
|
urlParameters: [
|
|
463
|
+
Parameters.$host,
|
|
297
464
|
Parameters.subscriptionId,
|
|
298
465
|
Parameters.resourceGroupName,
|
|
299
|
-
Parameters.parentType,
|
|
300
466
|
Parameters.parentName,
|
|
301
|
-
Parameters.privateEndpointConnectionName
|
|
467
|
+
Parameters.privateEndpointConnectionName,
|
|
468
|
+
Parameters.parentType2
|
|
302
469
|
],
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
requestBody: {
|
|
310
|
-
parameterPath: "privateEndpointConnection",
|
|
311
|
-
mapper: {
|
|
312
|
-
...Mappers.PrivateEndpointConnection,
|
|
313
|
-
required: true
|
|
314
|
-
}
|
|
315
|
-
},
|
|
470
|
+
serializer
|
|
471
|
+
};
|
|
472
|
+
const listByResourceOperationSpec: coreClient.OperationSpec = {
|
|
473
|
+
path:
|
|
474
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections",
|
|
475
|
+
httpMethod: "GET",
|
|
316
476
|
responses: {
|
|
317
477
|
200: {
|
|
318
|
-
bodyMapper: Mappers.
|
|
319
|
-
},
|
|
320
|
-
201: {
|
|
321
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
478
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
322
479
|
},
|
|
323
|
-
default: {
|
|
324
|
-
bodyMapper: Mappers.CloudError
|
|
325
|
-
}
|
|
480
|
+
default: {}
|
|
326
481
|
},
|
|
327
|
-
|
|
328
|
-
};
|
|
329
|
-
|
|
330
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
331
|
-
httpMethod: "DELETE",
|
|
332
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
482
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
333
483
|
urlParameters: [
|
|
484
|
+
Parameters.$host,
|
|
334
485
|
Parameters.subscriptionId,
|
|
335
486
|
Parameters.resourceGroupName,
|
|
336
|
-
Parameters.parentType,
|
|
337
487
|
Parameters.parentName,
|
|
338
|
-
Parameters.
|
|
488
|
+
Parameters.parentType3
|
|
339
489
|
],
|
|
340
|
-
|
|
341
|
-
Parameters.apiVersion
|
|
342
|
-
],
|
|
343
|
-
headerParameters: [
|
|
344
|
-
Parameters.acceptLanguage
|
|
345
|
-
],
|
|
346
|
-
responses: {
|
|
347
|
-
202: {},
|
|
348
|
-
204: {},
|
|
349
|
-
default: {
|
|
350
|
-
bodyMapper: Mappers.CloudError
|
|
351
|
-
}
|
|
352
|
-
},
|
|
490
|
+
headerParameters: [Parameters.accept],
|
|
353
491
|
serializer
|
|
354
492
|
};
|
|
355
|
-
|
|
356
|
-
const listByResourceNextOperationSpec: msRest.OperationSpec = {
|
|
357
|
-
httpMethod: "GET",
|
|
358
|
-
baseUrl: "https://management.azure.com",
|
|
493
|
+
const listByResourceNextOperationSpec: coreClient.OperationSpec = {
|
|
359
494
|
path: "{nextLink}",
|
|
360
|
-
|
|
361
|
-
Parameters.nextPageLink
|
|
362
|
-
],
|
|
363
|
-
queryParameters: [
|
|
364
|
-
Parameters.apiVersion,
|
|
365
|
-
Parameters.filter,
|
|
366
|
-
Parameters.top
|
|
367
|
-
],
|
|
368
|
-
headerParameters: [
|
|
369
|
-
Parameters.acceptLanguage
|
|
370
|
-
],
|
|
495
|
+
httpMethod: "GET",
|
|
371
496
|
responses: {
|
|
372
497
|
200: {
|
|
373
498
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
374
499
|
},
|
|
375
|
-
default: {
|
|
376
|
-
bodyMapper: Mappers.CloudError
|
|
377
|
-
}
|
|
500
|
+
default: {}
|
|
378
501
|
},
|
|
502
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
503
|
+
urlParameters: [
|
|
504
|
+
Parameters.$host,
|
|
505
|
+
Parameters.subscriptionId,
|
|
506
|
+
Parameters.resourceGroupName,
|
|
507
|
+
Parameters.nextLink,
|
|
508
|
+
Parameters.parentName,
|
|
509
|
+
Parameters.parentType3
|
|
510
|
+
],
|
|
511
|
+
headerParameters: [Parameters.accept],
|
|
379
512
|
serializer
|
|
380
513
|
};
|