@azure/arm-appinsights 5.0.0-beta.2 → 5.0.0-beta.3

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
@@ -5,6 +5,26 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var coreClient = require('@azure/core-client');
6
6
  var tslib = require('tslib');
7
7
 
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
27
+
8
28
  /*
9
29
  * Copyright (c) Microsoft Corporation.
10
30
  * Licensed under the MIT License.
@@ -12,6 +32,8 @@ var tslib = require('tslib');
12
32
  * Code generated by Microsoft (R) AutoRest Code Generator.
13
33
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
14
34
  */
35
+ /** Known values of {@link FavoriteSourceType} that the service accepts. */
36
+ exports.KnownFavoriteSourceType = void 0;
15
37
  (function (KnownFavoriteSourceType) {
16
38
  KnownFavoriteSourceType["Retention"] = "retention";
17
39
  KnownFavoriteSourceType["Notebook"] = "notebook";
@@ -22,14 +44,20 @@ var tslib = require('tslib');
22
44
  KnownFavoriteSourceType["Impact"] = "impact";
23
45
  KnownFavoriteSourceType["Segmentation"] = "segmentation";
24
46
  })(exports.KnownFavoriteSourceType || (exports.KnownFavoriteSourceType = {}));
47
+ /** Known values of {@link ItemScopePath} that the service accepts. */
48
+ exports.KnownItemScopePath = void 0;
25
49
  (function (KnownItemScopePath) {
26
50
  KnownItemScopePath["AnalyticsItems"] = "analyticsItems";
27
51
  KnownItemScopePath["MyanalyticsItems"] = "myanalyticsItems";
28
52
  })(exports.KnownItemScopePath || (exports.KnownItemScopePath = {}));
53
+ /** Known values of {@link ItemScope} that the service accepts. */
54
+ exports.KnownItemScope = void 0;
29
55
  (function (KnownItemScope) {
30
56
  KnownItemScope["Shared"] = "shared";
31
57
  KnownItemScope["User"] = "user";
32
58
  })(exports.KnownItemScope || (exports.KnownItemScope = {}));
59
+ /** Known values of {@link ItemTypeParameter} that the service accepts. */
60
+ exports.KnownItemTypeParameter = void 0;
33
61
  (function (KnownItemTypeParameter) {
34
62
  KnownItemTypeParameter["None"] = "none";
35
63
  KnownItemTypeParameter["Query"] = "query";
@@ -37,67 +65,95 @@ var tslib = require('tslib');
37
65
  KnownItemTypeParameter["Folder"] = "folder";
38
66
  KnownItemTypeParameter["Recent"] = "recent";
39
67
  })(exports.KnownItemTypeParameter || (exports.KnownItemTypeParameter = {}));
68
+ /** Known values of {@link ItemType} that the service accepts. */
69
+ exports.KnownItemType = void 0;
40
70
  (function (KnownItemType) {
41
71
  KnownItemType["None"] = "none";
42
72
  KnownItemType["Query"] = "query";
43
73
  KnownItemType["Recent"] = "recent";
44
74
  KnownItemType["Function"] = "function";
45
75
  })(exports.KnownItemType || (exports.KnownItemType = {}));
76
+ /** Known values of {@link CategoryType} that the service accepts. */
77
+ exports.KnownCategoryType = void 0;
46
78
  (function (KnownCategoryType) {
47
79
  KnownCategoryType["Workbook"] = "workbook";
48
80
  KnownCategoryType["TSG"] = "TSG";
49
81
  KnownCategoryType["Performance"] = "performance";
50
82
  KnownCategoryType["Retention"] = "retention";
51
83
  })(exports.KnownCategoryType || (exports.KnownCategoryType = {}));
84
+ /** Known values of {@link Kind} that the service accepts. */
85
+ exports.KnownKind = void 0;
52
86
  (function (KnownKind) {
53
87
  KnownKind["User"] = "user";
54
88
  KnownKind["Shared"] = "shared";
55
89
  })(exports.KnownKind || (exports.KnownKind = {}));
90
+ /** Known values of {@link CreatedByType} that the service accepts. */
91
+ exports.KnownCreatedByType = void 0;
56
92
  (function (KnownCreatedByType) {
57
93
  KnownCreatedByType["User"] = "User";
58
94
  KnownCreatedByType["Application"] = "Application";
59
95
  KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
60
96
  KnownCreatedByType["Key"] = "Key";
61
97
  })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
98
+ /** Known values of {@link MyWorkbookManagedIdentityType} that the service accepts. */
99
+ exports.KnownMyWorkbookManagedIdentityType = void 0;
62
100
  (function (KnownMyWorkbookManagedIdentityType) {
63
101
  KnownMyWorkbookManagedIdentityType["UserAssigned"] = "UserAssigned";
64
102
  KnownMyWorkbookManagedIdentityType["None"] = "None";
65
103
  })(exports.KnownMyWorkbookManagedIdentityType || (exports.KnownMyWorkbookManagedIdentityType = {}));
104
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
105
+ exports.KnownManagedServiceIdentityType = void 0;
66
106
  (function (KnownManagedServiceIdentityType) {
67
107
  KnownManagedServiceIdentityType["None"] = "None";
68
108
  KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
69
109
  KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
70
110
  KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
71
111
  })(exports.KnownManagedServiceIdentityType || (exports.KnownManagedServiceIdentityType = {}));
112
+ /** Known values of {@link SharedTypeKind} that the service accepts. */
113
+ exports.KnownSharedTypeKind = void 0;
72
114
  (function (KnownSharedTypeKind) {
73
115
  KnownSharedTypeKind["User"] = "user";
74
116
  KnownSharedTypeKind["Shared"] = "shared";
75
117
  })(exports.KnownSharedTypeKind || (exports.KnownSharedTypeKind = {}));
118
+ /** Known values of {@link ApplicationType} that the service accepts. */
119
+ exports.KnownApplicationType = void 0;
76
120
  (function (KnownApplicationType) {
77
121
  KnownApplicationType["Web"] = "web";
78
122
  KnownApplicationType["Other"] = "other";
79
123
  })(exports.KnownApplicationType || (exports.KnownApplicationType = {}));
124
+ /** Known values of {@link FlowType} that the service accepts. */
125
+ exports.KnownFlowType = void 0;
80
126
  (function (KnownFlowType) {
81
127
  KnownFlowType["Bluefield"] = "Bluefield";
82
128
  })(exports.KnownFlowType || (exports.KnownFlowType = {}));
129
+ /** Known values of {@link RequestSource} that the service accepts. */
130
+ exports.KnownRequestSource = void 0;
83
131
  (function (KnownRequestSource) {
84
132
  KnownRequestSource["Rest"] = "rest";
85
133
  })(exports.KnownRequestSource || (exports.KnownRequestSource = {}));
134
+ /** Known values of {@link PublicNetworkAccessType} that the service accepts. */
135
+ exports.KnownPublicNetworkAccessType = void 0;
86
136
  (function (KnownPublicNetworkAccessType) {
87
137
  /** Enables connectivity to Application Insights through public DNS. */
88
138
  KnownPublicNetworkAccessType["Enabled"] = "Enabled";
89
139
  /** Disables public connectivity to Application Insights through public DNS. */
90
140
  KnownPublicNetworkAccessType["Disabled"] = "Disabled";
91
141
  })(exports.KnownPublicNetworkAccessType || (exports.KnownPublicNetworkAccessType = {}));
142
+ /** Known values of {@link IngestionMode} that the service accepts. */
143
+ exports.KnownIngestionMode = void 0;
92
144
  (function (KnownIngestionMode) {
93
145
  KnownIngestionMode["ApplicationInsights"] = "ApplicationInsights";
94
146
  KnownIngestionMode["ApplicationInsightsWithDiagnosticSettings"] = "ApplicationInsightsWithDiagnosticSettings";
95
147
  KnownIngestionMode["LogAnalytics"] = "LogAnalytics";
96
148
  })(exports.KnownIngestionMode || (exports.KnownIngestionMode = {}));
149
+ /** Known values of {@link PurgeState} that the service accepts. */
150
+ exports.KnownPurgeState = void 0;
97
151
  (function (KnownPurgeState) {
98
152
  KnownPurgeState["Pending"] = "pending";
99
153
  KnownPurgeState["Completed"] = "completed";
100
154
  })(exports.KnownPurgeState || (exports.KnownPurgeState = {}));
155
+ /** Known values of {@link StorageType} that the service accepts. */
156
+ exports.KnownStorageType = void 0;
101
157
  (function (KnownStorageType) {
102
158
  KnownStorageType["ServiceProfiler"] = "ServiceProfiler";
103
159
  })(exports.KnownStorageType || (exports.KnownStorageType = {}));
@@ -3856,7 +3912,7 @@ class AnnotationsImpl {
3856
3912
  * @param options The options parameters.
3857
3913
  */
3858
3914
  _list(resourceGroupName, resourceName, start, end, options) {
3859
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, start, end, options }, listOperationSpec);
3915
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, start, end, options }, listOperationSpec$9);
3860
3916
  }
3861
3917
  /**
3862
3918
  * Create an Annotation of an Application Insights component.
@@ -3867,7 +3923,7 @@ class AnnotationsImpl {
3867
3923
  * @param options The options parameters.
3868
3924
  */
3869
3925
  create(resourceGroupName, resourceName, annotationProperties, options) {
3870
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationProperties, options }, createOperationSpec);
3926
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationProperties, options }, createOperationSpec$3);
3871
3927
  }
3872
3928
  /**
3873
3929
  * Delete an Annotation of an Application Insights component.
@@ -3878,7 +3934,7 @@ class AnnotationsImpl {
3878
3934
  * @param options The options parameters.
3879
3935
  */
3880
3936
  delete(resourceGroupName, resourceName, annotationId, options) {
3881
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationId, options }, deleteOperationSpec);
3937
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationId, options }, deleteOperationSpec$b);
3882
3938
  }
3883
3939
  /**
3884
3940
  * Get the annotation for given id.
@@ -3889,12 +3945,12 @@ class AnnotationsImpl {
3889
3945
  * @param options The options parameters.
3890
3946
  */
3891
3947
  get(resourceGroupName, resourceName, annotationId, options) {
3892
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationId, options }, getOperationSpec);
3948
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, annotationId, options }, getOperationSpec$g);
3893
3949
  }
