@azure/arm-signalr 4.2.0 → 5.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 +21 -0
- package/README.md +70 -78
- package/dist/index.js +3754 -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/samples-dev/operationsList.d.ts +2 -0
- package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsList.js +43 -0
- package/dist-esm/samples-dev/operationsList.js.map +1 -0
- package/dist-esm/samples-dev/signalRCheckNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/signalRCheckNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRCheckNameAvailability.js +34 -0
- package/dist-esm/samples-dev/signalRCheckNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/signalRCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/signalRCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRCreateOrUpdate.js +73 -0
- package/dist-esm/samples-dev/signalRCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/signalRDelete.d.ts +2 -0
- package/dist-esm/samples-dev/signalRDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRDelete.js +31 -0
- package/dist-esm/samples-dev/signalRDelete.js.map +1 -0
- package/dist-esm/samples-dev/signalRGet.d.ts +2 -0
- package/dist-esm/samples-dev/signalRGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRGet.js +31 -0
- package/dist-esm/samples-dev/signalRGet.js.map +1 -0
- package/dist-esm/samples-dev/signalRListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/signalRListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/signalRListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/signalRListBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/signalRListBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRListBySubscription.js +43 -0
- package/dist-esm/samples-dev/signalRListBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/signalRListKeys.d.ts +2 -0
- package/dist-esm/samples-dev/signalRListKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRListKeys.js +31 -0
- package/dist-esm/samples-dev/signalRListKeys.js.map +1 -0
- package/dist-esm/samples-dev/signalRListSkus.d.ts +2 -0
- package/dist-esm/samples-dev/signalRListSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRListSkus.js +31 -0
- package/dist-esm/samples-dev/signalRListSkus.js.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.js +32 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDelete.js.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.js +32 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.d.ts +2 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.js +45 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsList.js.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.js +41 -0
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.d.ts +2 -0
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.js +45 -0
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesList.js.map +1 -0
- package/dist-esm/samples-dev/signalRRegenerateKey.d.ts +2 -0
- package/dist-esm/samples-dev/signalRRegenerateKey.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRRegenerateKey.js +32 -0
- package/dist-esm/samples-dev/signalRRegenerateKey.js.map +1 -0
- package/dist-esm/samples-dev/signalRRestart.d.ts +2 -0
- package/dist-esm/samples-dev/signalRRestart.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRRestart.js +31 -0
- package/dist-esm/samples-dev/signalRRestart.js.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.js +37 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.js +32 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDelete.js.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.d.ts +2 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.js +32 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGet.js.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.d.ts +2 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.js +45 -0
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesList.js.map +1 -0
- package/dist-esm/samples-dev/signalRUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/signalRUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/signalRUpdate.js +73 -0
- package/dist-esm/samples-dev/signalRUpdate.js.map +1 -0
- package/dist-esm/samples-dev/usagesList.d.ts +2 -0
- package/dist-esm/samples-dev/usagesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/usagesList.js +44 -0
- package/dist-esm/samples-dev/usagesList.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 +1116 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +109 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +54 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +831 -726
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +144 -0
- package/dist-esm/src/models/parameters.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 +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/signalR.d.ts +176 -0
- package/dist-esm/src/operations/signalR.d.ts.map +1 -0
- package/dist-esm/src/operations/signalR.js +765 -0
- package/dist-esm/src/operations/signalR.js.map +1 -0
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts +79 -0
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.js +303 -0
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts +41 -0
- package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/signalRPrivateLinkResources.js +140 -0
- package/dist-esm/src/operations/signalRPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts +89 -0
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js +355 -0
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +35 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +132 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -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/{src/models/usagesMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalR.d.ts +138 -0
- package/dist-esm/src/operationsInterfaces/signalR.d.ts.map +1 -0
- package/{esm/models/usagesMappers.js → dist-esm/src/operationsInterfaces/signalR.js} +2 -2
- package/dist-esm/src/operationsInterfaces/signalR.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/usages.js} +2 -1
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/signalRManagementClient.d.ts +24 -0
- package/dist-esm/src/signalRManagementClient.d.ts.map +1 -0
- package/dist-esm/src/signalRManagementClient.js +57 -0
- package/dist-esm/src/signalRManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +77 -33
- package/review/arm-signalr.api.md +873 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +938 -1349
- package/src/models/mappers.ts +844 -731
- package/src/models/parameters.ts +99 -30
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +85 -73
- package/src/operations/signalR.ts +789 -484
- package/src/operations/signalRPrivateEndpointConnections.ts +269 -208
- package/src/operations/signalRPrivateLinkResources.ts +126 -86
- package/src/operations/signalRSharedPrivateLinkResources.ts +350 -201
- package/src/operations/usages.ts +105 -80
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/signalR.ts +248 -0
- package/src/operationsInterfaces/signalRPrivateEndpointConnections.ts +94 -0
- package/src/operationsInterfaces/signalRPrivateLinkResources.ts +30 -0
- package/src/operationsInterfaces/signalRSharedPrivateLinkResources.ts +117 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/signalRManagementClient.ts +92 -44
- package/tsconfig.json +5 -4
- package/types/arm-signalr.d.ts +1549 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-signalr.js +0 -3220
- package/dist/arm-signalr.js.map +0 -1
- package/dist/arm-signalr.min.js +0 -1
- package/dist/arm-signalr.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -1552
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -51
- 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 +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -100
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/signalRMappers.d.ts +0 -2
- package/esm/models/signalRMappers.d.ts.map +0 -1
- package/esm/models/signalRMappers.js +0 -9
- package/esm/models/signalRMappers.js.map +0 -1
- package/esm/models/signalRPrivateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/signalRPrivateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/signalRPrivateEndpointConnectionsMappers.js +0 -9
- package/esm/models/signalRPrivateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/signalRPrivateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/signalRPrivateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/signalRPrivateLinkResourcesMappers.js +0 -9
- package/esm/models/signalRPrivateLinkResourcesMappers.js.map +0 -1
- package/esm/models/signalRSharedPrivateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/signalRSharedPrivateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/signalRSharedPrivateLinkResourcesMappers.js +0 -9
- package/esm/models/signalRSharedPrivateLinkResourcesMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.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 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/signalR.d.ts +0 -253
- package/esm/operations/signalR.d.ts.map +0 -1
- package/esm/operations/signalR.js +0 -519
- package/esm/operations/signalR.js.map +0 -1
- package/esm/operations/signalRPrivateEndpointConnections.d.ts +0 -133
- package/esm/operations/signalRPrivateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/signalRPrivateEndpointConnections.js +0 -213
- package/esm/operations/signalRPrivateEndpointConnections.js.map +0 -1
- package/esm/operations/signalRPrivateLinkResources.d.ts +0 -55
- package/esm/operations/signalRPrivateLinkResources.d.ts.map +0 -1
- package/esm/operations/signalRPrivateLinkResources.js +0 -86
- package/esm/operations/signalRPrivateLinkResources.js.map +0 -1
- package/esm/operations/signalRSharedPrivateLinkResources.d.ts +0 -125
- package/esm/operations/signalRSharedPrivateLinkResources.d.ts.map +0 -1
- package/esm/operations/signalRSharedPrivateLinkResources.js +0 -240
- package/esm/operations/signalRSharedPrivateLinkResources.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -49
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -84
- package/esm/operations/usages.js.map +0 -1
- package/esm/signalRManagementClient.d.ts +0 -30
- package/esm/signalRManagementClient.d.ts.map +0 -1
- package/esm/signalRManagementClient.js +0 -43
- package/esm/signalRManagementClient.js.map +0 -1
- package/esm/signalRManagementClientContext.d.ts +0 -23
- package/esm/signalRManagementClientContext.d.ts.map +0 -1
- package/esm/signalRManagementClientContext.js +0 -61
- package/esm/signalRManagementClientContext.js.map +0 -1
- package/src/models/operationsMappers.ts +0 -21
- package/src/models/signalRMappers.ts +0 -44
- package/src/models/signalRPrivateEndpointConnectionsMappers.ts +0 -40
- package/src/models/signalRPrivateLinkResourcesMappers.ts +0 -40
- package/src/models/signalRSharedPrivateLinkResourcesMappers.ts +0 -40
- package/src/signalRManagementClientContext.ts +0 -68
|
@@ -3,92 +3,136 @@
|
|
|
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 { SignalRPrivateEndpointConnections } 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 { SignalRManagementClient } from "../signalRManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
PrivateEndpointConnection,
|
|
19
|
+
SignalRPrivateEndpointConnectionsListNextOptionalParams,
|
|
20
|
+
SignalRPrivateEndpointConnectionsListOptionalParams,
|
|
21
|
+
SignalRPrivateEndpointConnectionsListResponse,
|
|
22
|
+
SignalRPrivateEndpointConnectionsGetOptionalParams,
|
|
23
|
+
SignalRPrivateEndpointConnectionsGetResponse,
|
|
24
|
+
SignalRPrivateEndpointConnectionsUpdateOptionalParams,
|
|
25
|
+
SignalRPrivateEndpointConnectionsUpdateResponse,
|
|
26
|
+
SignalRPrivateEndpointConnectionsDeleteOptionalParams,
|
|
27
|
+
SignalRPrivateEndpointConnectionsListNextResponse
|
|
28
|
+
} from "../models";
|
|
16
29
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
|
31
|
+
/** Class containing SignalRPrivateEndpointConnections operations. */
|
|
32
|
+
export class SignalRPrivateEndpointConnectionsImpl
|
|
33
|
+
implements SignalRPrivateEndpointConnections {
|
|
34
|
+
private readonly client: SignalRManagementClient;
|
|
20
35
|
|
|
21
36
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
37
|
+
* Initialize a new instance of the class SignalRPrivateEndpointConnections class.
|
|
38
|
+
* @param client Reference to the service client
|
|
24
39
|
*/
|
|
25
|
-
constructor(client:
|
|
40
|
+
constructor(client: SignalRManagementClient) {
|
|
26
41
|
this.client = client;
|
|
27
42
|
}
|
|
28
43
|
|
|
29
44
|
/**
|
|
30
45
|
* List private endpoint connections
|
|
31
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
32
|
-
*
|
|
46
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
47
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
33
48
|
* @param resourceName The name of the resource.
|
|
34
|
-
* @param
|
|
35
|
-
* @returns Promise<Models.SignalRPrivateEndpointConnectionsListResponse>
|
|
49
|
+
* @param options The options parameters.
|
|
36
50
|
*/
|
|
37
|
-
list(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
public list(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
resourceName: string,
|
|
54
|
+
options?: SignalRPrivateEndpointConnectionsListOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection> {
|
|
56
|
+
const iter = this.listPagingAll(resourceGroupName, resourceName, options);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
60
|
+
},
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: () => {
|
|
65
|
+
return this.listPagingPage(resourceGroupName, resourceName, options);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private async *listPagingPage(
|
|
71
|
+
resourceGroupName: string,
|
|
72
|
+
resourceName: string,
|
|
73
|
+
options?: SignalRPrivateEndpointConnectionsListOptionalParams
|
|
74
|
+
): AsyncIterableIterator<PrivateEndpointConnection[]> {
|
|
75
|
+
let result = await this._list(resourceGroupName, resourceName, options);
|
|
76
|
+
yield result.value || [];
|
|
77
|
+
let continuationToken = result.nextLink;
|
|
78
|
+
while (continuationToken) {
|
|
79
|
+
result = await this._listNext(
|
|
56
80
|
resourceGroupName,
|
|
57
81
|
resourceName,
|
|
82
|
+
continuationToken,
|
|
58
83
|
options
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
84
|
+
);
|
|
85
|
+
continuationToken = result.nextLink;
|
|
86
|
+
yield result.value || [];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private async *listPagingAll(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
resourceName: string,
|
|
93
|
+
options?: SignalRPrivateEndpointConnectionsListOptionalParams
|
|
94
|
+
): AsyncIterableIterator<PrivateEndpointConnection> {
|
|
95
|
+
for await (const page of this.listPagingPage(
|
|
96
|
+
resourceGroupName,
|
|
97
|
+
resourceName,
|
|
98
|
+
options
|
|
99
|
+
)) {
|
|
100
|
+
yield* page;
|
|
101
|
+
}
|
|
62
102
|
}
|
|
63
103
|
|
|
64
104
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @param
|
|
67
|
-
*
|
|
68
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
69
|
-
* @param resourceName The name of the resource.
|
|
70
|
-
* @param [options] The optional parameters
|
|
71
|
-
* @returns Promise<Models.SignalRPrivateEndpointConnectionsGetResponse>
|
|
72
|
-
*/
|
|
73
|
-
get(privateEndpointConnectionName: string, resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SignalRPrivateEndpointConnectionsGetResponse>;
|
|
74
|
-
/**
|
|
75
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
76
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
77
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
105
|
+
* List private endpoint connections
|
|
106
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
107
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
78
108
|
* @param resourceName The name of the resource.
|
|
79
|
-
* @param
|
|
109
|
+
* @param options The options parameters.
|
|
80
110
|
*/
|
|
81
|
-
|
|
111
|
+
private _list(
|
|
112
|
+
resourceGroupName: string,
|
|
113
|
+
resourceName: string,
|
|
114
|
+
options?: SignalRPrivateEndpointConnectionsListOptionalParams
|
|
115
|
+
): Promise<SignalRPrivateEndpointConnectionsListResponse> {
|
|
116
|
+
return this.client.sendOperationRequest(
|
|
117
|
+
{ resourceGroupName, resourceName, options },
|
|
118
|
+
listOperationSpec
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
82
122
|
/**
|
|
123
|
+
* Get the specified private endpoint connection
|
|
83
124
|
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
84
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
85
|
-
*
|
|
125
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
126
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
86
127
|
* @param resourceName The name of the resource.
|
|
87
|
-
* @param options The
|
|
88
|
-
* @param callback The callback
|
|
128
|
+
* @param options The options parameters.
|
|
89
129
|
*/
|
|
90
|
-
get(
|
|
91
|
-
|
|
130
|
+
get(
|
|
131
|
+
privateEndpointConnectionName: string,
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
resourceName: string,
|
|
134
|
+
options?: SignalRPrivateEndpointConnectionsGetOptionalParams
|
|
135
|
+
): Promise<SignalRPrivateEndpointConnectionsGetResponse> {
|
|
92
136
|
return this.client.sendOperationRequest(
|
|
93
137
|
{
|
|
94
138
|
privateEndpointConnectionName,
|
|
@@ -96,133 +140,157 @@ export class SignalRPrivateEndpointConnections {
|
|
|
96
140
|
resourceName,
|
|
97
141
|
options
|
|
98
142
|
},
|
|
99
|
-
getOperationSpec
|
|
100
|
-
|
|
143
|
+
getOperationSpec
|
|
144
|
+
);
|
|
101
145
|
}
|
|
102
146
|
|
|
103
147
|
/**
|
|
104
148
|
* Update the state of specified private endpoint connection
|
|
105
149
|
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
106
|
-
* @param
|
|
107
|
-
*
|
|
108
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
150
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
151
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
109
152
|
* @param resourceName The name of the resource.
|
|
110
|
-
* @param [options] The optional parameters
|
|
111
|
-
* @returns Promise<Models.SignalRPrivateEndpointConnectionsUpdateResponse>
|
|
112
|
-
*/
|
|
113
|
-
update(privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SignalRPrivateEndpointConnectionsUpdateResponse>;
|
|
114
|
-
/**
|
|
115
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
116
|
-
* @param parameters The resource of private endpoint and its properties
|
|
117
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
118
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
119
|
-
* @param resourceName The name of the resource.
|
|
120
|
-
* @param callback The callback
|
|
121
|
-
*/
|
|
122
|
-
update(privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
|
|
123
|
-
/**
|
|
124
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
125
153
|
* @param parameters The resource of private endpoint and its properties
|
|
126
|
-
* @param
|
|
127
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
128
|
-
* @param resourceName The name of the resource.
|
|
129
|
-
* @param options The optional parameters
|
|
130
|
-
* @param callback The callback
|
|
154
|
+
* @param options The options parameters.
|
|
131
155
|
*/
|
|
132
|
-
update(
|
|
133
|
-
|
|
156
|
+
update(
|
|
157
|
+
privateEndpointConnectionName: string,
|
|
158
|
+
resourceGroupName: string,
|
|
159
|
+
resourceName: string,
|
|
160
|
+
parameters: PrivateEndpointConnection,
|
|
161
|
+
options?: SignalRPrivateEndpointConnectionsUpdateOptionalParams
|
|
162
|
+
): Promise<SignalRPrivateEndpointConnectionsUpdateResponse> {
|
|
134
163
|
return this.client.sendOperationRequest(
|
|
135
164
|
{
|
|
136
165
|
privateEndpointConnectionName,
|
|
137
|
-
parameters,
|
|
138
166
|
resourceGroupName,
|
|
139
167
|
resourceName,
|
|
168
|
+
parameters,
|
|
140
169
|
options
|
|
141
170
|
},
|
|
142
|
-
updateOperationSpec
|
|
143
|
-
|
|
171
|
+
updateOperationSpec
|
|
172
|
+
);
|
|
144
173
|
}
|
|
145
174
|
|
|
146
175
|
/**
|
|
147
176
|
* Delete the specified private endpoint connection
|
|
148
177
|
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
149
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
150
|
-
*
|
|
178
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
179
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
151
180
|
* @param resourceName The name of the resource.
|
|
152
|
-
* @param
|
|
153
|
-
* @returns Promise<msRest.RestResponse>
|
|
181
|
+
* @param options The options parameters.
|
|
154
182
|
*/
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
183
|
+
async beginDelete(
|
|
184
|
+
privateEndpointConnectionName: string,
|
|
185
|
+
resourceGroupName: string,
|
|
186
|
+
resourceName: string,
|
|
187
|
+
options?: SignalRPrivateEndpointConnectionsDeleteOptionalParams
|
|
188
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
189
|
+
const directSendOperation = async (
|
|
190
|
+
args: coreClient.OperationArguments,
|
|
191
|
+
spec: coreClient.OperationSpec
|
|
192
|
+
): Promise<void> => {
|
|
193
|
+
return this.client.sendOperationRequest(args, spec);
|
|
194
|
+
};
|
|
195
|
+
const sendOperation = async (
|
|
196
|
+
args: coreClient.OperationArguments,
|
|
197
|
+
spec: coreClient.OperationSpec
|
|
198
|
+
) => {
|
|
199
|
+
let currentRawResponse:
|
|
200
|
+
| coreClient.FullOperationResponse
|
|
201
|
+
| undefined = undefined;
|
|
202
|
+
const providedCallback = args.options?.onResponse;
|
|
203
|
+
const callback: coreClient.RawResponseCallback = (
|
|
204
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
205
|
+
flatResponse: unknown
|
|
206
|
+
) => {
|
|
207
|
+
currentRawResponse = rawResponse;
|
|
208
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
209
|
+
};
|
|
210
|
+
const updatedArgs = {
|
|
211
|
+
...args,
|
|
212
|
+
options: {
|
|
213
|
+
...args.options,
|
|
214
|
+
onResponse: callback
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
218
|
+
return {
|
|
219
|
+
flatResponse,
|
|
220
|
+
rawResponse: {
|
|
221
|
+
statusCode: currentRawResponse!.status,
|
|
222
|
+
body: currentRawResponse!.parsedBody,
|
|
223
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
};
|
|
159
227
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
163
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
164
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
165
|
-
* @param resourceName The name of the resource.
|
|
166
|
-
* @param [options] The optional parameters
|
|
167
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
168
|
-
*/
|
|
169
|
-
beginDeleteMethod(privateEndpointConnectionName: string, resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
170
|
-
return this.client.sendLRORequest(
|
|
228
|
+
const lro = new LroImpl(
|
|
229
|
+
sendOperation,
|
|
171
230
|
{
|
|
172
231
|
privateEndpointConnectionName,
|
|
173
232
|
resourceGroupName,
|
|
174
233
|
resourceName,
|
|
175
234
|
options
|
|
176
235
|
},
|
|
177
|
-
|
|
178
|
-
|
|
236
|
+
deleteOperationSpec
|
|
237
|
+
);
|
|
238
|
+
return new LroEngine(lro, {
|
|
239
|
+
resumeFrom: options?.resumeFrom,
|
|
240
|
+
intervalInMs: options?.updateIntervalInMs
|
|
241
|
+
});
|
|
179
242
|
}
|
|
180
243
|
|
|
181
244
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @param
|
|
184
|
-
* @param
|
|
185
|
-
*
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
190
|
-
* @param callback The callback
|
|
245
|
+
* Delete the specified private endpoint connection
|
|
246
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
247
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
248
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
249
|
+
* @param resourceName The name of the resource.
|
|
250
|
+
* @param options The options parameters.
|
|
191
251
|
*/
|
|
192
|
-
|
|
252
|
+
async beginDeleteAndWait(
|
|
253
|
+
privateEndpointConnectionName: string,
|
|
254
|
+
resourceGroupName: string,
|
|
255
|
+
resourceName: string,
|
|
256
|
+
options?: SignalRPrivateEndpointConnectionsDeleteOptionalParams
|
|
257
|
+
): Promise<void> {
|
|
258
|
+
const poller = await this.beginDelete(
|
|
259
|
+
privateEndpointConnectionName,
|
|
260
|
+
resourceGroupName,
|
|
261
|
+
resourceName,
|
|
262
|
+
options
|
|
263
|
+
);
|
|
264
|
+
return poller.pollUntilDone();
|
|
265
|
+
}
|
|
266
|
+
|
|
193
267
|
/**
|
|
194
|
-
*
|
|
195
|
-
* @param
|
|
196
|
-
*
|
|
268
|
+
* ListNext
|
|
269
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
270
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
271
|
+
* @param resourceName The name of the resource.
|
|
272
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
273
|
+
* @param options The options parameters.
|
|
197
274
|
*/
|
|
198
|
-
|
|
199
|
-
|
|
275
|
+
private _listNext(
|
|
276
|
+
resourceGroupName: string,
|
|
277
|
+
resourceName: string,
|
|
278
|
+
nextLink: string,
|
|
279
|
+
options?: SignalRPrivateEndpointConnectionsListNextOptionalParams
|
|
280
|
+
): Promise<SignalRPrivateEndpointConnectionsListNextResponse> {
|
|
200
281
|
return this.client.sendOperationRequest(
|
|
201
|
-
{
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
},
|
|
205
|
-
listNextOperationSpec,
|
|
206
|
-
callback) as Promise<Models.SignalRPrivateEndpointConnectionsListNextResponse>;
|
|
282
|
+
{ resourceGroupName, resourceName, nextLink, options },
|
|
283
|
+
listNextOperationSpec
|
|
284
|
+
);
|
|
207
285
|
}
|
|
208
286
|
}
|
|
209
|
-
|
|
210
287
|
// Operation Specifications
|
|
211
|
-
const serializer =
|
|
212
|
-
|
|
288
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
289
|
+
|
|
290
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
291
|
+
path:
|
|
292
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections",
|
|
213
293
|
httpMethod: "GET",
|
|
214
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections",
|
|
215
|
-
urlParameters: [
|
|
216
|
-
Parameters.subscriptionId,
|
|
217
|
-
Parameters.resourceGroupName,
|
|
218
|
-
Parameters.resourceName
|
|
219
|
-
],
|
|
220
|
-
queryParameters: [
|
|
221
|
-
Parameters.apiVersion
|
|
222
|
-
],
|
|
223
|
-
headerParameters: [
|
|
224
|
-
Parameters.acceptLanguage
|
|
225
|
-
],
|
|
226
294
|
responses: {
|
|
227
295
|
200: {
|
|
228
296
|
bodyMapper: Mappers.PrivateEndpointConnectionList
|
|
@@ -231,24 +299,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
231
299
|
bodyMapper: Mappers.ErrorResponse
|
|
232
300
|
}
|
|
233
301
|
},
|
|
234
|
-
|
|
235
|
-
};
|
|
236
|
-
|
|
237
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
238
|
-
httpMethod: "GET",
|
|
239
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
302
|
+
queryParameters: [Parameters.apiVersion],
|
|
240
303
|
urlParameters: [
|
|
241
|
-
Parameters
|
|
304
|
+
Parameters.$host,
|
|
242
305
|
Parameters.subscriptionId,
|
|
243
306
|
Parameters.resourceGroupName,
|
|
244
307
|
Parameters.resourceName
|
|
245
308
|
],
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
309
|
+
headerParameters: [Parameters.accept],
|
|
310
|
+
serializer
|
|
311
|
+
};
|
|
312
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
313
|
+
path:
|
|
314
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
315
|
+
httpMethod: "GET",
|
|
252
316
|
responses: {
|
|
253
317
|
200: {
|
|
254
318
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
@@ -257,31 +321,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
257
321
|
bodyMapper: Mappers.ErrorResponse
|
|
258
322
|
}
|
|
259
323
|
},
|
|
260
|
-
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
264
|
-
httpMethod: "PUT",
|
|
265
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
324
|
+
queryParameters: [Parameters.apiVersion],
|
|
266
325
|
urlParameters: [
|
|
267
|
-
Parameters
|
|
326
|
+
Parameters.$host,
|
|
268
327
|
Parameters.subscriptionId,
|
|
269
328
|
Parameters.resourceGroupName,
|
|
270
|
-
Parameters.resourceName
|
|
271
|
-
|
|
272
|
-
queryParameters: [
|
|
273
|
-
Parameters.apiVersion
|
|
274
|
-
],
|
|
275
|
-
headerParameters: [
|
|
276
|
-
Parameters.acceptLanguage
|
|
329
|
+
Parameters.resourceName,
|
|
330
|
+
Parameters.privateEndpointConnectionName
|
|
277
331
|
],
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
|
|
332
|
+
headerParameters: [Parameters.accept],
|
|
333
|
+
serializer
|
|
334
|
+
};
|
|
335
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
336
|
+
path:
|
|
337
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
338
|
+
httpMethod: "PUT",
|
|
285
339
|
responses: {
|
|
286
340
|
200: {
|
|
287
341
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
@@ -290,48 +344,46 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
|
290
344
|
bodyMapper: Mappers.ErrorResponse
|
|
291
345
|
}
|
|
292
346
|
},
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
297
|
-
httpMethod: "DELETE",
|
|
298
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
347
|
+
requestBody: Parameters.parameters3,
|
|
348
|
+
queryParameters: [Parameters.apiVersion],
|
|
299
349
|
urlParameters: [
|
|
300
|
-
Parameters
|
|
350
|
+
Parameters.$host,
|
|
301
351
|
Parameters.subscriptionId,
|
|
302
352
|
Parameters.resourceGroupName,
|
|
303
|
-
Parameters.resourceName
|
|
304
|
-
|
|
305
|
-
queryParameters: [
|
|
306
|
-
Parameters.apiVersion
|
|
307
|
-
],
|
|
308
|
-
headerParameters: [
|
|
309
|
-
Parameters.acceptLanguage
|
|
353
|
+
Parameters.resourceName,
|
|
354
|
+
Parameters.privateEndpointConnectionName
|
|
310
355
|
],
|
|
356
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
357
|
+
mediaType: "json",
|
|
358
|
+
serializer
|
|
359
|
+
};
|
|
360
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
361
|
+
path:
|
|
362
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
363
|
+
httpMethod: "DELETE",
|
|
311
364
|
responses: {
|
|
312
365
|
200: {},
|
|
366
|
+
201: {},
|
|
313
367
|
202: {},
|
|
314
368
|
204: {},
|
|
315
369
|
default: {
|
|
316
370
|
bodyMapper: Mappers.ErrorResponse
|
|
317
371
|
}
|
|
318
372
|
},
|
|
373
|
+
queryParameters: [Parameters.apiVersion],
|
|
374
|
+
urlParameters: [
|
|
375
|
+
Parameters.$host,
|
|
376
|
+
Parameters.subscriptionId,
|
|
377
|
+
Parameters.resourceGroupName,
|
|
378
|
+
Parameters.resourceName,
|
|
379
|
+
Parameters.privateEndpointConnectionName
|
|
380
|
+
],
|
|
381
|
+
headerParameters: [Parameters.accept],
|
|
319
382
|
serializer
|
|
320
383
|
};
|
|
321
|
-
|
|
322
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
323
|
-
httpMethod: "GET",
|
|
324
|
-
baseUrl: "https://management.azure.com",
|
|
384
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
325
385
|
path: "{nextLink}",
|
|
326
|
-
|
|
327
|
-
Parameters.nextPageLink
|
|
328
|
-
],
|
|
329
|
-
queryParameters: [
|
|
330
|
-
Parameters.apiVersion
|
|
331
|
-
],
|
|
332
|
-
headerParameters: [
|
|
333
|
-
Parameters.acceptLanguage
|
|
334
|
-
],
|
|
386
|
+
httpMethod: "GET",
|
|
335
387
|
responses: {
|
|
336
388
|
200: {
|
|
337
389
|
bodyMapper: Mappers.PrivateEndpointConnectionList
|
|
@@ -340,5 +392,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
340
392
|
bodyMapper: Mappers.ErrorResponse
|
|
341
393
|
}
|
|
342
394
|
},
|
|
395
|
+
queryParameters: [Parameters.apiVersion],
|
|
396
|
+
urlParameters: [
|
|
397
|
+
Parameters.$host,
|
|
398
|
+
Parameters.nextLink,
|
|
399
|
+
Parameters.subscriptionId,
|
|
400
|
+
Parameters.resourceGroupName,
|
|
401
|
+
Parameters.resourceName
|
|
402
|
+
],
|
|
403
|
+
headerParameters: [Parameters.accept],
|
|
343
404
|
serializer
|
|
344
405
|
};
|