@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,221 +3,371 @@
|
|
|
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 { SignalRSharedPrivateLinkResources } 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
|
+
SharedPrivateLinkResource,
|
|
19
|
+
SignalRSharedPrivateLinkResourcesListNextOptionalParams,
|
|
20
|
+
SignalRSharedPrivateLinkResourcesListOptionalParams,
|
|
21
|
+
SignalRSharedPrivateLinkResourcesListResponse,
|
|
22
|
+
SignalRSharedPrivateLinkResourcesGetOptionalParams,
|
|
23
|
+
SignalRSharedPrivateLinkResourcesGetResponse,
|
|
24
|
+
SignalRSharedPrivateLinkResourcesCreateOrUpdateOptionalParams,
|
|
25
|
+
SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse,
|
|
26
|
+
SignalRSharedPrivateLinkResourcesDeleteOptionalParams,
|
|
27
|
+
SignalRSharedPrivateLinkResourcesListNextResponse
|
|
28
|
+
} from "../models";
|
|
16
29
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
|
31
|
+
/** Class containing SignalRSharedPrivateLinkResources operations. */
|
|
32
|
+
export class SignalRSharedPrivateLinkResourcesImpl
|
|
33
|
+
implements SignalRSharedPrivateLinkResources {
|
|
34
|
+
private readonly client: SignalRManagementClient;
|
|
20
35
|
|
|
21
36
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
37
|
+
* Initialize a new instance of the class SignalRSharedPrivateLinkResources 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 shared private link resources
|
|
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.SignalRSharedPrivateLinkResourcesListResponse>
|
|
49
|
+
* @param options The options parameters.
|
|
36
50
|
*/
|
|
37
|
-
list(
|
|
51
|
+
public list(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
resourceName: string,
|
|
54
|
+
options?: SignalRSharedPrivateLinkResourcesListOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<SharedPrivateLinkResource> {
|
|
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?: SignalRSharedPrivateLinkResourcesListOptionalParams
|
|
74
|
+
): AsyncIterableIterator<SharedPrivateLinkResource[]> {
|
|
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(
|
|
80
|
+
resourceGroupName,
|
|
81
|
+
resourceName,
|
|
82
|
+
continuationToken,
|
|
83
|
+
options
|
|
84
|
+
);
|
|
85
|
+
continuationToken = result.nextLink;
|
|
86
|
+
yield result.value || [];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private async *listPagingAll(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
resourceName: string,
|
|
93
|
+
options?: SignalRSharedPrivateLinkResourcesListOptionalParams
|
|
94
|
+
): AsyncIterableIterator<SharedPrivateLinkResource> {
|
|
95
|
+
for await (const page of this.listPagingPage(
|
|
96
|
+
resourceGroupName,
|
|
97
|
+
resourceName,
|
|
98
|
+
options
|
|
99
|
+
)) {
|
|
100
|
+
yield* page;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
38
104
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
105
|
+
* List shared private link resources
|
|
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.
|
|
41
108
|
* @param resourceName The name of the resource.
|
|
42
|
-
* @param
|
|
109
|
+
* @param options The options parameters.
|
|
43
110
|
*/
|
|
44
|
-
|
|
111
|
+
private _list(
|
|
112
|
+
resourceGroupName: string,
|
|
113
|
+
resourceName: string,
|
|
114
|
+
options?: SignalRSharedPrivateLinkResourcesListOptionalParams
|
|
115
|
+
): Promise<SignalRSharedPrivateLinkResourcesListResponse> {
|
|
116
|
+
return this.client.sendOperationRequest(
|
|
117
|
+
{ resourceGroupName, resourceName, options },
|
|
118
|
+
listOperationSpec
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
45
122
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
123
|
+
* Get the specified shared private link resource
|
|
124
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
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.
|
|
48
127
|
* @param resourceName The name of the resource.
|
|
49
|
-
* @param options The
|
|
50
|
-
* @param callback The callback
|
|
128
|
+
* @param options The options parameters.
|
|
51
129
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
130
|
+
get(
|
|
131
|
+
sharedPrivateLinkResourceName: string,
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
resourceName: string,
|
|
134
|
+
options?: SignalRSharedPrivateLinkResourcesGetOptionalParams
|
|
135
|
+
): Promise<SignalRSharedPrivateLinkResourcesGetResponse> {
|
|
54
136
|
return this.client.sendOperationRequest(
|
|
55
137
|
{
|
|
138
|
+
sharedPrivateLinkResourceName,
|
|
56
139
|
resourceGroupName,
|
|
57
140
|
resourceName,
|
|
58
141
|
options
|
|
59
142
|
},
|
|
60
|
-
|
|
61
|
-
|
|
143
|
+
getOperationSpec
|
|
144
|
+
);
|
|
62
145
|
}
|
|
63
146
|
|
|
64
147
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
67
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
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.SignalRSharedPrivateLinkResourcesGetResponse>
|
|
72
|
-
*/
|
|
73
|
-
get(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SignalRSharedPrivateLinkResourcesGetResponse>;
|
|
74
|
-
/**
|
|
75
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
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.
|
|
78
|
-
* @param resourceName The name of the resource.
|
|
79
|
-
* @param callback The callback
|
|
80
|
-
*/
|
|
81
|
-
get(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResource>): void;
|
|
82
|
-
/**
|
|
148
|
+
* Create or update a shared private link resource
|
|
83
149
|
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
84
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
85
|
-
*
|
|
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.
|
|
86
152
|
* @param resourceName The name of the resource.
|
|
87
|
-
* @param
|
|
88
|
-
* @param
|
|
153
|
+
* @param parameters The shared private link resource
|
|
154
|
+
* @param options The options parameters.
|
|
89
155
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
156
|
+
async beginCreateOrUpdate(
|
|
157
|
+
sharedPrivateLinkResourceName: string,
|
|
158
|
+
resourceGroupName: string,
|
|
159
|
+
resourceName: string,
|
|
160
|
+
parameters: SharedPrivateLinkResource,
|
|
161
|
+
options?: SignalRSharedPrivateLinkResourcesCreateOrUpdateOptionalParams
|
|
162
|
+
): Promise<
|
|
163
|
+
PollerLike<
|
|
164
|
+
PollOperationState<
|
|
165
|
+
SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse
|
|
166
|
+
>,
|
|
167
|
+
SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse
|
|
168
|
+
>
|
|
169
|
+
> {
|
|
170
|
+
const directSendOperation = async (
|
|
171
|
+
args: coreClient.OperationArguments,
|
|
172
|
+
spec: coreClient.OperationSpec
|
|
173
|
+
): Promise<SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse> => {
|
|
174
|
+
return this.client.sendOperationRequest(args, spec);
|
|
175
|
+
};
|
|
176
|
+
const sendOperation = async (
|
|
177
|
+
args: coreClient.OperationArguments,
|
|
178
|
+
spec: coreClient.OperationSpec
|
|
179
|
+
) => {
|
|
180
|
+
let currentRawResponse:
|
|
181
|
+
| coreClient.FullOperationResponse
|
|
182
|
+
| undefined = undefined;
|
|
183
|
+
const providedCallback = args.options?.onResponse;
|
|
184
|
+
const callback: coreClient.RawResponseCallback = (
|
|
185
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
186
|
+
flatResponse: unknown
|
|
187
|
+
) => {
|
|
188
|
+
currentRawResponse = rawResponse;
|
|
189
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
190
|
+
};
|
|
191
|
+
const updatedArgs = {
|
|
192
|
+
...args,
|
|
193
|
+
options: {
|
|
194
|
+
...args.options,
|
|
195
|
+
onResponse: callback
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
199
|
+
return {
|
|
200
|
+
flatResponse,
|
|
201
|
+
rawResponse: {
|
|
202
|
+
statusCode: currentRawResponse!.status,
|
|
203
|
+
body: currentRawResponse!.parsedBody,
|
|
204
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
const lro = new LroImpl(
|
|
210
|
+
sendOperation,
|
|
93
211
|
{
|
|
94
212
|
sharedPrivateLinkResourceName,
|
|
95
213
|
resourceGroupName,
|
|
96
214
|
resourceName,
|
|
215
|
+
parameters,
|
|
97
216
|
options
|
|
98
217
|
},
|
|
99
|
-
|
|
100
|
-
|
|
218
|
+
createOrUpdateOperationSpec
|
|
219
|
+
);
|
|
220
|
+
return new LroEngine(lro, {
|
|
221
|
+
resumeFrom: options?.resumeFrom,
|
|
222
|
+
intervalInMs: options?.updateIntervalInMs
|
|
223
|
+
});
|
|
101
224
|
}
|
|
102
225
|
|
|
103
226
|
/**
|
|
104
227
|
* Create or update a shared private link resource
|
|
105
228
|
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
106
|
-
* @param
|
|
107
|
-
*
|
|
108
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
229
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
230
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
109
231
|
* @param resourceName The name of the resource.
|
|
110
|
-
* @param
|
|
111
|
-
* @
|
|
232
|
+
* @param parameters The shared private link resource
|
|
233
|
+
* @param options The options parameters.
|
|
112
234
|
*/
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
235
|
+
async beginCreateOrUpdateAndWait(
|
|
236
|
+
sharedPrivateLinkResourceName: string,
|
|
237
|
+
resourceGroupName: string,
|
|
238
|
+
resourceName: string,
|
|
239
|
+
parameters: SharedPrivateLinkResource,
|
|
240
|
+
options?: SignalRSharedPrivateLinkResourcesCreateOrUpdateOptionalParams
|
|
241
|
+
): Promise<SignalRSharedPrivateLinkResourcesCreateOrUpdateResponse> {
|
|
242
|
+
const poller = await this.beginCreateOrUpdate(
|
|
243
|
+
sharedPrivateLinkResourceName,
|
|
244
|
+
resourceGroupName,
|
|
245
|
+
resourceName,
|
|
246
|
+
parameters,
|
|
247
|
+
options
|
|
248
|
+
);
|
|
249
|
+
return poller.pollUntilDone();
|
|
116
250
|
}
|
|
117
251
|
|
|
118
252
|
/**
|
|
119
253
|
* Delete the specified shared private link resource
|
|
120
254
|
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
121
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
122
|
-
*
|
|
255
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
256
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
123
257
|
* @param resourceName The name of the resource.
|
|
124
|
-
* @param
|
|
125
|
-
* @returns Promise<msRest.RestResponse>
|
|
258
|
+
* @param options The options parameters.
|
|
126
259
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
260
|
+
async beginDelete(
|
|
261
|
+
sharedPrivateLinkResourceName: string,
|
|
262
|
+
resourceGroupName: string,
|
|
263
|
+
resourceName: string,
|
|
264
|
+
options?: SignalRSharedPrivateLinkResourcesDeleteOptionalParams
|
|
265
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
266
|
+
const directSendOperation = async (
|
|
267
|
+
args: coreClient.OperationArguments,
|
|
268
|
+
spec: coreClient.OperationSpec
|
|
269
|
+
): Promise<void> => {
|
|
270
|
+
return this.client.sendOperationRequest(args, spec);
|
|
271
|
+
};
|
|
272
|
+
const sendOperation = async (
|
|
273
|
+
args: coreClient.OperationArguments,
|
|
274
|
+
spec: coreClient.OperationSpec
|
|
275
|
+
) => {
|
|
276
|
+
let currentRawResponse:
|
|
277
|
+
| coreClient.FullOperationResponse
|
|
278
|
+
| undefined = undefined;
|
|
279
|
+
const providedCallback = args.options?.onResponse;
|
|
280
|
+
const callback: coreClient.RawResponseCallback = (
|
|
281
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
282
|
+
flatResponse: unknown
|
|
283
|
+
) => {
|
|
284
|
+
currentRawResponse = rawResponse;
|
|
285
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
286
|
+
};
|
|
287
|
+
const updatedArgs = {
|
|
288
|
+
...args,
|
|
289
|
+
options: {
|
|
290
|
+
...args.options,
|
|
291
|
+
onResponse: callback
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
295
|
+
return {
|
|
296
|
+
flatResponse,
|
|
297
|
+
rawResponse: {
|
|
298
|
+
statusCode: currentRawResponse!.status,
|
|
299
|
+
body: currentRawResponse!.parsedBody,
|
|
300
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
};
|
|
131
304
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
135
|
-
* @param parameters The shared private link resource
|
|
136
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
137
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
138
|
-
* @param resourceName The name of the resource.
|
|
139
|
-
* @param [options] The optional parameters
|
|
140
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
141
|
-
*/
|
|
142
|
-
beginCreateOrUpdate(sharedPrivateLinkResourceName: string, parameters: Models.SharedPrivateLinkResource, resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
143
|
-
return this.client.sendLRORequest(
|
|
305
|
+
const lro = new LroImpl(
|
|
306
|
+
sendOperation,
|
|
144
307
|
{
|
|
145
308
|
sharedPrivateLinkResourceName,
|
|
146
|
-
parameters,
|
|
147
309
|
resourceGroupName,
|
|
148
310
|
resourceName,
|
|
149
311
|
options
|
|
150
312
|
},
|
|
151
|
-
|
|
152
|
-
|
|
313
|
+
deleteOperationSpec
|
|
314
|
+
);
|
|
315
|
+
return new LroEngine(lro, {
|
|
316
|
+
resumeFrom: options?.resumeFrom,
|
|
317
|
+
intervalInMs: options?.updateIntervalInMs
|
|
318
|
+
});
|
|
153
319
|
}
|
|
154
320
|
|
|
155
321
|
/**
|
|
156
322
|
* Delete the specified shared private link resource
|
|
157
323
|
* @param sharedPrivateLinkResourceName The name of the shared private link resource
|
|
158
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can
|
|
159
|
-
*
|
|
324
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
325
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
160
326
|
* @param resourceName The name of the resource.
|
|
161
|
-
* @param
|
|
162
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
327
|
+
* @param options The options parameters.
|
|
163
328
|
*/
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
329
|
+
async beginDeleteAndWait(
|
|
330
|
+
sharedPrivateLinkResourceName: string,
|
|
331
|
+
resourceGroupName: string,
|
|
332
|
+
resourceName: string,
|
|
333
|
+
options?: SignalRSharedPrivateLinkResourcesDeleteOptionalParams
|
|
334
|
+
): Promise<void> {
|
|
335
|
+
const poller = await this.beginDelete(
|
|
336
|
+
sharedPrivateLinkResourceName,
|
|
337
|
+
resourceGroupName,
|
|
338
|
+
resourceName,
|
|
339
|
+
options
|
|
340
|
+
);
|
|
341
|
+
return poller.pollUntilDone();
|
|
174
342
|
}
|
|
175
343
|
|
|
176
344
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @param
|
|
179
|
-
*
|
|
180
|
-
* @
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
185
|
-
* @param callback The callback
|
|
186
|
-
*/
|
|
187
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResourceList>): void;
|
|
188
|
-
/**
|
|
189
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
190
|
-
* @param options The optional parameters
|
|
191
|
-
* @param callback The callback
|
|
345
|
+
* ListNext
|
|
346
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
347
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
348
|
+
* @param resourceName The name of the resource.
|
|
349
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
350
|
+
* @param options The options parameters.
|
|
192
351
|
*/
|
|
193
|
-
|
|
194
|
-
|
|
352
|
+
private _listNext(
|
|
353
|
+
resourceGroupName: string,
|
|
354
|
+
resourceName: string,
|
|
355
|
+
nextLink: string,
|
|
356
|
+
options?: SignalRSharedPrivateLinkResourcesListNextOptionalParams
|
|
357
|
+
): Promise<SignalRSharedPrivateLinkResourcesListNextResponse> {
|
|
195
358
|
return this.client.sendOperationRequest(
|
|
196
|
-
{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
},
|
|
200
|
-
listNextOperationSpec,
|
|
201
|
-
callback) as Promise<Models.SignalRSharedPrivateLinkResourcesListNextResponse>;
|
|
359
|
+
{ resourceGroupName, resourceName, nextLink, options },
|
|
360
|
+
listNextOperationSpec
|
|
361
|
+
);
|
|
202
362
|
}
|
|
203
363
|
}
|
|
204
|
-
|
|
205
364
|
// Operation Specifications
|
|
206
|
-
const serializer =
|
|
207
|
-
|
|
365
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
366
|
+
|
|
367
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
368
|
+
path:
|
|
369
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources",
|
|
208
370
|
httpMethod: "GET",
|
|
209
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources",
|
|
210
|
-
urlParameters: [
|
|
211
|
-
Parameters.subscriptionId,
|
|
212
|
-
Parameters.resourceGroupName,
|
|
213
|
-
Parameters.resourceName
|
|
214
|
-
],
|
|
215
|
-
queryParameters: [
|
|
216
|
-
Parameters.apiVersion
|
|
217
|
-
],
|
|
218
|
-
headerParameters: [
|
|
219
|
-
Parameters.acceptLanguage
|
|
220
|
-
],
|
|
221
371
|
responses: {
|
|
222
372
|
200: {
|
|
223
373
|
bodyMapper: Mappers.SharedPrivateLinkResourceList
|
|
@@ -226,24 +376,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
226
376
|
bodyMapper: Mappers.ErrorResponse
|
|
227
377
|
}
|
|
228
378
|
},
|
|
229
|
-
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
233
|
-
httpMethod: "GET",
|
|
234
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
379
|
+
queryParameters: [Parameters.apiVersion],
|
|
235
380
|
urlParameters: [
|
|
236
|
-
Parameters
|
|
381
|
+
Parameters.$host,
|
|
237
382
|
Parameters.subscriptionId,
|
|
238
383
|
Parameters.resourceGroupName,
|
|
239
384
|
Parameters.resourceName
|
|
240
385
|
],
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
386
|
+
headerParameters: [Parameters.accept],
|
|
387
|
+
serializer
|
|
388
|
+
};
|
|
389
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
390
|
+
path:
|
|
391
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
392
|
+
httpMethod: "GET",
|
|
247
393
|
responses: {
|
|
248
394
|
200: {
|
|
249
395
|
bodyMapper: Mappers.SharedPrivateLinkResource
|
|
@@ -252,31 +398,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
252
398
|
bodyMapper: Mappers.ErrorResponse
|
|
253
399
|
}
|
|
254
400
|
},
|
|
255
|
-
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
259
|
-
httpMethod: "PUT",
|
|
260
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
401
|
+
queryParameters: [Parameters.apiVersion],
|
|
261
402
|
urlParameters: [
|
|
262
|
-
Parameters
|
|
403
|
+
Parameters.$host,
|
|
263
404
|
Parameters.subscriptionId,
|
|
264
405
|
Parameters.resourceGroupName,
|
|
265
|
-
Parameters.resourceName
|
|
266
|
-
|
|
267
|
-
queryParameters: [
|
|
268
|
-
Parameters.apiVersion
|
|
406
|
+
Parameters.resourceName,
|
|
407
|
+
Parameters.sharedPrivateLinkResourceName
|
|
269
408
|
],
|
|
270
|
-
headerParameters: [
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
required: true
|
|
278
|
-
}
|
|
279
|
-
},
|
|
409
|
+
headerParameters: [Parameters.accept],
|
|
410
|
+
serializer
|
|
411
|
+
};
|
|
412
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
413
|
+
path:
|
|
414
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
415
|
+
httpMethod: "PUT",
|
|
280
416
|
responses: {
|
|
281
417
|
200: {
|
|
282
418
|
bodyMapper: Mappers.SharedPrivateLinkResource
|
|
@@ -284,52 +420,56 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
284
420
|
201: {
|
|
285
421
|
bodyMapper: Mappers.SharedPrivateLinkResource
|
|
286
422
|
},
|
|
423
|
+
202: {
|
|
424
|
+
bodyMapper: Mappers.SharedPrivateLinkResource
|
|
425
|
+
},
|
|
426
|
+
204: {
|
|
427
|
+
bodyMapper: Mappers.SharedPrivateLinkResource
|
|
428
|
+
},
|
|
287
429
|
default: {
|
|
288
430
|
bodyMapper: Mappers.ErrorResponse
|
|
289
431
|
}
|
|
290
432
|
},
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
295
|
-
httpMethod: "DELETE",
|
|
296
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
433
|
+
requestBody: Parameters.parameters4,
|
|
434
|
+
queryParameters: [Parameters.apiVersion],
|
|
297
435
|
urlParameters: [
|
|
298
|
-
Parameters
|
|
436
|
+
Parameters.$host,
|
|
299
437
|
Parameters.subscriptionId,
|
|
300
438
|
Parameters.resourceGroupName,
|
|
301
|
-
Parameters.resourceName
|
|
302
|
-
|
|
303
|
-
queryParameters: [
|
|
304
|
-
Parameters.apiVersion
|
|
305
|
-
],
|
|
306
|
-
headerParameters: [
|
|
307
|
-
Parameters.acceptLanguage
|
|
439
|
+
Parameters.resourceName,
|
|
440
|
+
Parameters.sharedPrivateLinkResourceName
|
|
308
441
|
],
|
|
442
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
443
|
+
mediaType: "json",
|
|
444
|
+
serializer
|
|
445
|
+
};
|
|
446
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
447
|
+
path:
|
|
448
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
449
|
+
httpMethod: "DELETE",
|
|
309
450
|
responses: {
|
|
310
451
|
200: {},
|
|
452
|
+
201: {},
|
|
311
453
|
202: {},
|
|
312
454
|
204: {},
|
|
313
455
|
default: {
|
|
314
456
|
bodyMapper: Mappers.ErrorResponse
|
|
315
457
|
}
|
|
316
458
|
},
|
|
459
|
+
queryParameters: [Parameters.apiVersion],
|
|
460
|
+
urlParameters: [
|
|
461
|
+
Parameters.$host,
|
|
462
|
+
Parameters.subscriptionId,
|
|
463
|
+
Parameters.resourceGroupName,
|
|
464
|
+
Parameters.resourceName,
|
|
465
|
+
Parameters.sharedPrivateLinkResourceName
|
|
466
|
+
],
|
|
467
|
+
headerParameters: [Parameters.accept],
|
|
317
468
|
serializer
|
|
318
469
|
};
|
|
319
|
-
|
|
320
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
321
|
-
httpMethod: "GET",
|
|
322
|
-
baseUrl: "https://management.azure.com",
|
|
470
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
323
471
|
path: "{nextLink}",
|
|
324
|
-
|
|
325
|
-
Parameters.nextPageLink
|
|
326
|
-
],
|
|
327
|
-
queryParameters: [
|
|
328
|
-
Parameters.apiVersion
|
|
329
|
-
],
|
|
330
|
-
headerParameters: [
|
|
331
|
-
Parameters.acceptLanguage
|
|
332
|
-
],
|
|
472
|
+
httpMethod: "GET",
|
|
333
473
|
responses: {
|
|
334
474
|
200: {
|
|
335
475
|
bodyMapper: Mappers.SharedPrivateLinkResourceList
|
|
@@ -338,5 +478,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
338
478
|
bodyMapper: Mappers.ErrorResponse
|
|
339
479
|
}
|
|
340
480
|
},
|
|
481
|
+
queryParameters: [Parameters.apiVersion],
|
|
482
|
+
urlParameters: [
|
|
483
|
+
Parameters.$host,
|
|
484
|
+
Parameters.nextLink,
|
|
485
|
+
Parameters.subscriptionId,
|
|
486
|
+
Parameters.resourceGroupName,
|
|
487
|
+
Parameters.resourceName
|
|
488
|
+
],
|
|
489
|
+
headerParameters: [Parameters.accept],
|
|
341
490
|
serializer
|
|
342
491
|
};
|