3894
3950
  }
3895
3951
  // Operation Specifications
3896
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
3897
- const listOperationSpec = {
3952
+ const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3953
+ const listOperationSpec$9 = {
3898
3954
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
3899
3955
  httpMethod: "GET",
3900
3956
  responses: {
@@ -3913,9 +3969,9 @@ const listOperationSpec = {
3913
3969
  resourceName
3914
3970
  ],
3915
3971
  headerParameters: [accept],
3916
- serializer
3972
+ serializer: serializer$i
3917
3973
  };
3918
- const createOperationSpec = {
3974
+ const createOperationSpec$3 = {
3919
3975
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
3920
3976
  httpMethod: "PUT",
3921
3977
  responses: {
@@ -3941,9 +3997,9 @@ const createOperationSpec = {
3941
3997
  ],
3942
3998
  headerParameters: [accept, contentType],
3943
3999
  mediaType: "json",
3944
- serializer
4000
+ serializer: serializer$i
3945
4001
  };
3946
- const deleteOperationSpec = {
4002
+ const deleteOperationSpec$b = {
3947
4003
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
3948
4004
  httpMethod: "DELETE",
3949
4005
  responses: { 200: {} },
@@ -3955,9 +4011,9 @@ const deleteOperationSpec = {
3955
4011
  resourceName,
3956
4012
  annotationId
3957
4013
  ],
3958
- serializer
4014
+ serializer: serializer$i
3959
4015
  };
3960
- const getOperationSpec = {
4016
+ const getOperationSpec$g = {
3961
4017
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
3962
4018
  httpMethod: "GET",
3963
4019
  responses: {
@@ -3982,7 +4038,7 @@ const getOperationSpec = {
3982
4038
  annotationId
3983
4039
  ],
3984
4040
  headerParameters: [accept],
3985
- serializer
4041
+ serializer: serializer$i
3986
4042
  };
3987
4043
 
3988
4044
  /*
@@ -4053,7 +4109,7 @@ class APIKeysImpl {
4053
4109
  * @param options The options parameters.
4054
4110
  */
4055
4111
  _list(resourceGroupName, resourceName, options) {
4056
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$1);
4112
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$8);
4057
4113
  }
4058
4114
  /**
4059
4115
  * Create an API Key of an Application Insights component.
@@ -4064,7 +4120,7 @@ class APIKeysImpl {
4064
4120
  * @param options The options parameters.
4065
4121
  */
4066
4122
  create(resourceGroupName, resourceName, aPIKeyProperties, options) {
4067
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, aPIKeyProperties, options }, createOperationSpec$1);
4123
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, aPIKeyProperties, options }, createOperationSpec$2);
4068
4124
  }
4069
4125
  /**
4070
4126
  * Delete an API Key of an Application Insights component.
@@ -4074,7 +4130,7 @@ class APIKeysImpl {
4074
4130
  * @param options The options parameters.
4075
4131
  */
4076
4132
  delete(resourceGroupName, resourceName, keyId, options) {
4077
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, keyId, options }, deleteOperationSpec$1);
4133
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, keyId, options }, deleteOperationSpec$a);
4078
4134
  }
4079
4135
  /**
4080
4136
  * Get the API Key for this key id.
@@ -4084,12 +4140,12 @@ class APIKeysImpl {
4084
4140
  * @param options The options parameters.
4085
4141
  */
4086
4142
  get(resourceGroupName, resourceName, keyId, options) {
4087
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, keyId, options }, getOperationSpec$1);
4143
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, keyId, options }, getOperationSpec$f);
4088
4144
  }
4089
4145
  }
4090
4146
  // Operation Specifications
4091
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
4092
- const listOperationSpec$1 = {
4147
+ const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4148
+ const listOperationSpec$8 = {
4093
4149
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys",
4094
4150
  httpMethod: "GET",
4095
4151
  responses: {
@@ -4105,9 +4161,9 @@ const listOperationSpec$1 = {
4105
4161
  resourceName
4106
4162
  ],
4107
4163
  headerParameters: [accept],
4108
- serializer: serializer$1
4164
+ serializer: serializer$h
4109
4165
  };
4110
- const createOperationSpec$1 = {
4166
+ const createOperationSpec$2 = {
4111
4167
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ApiKeys",
4112
4168
  httpMethod: "POST",
4113
4169
  responses: {
@@ -4125,9 +4181,9 @@ const createOperationSpec$1 = {
4125
4181
  ],
4126
4182
  headerParameters: [accept, contentType],
4127
4183
  mediaType: "json",
4128
- serializer: serializer$1
4184
+ serializer: serializer$h
4129
4185
  };
4130
- const deleteOperationSpec$1 = {
4186
+ const deleteOperationSpec$a = {
4131
4187
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}",
4132
4188
  httpMethod: "DELETE",
4133
4189
  responses: {
@@ -4144,9 +4200,9 @@ const deleteOperationSpec$1 = {
4144
4200
  keyId
4145
4201
  ],
4146
4202
  headerParameters: [accept],
4147
- serializer: serializer$1
4203
+ serializer: serializer$h
4148
4204
  };
4149
- const getOperationSpec$1 = {
4205
+ const getOperationSpec$f = {
4150
4206
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}",
4151
4207
  httpMethod: "GET",
4152
4208
  responses: {
@@ -4163,7 +4219,7 @@ const getOperationSpec$1 = {
4163
4219
  keyId
4164
4220
  ],
4165
4221
  headerParameters: [accept],
4166
- serializer: serializer$1
4222
+ serializer: serializer$h
4167
4223
  };
4168
4224
 
4169
4225
  /*
@@ -4189,7 +4245,7 @@ class ExportConfigurationsImpl {
4189
4245
  * @param options The options parameters.
4190
4246
  */
4191
4247
  list(resourceGroupName, resourceName, options) {
4192
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$2);
4248
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$7);
4193
4249
  }
4194
4250
  /**
4195
4251
  * Create a Continuous Export configuration of an Application Insights component.
@@ -4200,7 +4256,7 @@ class ExportConfigurationsImpl {
4200
4256
  * @param options The options parameters.
4201
4257
  */
4202
4258
  create(resourceGroupName, resourceName, exportProperties, options) {
4203
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportProperties, options }, createOperationSpec$2);
4259
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportProperties, options }, createOperationSpec$1);
4204
4260
  }
4205
4261
  /**
4206
4262
  * Delete a Continuous Export configuration of an Application Insights component.
@@ -4211,7 +4267,7 @@ class ExportConfigurationsImpl {
4211
4267
  * @param options The options parameters.
4212
4268
  */
4213
4269
  delete(resourceGroupName, resourceName, exportId, options) {
4214
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, deleteOperationSpec$2);
4270
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, deleteOperationSpec$9);
4215
4271
  }
4216
4272
  /**
4217
4273
  * Get the Continuous Export configuration for this export id.
@@ -4222,7 +4278,7 @@ class ExportConfigurationsImpl {
4222
4278
  * @param options The options parameters.
4223
4279
  */
4224
4280
  get(resourceGroupName, resourceName, exportId, options) {
4225
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, getOperationSpec$2);
4281
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, getOperationSpec$e);
4226
4282
  }
4227
4283
  /**
4228
4284
  * Update the Continuous Export configuration for this export id.
@@ -4235,12 +4291,12 @@ class ExportConfigurationsImpl {
4235
4291
  * @param options The options parameters.
4236
4292
  */
4237
4293
  update(resourceGroupName, resourceName, exportId, exportProperties, options) {
4238
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, exportProperties, options }, updateOperationSpec);
4294
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, exportProperties, options }, updateOperationSpec$7);
4239
4295
  }
4240
4296
  }
4241
4297
  // Operation Specifications
