@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
package/src/operations/usages.ts
CHANGED
|
@@ -3,100 +3,121 @@
|
|
|
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
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Usages } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { SignalRManagementClient } from "../signalRManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
SignalRUsage,
|
|
17
|
+
UsagesListNextOptionalParams,
|
|
18
|
+
UsagesListOptionalParams,
|
|
19
|
+
UsagesListResponse,
|
|
20
|
+
UsagesListNextResponse
|
|
21
|
+
} from "../models";
|
|
15
22
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Class containing Usages operations. */
|
|
25
|
+
export class UsagesImpl implements Usages {
|
|
26
|
+
private readonly client: SignalRManagementClient;
|
|
19
27
|
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
29
|
+
* Initialize a new instance of the class Usages class.
|
|
30
|
+
* @param client Reference to the service client
|
|
23
31
|
*/
|
|
24
|
-
constructor(client:
|
|
32
|
+
constructor(client: SignalRManagementClient) {
|
|
25
33
|
this.client = client;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
/**
|
|
29
37
|
* List resource usage quotas by location.
|
|
30
38
|
* @param location the location like "eastus"
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.UsagesListResponse>
|
|
39
|
+
* @param options The options parameters.
|
|
33
40
|
*/
|
|
34
|
-
list(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SignalRUsageList>): void;
|
|
46
|
-
list(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SignalRUsageList>, callback?: msRest.ServiceCallback<Models.SignalRUsageList>): Promise<Models.UsagesListResponse> {
|
|
47
|
-
return this.client.sendOperationRequest(
|
|
48
|
-
{
|
|
49
|
-
location,
|
|
50
|
-
options
|
|
41
|
+
public list(
|
|
42
|
+
location: string,
|
|
43
|
+
options?: UsagesListOptionalParams
|
|
44
|
+
): PagedAsyncIterableIterator<SignalRUsage> {
|
|
45
|
+
const iter = this.listPagingAll(location, options);
|
|
46
|
+
return {
|
|
47
|
+
next() {
|
|
48
|
+
return iter.next();
|
|
49
|
+
},
|
|
50
|
+
[Symbol.asyncIterator]() {
|
|
51
|
+
return this;
|
|
51
52
|
},
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
byPage: () => {
|
|
54
|
+
return this.listPagingPage(location, options);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
private async *listPagingPage(
|
|
60
|
+
location: string,
|
|
61
|
+
options?: UsagesListOptionalParams
|
|
62
|
+
): AsyncIterableIterator<SignalRUsage[]> {
|
|
63
|
+
let result = await this._list(location, options);
|
|
64
|
+
yield result.value || [];
|
|
65
|
+
let continuationToken = result.nextLink;
|
|
66
|
+
while (continuationToken) {
|
|
67
|
+
result = await this._listNext(location, continuationToken, options);
|
|
68
|
+
continuationToken = result.nextLink;
|
|
69
|
+
yield result.value || [];
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
private async *listPagingAll(
|
|
74
|
+
location: string,
|
|
75
|
+
options?: UsagesListOptionalParams
|
|
76
|
+
): AsyncIterableIterator<SignalRUsage> {
|
|
77
|
+
for await (const page of this.listPagingPage(location, options)) {
|
|
78
|
+
yield* page;
|
|
79
|
+
}
|
|
54
80
|
}
|
|
55
81
|
|
|
56
82
|
/**
|
|
57
83
|
* List resource usage quotas by location.
|
|
58
|
-
* @param
|
|
59
|
-
* @param
|
|
60
|
-
* @returns Promise<Models.UsagesListNextResponse>
|
|
61
|
-
*/
|
|
62
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.UsagesListNextResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
65
|
-
* @param callback The callback
|
|
84
|
+
* @param location the location like "eastus"
|
|
85
|
+
* @param options The options parameters.
|
|
66
86
|
*/
|
|
67
|
-
|
|
87
|
+
private _list(
|
|
88
|
+
location: string,
|
|
89
|
+
options?: UsagesListOptionalParams
|
|
90
|
+
): Promise<UsagesListResponse> {
|
|
91
|
+
return this.client.sendOperationRequest(
|
|
92
|
+
{ location, options },
|
|
93
|
+
listOperationSpec
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
68
97
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @param
|
|
71
|
-
* @param
|
|
98
|
+
* ListNext
|
|
99
|
+
* @param location the location like "eastus"
|
|
100
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
101
|
+
* @param options The options parameters.
|
|
72
102
|
*/
|
|
73
|
-
|
|
74
|
-
|
|
103
|
+
private _listNext(
|
|
104
|
+
location: string,
|
|
105
|
+
nextLink: string,
|
|
106
|
+
options?: UsagesListNextOptionalParams
|
|
107
|
+
): Promise<UsagesListNextResponse> {
|
|
75
108
|
return this.client.sendOperationRequest(
|
|
76
|
-
{
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
listNextOperationSpec,
|
|
81
|
-
callback) as Promise<Models.UsagesListNextResponse>;
|
|
109
|
+
{ location, nextLink, options },
|
|
110
|
+
listNextOperationSpec
|
|
111
|
+
);
|
|
82
112
|
}
|
|
83
113
|
}
|
|
84
|
-
|
|
85
114
|
// Operation Specifications
|
|
86
|
-
const serializer =
|
|
87
|
-
|
|
115
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
116
|
+
|
|
117
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
118
|
+
path:
|
|
119
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages",
|
|
88
120
|
httpMethod: "GET",
|
|
89
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages",
|
|
90
|
-
urlParameters: [
|
|
91
|
-
Parameters.location,
|
|
92
|
-
Parameters.subscriptionId
|
|
93
|
-
],
|
|
94
|
-
queryParameters: [
|
|
95
|
-
Parameters.apiVersion
|
|
96
|
-
],
|
|
97
|
-
headerParameters: [
|
|
98
|
-
Parameters.acceptLanguage
|
|
99
|
-
],
|
|
100
121
|
responses: {
|
|
101
122
|
200: {
|
|
102
123
|
bodyMapper: Mappers.SignalRUsageList
|
|
@@ -105,22 +126,18 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
105
126
|
bodyMapper: Mappers.ErrorResponse
|
|
106
127
|
}
|
|
107
128
|
},
|
|
129
|
+
queryParameters: [Parameters.apiVersion],
|
|
130
|
+
urlParameters: [
|
|
131
|
+
Parameters.$host,
|
|
132
|
+
Parameters.location,
|
|
133
|
+
Parameters.subscriptionId
|
|
134
|
+
],
|
|
135
|
+
headerParameters: [Parameters.accept],
|
|
108
136
|
serializer
|
|
109
137
|
};
|
|
110
|
-
|
|
111
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
112
|
-
httpMethod: "GET",
|
|
113
|
-
baseUrl: "https://management.azure.com",
|
|
138
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
114
139
|
path: "{nextLink}",
|
|
115
|
-
|
|
116
|
-
Parameters.nextPageLink
|
|
117
|
-
],
|
|
118
|
-
queryParameters: [
|
|
119
|
-
Parameters.apiVersion
|
|
120
|
-
],
|
|
121
|
-
headerParameters: [
|
|
122
|
-
Parameters.acceptLanguage
|
|
123
|
-
],
|
|
140
|
+
httpMethod: "GET",
|
|
124
141
|
responses: {
|
|
125
142
|
200: {
|
|
126
143
|
bodyMapper: Mappers.SignalRUsageList
|
|
@@ -129,5 +146,13 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
129
146
|
bodyMapper: Mappers.ErrorResponse
|
|
130
147
|
}
|
|
131
148
|
},
|
|
149
|
+
queryParameters: [Parameters.apiVersion],
|
|
150
|
+
urlParameters: [
|
|
151
|
+
Parameters.$host,
|
|
152
|
+
Parameters.nextLink,
|
|
153
|
+
Parameters.location,
|
|
154
|
+
Parameters.subscriptionId
|
|
155
|
+
],
|
|
156
|
+
headerParameters: [Parameters.accept],
|
|
132
157
|
serializer
|
|
133
158
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export * from "./operations";
|
|
10
|
+
export * from "./signalR";
|
|
11
|
+
export * from "./usages";
|
|
12
|
+
export * from "./signalRPrivateEndpointConnections";
|
|
13
|
+
export * from "./signalRPrivateLinkResources";
|
|
14
|
+
export * from "./signalRSharedPrivateLinkResources";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* Lists all of the available REST API operations of the Microsoft.SignalRService provider.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
SignalRResource,
|
|
13
|
+
SignalRListBySubscriptionOptionalParams,
|
|
14
|
+
SignalRListByResourceGroupOptionalParams,
|
|
15
|
+
NameAvailabilityParameters,
|
|
16
|
+
SignalRCheckNameAvailabilityOptionalParams,
|
|
17
|
+
SignalRCheckNameAvailabilityResponse,
|
|
18
|
+
SignalRGetOptionalParams,
|
|
19
|
+
SignalRGetResponse,
|
|
20
|
+
SignalRCreateOrUpdateOptionalParams,
|
|
21
|
+
SignalRCreateOrUpdateResponse,
|
|
22
|
+
SignalRDeleteOptionalParams,
|
|
23
|
+
SignalRUpdateOptionalParams,
|
|
24
|
+
SignalRUpdateResponse,
|
|
25
|
+
SignalRListKeysOptionalParams,
|
|
26
|
+
SignalRListKeysResponse,
|
|
27
|
+
RegenerateKeyParameters,
|
|
28
|
+
SignalRRegenerateKeyOptionalParams,
|
|
29
|
+
SignalRRegenerateKeyResponse,
|
|
30
|
+
SignalRRestartOptionalParams,
|
|
31
|
+
SignalRListSkusOptionalParams,
|
|
32
|
+
SignalRListSkusResponse
|
|
33
|
+
} from "../models";
|
|
34
|
+
|
|
35
|
+
/// <reference lib="esnext.asynciterable" />
|
|
36
|
+
/** Interface representing a SignalR. */
|
|
37
|
+
export interface SignalR {
|
|
38
|
+
/**
|
|
39
|
+
* Handles requests to list all resources in a subscription.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
listBySubscription(
|
|
43
|
+
options?: SignalRListBySubscriptionOptionalParams
|
|
44
|
+
): PagedAsyncIterableIterator<SignalRResource>;
|
|
45
|
+
/**
|
|
46
|
+
* Handles requests to list all resources in a resource group.
|
|
47
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
48
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
listByResourceGroup(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
options?: SignalRListByResourceGroupOptionalParams
|
|
54
|
+
): PagedAsyncIterableIterator<SignalRResource>;
|
|
55
|
+
/**
|
|
56
|
+
* Checks that the resource name is valid and is not already in use.
|
|
57
|
+
* @param location the region
|
|
58
|
+
* @param parameters Parameters supplied to the operation.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
checkNameAvailability(
|
|
62
|
+
location: string,
|
|
63
|
+
parameters: NameAvailabilityParameters,
|
|
64
|
+
options?: SignalRCheckNameAvailabilityOptionalParams
|
|
65
|
+
): Promise<SignalRCheckNameAvailabilityResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Get the resource and its properties.
|
|
68
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
69
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
70
|
+
* @param resourceName The name of the resource.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
get(
|
|
74
|
+
resourceGroupName: string,
|
|
75
|
+
resourceName: string,
|
|
76
|
+
options?: SignalRGetOptionalParams
|
|
77
|
+
): Promise<SignalRGetResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Create or update a resource.
|
|
80
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
81
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
82
|
+
* @param resourceName The name of the resource.
|
|
83
|
+
* @param parameters Parameters for the create or update operation
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
beginCreateOrUpdate(
|
|
87
|
+
resourceGroupName: string,
|
|
88
|
+
resourceName: string,
|
|
89
|
+
parameters: SignalRResource,
|
|
90
|
+
options?: SignalRCreateOrUpdateOptionalParams
|
|
91
|
+
): Promise<
|
|
92
|
+
PollerLike<
|
|
93
|
+
PollOperationState<SignalRCreateOrUpdateResponse>,
|
|
94
|
+
SignalRCreateOrUpdateResponse
|
|
95
|
+
>
|
|
96
|
+
>;
|
|
97
|
+
/**
|
|
98
|
+
* Create or update a resource.
|
|
99
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
100
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
101
|
+
* @param resourceName The name of the resource.
|
|
102
|
+
* @param parameters Parameters for the create or update operation
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
beginCreateOrUpdateAndWait(
|
|
106
|
+
resourceGroupName: string,
|
|
107
|
+
resourceName: string,
|
|
108
|
+
parameters: SignalRResource,
|
|
109
|
+
options?: SignalRCreateOrUpdateOptionalParams
|
|
110
|
+
): Promise<SignalRCreateOrUpdateResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* Operation to delete a resource.
|
|
113
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
114
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
115
|
+
* @param resourceName The name of the resource.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
beginDelete(
|
|
119
|
+
resourceGroupName: string,
|
|
120
|
+
resourceName: string,
|
|
121
|
+
options?: SignalRDeleteOptionalParams
|
|
122
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
123
|
+
/**
|
|
124
|
+
* Operation to delete a 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.
|
|
127
|
+
* @param resourceName The name of the resource.
|
|
128
|
+
* @param options The options parameters.
|
|
129
|
+
*/
|
|
130
|
+
beginDeleteAndWait(
|
|
131
|
+
resourceGroupName: string,
|
|
132
|
+
resourceName: string,
|
|
133
|
+
options?: SignalRDeleteOptionalParams
|
|
134
|
+
): Promise<void>;
|
|
135
|
+
/**
|
|
136
|
+
* Operation to update an exiting resource.
|
|
137
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
138
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
139
|
+
* @param resourceName The name of the resource.
|
|
140
|
+
* @param parameters Parameters for the update operation
|
|
141
|
+
* @param options The options parameters.
|
|
142
|
+
*/
|
|
143
|
+
beginUpdate(
|
|
144
|
+
resourceGroupName: string,
|
|
145
|
+
resourceName: string,
|
|
146
|
+
parameters: SignalRResource,
|
|
147
|
+
options?: SignalRUpdateOptionalParams
|
|
148
|
+
): Promise<
|
|
149
|
+
PollerLike<PollOperationState<SignalRUpdateResponse>, SignalRUpdateResponse>
|
|
150
|
+
>;
|
|
151
|
+
/**
|
|
152
|
+
* Operation to update an exiting resource.
|
|
153
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
154
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
155
|
+
* @param resourceName The name of the resource.
|
|
156
|
+
* @param parameters Parameters for the update operation
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
beginUpdateAndWait(
|
|
160
|
+
resourceGroupName: string,
|
|
161
|
+
resourceName: string,
|
|
162
|
+
parameters: SignalRResource,
|
|
163
|
+
options?: SignalRUpdateOptionalParams
|
|
164
|
+
): Promise<SignalRUpdateResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* Get the access keys of the resource.
|
|
167
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
168
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
169
|
+
* @param resourceName The name of the resource.
|
|
170
|
+
* @param options The options parameters.
|
|
171
|
+
*/
|
|
172
|
+
listKeys(
|
|
173
|
+
resourceGroupName: string,
|
|
174
|
+
resourceName: string,
|
|
175
|
+
options?: SignalRListKeysOptionalParams
|
|
176
|
+
): Promise<SignalRListKeysResponse>;
|
|
177
|
+
/**
|
|
178
|
+
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
|
|
179
|
+
* same time.
|
|
180
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
181
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
182
|
+
* @param resourceName The name of the resource.
|
|
183
|
+
* @param parameters Parameter that describes the Regenerate Key Operation.
|
|
184
|
+
* @param options The options parameters.
|
|
185
|
+
*/
|
|
186
|
+
beginRegenerateKey(
|
|
187
|
+
resourceGroupName: string,
|
|
188
|
+
resourceName: string,
|
|
189
|
+
parameters: RegenerateKeyParameters,
|
|
190
|
+
options?: SignalRRegenerateKeyOptionalParams
|
|
191
|
+
): Promise<
|
|
192
|
+
PollerLike<
|
|
193
|
+
PollOperationState<SignalRRegenerateKeyResponse>,
|
|
194
|
+
SignalRRegenerateKeyResponse
|
|
195
|
+
>
|
|
196
|
+
>;
|
|
197
|
+
/**
|
|
198
|
+
* Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the
|
|
199
|
+
* same time.
|
|
200
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
201
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
202
|
+
* @param resourceName The name of the resource.
|
|
203
|
+
* @param parameters Parameter that describes the Regenerate Key Operation.
|
|
204
|
+
* @param options The options parameters.
|
|
205
|
+
*/
|
|
206
|
+
beginRegenerateKeyAndWait(
|
|
207
|
+
resourceGroupName: string,
|
|
208
|
+
resourceName: string,
|
|
209
|
+
parameters: RegenerateKeyParameters,
|
|
210
|
+
options?: SignalRRegenerateKeyOptionalParams
|
|
211
|
+
): Promise<SignalRRegenerateKeyResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* Operation to restart a resource.
|
|
214
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
215
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
216
|
+
* @param resourceName The name of the resource.
|
|
217
|
+
* @param options The options parameters.
|
|
218
|
+
*/
|
|
219
|
+
beginRestart(
|
|
220
|
+
resourceGroupName: string,
|
|
221
|
+
resourceName: string,
|
|
222
|
+
options?: SignalRRestartOptionalParams
|
|
223
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
224
|
+
/**
|
|
225
|
+
* Operation to restart a resource.
|
|
226
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
227
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
228
|
+
* @param resourceName The name of the resource.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
beginRestartAndWait(
|
|
232
|
+
resourceGroupName: string,
|
|
233
|
+
resourceName: string,
|
|
234
|
+
options?: SignalRRestartOptionalParams
|
|
235
|
+
): Promise<void>;
|
|
236
|
+
/**
|
|
237
|
+
* List all available skus of the resource.
|
|
238
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
239
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
240
|
+
* @param resourceName The name of the resource.
|
|
241
|
+
* @param options The options parameters.
|
|
242
|
+
*/
|
|
243
|
+
listSkus(
|
|
244
|
+
resourceGroupName: string,
|
|
245
|
+
resourceName: string,
|
|
246
|
+
options?: SignalRListSkusOptionalParams
|
|
247
|
+
): Promise<SignalRListSkusResponse>;
|
|
248
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
PrivateEndpointConnection,
|
|
13
|
+
SignalRPrivateEndpointConnectionsListOptionalParams,
|
|
14
|
+
SignalRPrivateEndpointConnectionsGetOptionalParams,
|
|
15
|
+
SignalRPrivateEndpointConnectionsGetResponse,
|
|
16
|
+
SignalRPrivateEndpointConnectionsUpdateOptionalParams,
|
|
17
|
+
SignalRPrivateEndpointConnectionsUpdateResponse,
|
|
18
|
+
SignalRPrivateEndpointConnectionsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a SignalRPrivateEndpointConnections. */
|
|
23
|
+
export interface SignalRPrivateEndpointConnections {
|
|
24
|
+
/**
|
|
25
|
+
* List private endpoint connections
|
|
26
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
27
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
28
|
+
* @param resourceName The name of the resource.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(
|
|
32
|
+
resourceGroupName: string,
|
|
33
|
+
resourceName: string,
|
|
34
|
+
options?: SignalRPrivateEndpointConnectionsListOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
36
|
+
/**
|
|
37
|
+
* Get the specified private endpoint connection
|
|
38
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
39
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
40
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
41
|
+
* @param resourceName The name of the resource.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
get(
|
|
45
|
+
privateEndpointConnectionName: string,
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
resourceName: string,
|
|
48
|
+
options?: SignalRPrivateEndpointConnectionsGetOptionalParams
|
|
49
|
+
): Promise<SignalRPrivateEndpointConnectionsGetResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Update the state of specified private endpoint connection
|
|
52
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
53
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
54
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
55
|
+
* @param resourceName The name of the resource.
|
|
56
|
+
* @param parameters The resource of private endpoint and its properties
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
update(
|
|
60
|
+
privateEndpointConnectionName: string,
|
|
61
|
+
resourceGroupName: string,
|
|
62
|
+
resourceName: string,
|
|
63
|
+
parameters: PrivateEndpointConnection,
|
|
64
|
+
options?: SignalRPrivateEndpointConnectionsUpdateOptionalParams
|
|
65
|
+
): Promise<SignalRPrivateEndpointConnectionsUpdateResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Delete the specified private endpoint connection
|
|
68
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
69
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
70
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
71
|
+
* @param resourceName The name of the resource.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
beginDelete(
|
|
75
|
+
privateEndpointConnectionName: string,
|
|
76
|
+
resourceGroupName: string,
|
|
77
|
+
resourceName: string,
|
|
78
|
+
options?: SignalRPrivateEndpointConnectionsDeleteOptionalParams
|
|
79
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
80
|
+
/**
|
|
81
|
+
* Delete the specified private endpoint connection
|
|
82
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
83
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
84
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
85
|
+
* @param resourceName The name of the resource.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
beginDeleteAndWait(
|
|
89
|
+
privateEndpointConnectionName: string,
|
|
90
|
+
resourceGroupName: string,
|
|
91
|
+
resourceName: string,
|
|
92
|
+
options?: SignalRPrivateEndpointConnectionsDeleteOptionalParams
|
|
93
|
+
): Promise<void>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PrivateLinkResource,
|
|
12
|
+
SignalRPrivateLinkResourcesListOptionalParams
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Interface representing a SignalRPrivateLinkResources. */
|
|
17
|
+
export interface SignalRPrivateLinkResources {
|
|
18
|
+
/**
|
|
19
|
+
* Get the private link resources that need to be created for a resource.
|
|
20
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
21
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
22
|
+
* @param resourceName The name of the resource.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(
|
|
26
|
+
resourceGroupName: string,
|
|
27
|
+
resourceName: string,
|
|
28
|
+
options?: SignalRPrivateLinkResourcesListOptionalParams
|
|
29
|
+
): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
30
|
+
}
|