@azure/arm-webpubsub 1.0.1-alpha.20220105.1 → 1.0.1-alpha.20220128.2

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/dist/index.js CHANGED
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
6
6
  var tslib = require('tslib');
7
7
  var coreLro = require('@azure/core-lro');
8
8
 
9
+ function _interopNamespace(e) {
10
+ if (e && e.__esModule) return e;
11
+ var n = Object.create(null);
12
+ if (e) {
13
+ Object.keys(e).forEach(function (k) {
14
+ if (k !== 'default') {
15
+ var d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: function () { return e[k]; }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n["default"] = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
28
+
9
29
  /*
10
30
  * Copyright (c) Microsoft Corporation.
11
31
  * Licensed under the MIT License.
@@ -13,12 +33,16 @@ var coreLro = require('@azure/core-lro');
13
33
  * Code generated by Microsoft (R) AutoRest Code Generator.
14
34
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
15
35
  */
36
+ /** Known values of {@link WebPubSubSkuTier} that the service accepts. */
37
+ exports.KnownWebPubSubSkuTier = void 0;
16
38
  (function (KnownWebPubSubSkuTier) {
17
39
  KnownWebPubSubSkuTier["Free"] = "Free";
18
40
  KnownWebPubSubSkuTier["Basic"] = "Basic";
19
41
  KnownWebPubSubSkuTier["Standard"] = "Standard";
20
42
  KnownWebPubSubSkuTier["Premium"] = "Premium";
21
43
  })(exports.KnownWebPubSubSkuTier || (exports.KnownWebPubSubSkuTier = {}));
44
+ /** Known values of {@link ProvisioningState} that the service accepts. */
45
+ exports.KnownProvisioningState = void 0;
22
46
  (function (KnownProvisioningState) {
23
47
  KnownProvisioningState["Unknown"] = "Unknown";
24
48
  KnownProvisioningState["Succeeded"] = "Succeeded";
@@ -30,18 +54,24 @@ var coreLro = require('@azure/core-lro');
30
54
  KnownProvisioningState["Deleting"] = "Deleting";
31
55
  KnownProvisioningState["Moving"] = "Moving";
32
56
  })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
57
+ /** Known values of {@link CreatedByType} that the service accepts. */
58
+ exports.KnownCreatedByType = void 0;
33
59
  (function (KnownCreatedByType) {
34
60
  KnownCreatedByType["User"] = "User";
35
61
  KnownCreatedByType["Application"] = "Application";
36
62
  KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
37
63
  KnownCreatedByType["Key"] = "Key";
38
64
  })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
65
+ /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
66
+ exports.KnownPrivateLinkServiceConnectionStatus = void 0;
39
67
  (function (KnownPrivateLinkServiceConnectionStatus) {
40
68
  KnownPrivateLinkServiceConnectionStatus["Pending"] = "Pending";
41
69
  KnownPrivateLinkServiceConnectionStatus["Approved"] = "Approved";
42
70
  KnownPrivateLinkServiceConnectionStatus["Rejected"] = "Rejected";
43
71
  KnownPrivateLinkServiceConnectionStatus["Disconnected"] = "Disconnected";
44
72
  })(exports.KnownPrivateLinkServiceConnectionStatus || (exports.KnownPrivateLinkServiceConnectionStatus = {}));
73
+ /** Known values of {@link SharedPrivateLinkResourceStatus} that the service accepts. */
74
+ exports.KnownSharedPrivateLinkResourceStatus = void 0;
45
75
  (function (KnownSharedPrivateLinkResourceStatus) {
46
76
  KnownSharedPrivateLinkResourceStatus["Pending"] = "Pending";
47
77
  KnownSharedPrivateLinkResourceStatus["Approved"] = "Approved";
@@ -49,30 +79,42 @@ var coreLro = require('@azure/core-lro');
49
79
  KnownSharedPrivateLinkResourceStatus["Disconnected"] = "Disconnected";
50
80
  KnownSharedPrivateLinkResourceStatus["Timeout"] = "Timeout";
51
81
  })(exports.KnownSharedPrivateLinkResourceStatus || (exports.KnownSharedPrivateLinkResourceStatus = {}));
82
+ /** Known values of {@link ACLAction} that the service accepts. */
83
+ exports.KnownACLAction = void 0;
52
84
  (function (KnownACLAction) {
53
85
  KnownACLAction["Allow"] = "Allow";
54
86
  KnownACLAction["Deny"] = "Deny";
55
87
  })(exports.KnownACLAction || (exports.KnownACLAction = {}));
88
+ /** Known values of {@link WebPubSubRequestType} that the service accepts. */
89
+ exports.KnownWebPubSubRequestType = void 0;
56
90
  (function (KnownWebPubSubRequestType) {
57
91
  KnownWebPubSubRequestType["ClientConnection"] = "ClientConnection";
58
92
  KnownWebPubSubRequestType["ServerConnection"] = "ServerConnection";
59
93
  KnownWebPubSubRequestType["Restapi"] = "RESTAPI";
60
94
  KnownWebPubSubRequestType["Trace"] = "Trace";
61
95
  })(exports.KnownWebPubSubRequestType || (exports.KnownWebPubSubRequestType = {}));
96
+ /** Known values of {@link ManagedIdentityType} that the service accepts. */
97
+ exports.KnownManagedIdentityType = void 0;
62
98
  (function (KnownManagedIdentityType) {
63
99
  KnownManagedIdentityType["None"] = "None";
64
100
  KnownManagedIdentityType["SystemAssigned"] = "SystemAssigned";
65
101
  KnownManagedIdentityType["UserAssigned"] = "UserAssigned";
66
102
  })(exports.KnownManagedIdentityType || (exports.KnownManagedIdentityType = {}));
103
+ /** Known values of {@link UpstreamAuthType} that the service accepts. */
104
+ exports.KnownUpstreamAuthType = void 0;
67
105
  (function (KnownUpstreamAuthType) {
68
106
  KnownUpstreamAuthType["None"] = "None";
69
107
  KnownUpstreamAuthType["ManagedIdentity"] = "ManagedIdentity";
70
108
  })(exports.KnownUpstreamAuthType || (exports.KnownUpstreamAuthType = {}));
109
+ /** Known values of {@link KeyType} that the service accepts. */
110
+ exports.KnownKeyType = void 0;
71
111
  (function (KnownKeyType) {
72
112
  KnownKeyType["Primary"] = "Primary";
73
113
  KnownKeyType["Secondary"] = "Secondary";
74
114
  KnownKeyType["Salt"] = "Salt";
75
115
  })(exports.KnownKeyType || (exports.KnownKeyType = {}));
116
+ /** Known values of {@link ScaleType} that the service accepts. */
117
+ exports.KnownScaleType = void 0;
76
118
  (function (KnownScaleType) {
77
119
  KnownScaleType["None"] = "None";
78
120
  KnownScaleType["Manual"] = "Manual";
@@ -1983,7 +2025,7 @@ class OperationsImpl {
1983
2025
  * @param options The options parameters.
1984
2026
  */
1985
2027
  _list(options) {
1986
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2028
+ return this.client.sendOperationRequest({ options }, listOperationSpec$5);
1987
2029
  }
1988
2030
  /**
1989
2031
  * ListNext
@@ -1991,12 +2033,12 @@ class OperationsImpl {
1991
2033
  * @param options The options parameters.
1992
2034
  */
1993
2035
  _listNext(nextLink, options) {
1994
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
2036
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$5);
1995
2037
  }
1996
2038
  }
1997
2039
  // Operation Specifications
1998
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
1999
- const listOperationSpec = {
2040
+ const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2041
+ const listOperationSpec$5 = {
2000
2042
  path: "/providers/Microsoft.SignalRService/operations",
2001
2043
  httpMethod: "GET",
2002
2044
  responses: {
@@ -2010,9 +2052,9 @@ const listOperationSpec = {
2010
2052
  queryParameters: [apiVersion],
2011
2053
  urlParameters: [$host],
2012
2054
  headerParameters: [accept],
2013
- serializer
2055
+ serializer: serializer$6
2014
2056
  };
2015
- const listNextOperationSpec = {
2057
+ const listNextOperationSpec$5 = {
2016
2058
  path: "{nextLink}",
2017
2059
  httpMethod: "GET",
2018
2060
  responses: {
@@ -2026,7 +2068,7 @@ const listNextOperationSpec = {
2026
2068
  queryParameters: [apiVersion],
2027
2069
  urlParameters: [$host, nextLink],
2028
2070
  headerParameters: [accept],
2029
- serializer
2071
+ serializer: serializer$6
2030
2072
  };
2031
2073
 
2032
2074
  /*
@@ -2205,7 +2247,7 @@ class WebPubSubImpl {
2205
2247
  * @param options The options parameters.
2206
2248
  */
2207
2249
  get(resourceGroupName, resourceName, options) {
2208
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
2250
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$3);
2209
2251
  }
2210
2252
  /**
2211
2253
  * Create or update a resource.
@@ -2239,7 +2281,7 @@ class WebPubSubImpl {
2239
2281
  }
2240
2282
  };
2241
2283
  });
2242
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
2284
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec$2);
2243
2285
  return new coreLro.LroEngine(lro, {
2244
2286
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2245
2287
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2291,7 +2333,7 @@ class WebPubSubImpl {
2291
2333
  }
2292
2334
  };
2293
2335
  });
2294
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
2336
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec$3);
2295
2337
  return new coreLro.LroEngine(lro, {
2296
2338
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2297
2339
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2343,7 +2385,7 @@ class WebPubSubImpl {
2343
2385
  }
2344
2386
  };
2345
2387
  });
2346
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, updateOperationSpec);
2388
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, updateOperationSpec$1);
2347
2389
  return new coreLro.LroEngine(lro, {
2348
2390
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2349
2391
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2512,7 +2554,7 @@ class WebPubSubImpl {
2512
2554
  }
2513
2555
  }
2514
2556
  // Operation Specifications
2515
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
2557
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2516
2558
  const checkNameAvailabilityOperationSpec = {
2517
2559
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability",
2518
2560
  httpMethod: "POST",
@@ -2533,7 +2575,7 @@ const checkNameAvailabilityOperationSpec = {
2533
2575
  ],
2534
2576
  headerParameters: [accept, contentType],
2535
2577
  mediaType: "json",
2536
- serializer: serializer$1
2578
+ serializer: serializer$5
2537
2579
  };
2538
2580
  const listBySubscriptionOperationSpec = {
2539
2581
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/webPubSub",
@@ -2549,7 +2591,7 @@ const listBySubscriptionOperationSpec = {
2549
2591
  queryParameters: [apiVersion],
2550
2592
  urlParameters: [$host, subscriptionId],
2551
2593
  headerParameters: [accept],
2552
- serializer: serializer$1
2594
+ serializer: serializer$5
2553
2595
  };
2554
2596
  const listByResourceGroupOperationSpec = {
2555
2597
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub",
@@ -2569,9 +2611,9 @@ const listByResourceGroupOperationSpec = {
2569
2611
  resourceGroupName
2570
2612
  ],
2571
2613
  headerParameters: [accept],
2572
- serializer: serializer$1
2614
+ serializer: serializer$5
2573
2615
  };
2574
- const getOperationSpec = {
2616
+ const getOperationSpec$3 = {
2575
2617
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}",
2576
2618
  httpMethod: "GET",
2577
2619
  responses: {
@@ -2590,9 +2632,9 @@ const getOperationSpec = {
2590
2632
  resourceName
2591
2633
  ],
2592
2634
  headerParameters: [accept],
2593
- serializer: serializer$1
2635
+ serializer: serializer$5
2594
2636
  };
2595
- const createOrUpdateOperationSpec = {
2637
+ const createOrUpdateOperationSpec$2 = {
2596
2638
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}",
2597
2639
  httpMethod: "PUT",
2598
2640
  responses: {
@@ -2622,9 +2664,9 @@ const createOrUpdateOperationSpec = {
2622
2664
  ],
2623
2665
  headerParameters: [accept, contentType],
2624
2666
  mediaType: "json",
2625
- serializer: serializer$1
2667
+ serializer: serializer$5
2626
2668
  };
2627
- const deleteOperationSpec = {
2669
+ const deleteOperationSpec$3 = {
2628
2670
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}",
2629
2671
  httpMethod: "DELETE",
2630
2672
  responses: {
@@ -2644,9 +2686,9 @@ const deleteOperationSpec = {
2644
2686
  resourceName
2645
2687
  ],
2646
2688
  headerParameters: [accept],
2647
- serializer: serializer$1
2689
+ serializer: serializer$5
2648
2690
  };
2649
- const updateOperationSpec = {
2691
+ const updateOperationSpec$1 = {
2650
2692
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}",
2651
2693
  httpMethod: "PATCH",
2652
2694
  responses: {
@@ -2676,7 +2718,7 @@ const updateOperationSpec = {
2676
2718
  ],
2677
2719
  headerParameters: [accept, contentType],
2678
2720
  mediaType: "json",
2679
- serializer: serializer$1
2721
+ serializer: serializer$5
2680
2722
  };
2681
2723
  const listKeysOperationSpec = {
2682
2724
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/listKeys",
@@ -2697,7 +2739,7 @@ const listKeysOperationSpec = {
2697
2739
  resourceName
2698
2740
  ],
2699
2741
  headerParameters: [accept],
2700
- serializer: serializer$1
2742
+ serializer: serializer$5
2701
2743
  };
2702
2744
  const regenerateKeyOperationSpec = {
2703
2745
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/regenerateKey",
@@ -2729,7 +2771,7 @@ const regenerateKeyOperationSpec = {
2729
2771
  ],
2730
2772
  headerParameters: [accept, contentType],
2731
2773
  mediaType: "json",
2732
- serializer: serializer$1
2774
+ serializer: serializer$5
2733
2775
  };
2734
2776
  const restartOperationSpec = {
2735
2777
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/restart",
@@ -2751,7 +2793,7 @@ const restartOperationSpec = {
2751
2793
  resourceName
2752
2794
  ],
2753
2795
  headerParameters: [accept],
2754
- serializer: serializer$1
2796
+ serializer: serializer$5
2755
2797
  };
2756
2798
  const listSkusOperationSpec = {
2757
2799
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/skus",
@@ -2772,7 +2814,7 @@ const listSkusOperationSpec = {
2772
2814
  resourceName
2773
2815
  ],
2774
2816
  headerParameters: [accept],
2775
- serializer: serializer$1
2817
+ serializer: serializer$5
2776
2818
  };
2777
2819
  const listBySubscriptionNextOperationSpec = {
2778
2820
  path: "{nextLink}",
@@ -2792,7 +2834,7 @@ const listBySubscriptionNextOperationSpec = {
2792
2834
  subscriptionId
2793
2835
  ],
2794
2836
  headerParameters: [accept],
2795
- serializer: serializer$1
2837
+ serializer: serializer$5
2796
2838
  };
2797
2839
  const listByResourceGroupNextOperationSpec = {
2798
2840
  path: "{nextLink}",
@@ -2813,7 +2855,7 @@ const listByResourceGroupNextOperationSpec = {
2813
2855
  resourceGroupName
2814
2856
  ],
2815
2857
  headerParameters: [accept],
2816
- serializer: serializer$1
2858
+ serializer: serializer$5
2817
2859
  };
2818
2860
 
2819
2861
  /*
@@ -2888,7 +2930,7 @@ class UsagesImpl {
2888
2930
  * @param options The options parameters.
2889
2931
  */
2890
2932
  _list(location, options) {
2891
- return this.client.sendOperationRequest({ location, options }, listOperationSpec$1);
2933
+ return this.client.sendOperationRequest({ location, options }, listOperationSpec$4);
2892
2934
  }
2893
2935
  /**
2894
2936
  * ListNext
@@ -2897,12 +2939,12 @@ class UsagesImpl {
2897
2939
  * @param options The options parameters.
2898
2940
  */
2899
2941
  _listNext(location, nextLink, options) {
2900
- return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec$1);
2942
+ return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec$4);
2901
2943
  }
2902
2944
  }
2903
2945
  // Operation Specifications
2904
- const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
2905
- const listOperationSpec$1 = {
2946
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2947
+ const listOperationSpec$4 = {
2906
2948
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages",
2907
2949
  httpMethod: "GET",
2908
2950
  responses: {
@@ -2920,9 +2962,9 @@ const listOperationSpec$1 = {
2920
2962
  subscriptionId
2921
2963
  ],
2922
2964
  headerParameters: [accept],
2923
- serializer: serializer$2
2965
+ serializer: serializer$4
2924
2966
  };
2925
- const listNextOperationSpec$1 = {
2967
+ const listNextOperationSpec$4 = {
2926
2968
  path: "{nextLink}",
2927
2969
  httpMethod: "GET",
2928
2970
  responses: {
@@ -2941,7 +2983,7 @@ const listNextOperationSpec$1 = {
2941
2983
  subscriptionId
2942
2984
  ],
2943
2985
  headerParameters: [accept],
2944
- serializer: serializer$2
2986
+ serializer: serializer$4
2945
2987
  };
2946
2988
 
2947
2989
  /*
@@ -3020,7 +3062,7 @@ class WebPubSubHubsImpl {
3020
3062
  * @param options The options parameters.
3021
3063
  */
3022
3064
  _list(resourceGroupName, resourceName, options) {
3023
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$2);
3065
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$3);
3024
3066
  }
3025
3067
  /**
3026
3068
  * Get a hub setting.
@@ -3031,7 +3073,7 @@ class WebPubSubHubsImpl {
3031
3073
  * @param options The options parameters.
3032
3074
  */
3033
3075
  get(hubName, resourceGroupName, resourceName, options) {
3034
- return this.client.sendOperationRequest({ hubName, resourceGroupName, resourceName, options }, getOperationSpec$1);
3076
+ return this.client.sendOperationRequest({ hubName, resourceGroupName, resourceName, options }, getOperationSpec$2);
3035
3077
  }
3036
3078
  /**
3037
3079
  * Create or update a hub setting.
@@ -3120,7 +3162,7 @@ class WebPubSubHubsImpl {
3120
3162
  }
3121
3163
  };
3122
3164
  });
3123
- const lro = new LroImpl(sendOperation, { hubName, resourceGroupName, resourceName, options }, deleteOperationSpec$1);
3165
+ const lro = new LroImpl(sendOperation, { hubName, resourceGroupName, resourceName, options }, deleteOperationSpec$2);
3124
3166
  return new coreLro.LroEngine(lro, {
3125
3167
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3126
3168
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -3150,12 +3192,12 @@ class WebPubSubHubsImpl {
3150
3192
  * @param options The options parameters.
3151
3193
  */
3152
3194
  _listNext(resourceGroupName, resourceName, nextLink, options) {
3153
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$2);
3195
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$3);
3154
3196
  }
3155
3197
  }
3156
3198
  // Operation Specifications
3157
- const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
3158
- const listOperationSpec$2 = {
3199
+ const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3200
+ const listOperationSpec$3 = {
3159
3201
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs",
3160
3202
  httpMethod: "GET",
3161
3203
  responses: {
@@ -3176,7 +3218,7 @@ const listOperationSpec$2 = {
3176
3218
  headerParameters: [accept],
3177
3219
  serializer: serializer$3
3178
3220
  };
3179
- const getOperationSpec$1 = {
3221
+ const getOperationSpec$2 = {
3180
3222
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}",
3181
3223
  httpMethod: "GET",
3182
3224
  responses: {
@@ -3231,7 +3273,7 @@ const createOrUpdateOperationSpec$1 = {
3231
3273
  mediaType: "json",
3232
3274
  serializer: serializer$3
3233
3275
  };
3234
- const deleteOperationSpec$1 = {
3276
+ const deleteOperationSpec$2 = {
3235
3277
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}",
3236
3278
  httpMethod: "DELETE",
3237
3279
  responses: {
@@ -3254,7 +3296,7 @@ const deleteOperationSpec$1 = {
3254
3296
  headerParameters: [accept],
3255
3297
  serializer: serializer$3
3256
3298
  };
3257
- const listNextOperationSpec$2 = {
3299
+ const listNextOperationSpec$3 = {
3258
3300
  path: "{nextLink}",
3259
3301
  httpMethod: "GET",
3260
3302
  responses: {
@@ -3353,7 +3395,7 @@ class WebPubSubPrivateEndpointConnectionsImpl {
3353
3395
  * @param options The options parameters.
3354
3396
  */
3355
3397
  _list(resourceGroupName, resourceName, options) {
3356
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$3);
3398
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$2);
3357
3399
  }
3358
3400
  /**
3359
3401
  * Get the specified private endpoint connection
@@ -3369,7 +3411,7 @@ class WebPubSubPrivateEndpointConnectionsImpl {
3369
3411
  resourceGroupName,
3370
3412
  resourceName,
3371
3413
  options
3372
- }, getOperationSpec$2);
3414
+ }, getOperationSpec$1);
3373
3415
  }
3374
3416
  /**
3375
3417
  * Update the state of specified private endpoint connection
@@ -3387,7 +3429,7 @@ class WebPubSubPrivateEndpointConnectionsImpl {
3387
3429
  resourceName,
3388
3430
  parameters,
3389
3431
  options
3390
- }, updateOperationSpec$1);
3432
+ }, updateOperationSpec);
3391
3433
  }
3392
3434
  /**
3393
3435
  * Delete the specified private endpoint connection
@@ -3426,7 +3468,7 @@ class WebPubSubPrivateEndpointConnectionsImpl {
3426
3468
  resourceGroupName,
3427
3469
  resourceName,
3428
3470
  options
3429
- }, deleteOperationSpec$2);
3471
+ }, deleteOperationSpec$1);
3430
3472
  return new coreLro.LroEngine(lro, {
3431
3473
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3432
3474
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -3456,12 +3498,12 @@ class WebPubSubPrivateEndpointConnectionsImpl {
3456
3498
  * @param options The options parameters.
3457
3499
  */
3458
3500
  _listNext(resourceGroupName, resourceName, nextLink, options) {
3459
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$3);
3501
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$2);
3460
3502
  }
3461
3503
  }
3462
3504
  // Operation Specifications
3463
- const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
3464
- const listOperationSpec$3 = {
3505
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3506
+ const listOperationSpec$2 = {
3465
3507
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections",
3466
3508
  httpMethod: "GET",
3467
3509
  responses: {
@@ -3480,9 +3522,9 @@ const listOperationSpec$3 = {
3480
3522
  resourceName
3481
3523
  ],
3482
3524
  headerParameters: [accept],
3483
- serializer: serializer$4
3525
+ serializer: serializer$2
3484
3526
  };
3485
- const getOperationSpec$2 = {
3527
+ const getOperationSpec$1 = {
3486
3528
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
3487
3529
  httpMethod: "GET",
3488
3530
  responses: {
@@ -3502,9 +3544,9 @@ const getOperationSpec$2 = {
3502
3544
  privateEndpointConnectionName
3503
3545
  ],
3504
3546
  headerParameters: [accept],
3505
- serializer: serializer$4
3547
+ serializer: serializer$2
3506
3548
  };
3507
- const updateOperationSpec$1 = {
3549
+ const updateOperationSpec = {
3508
3550
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
3509
3551
  httpMethod: "PUT",
3510
3552
  responses: {
@@ -3526,9 +3568,9 @@ const updateOperationSpec$1 = {
3526
3568
  ],
3527
3569
  headerParameters: [accept, contentType],
3528
3570
  mediaType: "json",
3529
- serializer: serializer$4
3571
+ serializer: serializer$2
3530
3572
  };
3531
- const deleteOperationSpec$2 = {
3573
+ const deleteOperationSpec$1 = {
3532
3574
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
3533
3575
  httpMethod: "DELETE",
3534
3576
  responses: {
@@ -3549,9 +3591,9 @@ const deleteOperationSpec$2 = {
3549
3591
  privateEndpointConnectionName
3550
3592
  ],
3551
3593
  headerParameters: [accept],
3552
- serializer: serializer$4
3594
+ serializer: serializer$2
3553
3595
  };
3554
- const listNextOperationSpec$3 = {
3596
+ const listNextOperationSpec$2 = {
3555
3597
  path: "{nextLink}",
3556
3598
  httpMethod: "GET",
3557
3599
  responses: {
@@ -3571,7 +3613,7 @@ const listNextOperationSpec$3 = {
3571
3613
  resourceName
3572
3614
  ],
3573
3615
  headerParameters: [accept],
3574
- serializer: serializer$4
3616
+ serializer: serializer$2
3575
3617
  };
3576
3618
 
3577
3619
  /*
@@ -3650,7 +3692,7 @@ class WebPubSubPrivateLinkResourcesImpl {
3650
3692
  * @param options The options parameters.
3651
3693
  */
3652
3694
  _list(resourceGroupName, resourceName, options) {
3653
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$4);
3695
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$1);
3654
3696
  }
3655
3697
  /**
3656
3698
  * ListNext
@@ -3661,12 +3703,12 @@ class WebPubSubPrivateLinkResourcesImpl {
3661
3703
  * @param options The options parameters.
3662
3704
  */
3663
3705
  _listNext(resourceGroupName, resourceName, nextLink, options) {
3664
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$4);
3706
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$1);
3665
3707
  }
3666
3708
  }
3667
3709
  // Operation Specifications
3668
- const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
3669
- const listOperationSpec$4 = {
3710
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3711
+ const listOperationSpec$1 = {
3670
3712
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateLinkResources",
3671
3713
  httpMethod: "GET",
3672
3714
  responses: {
@@ -3685,9 +3727,9 @@ const listOperationSpec$4 = {
3685
3727
  resourceName
3686
3728
  ],
3687
3729
  headerParameters: [accept],
3688
- serializer: serializer$5
3730
+ serializer: serializer$1
3689
3731
  };
3690
- const listNextOperationSpec$4 = {
3732
+ const listNextOperationSpec$1 = {
3691
3733
  path: "{nextLink}",
3692
3734
  httpMethod: "GET",
3693
3735
  responses: {
@@ -3707,7 +3749,7 @@ const listNextOperationSpec$4 = {
3707
3749
  resourceName
3708
3750
  ],
3709
3751
  headerParameters: [accept],
3710
- serializer: serializer$5
3752
+ serializer: serializer$1
3711
3753
  };
3712
3754
 
3713
3755
  /*
@@ -3786,7 +3828,7 @@ class WebPubSubSharedPrivateLinkResourcesImpl {
3786
3828
  * @param options The options parameters.
3787
3829
  */
3788
3830
  _list(resourceGroupName, resourceName, options) {
3789
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$5);
3831
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
3790
3832
  }
3791
3833
  /**
3792
3834
  * Get the specified shared private link resource
@@ -3802,7 +3844,7 @@ class WebPubSubSharedPrivateLinkResourcesImpl {
3802
3844
  resourceGroupName,
3803
3845
  resourceName,
3804
3846
  options
3805
- }, getOperationSpec$3);
3847
+ }, getOperationSpec);
3806
3848
  }
3807
3849
  /**
3808
3850
  * Create or update a shared private link resource
@@ -3843,7 +3885,7 @@ class WebPubSubSharedPrivateLinkResourcesImpl {
3843
3885
  resourceName,
3844
3886
  parameters,
3845
3887
  options
3846
- }, createOrUpdateOperationSpec$2);
3888
+ }, createOrUpdateOperationSpec);
3847
3889
  return new coreLro.LroEngine(lro, {
3848
3890
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3849
3891
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -3902,7 +3944,7 @@ class WebPubSubSharedPrivateLinkResourcesImpl {
3902
3944
  resourceGroupName,
3903
3945
  resourceName,
3904
3946
  options
3905
- }, deleteOperationSpec$3);
3947
+ }, deleteOperationSpec);
3906
3948
  return new coreLro.LroEngine(lro, {
3907
3949
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3908
3950
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -3932,12 +3974,12 @@ class WebPubSubSharedPrivateLinkResourcesImpl {
3932
3974
  * @param options The options parameters.
3933
3975
  */
3934
3976
  _listNext(resourceGroupName, resourceName, nextLink, options) {
3935
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec$5);
3977
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec);
3936
3978
  }
3937
3979
  }
3938
3980
  // Operation Specifications
3939
- const serializer$6 = coreClient.createSerializer(Mappers, /* isXml */ false);
3940
- const listOperationSpec$5 = {
3981
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3982
+ const listOperationSpec = {
3941
3983
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources",
3942
3984
  httpMethod: "GET",
3943
3985
  responses: {
@@ -3956,9 +3998,9 @@ const listOperationSpec$5 = {
3956
3998
  resourceName
3957
3999
  ],
3958
4000
  headerParameters: [accept],
3959
- serializer: serializer$6
4001
+ serializer
3960
4002
  };
3961
- const getOperationSpec$3 = {
4003
+ const getOperationSpec = {
3962
4004
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3963
4005
  httpMethod: "GET",
3964
4006
  responses: {
@@ -3978,9 +4020,9 @@ const getOperationSpec$3 = {
3978
4020
  sharedPrivateLinkResourceName
3979
4021
  ],
3980
4022
  headerParameters: [accept],
3981
- serializer: serializer$6
4023
+ serializer
3982
4024
  };
3983
- const createOrUpdateOperationSpec$2 = {
4025
+ const createOrUpdateOperationSpec = {
3984
4026
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3985
4027
  httpMethod: "PUT",
3986
4028
  responses: {
@@ -4011,9 +4053,9 @@ const createOrUpdateOperationSpec$2 = {
4011
4053
  ],
4012
4054
  headerParameters: [accept, contentType],
4013
4055
  mediaType: "json",
4014
- serializer: serializer$6
4056
+ serializer
4015
4057
  };
4016
- const deleteOperationSpec$3 = {
4058
+ const deleteOperationSpec = {
4017
4059
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
4018
4060
  httpMethod: "DELETE",
4019
4061
  responses: {
@@ -4034,9 +4076,9 @@ const deleteOperationSpec$3 = {
4034
4076
  sharedPrivateLinkResourceName
4035
4077
  ],
4036
4078
  headerParameters: [accept],
4037
- serializer: serializer$6
4079
+ serializer
4038
4080
  };
4039
- const listNextOperationSpec$5 = {
4081
+ const listNextOperationSpec = {
4040
4082
  path: "{nextLink}",
4041
4083
  httpMethod: "GET",
4042
4084
  responses: {
@@ -4056,7 +4098,7 @@ const listNextOperationSpec$5 = {
4056
4098
  resourceName
4057
4099
  ],
4058
4100
  headerParameters: [accept],
4059
- serializer: serializer$6
4101
+ serializer
4060
4102
  };
4061
4103
 
4062
4104
  /*
@@ -4066,7 +4108,7 @@ const listNextOperationSpec$5 = {
4066
4108
  * Code generated by Microsoft (R) AutoRest Code Generator.
4067
4109
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4068
4110
  */
4069
- class WebPubSubManagementClient extends coreClient.ServiceClient {
4111
+ class WebPubSubManagementClient extends coreClient__namespace.ServiceClient {
4070
4112
  /**
4071
4113
  * Initializes a new instance of the WebPubSubManagementClient class.
4072
4114
  * @param credentials Subscription credentials which uniquely identify client subscription.