4242
- const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
4243
- const listOperationSpec$2 = {
4298
+ const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4299
+ const listOperationSpec$7 = {
4244
4300
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
4245
4301
  httpMethod: "GET",
4246
4302
  responses: {
@@ -4266,9 +4322,9 @@ const listOperationSpec$2 = {
4266
4322
  resourceName
4267
4323
  ],
4268
4324
  headerParameters: [accept],
4269
- serializer: serializer$2
4325
+ serializer: serializer$g
4270
4326
  };
4271
- const createOperationSpec$2 = {
4327
+ const createOperationSpec$1 = {
4272
4328
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
4273
4329
  httpMethod: "POST",
4274
4330
  responses: {
@@ -4296,9 +4352,9 @@ const createOperationSpec$2 = {
4296
4352
  ],
4297
4353
  headerParameters: [accept, contentType],
4298
4354
  mediaType: "json",
4299
- serializer: serializer$2
4355
+ serializer: serializer$g
4300
4356
  };
4301
- const deleteOperationSpec$2 = {
4357
+ const deleteOperationSpec$9 = {
4302
4358
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
4303
4359
  httpMethod: "DELETE",
4304
4360
  responses: {
@@ -4315,9 +4371,9 @@ const deleteOperationSpec$2 = {
4315
4371
  exportId
4316
4372
  ],
4317
4373
  headerParameters: [accept],
4318
- serializer: serializer$2
4374
+ serializer: serializer$g
4319
4375
  };
4320
- const getOperationSpec$2 = {
4376
+ const getOperationSpec$e = {
4321
4377
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
4322
4378
  httpMethod: "GET",
4323
4379
  responses: {
@@ -4334,9 +4390,9 @@ const getOperationSpec$2 = {
4334
4390
  exportId
4335
4391
  ],
4336
4392
  headerParameters: [accept],
4337
- serializer: serializer$2
4393
+ serializer: serializer$g
4338
4394
  };
4339
- const updateOperationSpec = {
4395
+ const updateOperationSpec$7 = {
4340
4396
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
4341
4397
  httpMethod: "PUT",
4342
4398
  responses: {
@@ -4355,7 +4411,7 @@ const updateOperationSpec = {
4355
4411
  ],
4356
4412
  headerParameters: [accept, contentType],
4357
4413
  mediaType: "json",
4358
- serializer: serializer$2
4414
+ serializer: serializer$g
4359
4415
  };
4360
4416
 
4361
4417
  /*
@@ -4381,7 +4437,7 @@ class ComponentCurrentBillingFeaturesImpl {
4381
4437
  * @param options The options parameters.
4382
4438
  */
4383
4439
  get(resourceGroupName, resourceName, options) {
4384
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$3);
4440
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$d);
4385
4441
  }
4386
4442
  /**
4387
4443
  * Update current billing features for an Application Insights component.
@@ -4392,12 +4448,12 @@ class ComponentCurrentBillingFeaturesImpl {
4392
4448
  * @param options The options parameters.
4393
4449
  */
4394
4450
  update(resourceGroupName, resourceName, billingFeaturesProperties, options) {
4395
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, billingFeaturesProperties, options }, updateOperationSpec$1);
4451
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, billingFeaturesProperties, options }, updateOperationSpec$6);
4396
4452
  }
4397
4453
  }
4398
4454
  // Operation Specifications
4399
- const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
4400
- const getOperationSpec$3 = {
4455
+ const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4456
+ const getOperationSpec$d = {
4401
4457
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures",
4402
4458
  httpMethod: "GET",
4403
4459
  responses: {
@@ -4413,9 +4469,9 @@ const getOperationSpec$3 = {
4413
4469
  resourceName
4414
4470
  ],
4415
4471
  headerParameters: [accept],
4416
- serializer: serializer$3
4472
+ serializer: serializer$f
4417
4473
  };
4418
- const updateOperationSpec$1 = {
4474
+ const updateOperationSpec$6 = {
4419
4475
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures",
4420
4476
  httpMethod: "PUT",
4421
4477
  responses: {
@@ -4433,7 +4489,7 @@ const updateOperationSpec$1 = {
4433
4489
  ],
4434
4490
  headerParameters: [accept, contentType],
4435
4491
  mediaType: "json",
4436
- serializer: serializer$3
4492
+ serializer: serializer$f
4437
4493
  };
4438
4494
 
4439
4495
  /*
@@ -4459,12 +4515,12 @@ class ComponentQuotaStatusImpl {
4459
4515
  * @param options The options parameters.
4460
4516
  */
4461
4517
  get(resourceGroupName, resourceName, options) {
4462
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$4);
4518
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$c);
4463
4519
  }
4464
4520
  }
4465
4521
  // Operation Specifications
4466
- const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
4467
- const getOperationSpec$4 = {
4522
+ const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4523
+ const getOperationSpec$c = {
4468
4524
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/quotastatus",
4469
4525
  httpMethod: "GET",
4470
4526
  responses: {
@@ -4480,7 +4536,7 @@ const getOperationSpec$4 = {
4480
4536
  resourceName
4481
4537
  ],
4482
4538
  headerParameters: [accept],
4483
- serializer: serializer$4
4539
+ serializer: serializer$e
4484
4540
  };
4485
4541
 
4486
4542
  /*
@@ -4506,12 +4562,12 @@ class ComponentFeatureCapabilitiesImpl {
4506
4562
  * @param options The options parameters.
4507
4563
  */
4508
4564
  get(resourceGroupName, resourceName, options) {
4509
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$5);
4565
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$b);
4510
4566
  }
4511
4567
  }
4512
4568
  // Operation Specifications
4513
- const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
4514
- const getOperationSpec$5 = {
4569
+ const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4570
+ const getOperationSpec$b = {
4515
4571
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/featurecapabilities",
4516
4572
  httpMethod: "GET",
4517
4573
  responses: {
@@ -4527,7 +4583,7 @@ const getOperationSpec$5 = {
4527
4583
  resourceName
4528
4584
  ],
4529
4585
  headerParameters: [accept],
4530
- serializer: serializer$5
4586
+ serializer: serializer$d
4531
4587
  };
4532
4588
 
4533
4589
  /*
@@ -4553,12 +4609,12 @@ class ComponentAvailableFeaturesImpl {
4553
4609
  * @param options The options parameters.
4554
4610
  */
4555
4611
  get(resourceGroupName, resourceName, options) {
4556
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$6);
4612
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$a);
4557
4613
  }
4558
4614
  }
4559
4615
  // Operation Specifications
4560
- const serializer$6 = coreClient.createSerializer(Mappers, /* isXml */ false);
4561
- const getOperationSpec$6 = {
4616
+ const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4617
+ const getOperationSpec$a = {
4562
4618
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures",
4563
4619
  httpMethod: "GET",
4564
4620
  responses: {
@@ -4574,7 +4630,7 @@ const getOperationSpec$6 = {
4574
4630
  resourceName
4575
4631
  ],
4576
4632
  headerParameters: [accept],
4577
- serializer: serializer$6
4633
+ serializer: serializer$c
4578
4634
  };
4579
4635
 
4580
4636
  /*
@@ -4600,7 +4656,7 @@ class ProactiveDetectionConfigurationsImpl {
4600
4656
  * @param options The options parameters.
4601
4657
  */
4602
4658
  list(resourceGroupName, resourceName, options) {
4603
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$3);
4659
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$6);
4604
4660
  }
4605
4661
  /**
4606
4662
  * Get the ProactiveDetection configuration for this configuration id.
@@ -4611,7 +4667,7 @@ class ProactiveDetectionConfigurationsImpl {
4611
4667
  * @param options The options parameters.
4612
4668
  */
4613
4669
  get(resourceGroupName, resourceName, configurationId, options) {
4614
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, configurationId, options }, getOperationSpec$7);
4670
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, configurationId, options }, getOperationSpec$9);
4615
4671
  }
4616
4672
  /**
4617
4673
  * Update the ProactiveDetection configuration for this configuration id.
@@ -4630,12 +4686,12 @@ class ProactiveDetectionConfigurationsImpl {
4630
4686
  configurationId,
4631
4687
  proactiveDetectionProperties,
4632
4688
  options
4633
- }, updateOperationSpec$2);
4689
+ }, updateOperationSpec$5);
4634
4690
  }
4635
4691
  }
4636
4692
  // Operation Specifications
4637
- const serializer$7 = coreClient.createSerializer(Mappers, /* isXml */ false);
4638
- const listOperationSpec$3 = {
4693
+ const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4694
+ const listOperationSpec$6 = {
4639
4695
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs",
4640
4696
  httpMethod: "GET",
4641
4697
  responses: {
@@ -4661,9 +4717,9 @@ const listOperationSpec$3 = {
4661
4717
  resourceName
4662
4718
  ],
4663
4719
  headerParameters: [accept],
4664
- serializer: serializer$7
4720
+ serializer: serializer$b
4665
4721
  };
4666
- const getOperationSpec$7 = {
4722
+ const getOperationSpec$9 = {
4667
4723
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
4668
4724
  httpMethod: "GET",
4669
4725
  responses: {
@@ -4680,9 +4736,9 @@ const getOperationSpec$7 = {
4680
4736
  configurationId
4681
4737
  ],
4682
4738
  headerParameters: [accept],
4683
- serializer: serializer$7
4739
+ serializer: serializer$b
4684
4740
  };
4685
- const updateOperationSpec$2 = {
4741
+ const updateOperationSpec$5 = {
4686
4742
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
4687
4743
  httpMethod: "PUT",
4688
4744
  responses: {
@@ -4701,7 +4757,7 @@ const updateOperationSpec$2 = {
4701
4757
  ],
4702
4758
  headerParameters: [accept, contentType],
4703
4759
  mediaType: "json",
4704
- serializer: serializer$7
4760
+ serializer: serializer$b
4705
4761
  };
4706
4762
 
4707
4763
  /*
@@ -4772,7 +4828,7 @@ class WorkItemConfigurationsImpl {
4772
4828
  * @param options The options parameters.
4773
4829
  */
4774
4830
  _list(resourceGroupName, resourceName, options) {
4775
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$4);
4831
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$5);
4776
4832
  }
4777
4833
  /**
4778
4834
  * Create a work item configuration for an Application Insights component.
@@ -4788,7 +4844,7 @@ class WorkItemConfigurationsImpl {
4788
4844
  resourceName,
4789
4845
  workItemConfigurationProperties,
4790
4846
  options
4791
- }, createOperationSpec$3);
4847
+ }, createOperationSpec);
4792
4848
  }
4793
4849
  /**
4794
4850
  * Gets default work item configurations that exist for the application
@@ -4808,7 +4864,7 @@ class WorkItemConfigurationsImpl {
4808
4864
  * @param options The options parameters.
4809
4865
  */
4810
4866
  delete(resourceGroupName, resourceName, workItemConfigId, options) {
4811
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, workItemConfigId, options }, deleteOperationSpec$3);
4867
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, workItemConfigId, options }, deleteOperationSpec$8);
4812
4868
  }
4813
4869
  /**
4814
4870
  * Gets specified work item configuration for an Application Insights component.
@@ -4842,8 +4898,8 @@ class WorkItemConfigurationsImpl {
4842
4898
  }
4843
4899
  }
4844
4900
  // Operation Specifications
4845
- const serializer$8 = coreClient.createSerializer(Mappers, /* isXml */ false);
4846
- const listOperationSpec$4 = {
4901
+ const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4902
+ const listOperationSpec$5 = {
4847
4903
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs",
4848
4904
  httpMethod: "GET",
4849
4905
  responses: {
@@ -4862,9 +4918,9 @@ const listOperationSpec$4 = {
4862
4918
  resourceName
4863
4919
  ],
4864
4920
  headerParameters: [accept],
4865
- serializer: serializer$8
4921
+ serializer: serializer$a
4866
4922
  };
4867
- const createOperationSpec$3 = {
4923
+ const createOperationSpec = {
4868
4924
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs",
4869
4925
  httpMethod: "POST",
4870
4926
  responses: {
@@ -4882,7 +4938,7 @@ const createOperationSpec$3 = {
4882
4938
  ],
4883
4939
  headerParameters: [accept, contentType],
4884
4940
  mediaType: "json",
4885
- serializer: serializer$8
4941
+ serializer: serializer$a
4886
4942
  };
4887
4943
  const getDefaultOperationSpec = {
4888
4944
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/DefaultWorkItemConfig",
@@ -4900,9 +4956,9 @@ const getDefaultOperationSpec = {
4900
4956
  resourceName
4901
4957
  ],
4902
4958
  headerParameters: [accept],
4903
- serializer: serializer$8
4959
+ serializer: serializer$a
4904
4960
  };
4905
- const deleteOperationSpec$3 = {
4961
+ const deleteOperationSpec$8 = {
4906
4962
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}",
4907
4963
  httpMethod: "DELETE",
4908
4964
  responses: { 200: {} },
@@ -4914,7 +4970,7 @@ const deleteOperationSpec$3 = {
4914
4970
  resourceName,
4915
4971
  workItemConfigId
4916
4972
  ],
4917
- serializer: serializer$8
4973
+ serializer: serializer$a
4918
4974
  };
4919
4975
  const getItemOperationSpec = {
4920
4976
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}",
@@ -4933,7 +4989,7 @@ const getItemOperationSpec = {
4933
4989
  workItemConfigId
4934
4990
  ],
4935
4991
  headerParameters: [accept],
4936
- serializer: serializer$8
4992
+ serializer: serializer$a
4937
4993
  };
4938
4994
  const updateItemOperationSpec = {
4939
4995
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}",
@@ -4954,7 +5010,7 @@ const updateItemOperationSpec = {
4954
5010
  ],
4955
5011
  headerParameters: [accept, contentType],
4956
5012
  mediaType: "json",
4957
- serializer: serializer$8
5013
+ serializer: serializer$a
4958
5014
  };
4959
5015
 
4960
5016
  /*
@@ -4980,7 +5036,7 @@ class FavoritesImpl {
4980
5036
  * @param options The options parameters.
4981
5037
  */
4982
5038
  list(resourceGroupName, resourceName, options) {
4983
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$5);
5039
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$4);
4984
5040
  }
4985
5041
  /**
4986
5042
  * Get a single favorite by its FavoriteId, defined within an Application Insights component.
@@ -5025,7 +5081,7 @@ class FavoritesImpl {
5025
5081
  favoriteId,
5026
5082
  favoriteProperties,
5027
5083
  options
5028
- }, updateOperationSpec$3);
5084
+ }, updateOperationSpec$4);
5029
5085
  }
5030
5086
  /**
5031
5087
  * Remove a favorite that is associated to an Application Insights component.
@@ -5035,12 +5091,12 @@ class FavoritesImpl {
5035
5091
  * @param options The options parameters.
5036
5092
  */
5037
5093
  delete(resourceGroupName, resourceName, favoriteId, options) {
5038
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, favoriteId, options }, deleteOperationSpec$4);
5094
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, favoriteId, options }, deleteOperationSpec$7);
5039
5095
  }
5040
5096
  }
5041
5097
  // Operation Specifications
5042
- const serializer$9 = coreClient.createSerializer(Mappers, /* isXml */ false);
5043
- const listOperationSpec$5 = {
5098
+ const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5099
+ const listOperationSpec$4 = {
5044
5100
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites",
5045
5101
  httpMethod: "GET",
5046
5102
  responses: {
@@ -5114,7 +5170,7 @@ const addOperationSpec = {
5114
5170
  mediaType: "json",
5115
5171
  serializer: serializer$9
5116
5172
  };
5117
- const updateOperationSpec$3 = {
5173
+ const updateOperationSpec$4 = {
5118
5174
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
5119
5175
  httpMethod: "PATCH",
5120
5176
  responses: {
@@ -5135,7 +5191,7 @@ const updateOperationSpec$3 = {
5135
5191
  mediaType: "json",
5136
5192
  serializer: serializer$9
5137
5193
  };
5138
- const deleteOperationSpec$4 = {
5194
+ const deleteOperationSpec$7 = {
5139
5195
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
5140
5196
  httpMethod: "DELETE",
5141
5197
  responses: { 200: {} },
@@ -5218,12 +5274,12 @@ class WebTestLocationsImpl {
5218
5274
  * @param options The options parameters.
5219
5275
  */
5220
5276
  _list(resourceGroupName, resourceName, options) {
5221
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$6);
5277
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec$3);
5222
5278
  }
5223
5279
  }
5224
5280
  // Operation Specifications
5225
- const serializer$a = coreClient.createSerializer(Mappers, /* isXml */ false);
5226
- const listOperationSpec$6 = {
5281
+ const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5282
+ const listOperationSpec$3 = {
5227
5283
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations",
5228
5284
  httpMethod: "GET",
5229
5285
  responses: {
@@ -5239,7 +5295,7 @@ const listOperationSpec$6 = {
5239
5295
  resourceName
5240
5296
  ],
5241
5297
  headerParameters: [accept],
5242
- serializer: serializer$a
5298
+ serializer: serializer$8
5243
5299
  };
5244
5300
 
5245
5301
  /*
@@ -5412,7 +5468,7 @@ class WebTestsImpl {
5412
5468
  * @param options The options parameters.
5413
5469
  */
5414
5470
  _listByResourceGroup(resourceGroupName, options) {
5415
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
5471
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$4);
5416
5472
  }
5417
5473
  /**
5418
5474
  * Get a specific Application Insights web test definition.
@@ -5421,7 +5477,7 @@ class WebTestsImpl {
5421
5477
  * @param options The options parameters.
5422
5478
  */
5423
5479
  get(resourceGroupName, webTestName, options) {
5424
- return this.client.sendOperationRequest({ resourceGroupName, webTestName, options }, getOperationSpec$9);
5480
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, options }, getOperationSpec$7);
5425
5481
  }
5426
5482
  /**
5427
5483
  * Creates or updates an Application Insights web test definition.
@@ -5432,7 +5488,7 @@ class WebTestsImpl {
5432
5488
  * @param options The options parameters.
5433
5489
  */
5434
5490
  createOrUpdate(resourceGroupName, webTestName, webTestDefinition, options) {
5435
- return this.client.sendOperationRequest({ resourceGroupName, webTestName, webTestDefinition, options }, createOrUpdateOperationSpec);
5491
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, webTestDefinition, options }, createOrUpdateOperationSpec$4);
5436
5492
  }
5437
5493
  /**
5438
5494
  * Creates or updates an Application Insights web test definition.
@@ -5442,7 +5498,7 @@ class WebTestsImpl {
5442
5498
  * @param options The options parameters.
5443
5499
  */
5444
5500
  updateTags(resourceGroupName, webTestName, webTestTags, options) {
5445
- return this.client.sendOperationRequest({ resourceGroupName, webTestName, webTestTags, options }, updateTagsOperationSpec);
5501
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, webTestTags, options }, updateTagsOperationSpec$1);
5446
5502
  }
5447
5503
  /**
5448
5504
  * Deletes an Application Insights web test.
@@ -5451,14 +5507,14 @@ class WebTestsImpl {
5451
5507
  * @param options The options parameters.
5452
5508
  */
5453
5509
  delete(resourceGroupName, webTestName, options) {
5454
- return this.client.sendOperationRequest({ resourceGroupName, webTestName, options }, deleteOperationSpec$5);
5510
+ return this.client.sendOperationRequest({ resourceGroupName, webTestName, options }, deleteOperationSpec$6);
5455
5511
  }
5456
5512
  /**
5457
5513
  * Get all Application Insights web test alerts definitions within a subscription.
5458
5514
  * @param options The options parameters.
5459
5515
  */
5460
5516
  _list(options) {
5461
- return this.client.sendOperationRequest({ options }, listOperationSpec$7);
5517
+ return this.client.sendOperationRequest({ options }, listOperationSpec$2);
5462
5518
  }
5463
5519
  /**
5464
5520
  * Get all Application Insights web tests defined for the specified component.
@@ -5476,7 +5532,7 @@ class WebTestsImpl {
5476
5532
  * @param options The options parameters.
5477
5533
  */
5478
5534
  _listByResourceGroupNext(resourceGroupName, nextLink, options) {
5479
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
5535
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$3);
5480
5536
  }
5481
5537
  /**
5482
5538
  * ListNext
@@ -5484,7 +5540,7 @@ class WebTestsImpl {
5484
5540
  * @param options The options parameters.
5485
5541
  */
5486
5542
  _listNext(nextLink, options) {
5487
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
5543
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
5488
5544
  }
5489
5545
  /**
5490
5546
  * ListByComponentNext
@@ -5498,8 +5554,8 @@ class WebTestsImpl {
5498
5554
  }
5499
5555
  }
5500
5556
  // Operation Specifications
5501
- const serializer$b = coreClient.createSerializer(Mappers, /* isXml */ false);
5502
- const listByResourceGroupOperationSpec = {
5557
+ const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5558
+ const listByResourceGroupOperationSpec$4 = {
5503
5559
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests",
5504
5560
  httpMethod: "GET",
5505
5561
  responses: {
@@ -5514,9 +5570,9 @@ const listByResourceGroupOperationSpec = {
5514
5570
  subscriptionId
5515
5571
  ],
5516
5572
  headerParameters: [accept],
5517
- serializer: serializer$b
5573
+ serializer: serializer$7
5518
5574
  };
5519
- const getOperationSpec$9 = {
5575
+ const getOperationSpec$7 = {
5520
5576
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
5521
5577
  httpMethod: "GET",
5522
5578
  responses: {
@@ -5532,9 +5588,9 @@ const getOperationSpec$9 = {
5532
5588
  webTestName
5533
5589
  ],
5534
5590
  headerParameters: [accept],
5535
- serializer: serializer$b
5591
+ serializer: serializer$7
5536
5592
  };
5537
- const createOrUpdateOperationSpec = {
5593
+ const createOrUpdateOperationSpec$4 = {
5538
5594
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
5539
5595
  httpMethod: "PUT",
5540
5596
  responses: {
@@ -5552,9 +5608,9 @@ const createOrUpdateOperationSpec = {
5552
5608
  ],
5553
5609
  headerParameters: [accept, contentType],
5554
5610
  mediaType: "json",
5555
- serializer: serializer$b
5611
+ serializer: serializer$7
5556
5612
  };
5557
- const updateTagsOperationSpec = {
5613
+ const updateTagsOperationSpec$1 = {
5558
5614
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
5559
5615
  httpMethod: "PATCH",
5560
5616
  responses: {
@@ -5572,9 +5628,9 @@ const updateTagsOperationSpec = {
5572
5628
  ],
5573
5629
  headerParameters: [accept, contentType],
5574
5630
  mediaType: "json",
5575
- serializer: serializer$b
5631
+ serializer: serializer$7
5576
5632
  };
5577
- const deleteOperationSpec$5 = {
5633
+ const deleteOperationSpec$6 = {
5578
5634
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
5579
5635
  httpMethod: "DELETE",
5580
5636
  responses: { 200: {}, 204: {} },
@@ -5585,9 +5641,9 @@ const deleteOperationSpec$5 = {
5585
5641
  subscriptionId,
5586
5642
  webTestName
5587
5643
  ],
5588
- serializer: serializer$b
5644
+ serializer: serializer$7
5589
5645
  };
5590
- const listOperationSpec$7 = {
5646
+ const listOperationSpec$2 = {
5591
5647
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests",
5592
5648
  httpMethod: "GET",
5593
5649
  responses: {
@@ -5598,7 +5654,7 @@ const listOperationSpec$7 = {
5598
5654
  queryParameters: [apiVersion],
5599
5655
  urlParameters: [$host, subscriptionId],
5600
5656
  headerParameters: [accept],
5601
- serializer: serializer$b
5657
+ serializer: serializer$7
5602
5658
  };
5603
5659
  const listByComponentOperationSpec = {
5604
5660
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests",
@@ -5616,9 +5672,9 @@ const listByComponentOperationSpec = {
5616
5672
  componentName
5617
5673
  ],
5618
5674
  headerParameters: [accept],
5619
- serializer: serializer$b
5675
+ serializer: serializer$7
5620
5676
  };
5621
- const listByResourceGroupNextOperationSpec = {
5677
+ const listByResourceGroupNextOperationSpec$3 = {
5622
5678
  path: "{nextLink}",
5623
5679
  httpMethod: "GET",
5624
5680
  responses: {
@@ -5634,9 +5690,9 @@ const listByResourceGroupNextOperationSpec = {
5634
5690
  nextLink
5635
5691
  ],
5636
5692
  headerParameters: [accept],
5637
- serializer: serializer$b
5693
+ serializer: serializer$7
5638
5694
  };
5639
- const listNextOperationSpec = {
5695
+ const listNextOperationSpec$1 = {
5640
5696
  path: "{nextLink}",
5641
5697
  httpMethod: "GET",
5642
5698
  responses: {
@@ -5651,7 +5707,7 @@ const listNextOperationSpec = {
5651
5707
  nextLink
5652
5708
  ],
5653
5709
  headerParameters: [accept],
5654
- serializer: serializer$b
5710
+ serializer: serializer$7
5655
5711
  };
5656
5712
  const listByComponentNextOperationSpec = {
5657
5713
  path: "{nextLink}",
@@ -5670,7 +5726,7 @@ const listByComponentNextOperationSpec = {
5670
5726
  nextLink
5671
5727
  ],
5672
5728
  headerParameters: [accept],
5673
- serializer: serializer$b
5729
+ serializer: serializer$7
5674
5730
  };
5675
5731
 
5676
5732
  /*
@@ -5698,7 +5754,7 @@ class AnalyticsItemsImpl {
5698
5754
  * @param options The options parameters.
5699
5755
  */
5700
5756
  list(resourceGroupName, resourceName, scopePath, options) {
5701
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, scopePath, options }, listOperationSpec$8);
5757
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, scopePath, options }, listOperationSpec$1);
5702
5758
  }
5703
5759
  /**
5704
5760
  * Gets a specific Analytics Items defined within an Application Insights component.
@@ -5709,7 +5765,7 @@ class AnalyticsItemsImpl {
5709
5765
  * @param options The options parameters.
5710
5766
  */
5711
5767
  get(resourceGroupName, resourceName, scopePath, options) {
5712
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, scopePath, options }, getOperationSpec$a);
5768
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, scopePath, options }, getOperationSpec$6);
5713
5769
  }
5714
5770
  /**
5715
5771
  * Adds or Updates a specific Analytics Item within an Application Insights component.
@@ -5733,12 +5789,12 @@ class AnalyticsItemsImpl {
5733
5789
  * @param options The options parameters.
5734
5790
  */
5735
5791
  delete(resourceGroupName, resourceName, scopePath, options) {
5736
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, scopePath, options }, deleteOperationSpec$6);
5792
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, scopePath, options }, deleteOperationSpec$5);
5737
5793
  }
5738
5794
  }
5739
5795
  // Operation Specifications
5740
- const serializer$c = coreClient.createSerializer(Mappers, /* isXml */ false);
5741
- const listOperationSpec$8 = {
5796
+ const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5797
+ const listOperationSpec$1 = {
5742
5798
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}",
5743
5799
  httpMethod: "GET",
5744
5800
  responses: {
@@ -5770,9 +5826,9 @@ const listOperationSpec$8 = {
5770
5826
  scopePath
5771
5827
  ],
5772
5828
  headerParameters: [accept],
5773
- serializer: serializer$c
5829
+ serializer: serializer$6
5774
5830
  };
5775
- const getOperationSpec$a = {
5831
+ const getOperationSpec$6 = {
5776
5832
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item",
5777
5833
  httpMethod: "GET",
5778
5834
  responses: {
@@ -5789,7 +5845,7 @@ const getOperationSpec$a = {
5789
5845
  scopePath
5790
5846
  ],
5791
5847
  headerParameters: [accept],
5792
- serializer: serializer$c
5848
+ serializer: serializer$6
5793
5849
  };
5794
5850
  const putOperationSpec = {
5795
5851
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item",
@@ -5810,9 +5866,9 @@ const putOperationSpec = {
5810
5866
  ],
5811
5867
  headerParameters: [accept, contentType],
5812
5868
  mediaType: "json",
5813
- serializer: serializer$c
5869
+ serializer: serializer$6
5814
5870
  };
5815
- const deleteOperationSpec$6 = {
5871
+ const deleteOperationSpec$5 = {
5816
5872
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item",
5817
5873
  httpMethod: "DELETE",
5818
5874
  responses: { 200: {} },
@@ -5824,7 +5880,7 @@ const deleteOperationSpec$6 = {
5824
5880
  resourceName,
5825
5881
  scopePath
5826
5882
  ],
5827
- serializer: serializer$c
5883
+ serializer: serializer$6
5828
5884
  };
5829
5885
 
5830
5886
  /*
@@ -5893,7 +5949,7 @@ class WorkbookTemplatesImpl {
5893
5949
  * @param options The options parameters.
5894
5950
  */
5895
5951
  _listByResourceGroup(resourceGroupName, options) {
5896
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
5952
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$3);
5897
5953
  }
5898
5954
  /**
5899
5955
  * Get a single workbook template by its resourceName.
@@ -5902,7 +5958,7 @@ class WorkbookTemplatesImpl {
5902
5958
  * @param options The options parameters.
5903
5959
  */
5904
5960
  get(resourceGroupName, resourceName, options) {
5905
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$b);
5961
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$5);
5906
5962
  }
5907
5963
  /**
5908
5964
  * Delete a workbook template.
@@ -5911,7 +5967,7 @@ class WorkbookTemplatesImpl {
5911
5967
  * @param options The options parameters.
5912
5968
  */
5913
5969
  delete(resourceGroupName, resourceName, options) {
5914
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$7);
5970
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$4);
5915
5971
  }
5916
5972
  /**
5917
5973
  * Create a new workbook template.
@@ -5921,7 +5977,7 @@ class WorkbookTemplatesImpl {
5921
5977
  * @param options The options parameters.
5922
5978
  */
5923
5979
  createOrUpdate(resourceGroupName, resourceName, workbookTemplateProperties, options) {
5924
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookTemplateProperties, options }, createOrUpdateOperationSpec$1);
5980
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookTemplateProperties, options }, createOrUpdateOperationSpec$3);
5925
5981
  }
5926
5982
  /**
5927
5983
  * Updates a workbook template that has already been added.
@@ -5930,12 +5986,12 @@ class WorkbookTemplatesImpl {
5930
5986
  * @param options The options parameters.
5931
5987
  */
5932
5988
  update(resourceGroupName, resourceName, options) {
5933
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec$4);
5989
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec$3);
5934
5990
  }
5935
5991
  }
5936
5992
  // Operation Specifications
5937
- const serializer$d = coreClient.createSerializer(Mappers, /* isXml */ false);
5938
- const listByResourceGroupOperationSpec$1 = {
5993
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5994
+ const listByResourceGroupOperationSpec$3 = {
5939
5995
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates",
5940
5996
  httpMethod: "GET",
5941
5997
  responses: {
@@ -5953,9 +6009,9 @@ const listByResourceGroupOperationSpec$1 = {
5953
6009
  subscriptionId
5954
6010
  ],
5955
6011
  headerParameters: [accept],
5956
- serializer: serializer$d
6012
+ serializer: serializer$5
5957
6013
  };
5958
- const getOperationSpec$b = {
6014
+ const getOperationSpec$5 = {
5959
6015
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
5960
6016
  httpMethod: "GET",
5961
6017
  responses: {
@@ -5974,9 +6030,9 @@ const getOperationSpec$b = {
5974
6030
  resourceName
5975
6031
  ],
5976
6032
  headerParameters: [accept],
5977
- serializer: serializer$d
6033
+ serializer: serializer$5
5978
6034
  };
5979
- const deleteOperationSpec$7 = {
6035
+ const deleteOperationSpec$4 = {
5980
6036
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
5981
6037
  httpMethod: "DELETE",
5982
6038
  responses: {
@@ -5994,9 +6050,9 @@ const deleteOperationSpec$7 = {
5994
6050
  resourceName
5995
6051
  ],
5996
6052
  headerParameters: [accept],
5997
- serializer: serializer$d
6053
+ serializer: serializer$5
5998
6054
  };
5999
- const createOrUpdateOperationSpec$1 = {
6055
+ const createOrUpdateOperationSpec$3 = {
6000
6056
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
6001
6057
  httpMethod: "PUT",
6002
6058
  responses: {
@@ -6020,9 +6076,9 @@ const createOrUpdateOperationSpec$1 = {
6020
6076
  ],
6021
6077
  headerParameters: [accept, contentType],
6022
6078
  mediaType: "json",
6023
- serializer: serializer$d
6079
+ serializer: serializer$5
6024
6080
  };
6025
- const updateOperationSpec$4 = {
6081
+ const updateOperationSpec$3 = {
6026
6082
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
6027
6083
  httpMethod: "PATCH",
6028
6084
  responses: {
@@ -6043,7 +6099,7 @@ const updateOperationSpec$4 = {
6043
6099
  ],
6044
6100
  headerParameters: [accept, contentType],
6045
6101
  mediaType: "json",
6046
- serializer: serializer$d
6102
+ serializer: serializer$5
6047
6103
  };
6048
6104
 
6049
6105
  /*
@@ -6177,7 +6233,7 @@ class MyWorkbooksImpl {
6177
6233
  * @param options The options parameters.
6178
6234
  */
6179
6235
  _listBySubscription(category, options) {
6180
- return this.client.sendOperationRequest({ category, options }, listBySubscriptionOperationSpec);
6236
+ return this.client.sendOperationRequest({ category, options }, listBySubscriptionOperationSpec$1);
6181
6237
  }
6182
6238
  /**
6183
6239
  * Get a single private workbook by its resourceName.
@@ -6186,7 +6242,7 @@ class MyWorkbooksImpl {
6186
6242
  * @param options The options parameters.
6187
6243
  */
6188
6244
  get(resourceGroupName, resourceName, options) {
6189
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$c);
6245
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$4);
6190
6246
  }
6191
6247
  /**
6192
6248
  * Delete a private workbook.
@@ -6195,7 +6251,7 @@ class MyWorkbooksImpl {
6195
6251
  * @param options The options parameters.
6196
6252
  */
6197
6253
  delete(resourceGroupName, resourceName, options) {
6198
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$8);
6254
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$3);
6199
6255
  }
6200
6256
  /**
6201
6257
  * Create a new private workbook.
@@ -6215,7 +6271,7 @@ class MyWorkbooksImpl {
6215
6271
  * @param options The options parameters.
6216
6272
  */
6217
6273
  update(resourceGroupName, resourceName, workbookProperties, options) {
6218
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookProperties, options }, updateOperationSpec$5);
6274
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookProperties, options }, updateOperationSpec$2);
6219
6275
  }
6220
6276
  /**
6221
6277
  * ListByResourceGroupNext
@@ -6225,7 +6281,7 @@ class MyWorkbooksImpl {
6225
6281
  * @param options The options parameters.
6226
6282
  */
6227
6283
  _listByResourceGroupNext(resourceGroupName, category, nextLink, options) {
6228
- return this.client.sendOperationRequest({ resourceGroupName, category, nextLink, options }, listByResourceGroupNextOperationSpec$1);
6284
+ return this.client.sendOperationRequest({ resourceGroupName, category, nextLink, options }, listByResourceGroupNextOperationSpec$2);
6229
6285
  }
6230
6286
  /**
6231
6287
  * ListBySubscriptionNext
@@ -6234,11 +6290,11 @@ class MyWorkbooksImpl {
6234
6290
  * @param options The options parameters.
6235
6291
  */
6236
6292
  _listBySubscriptionNext(category, nextLink, options) {
6237
- return this.client.sendOperationRequest({ category, nextLink, options }, listBySubscriptionNextOperationSpec);
6293
+ return this.client.sendOperationRequest({ category, nextLink, options }, listBySubscriptionNextOperationSpec$1);
6238
6294
  }
6239
6295
  }
6240
6296
  // Operation Specifications
6241
- const serializer$e = coreClient.createSerializer(Mappers, /* isXml */ false);
6297
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
6242
6298
  const listByResourceGroupOperationSpec$2 = {
6243
6299
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks",
6244
6300
  httpMethod: "GET",
@@ -6263,9 +6319,9 @@ const listByResourceGroupOperationSpec$2 = {
6263
6319
  subscriptionId
6264
6320
  ],
6265
6321
  headerParameters: [accept],
6266
- serializer: serializer$e
6322
+ serializer: serializer$4
6267
6323
  };
6268
- const listBySubscriptionOperationSpec = {
6324
+ const listBySubscriptionOperationSpec$1 = {
6269
6325
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks",
6270
6326
  httpMethod: "GET",
6271
6327
  responses: {
@@ -6284,9 +6340,9 @@ const listBySubscriptionOperationSpec = {
6284
6340
  ],
6285
6341
  urlParameters: [$host, subscriptionId],
6286
6342
  headerParameters: [accept],
6287
- serializer: serializer$e
6343
+ serializer: serializer$4
6288
6344
  };
6289
- const getOperationSpec$c = {
6345
+ const getOperationSpec$4 = {
6290
6346
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
6291
6347
  httpMethod: "GET",
6292
6348
  responses: {
@@ -6305,9 +6361,9 @@ const getOperationSpec$c = {
6305
6361
  resourceName
6306
6362
  ],
6307
6363
  headerParameters: [accept],
6308
- serializer: serializer$e
6364
+ serializer: serializer$4
6309
6365
  };
6310
- const deleteOperationSpec$8 = {
6366
+ const deleteOperationSpec$3 = {
6311
6367
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
6312
6368
  httpMethod: "DELETE",
6313
6369
  responses: {
@@ -6325,7 +6381,7 @@ const deleteOperationSpec$8 = {
6325
6381
  resourceName
6326
6382
  ],
6327
6383
  headerParameters: [accept],
6328
- serializer: serializer$e
6384
+ serializer: serializer$4
6329
6385
  };
6330
6386
  const createOrUpdateOperationSpec$2 = {
6331
6387
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
@@ -6351,9 +6407,9 @@ const createOrUpdateOperationSpec$2 = {
6351
6407
  ],
6352
6408
  headerParameters: [accept, contentType],
6353
6409
  mediaType: "json",
6354
- serializer: serializer$e
6410
+ serializer: serializer$4
6355
6411
  };
6356
- const updateOperationSpec$5 = {
6412
+ const updateOperationSpec$2 = {
6357
6413
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/myWorkbooks/{resourceName}",
6358
6414
  httpMethod: "PATCH",
6359
6415
  responses: {
@@ -6374,9 +6430,9 @@ const updateOperationSpec$5 = {
6374
6430
  ],
6375
6431
  headerParameters: [accept, contentType],
6376
6432
  mediaType: "json",
6377
- serializer: serializer$e
6433
+ serializer: serializer$4
6378
6434
  };
6379
- const listByResourceGroupNextOperationSpec$1 = {
6435
+ const listByResourceGroupNextOperationSpec$2 = {
6380
6436
  path: "{nextLink}",
6381
6437
  httpMethod: "GET",
6382
6438
  responses: {
@@ -6401,9 +6457,9 @@ const listByResourceGroupNextOperationSpec$1 = {
6401
6457
  nextLink
6402
6458
  ],
6403
6459
  headerParameters: [accept],
6404
- serializer: serializer$e
6460
+ serializer: serializer$4
6405
6461
  };
6406
- const listBySubscriptionNextOperationSpec = {
6462
+ const listBySubscriptionNextOperationSpec$1 = {
6407
6463
  path: "{nextLink}",
6408
6464
  httpMethod: "GET",
6409
6465
  responses: {
@@ -6426,7 +6482,7 @@ const listBySubscriptionNextOperationSpec = {
6426
6482
  nextLink
6427
6483
  ],
6428
6484
  headerParameters: [accept],
6429
- serializer: serializer$e
6485
+ serializer: serializer$4
6430
6486
  };
6431
6487
 
6432
6488
  /*
@@ -6447,7 +6503,7 @@ class WorkbooksImpl {
6447
6503
  this.client = client;
6448
6504
  }
6449
6505
  /**
6450
- * Get all private workbooks defined within a specified subscription and category.
6506
+ * Get all Workbooks defined within a specified subscription and category.
6451
6507
  * @param category Category of workbook to return.
6452
6508
  * @param options The options parameters.
6453
6509
  */
@@ -6596,12 +6652,12 @@ class WorkbooksImpl {
6596
6652
  });
6597
6653
  }
6598
6654
  /**
6599
- * Get all private workbooks defined within a specified subscription and category.
6655
+ * Get all Workbooks defined within a specified subscription and category.
6600
6656
  * @param category Category of workbook to return.
6601
6657
  * @param options The options parameters.
6602
6658
  */
6603
6659
  _listBySubscription(category, options) {
6604
- return this.client.sendOperationRequest({ category, options }, listBySubscriptionOperationSpec$1);
6660
+ return this.client.sendOperationRequest({ category, options }, listBySubscriptionOperationSpec);
6605
6661
  }
6606
6662
  /**
6607
6663
  * Get all Workbooks defined within a specified resource group and category.
@@ -6610,7 +6666,7 @@ class WorkbooksImpl {
6610
6666
  * @param options The options parameters.
6611
6667
  */
6612
6668
  _listByResourceGroup(resourceGroupName, category, options) {
6613
- return this.client.sendOperationRequest({ resourceGroupName, category, options }, listByResourceGroupOperationSpec$3);
6669
+ return this.client.sendOperationRequest({ resourceGroupName, category, options }, listByResourceGroupOperationSpec$1);
6614
6670
  }
6615
6671
  /**
6616
6672
  * Get a single workbook by its resourceName.
@@ -6619,7 +6675,7 @@ class WorkbooksImpl {
6619
6675
  * @param options The options parameters.
6620
6676
  */
6621
6677
  get(resourceGroupName, resourceName, options) {
6622
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$d);
6678
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$3);
6623
6679
  }
6624
6680
  /**
6625
6681
  * Delete a workbook.
@@ -6628,7 +6684,7 @@ class WorkbooksImpl {
6628
6684
  * @param options The options parameters.
6629
6685
  */
6630
6686
  delete(resourceGroupName, resourceName, options) {
6631
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$9);
6687
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$2);
6632
6688
  }
6633
6689
  /**
6634
6690
  * Create a new workbook.
@@ -6638,7 +6694,7 @@ class WorkbooksImpl {
6638
6694
  * @param options The options parameters.
6639
6695
  */
6640
6696
  createOrUpdate(resourceGroupName, resourceName, workbookProperties, options) {
6641
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookProperties, options }, createOrUpdateOperationSpec$3);
6697
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookProperties, options }, createOrUpdateOperationSpec$1);
6642
6698
  }
6643
6699
  /**
6644
6700
  * Updates a workbook that has already been added.
@@ -6647,7 +6703,7 @@ class WorkbooksImpl {
6647
6703
  * @param options The options parameters.
6648
6704
  */
6649
6705
  update(resourceGroupName, resourceName, options) {
6650
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec$6);
6706
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec$1);
6651
6707
  }
6652
6708
  /**
6653
6709
  * Get the revisions for the workbook defined by its resourceName.
@@ -6675,7 +6731,7 @@ class WorkbooksImpl {
6675
6731
  * @param options The options parameters.
6676
6732
  */
6677
6733
  _listBySubscriptionNext(category, nextLink, options) {
6678
- return this.client.sendOperationRequest({ category, nextLink, options }, listBySubscriptionNextOperationSpec$1);
6734
+ return this.client.sendOperationRequest({ category, nextLink, options }, listBySubscriptionNextOperationSpec);
6679
6735
  }
6680
6736
  /**
6681
6737
  * ListByResourceGroupNext
@@ -6685,7 +6741,7 @@ class WorkbooksImpl {
6685
6741
  * @param options The options parameters.
6686
6742
  */
6687
6743
  _listByResourceGroupNext(resourceGroupName, category, nextLink, options) {
6688
- return this.client.sendOperationRequest({ resourceGroupName, category, nextLink, options }, listByResourceGroupNextOperationSpec$2);
6744
+ return this.client.sendOperationRequest({ resourceGroupName, category, nextLink, options }, listByResourceGroupNextOperationSpec$1);
6689
6745
  }
6690
6746
  /**
6691
6747
  * RevisionsListNext
@@ -6699,8 +6755,8 @@ class WorkbooksImpl {
6699
6755
  }
6700
6756
  }
6701
6757
  // Operation Specifications
6702
- const serializer$f = coreClient.createSerializer(Mappers, /* isXml */ false);
6703
- const listBySubscriptionOperationSpec$1 = {
6758
+ const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
6759
+ const listBySubscriptionOperationSpec = {
6704
6760
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks",
6705
6761
  httpMethod: "GET",
6706
6762
  responses: {
@@ -6719,9 +6775,9 @@ const listBySubscriptionOperationSpec$1 = {
6719
6775
  ],
6720
6776
  urlParameters: [$host, subscriptionId],
6721
6777
  headerParameters: [accept],
6722
- serializer: serializer$f
6778
+ serializer: serializer$3
6723
6779
  };
6724
- const listByResourceGroupOperationSpec$3 = {
6780
+ const listByResourceGroupOperationSpec$1 = {
6725
6781
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks",
6726
6782
  httpMethod: "GET",
6727
6783
  responses: {
@@ -6745,9 +6801,9 @@ const listByResourceGroupOperationSpec$3 = {
6745
6801
  subscriptionId
6746
6802
  ],
6747
6803
  headerParameters: [accept],
6748
- serializer: serializer$f
6804
+ serializer: serializer$3
6749
6805
  };
6750
- const getOperationSpec$d = {
6806
+ const getOperationSpec$3 = {
6751
6807
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
6752
6808
  httpMethod: "GET",
6753
6809
  responses: {
@@ -6758,7 +6814,7 @@ const getOperationSpec$d = {
6758
6814
  bodyMapper: WorkbookError
6759
6815
  }
6760
6816
  },
6761
- queryParameters: [apiVersion3],
6817
+ queryParameters: [canFetchContent, apiVersion3],
6762
6818
  urlParameters: [
6763
6819
  $host,
6764
6820
  resourceGroupName,
@@ -6766,9 +6822,9 @@ const getOperationSpec$d = {
6766
6822
  resourceName
6767
6823
  ],
6768
6824
  headerParameters: [accept],
6769
- serializer: serializer$f
6825
+ serializer: serializer$3
6770
6826
  };
6771
- const deleteOperationSpec$9 = {
6827
+ const deleteOperationSpec$2 = {
6772
6828
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
6773
6829
  httpMethod: "DELETE",
6774
6830
  responses: {
@@ -6786,9 +6842,9 @@ const deleteOperationSpec$9 = {
6786
6842
  resourceName
6787
6843
  ],
6788
6844
  headerParameters: [accept],
6789
- serializer: serializer$f
6845
+ serializer: serializer$3
6790
6846
  };
6791
- const createOrUpdateOperationSpec$3 = {
6847
+ const createOrUpdateOperationSpec$1 = {
6792
6848
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
6793
6849
  httpMethod: "PUT",
6794
6850
  responses: {
@@ -6812,9 +6868,9 @@ const createOrUpdateOperationSpec$3 = {
6812
6868
  ],
6813
6869
  headerParameters: [accept, contentType],
6814
6870
  mediaType: "json",
6815
- serializer: serializer$f
6871
+ serializer: serializer$3
6816
6872
  };
6817
- const updateOperationSpec$6 = {
6873
+ const updateOperationSpec$1 = {
6818
6874
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
6819
6875
  httpMethod: "PATCH",
6820
6876
  responses: {
@@ -6835,7 +6891,7 @@ const updateOperationSpec$6 = {
6835
6891
  ],
6836
6892
  headerParameters: [accept, contentType],
6837
6893
  mediaType: "json",
6838
- serializer: serializer$f
6894
+ serializer: serializer$3
6839
6895
  };
6840
6896
  const revisionsListOperationSpec = {
6841
6897
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions",
@@ -6856,7 +6912,7 @@ const revisionsListOperationSpec = {
6856
6912
  resourceName
6857
6913
  ],
6858
6914
  headerParameters: [accept],
6859
- serializer: serializer$f
6915
+ serializer: serializer$3
6860
6916
  };
6861
6917
  const revisionGetOperationSpec = {
6862
6918
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}",
@@ -6878,9 +6934,9 @@ const revisionGetOperationSpec = {
6878
6934
  revisionId
6879
6935
  ],
6880
6936
  headerParameters: [accept],
6881
- serializer: serializer$f
6937
+ serializer: serializer$3
6882
6938
  };
6883
- const listBySubscriptionNextOperationSpec$1 = {
6939
+ const listBySubscriptionNextOperationSpec = {
6884
6940
  path: "{nextLink}",
6885
6941
  httpMethod: "GET",
6886
6942
  responses: {
@@ -6903,9 +6959,9 @@ const listBySubscriptionNextOperationSpec$1 = {
6903
6959
  nextLink
6904
6960
  ],
6905
6961
  headerParameters: [accept],
6906
- serializer: serializer$f
6962
+ serializer: serializer$3
6907
6963
  };
6908
- const listByResourceGroupNextOperationSpec$2 = {
6964
+ const listByResourceGroupNextOperationSpec$1 = {
6909
6965
  path: "{nextLink}",
6910
6966
  httpMethod: "GET",
6911
6967
  responses: {
@@ -6930,7 +6986,7 @@ const listByResourceGroupNextOperationSpec$2 = {
6930
6986
  nextLink
6931
6987
  ],
6932
6988
  headerParameters: [accept],
6933
- serializer: serializer$f
6989
+ serializer: serializer$3
6934
6990
  };
6935
6991
  const revisionsListNextOperationSpec = {
6936
6992
  path: "{nextLink}",
@@ -6952,7 +7008,7 @@ const revisionsListNextOperationSpec = {
6952
7008
  nextLink
6953
7009
  ],
6954
7010
  headerParameters: [accept],
6955
- serializer: serializer$f
7011
+ serializer: serializer$3
6956
7012
  };
6957
7013
 
6958
7014
  /*
@@ -7074,7 +7130,7 @@ class ComponentsImpl {
7074
7130
  * @param options The options parameters.
7075
7131
  */
7076
7132
  _list(options) {
7077
- return this.client.sendOperationRequest({ options }, listOperationSpec$9);
7133
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
7078
7134
  }
7079
7135
  /**
7080
7136
  * Gets a list of Application Insights components within a resource group.
@@ -7082,7 +7138,7 @@ class ComponentsImpl {
7082
7138
  * @param options The options parameters.
7083
7139
  */
7084
7140
  _listByResourceGroup(resourceGroupName, options) {
7085
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$4);
7141
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
7086
7142
  }
7087
7143
  /**
7088
7144
  * Deletes an Application Insights component.
@@ -7091,7 +7147,7 @@ class ComponentsImpl {
7091
7147
  * @param options The options parameters.
7092
7148
  */
7093
7149
  delete(resourceGroupName, resourceName, options) {
7094
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$a);
7150
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec$1);
7095
7151
  }
7096
7152
  /**
7097
7153
  * Returns an Application Insights component.
@@ -7100,7 +7156,7 @@ class ComponentsImpl {
7100
7156
  * @param options The options parameters.
7101
7157
  */
7102
7158
  get(resourceGroupName, resourceName, options) {
7103
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$e);
7159
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec$2);
7104
7160
  }
7105
7161
  /**
7106
7162
  * Creates (or updates) an Application Insights component. Note: You cannot specify a different value
@@ -7112,7 +7168,7 @@ class ComponentsImpl {
7112
7168
  * @param options The options parameters.
7113
7169
  */
7114
7170
  createOrUpdate(resourceGroupName, resourceName, insightProperties, options) {
7115
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, insightProperties, options }, createOrUpdateOperationSpec$4);
7171
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, insightProperties, options }, createOrUpdateOperationSpec);
7116
7172
  }
7117
7173
  /**
7118
7174
  * Updates an existing component's tags. To update other fields use the CreateOrUpdate method.
@@ -7122,7 +7178,7 @@ class ComponentsImpl {
7122
7178
  * @param options The options parameters.
7123
7179
  */
7124
7180
  updateTags(resourceGroupName, resourceName, componentTags, options) {
7125
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, componentTags, options }, updateTagsOperationSpec$1);
7181
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, componentTags, options }, updateTagsOperationSpec);
7126
7182
  }
7127
7183
  /**
7128
7184
  * Purges data in an Application Insights component by a set of user-defined filters.
@@ -7157,7 +7213,7 @@ class ComponentsImpl {
7157
7213
  * @param options The options parameters.
7158
7214
  */
7159
7215
  _listNext(nextLink, options) {
7160
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
7216
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
7161
7217
  }
7162
7218
  /**
7163
7219
  * ListByResourceGroupNext
@@ -7166,12 +7222,12 @@ class ComponentsImpl {
7166
7222
  * @param options The options parameters.
7167
7223
  */
7168
7224
  _listByResourceGroupNext(resourceGroupName, nextLink, options) {
7169
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$3);
7225
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
7170
7226
  }
7171
7227
  }
7172
7228
  // Operation Specifications
7173
- const serializer$g = coreClient.createSerializer(Mappers, /* isXml */ false);
7174
- const listOperationSpec$9 = {
7229
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
7230
+ const listOperationSpec = {
7175
7231
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components",
7176
7232
  httpMethod: "GET",
7177
7233
  responses: {
@@ -7185,9 +7241,9 @@ const listOperationSpec$9 = {
7185
7241
  queryParameters: [apiVersion4],
7186
7242
  urlParameters: [$host, subscriptionId],
7187
7243
  headerParameters: [accept],
7188
- serializer: serializer$g
7244
+ serializer: serializer$2
7189
7245
  };
7190
- const listByResourceGroupOperationSpec$4 = {
7246
+ const listByResourceGroupOperationSpec = {
7191
7247
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components",
7192
7248
  httpMethod: "GET",
7193
7249
  responses: {
@@ -7205,9 +7261,9 @@ const listByResourceGroupOperationSpec$4 = {
7205
7261
  subscriptionId
7206
7262
  ],
7207
7263
  headerParameters: [accept],
7208
- serializer: serializer$g
7264
+ serializer: serializer$2
7209
7265
  };
7210
- const deleteOperationSpec$a = {
7266
+ const deleteOperationSpec$1 = {
7211
7267
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
7212
7268
  httpMethod: "DELETE",
7213
7269
  responses: {
@@ -7225,9 +7281,9 @@ const deleteOperationSpec$a = {
7225
7281
  resourceName
7226
7282
  ],
7227
7283
  headerParameters: [accept],
7228
- serializer: serializer$g
7284
+ serializer: serializer$2
7229
7285
  };
7230
- const getOperationSpec$e = {
7286
+ const getOperationSpec$2 = {
7231
7287
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
7232
7288
  httpMethod: "GET",
7233
7289
  responses: {
@@ -7246,9 +7302,9 @@ const getOperationSpec$e = {
7246
7302
  resourceName
7247
7303
  ],
7248
7304
  headerParameters: [accept],
7249
- serializer: serializer$g
7305
+ serializer: serializer$2
7250
7306
  };
7251
- const createOrUpdateOperationSpec$4 = {
7307
+ const createOrUpdateOperationSpec = {
7252
7308
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
7253
7309
  httpMethod: "PUT",
7254
7310
  responses: {
@@ -7269,9 +7325,9 @@ const createOrUpdateOperationSpec$4 = {
7269
7325
  ],
7270
7326
  headerParameters: [accept, contentType],
7271
7327
  mediaType: "json",
7272
- serializer: serializer$g
7328
+ serializer: serializer$2
7273
7329
  };
7274
- const updateTagsOperationSpec$1 = {
7330
+ const updateTagsOperationSpec = {
7275
7331
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
7276
7332
  httpMethod: "PATCH",
7277
7333
  responses: {
@@ -7292,7 +7348,7 @@ const updateTagsOperationSpec$1 = {
7292
7348
  ],
7293
7349
  headerParameters: [accept, contentType],
7294
7350
  mediaType: "json",
7295
- serializer: serializer$g
7351
+ serializer: serializer$2
7296
7352
  };
7297
7353
  const purgeOperationSpec = {
7298
7354
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge",
@@ -7315,7 +7371,7 @@ const purgeOperationSpec = {
7315
7371
  ],
7316
7372
  headerParameters: [accept, contentType],
7317
7373
  mediaType: "json",
7318
- serializer: serializer$g
7374
+ serializer: serializer$2
7319
7375
  };
7320
7376
  const getPurgeStatusOperationSpec = {
7321
7377
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}",
@@ -7337,9 +7393,9 @@ const getPurgeStatusOperationSpec = {
7337
7393
  purgeId
7338
7394
  ],
7339
7395
  headerParameters: [accept],
7340
- serializer: serializer$g
7396
+ serializer: serializer$2
7341
7397
  };
7342
- const listNextOperationSpec$1 = {
7398
+ const listNextOperationSpec = {
7343
7399
  path: "{nextLink}",
7344
7400
  httpMethod: "GET",
7345
7401
  responses: {
@@ -7357,9 +7413,9 @@ const listNextOperationSpec$1 = {
7357
7413
  nextLink
7358
7414
  ],
7359
7415
  headerParameters: [accept],
7360
- serializer: serializer$g
7416
+ serializer: serializer$2
7361
7417
  };
7362
- const listByResourceGroupNextOperationSpec$3 = {
7418
+ const listByResourceGroupNextOperationSpec = {
7363
7419
  path: "{nextLink}",
7364
7420
  httpMethod: "GET",
7365
7421
  responses: {
@@ -7378,7 +7434,7 @@ const listByResourceGroupNextOperationSpec$3 = {
7378
7434
  nextLink
7379
7435
  ],
7380
7436
  headerParameters: [accept],
7381
- serializer: serializer$g
7437
+ serializer: serializer$2
7382
7438
  };
7383
7439
 
7384
7440
  /*
@@ -7406,7 +7462,7 @@ class ComponentLinkedStorageAccountsOperationsImpl {
7406
7462
  * @param options The options parameters.
7407
7463
  */
7408
7464
  get(resourceGroupName, resourceName, storageType, options) {
7409
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, storageType, options }, getOperationSpec$f);
7465
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, storageType, options }, getOperationSpec$1);
7410
7466
  }
7411
7467
  /**
7412
7468
  * Replace current linked storage account for an Application Insights component.
@@ -7444,7 +7500,7 @@ class ComponentLinkedStorageAccountsOperationsImpl {
7444
7500
  storageType,
7445
7501
  linkedStorageAccountsProperties,
7446
7502
  options
7447
- }, updateOperationSpec$7);
7503
+ }, updateOperationSpec);
7448
7504
  }
7449
7505
  /**
7450
7506
  * Delete linked storage accounts for an Application Insights component.
@@ -7455,12 +7511,12 @@ class ComponentLinkedStorageAccountsOperationsImpl {
7455
7511
  * @param options The options parameters.
7456
7512
  */
7457
7513
  delete(resourceGroupName, resourceName, storageType, options) {
7458
- return this.client.sendOperationRequest({ resourceGroupName, resourceName, storageType, options }, deleteOperationSpec$b);
7514
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, storageType, options }, deleteOperationSpec);
7459
7515
  }
7460
7516
  }
7461
7517
  // Operation Specifications
7462
- const serializer$h = coreClient.createSerializer(Mappers, /* isXml */ false);
7463
- const getOperationSpec$f = {
7518
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
7519
+ const getOperationSpec$1 = {
7464
7520
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}",
7465
7521
  httpMethod: "GET",
7466
7522
  responses: {
@@ -7480,7 +7536,7 @@ const getOperationSpec$f = {
7480
7536
  storageType
7481
7537
  ],
7482
7538
  headerParameters: [accept],
7483
- serializer: serializer$h
7539
+ serializer: serializer$1
7484
7540
  };
7485
7541
  const createAndUpdateOperationSpec = {
7486
7542
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}",
@@ -7504,9 +7560,9 @@ const createAndUpdateOperationSpec = {
7504
7560
  ],
7505
7561
  headerParameters: [accept, contentType],
7506
7562
  mediaType: "json",
7507
- serializer: serializer$h
7563
+ serializer: serializer$1
7508
7564
  };
7509
- const updateOperationSpec$7 = {
7565
+ const updateOperationSpec = {
7510
7566
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}",
7511
7567
  httpMethod: "PATCH",
7512
7568
  responses: {
@@ -7528,9 +7584,9 @@ const updateOperationSpec$7 = {
7528
7584
  ],
7529
7585
  headerParameters: [accept, contentType],
7530
7586
  mediaType: "json",
7531
- serializer: serializer$h
7587
+ serializer: serializer$1
7532
7588
  };
7533
- const deleteOperationSpec$b = {
7589
+ const deleteOperationSpec = {
7534
7590
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}",
7535
7591
  httpMethod: "DELETE",
7536
7592
  responses: {
@@ -7549,7 +7605,7 @@ const deleteOperationSpec$b = {
7549
7605
  storageType
7550
7606
  ],
7551
7607
  headerParameters: [accept],
7552
- serializer: serializer$h
7608
+ serializer: serializer$1
7553
7609
  };
7554
7610
 
7555
7611
  /*
@@ -7574,12 +7630,12 @@ class LiveTokenImpl {
7574
7630
  * @param options The options parameters.
7575
7631
  */
7576
7632
  get(resourceUri, options) {
7577
- return this.client.sendOperationRequest({ resourceUri, options }, getOperationSpec$g);
7633
+ return this.client.sendOperationRequest({ resourceUri, options }, getOperationSpec);
7578
7634
  }
7579
7635
  }
7580
7636
  // Operation Specifications
7581
- const serializer$i = coreClient.createSerializer(Mappers, /* isXml */ false);
7582
- const getOperationSpec$g = {
7637
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
7638
+ const getOperationSpec = {
7583
7639
  path: "/{resourceUri}/providers/Microsoft.Insights/generatelivetoken",
7584
7640
  httpMethod: "POST",
7585
7641
  responses: {
@@ -7593,7 +7649,7 @@ const getOperationSpec$g = {
7593
7649
  queryParameters: [apiVersion6],
7594
7650
  urlParameters: [$host, resourceUri],
7595
7651
  headerParameters: [accept],
7596
- serializer: serializer$i
7652
+ serializer
7597
7653
  };
7598
7654
 
7599
7655
  /*
@@ -7603,7 +7659,7 @@ const getOperationSpec$g = {
7603
7659
  * Code generated by Microsoft (R) AutoRest Code Generator.
7604
7660
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7605
7661
  */
7606
- class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
7662
+ class ApplicationInsightsManagementClient extends coreClient__namespace.ServiceClient {
7607
7663
  /**
7608
7664
  * Initializes a new instance of the ApplicationInsightsManagementClient class.
7609
7665
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -7625,7 +7681,7 @@ class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
7625
7681
  requestContentType: "application/json; charset=utf-8",
7626
7682
  credential: credentials
7627
7683
  };
7628
- const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.2`;
7684
+ const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.3`;
7629
7685
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7630
7686
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
7631
7687
  : `${packageDetails}`;