@azure/arm-datalake-analytics 2.0.0-alpha.20220118.1 → 2.0.0-alpha.20220131.1

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,16 +33,22 @@ 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 AADObjectType} that the service accepts. */
37
+ exports.KnownAADObjectType = void 0;
16
38
  (function (KnownAADObjectType) {
17
39
  KnownAADObjectType["User"] = "User";
18
40
  KnownAADObjectType["Group"] = "Group";
19
41
  KnownAADObjectType["ServicePrincipal"] = "ServicePrincipal";
20
42
  })(exports.KnownAADObjectType || (exports.KnownAADObjectType = {}));
43
+ /** Known values of {@link OperationOrigin} that the service accepts. */
44
+ exports.KnownOperationOrigin = void 0;
21
45
  (function (KnownOperationOrigin) {
22
46
  KnownOperationOrigin["User"] = "user";
23
47
  KnownOperationOrigin["System"] = "system";
24
48
  KnownOperationOrigin["UserSystem"] = "user,system";
25
49
  })(exports.KnownOperationOrigin || (exports.KnownOperationOrigin = {}));
50
+ /** Known values of {@link SubscriptionState} that the service accepts. */
51
+ exports.KnownSubscriptionState = void 0;
26
52
  (function (KnownSubscriptionState) {
27
53
  KnownSubscriptionState["Registered"] = "Registered";
28
54
  KnownSubscriptionState["Suspended"] = "Suspended";
@@ -2787,7 +2813,7 @@ class AccountsImpl {
2787
2813
  * @param options The options parameters.
2788
2814
  */
2789
2815
  _list(options) {
2790
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2816
+ return this.client.sendOperationRequest({ options }, listOperationSpec$1);
2791
2817
  }
2792
2818
  /**
2793
2819
  * Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This
@@ -2858,7 +2884,7 @@ class AccountsImpl {
2858
2884
  * @param options The options parameters.
2859
2885
  */
2860
2886
  get(resourceGroupName, accountName, options) {
2861
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec);
2887
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec$4);
2862
2888
  }
2863
2889
  /**
2864
2890
  * Updates the Data Lake Analytics account object specified by the accountName with the contents of the
@@ -2891,7 +2917,7 @@ class AccountsImpl {
2891
2917
  }
2892
2918
  };
2893
2919
  });
2894
- const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, updateOperationSpec);
2920
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, updateOperationSpec$3);
2895
2921
  return new coreLro.LroEngine(lro, {
2896
2922
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2897
2923
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2941,7 +2967,7 @@ class AccountsImpl {
2941
2967
  }
2942
2968
  };
2943
2969
  });
2944
- const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec);
2970
+ const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$4);
2945
2971
  return new coreLro.LroEngine(lro, {
2946
2972
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2947
2973
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2988,8 +3014,8 @@ class AccountsImpl {
2988
3014
  }
2989
3015
  }
2990
3016
  // Operation Specifications
2991
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
2992
- const listOperationSpec = {
3017
+ const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3018
+ const listOperationSpec$1 = {
2993
3019
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts",
2994
3020
  httpMethod: "GET",
2995
3021
  responses: {
@@ -3011,7 +3037,7 @@ const listOperationSpec = {
3011
3037
  ],
3012
3038
  urlParameters: [$host, subscriptionId],
3013
3039
  headerParameters: [accept],
3014
- serializer
3040
+ serializer: serializer$6
3015
3041
  };
3016
3042
  const listByResourceGroupOperationSpec = {
3017
3043
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts",
@@ -3039,7 +3065,7 @@ const listByResourceGroupOperationSpec = {
3039
3065
  resourceGroupName
3040
3066
  ],
3041
3067
  headerParameters: [accept],
3042
- serializer
3068
+ serializer: serializer$6
3043
3069
  };
3044
3070
  const createOperationSpec = {
3045
3071
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
@@ -3071,9 +3097,9 @@ const createOperationSpec = {
3071
3097
  ],
3072
3098
  headerParameters: [accept, contentType],
3073
3099
  mediaType: "json",
3074
- serializer
3100
+ serializer: serializer$6
3075
3101
  };
3076
- const getOperationSpec = {
3102
+ const getOperationSpec$4 = {
3077
3103
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3078
3104
  httpMethod: "GET",
3079
3105
  responses: {
@@ -3092,9 +3118,9 @@ const getOperationSpec = {
3092
3118
  accountName
3093
3119
  ],
3094
3120
  headerParameters: [accept],
3095
- serializer
3121
+ serializer: serializer$6
3096
3122
  };
3097
- const updateOperationSpec = {
3123
+ const updateOperationSpec$3 = {
3098
3124
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3099
3125
  httpMethod: "PATCH",
3100
3126
  responses: {
@@ -3124,9 +3150,9 @@ const updateOperationSpec = {
3124
3150
  ],
3125
3151
  headerParameters: [accept, contentType],
3126
3152
  mediaType: "json",
3127
- serializer
3153
+ serializer: serializer$6
3128
3154
  };
3129
- const deleteOperationSpec = {
3155
+ const deleteOperationSpec$4 = {
3130
3156
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}",
3131
3157
  httpMethod: "DELETE",
3132
3158
  responses: {
@@ -3146,7 +3172,7 @@ const deleteOperationSpec = {
3146
3172
  accountName
3147
3173
  ],
3148
3174
  headerParameters: [accept],
3149
- serializer
3175
+ serializer: serializer$6
3150
3176
  };
3151
3177
  const checkNameAvailabilityOperationSpec = {
3152
3178
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability",
@@ -3168,7 +3194,7 @@ const checkNameAvailabilityOperationSpec = {
3168
3194
  ],
3169
3195
  headerParameters: [accept, contentType],
3170
3196
  mediaType: "json",
3171
- serializer
3197
+ serializer: serializer$6
3172
3198
  };
3173
3199
  const listNextOperationSpec = {
3174
3200
  path: "{nextLink}",
@@ -3196,7 +3222,7 @@ const listNextOperationSpec = {
3196
3222
  nextLink
3197
3223
  ],
3198
3224
  headerParameters: [accept],
3199
- serializer
3225
+ serializer: serializer$6
3200
3226
  };
3201
3227
  const listByResourceGroupNextOperationSpec = {
3202
3228
  path: "{nextLink}",
@@ -3225,7 +3251,7 @@ const listByResourceGroupNextOperationSpec = {
3225
3251
  nextLink
3226
3252
  ],
3227
3253
  headerParameters: [accept],
3228
- serializer
3254
+ serializer: serializer$6
3229
3255
  };
3230
3256
 
3231
3257
  /*
@@ -3304,7 +3330,7 @@ class DataLakeStoreAccountsImpl {
3304
3330
  * @param options The options parameters.
3305
3331
  */
3306
3332
  _listByAccount(resourceGroupName, accountName, options) {
3307
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec);
3333
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$3);
3308
3334
  }
3309
3335
  /**
3310
3336
  * Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.
@@ -3314,7 +3340,7 @@ class DataLakeStoreAccountsImpl {
3314
3340
  * @param options The options parameters.
3315
3341
  */
3316
3342
  add(resourceGroupName, accountName, dataLakeStoreAccountName, options) {
3317
- return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, addOperationSpec);
3343
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, addOperationSpec$1);
3318
3344
  }
3319
3345
  /**
3320
3346
  * Gets the specified Data Lake Store account details in the specified Data Lake Analytics account.
@@ -3324,7 +3350,7 @@ class DataLakeStoreAccountsImpl {
3324
3350
  * @param options The options parameters.
3325
3351
  */
3326
3352
  get(resourceGroupName, accountName, dataLakeStoreAccountName, options) {
3327
- return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, getOperationSpec$1);
3353
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, getOperationSpec$3);
3328
3354
  }
3329
3355
  /**
3330
3356
  * Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.
@@ -3334,7 +3360,7 @@ class DataLakeStoreAccountsImpl {
3334
3360
  * @param options The options parameters.
3335
3361
  */
3336
3362
  delete(resourceGroupName, accountName, dataLakeStoreAccountName, options) {
3337
- return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, deleteOperationSpec$1);
3363
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, dataLakeStoreAccountName, options }, deleteOperationSpec$3);
3338
3364
  }
3339
3365
  /**
3340
3366
  * ListByAccountNext
@@ -3344,12 +3370,12 @@ class DataLakeStoreAccountsImpl {
3344
3370
  * @param options The options parameters.
3345
3371
  */
3346
3372
  _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
3347
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec);
3373
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$3);
3348
3374
  }
3349
3375
  }
3350
3376
  // Operation Specifications
3351
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
3352
- const listByAccountOperationSpec = {
3377
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3378
+ const listByAccountOperationSpec$3 = {
3353
3379
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts",
3354
3380
  httpMethod: "GET",
3355
3381
  responses: {
@@ -3376,9 +3402,9 @@ const listByAccountOperationSpec = {
3376
3402
  accountName
3377
3403
  ],
3378
3404
  headerParameters: [accept],
3379
- serializer: serializer$1
3405
+ serializer: serializer$5
3380
3406
  };
3381
- const addOperationSpec = {
3407
+ const addOperationSpec$1 = {
3382
3408
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3383
3409
  httpMethod: "PUT",
3384
3410
  responses: {
@@ -3398,9 +3424,9 @@ const addOperationSpec = {
3398
3424
  ],
3399
3425
  headerParameters: [accept, contentType],
3400
3426
  mediaType: "json",
3401
- serializer: serializer$1
3427
+ serializer: serializer$5
3402
3428
  };
3403
- const getOperationSpec$1 = {
3429
+ const getOperationSpec$3 = {
3404
3430
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3405
3431
  httpMethod: "GET",
3406
3432
  responses: {
@@ -3420,9 +3446,9 @@ const getOperationSpec$1 = {
3420
3446
  dataLakeStoreAccountName
3421
3447
  ],
3422
3448
  headerParameters: [accept],
3423
- serializer: serializer$1
3449
+ serializer: serializer$5
3424
3450
  };
3425
- const deleteOperationSpec$1 = {
3451
+ const deleteOperationSpec$3 = {
3426
3452
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/dataLakeStoreAccounts/{dataLakeStoreAccountName}",
3427
3453
  httpMethod: "DELETE",
3428
3454
  responses: {
@@ -3441,9 +3467,9 @@ const deleteOperationSpec$1 = {
3441
3467
  dataLakeStoreAccountName
3442
3468
  ],
3443
3469
  headerParameters: [accept],
3444
- serializer: serializer$1
3470
+ serializer: serializer$5
3445
3471
  };
3446
- const listByAccountNextOperationSpec = {
3472
+ const listByAccountNextOperationSpec$3 = {
3447
3473
  path: "{nextLink}",
3448
3474
  httpMethod: "GET",
3449
3475
  responses: {
@@ -3471,7 +3497,7 @@ const listByAccountNextOperationSpec = {
3471
3497
  nextLink
3472
3498
  ],
3473
3499
  headerParameters: [accept],
3474
- serializer: serializer$1
3500
+ serializer: serializer$5
3475
3501
  };
3476
3502
 
3477
3503
  /*
@@ -3657,7 +3683,7 @@ class StorageAccountsImpl {
3657
3683
  * @param options The options parameters.
3658
3684
  */
3659
3685
  _listByAccount(resourceGroupName, accountName, options) {
3660
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$1);
3686
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$2);
3661
3687
  }
3662
3688
  /**
3663
3689
  * Updates the specified Data Lake Analytics account to add an Azure Storage account.
@@ -3675,7 +3701,7 @@ class StorageAccountsImpl {
3675
3701
  storageAccountName,
3676
3702
  parameters,
3677
3703
  options
3678
- }, addOperationSpec$1);
3704
+ }, addOperationSpec);
3679
3705
  }
3680
3706
  /**
3681
3707
  * Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
@@ -3696,7 +3722,7 @@ class StorageAccountsImpl {
3696
3722
  * @param options The options parameters.
3697
3723
  */
3698
3724
  update(resourceGroupName, accountName, storageAccountName, options) {
3699
- return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, options }, updateOperationSpec$1);
3725
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, storageAccountName, options }, updateOperationSpec$2);
3700
3726
  }
3701
3727
  /**
3702
3728
  * Updates the specified Data Lake Analytics account to remove an Azure Storage account.
@@ -3766,7 +3792,7 @@ class StorageAccountsImpl {
3766
3792
  * @param options The options parameters.
3767
3793
  */
3768
3794
  _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
3769
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$1);
3795
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$2);
3770
3796
  }
3771
3797
  /**
3772
3798
  * ListStorageContainersNext
@@ -3802,8 +3828,8 @@ class StorageAccountsImpl {
3802
3828
  }
3803
3829
  }
3804
3830
  // Operation Specifications
3805
- const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
3806
- const listByAccountOperationSpec$1 = {
3831
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3832
+ const listByAccountOperationSpec$2 = {
3807
3833
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts",
3808
3834
  httpMethod: "GET",
3809
3835
  responses: {
@@ -3830,9 +3856,9 @@ const listByAccountOperationSpec$1 = {
3830
3856
  accountName
3831
3857
  ],
3832
3858
  headerParameters: [accept],
3833
- serializer: serializer$2
3859
+ serializer: serializer$4
3834
3860
  };
3835
- const addOperationSpec$1 = {
3861
+ const addOperationSpec = {
3836
3862
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3837
3863
  httpMethod: "PUT",
3838
3864
  responses: {
@@ -3852,7 +3878,7 @@ const addOperationSpec$1 = {
3852
3878
  ],
3853
3879
  headerParameters: [accept, contentType],
3854
3880
  mediaType: "json",
3855
- serializer: serializer$2
3881
+ serializer: serializer$4
3856
3882
  };
3857
3883
  const getOperationSpec$2 = {
3858
3884
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
@@ -3874,9 +3900,9 @@ const getOperationSpec$2 = {
3874
3900
  storageAccountName
3875
3901
  ],
3876
3902
  headerParameters: [accept],
3877
- serializer: serializer$2
3903
+ serializer: serializer$4
3878
3904
  };
3879
- const updateOperationSpec$1 = {
3905
+ const updateOperationSpec$2 = {
3880
3906
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
3881
3907
  httpMethod: "PATCH",
3882
3908
  responses: {
@@ -3896,7 +3922,7 @@ const updateOperationSpec$1 = {
3896
3922
  ],
3897
3923
  headerParameters: [accept, contentType],
3898
3924
  mediaType: "json",
3899
- serializer: serializer$2
3925
+ serializer: serializer$4
3900
3926
  };
3901
3927
  const deleteOperationSpec$2 = {
3902
3928
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}",
@@ -3916,7 +3942,7 @@ const deleteOperationSpec$2 = {
3916
3942
  storageAccountName
3917
3943
  ],
3918
3944
  headerParameters: [accept],
3919
- serializer: serializer$2
3945
+ serializer: serializer$4
3920
3946
  };
3921
3947
  const listStorageContainersOperationSpec = {
3922
3948
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers",
@@ -3938,7 +3964,7 @@ const listStorageContainersOperationSpec = {
3938
3964
  storageAccountName
3939
3965
  ],
3940
3966
  headerParameters: [accept],
3941
- serializer: serializer$2
3967
+ serializer: serializer$4
3942
3968
  };
3943
3969
  const getStorageContainerOperationSpec = {
3944
3970
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}",
@@ -3961,7 +3987,7 @@ const getStorageContainerOperationSpec = {
3961
3987
  containerName
3962
3988
  ],
3963
3989
  headerParameters: [accept],
3964
- serializer: serializer$2
3990
+ serializer: serializer$4
3965
3991
  };
3966
3992
  const listSasTokensOperationSpec = {
3967
3993
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}/listSasTokens",
@@ -3984,9 +4010,9 @@ const listSasTokensOperationSpec = {
3984
4010
  containerName
3985
4011
  ],
3986
4012
  headerParameters: [accept],
3987
- serializer: serializer$2
4013
+ serializer: serializer$4
3988
4014
  };
3989
- const listByAccountNextOperationSpec$1 = {
4015
+ const listByAccountNextOperationSpec$2 = {
3990
4016
  path: "{nextLink}",
3991
4017
  httpMethod: "GET",
3992
4018
  responses: {
@@ -4014,7 +4040,7 @@ const listByAccountNextOperationSpec$1 = {
4014
4040
  nextLink
4015
4041
  ],
4016
4042
  headerParameters: [accept],
4017
- serializer: serializer$2
4043
+ serializer: serializer$4
4018
4044
  };
4019
4045
  const listStorageContainersNextOperationSpec = {
4020
4046
  path: "{nextLink}",
@@ -4037,7 +4063,7 @@ const listStorageContainersNextOperationSpec = {
4037
4063
  storageAccountName
4038
4064
  ],
4039
4065
  headerParameters: [accept],
4040
- serializer: serializer$2
4066
+ serializer: serializer$4
4041
4067
  };
4042
4068
  const listSasTokensNextOperationSpec = {
4043
4069
  path: "{nextLink}",
@@ -4061,7 +4087,7 @@ const listSasTokensNextOperationSpec = {
4061
4087
  containerName
4062
4088
  ],
4063
4089
  headerParameters: [accept],
4064
- serializer: serializer$2
4090
+ serializer: serializer$4
4065
4091
  };
4066
4092
 
4067
4093
  /*
@@ -4140,7 +4166,7 @@ class ComputePoliciesImpl {
4140
4166
  * @param options The options parameters.
4141
4167
  */
4142
4168
  _listByAccount(resourceGroupName, accountName, options) {
4143
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$2);
4169
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$1);
4144
4170
  }
4145
4171
  /**
4146
4172
  * Creates or updates the specified compute policy. During update, the compute policy with the
@@ -4160,7 +4186,7 @@ class ComputePoliciesImpl {
4160
4186
  computePolicyName,
4161
4187
  parameters,
4162
4188
  options
4163
- }, createOrUpdateOperationSpec);
4189
+ }, createOrUpdateOperationSpec$1);
4164
4190
  }
4165
4191
  /**
4166
4192
  * Gets the specified Data Lake Analytics compute policy.
@@ -4170,7 +4196,7 @@ class ComputePoliciesImpl {
4170
4196
  * @param options The options parameters.
4171
4197
  */
4172
4198
  get(resourceGroupName, accountName, computePolicyName, options) {
4173
- return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, getOperationSpec$3);
4199
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, getOperationSpec$1);
4174
4200
  }
4175
4201
  /**
4176
4202
  * Updates the specified compute policy.
@@ -4180,7 +4206,7 @@ class ComputePoliciesImpl {
4180
4206
  * @param options The options parameters.
4181
4207
  */
4182
4208
  update(resourceGroupName, accountName, computePolicyName, options) {
4183
- return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, updateOperationSpec$2);
4209
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, updateOperationSpec$1);
4184
4210
  }
4185
4211
  /**
4186
4212
  * Deletes the specified compute policy from the specified Data Lake Analytics account
@@ -4190,7 +4216,7 @@ class ComputePoliciesImpl {
4190
4216
  * @param options The options parameters.
4191
4217
  */
4192
4218
  delete(resourceGroupName, accountName, computePolicyName, options) {
4193
- return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, deleteOperationSpec$3);
4219
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, computePolicyName, options }, deleteOperationSpec$1);
4194
4220
  }
4195
4221
  /**
4196
4222
  * ListByAccountNext
@@ -4200,12 +4226,12 @@ class ComputePoliciesImpl {
4200
4226
  * @param options The options parameters.
4201
4227
  */
4202
4228
  _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
4203
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$2);
4229
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$1);
4204
4230
  }
4205
4231
  }
4206
4232
  // Operation Specifications
4207
- const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
4208
- const listByAccountOperationSpec$2 = {
4233
+ const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4234
+ const listByAccountOperationSpec$1 = {
4209
4235
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies",
4210
4236
  httpMethod: "GET",
4211
4237
  responses: {
@@ -4226,7 +4252,7 @@ const listByAccountOperationSpec$2 = {
4226
4252
  headerParameters: [accept],
4227
4253
  serializer: serializer$3
4228
4254
  };
4229
- const createOrUpdateOperationSpec = {
4255
+ const createOrUpdateOperationSpec$1 = {
4230
4256
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4231
4257
  httpMethod: "PUT",
4232
4258
  responses: {
@@ -4250,7 +4276,7 @@ const createOrUpdateOperationSpec = {
4250
4276
  mediaType: "json",
4251
4277
  serializer: serializer$3
4252
4278
  };
4253
- const getOperationSpec$3 = {
4279
+ const getOperationSpec$1 = {
4254
4280
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4255
4281
  httpMethod: "GET",
4256
4282
  responses: {
@@ -4272,7 +4298,7 @@ const getOperationSpec$3 = {
4272
4298
  headerParameters: [accept],
4273
4299
  serializer: serializer$3
4274
4300
  };
4275
- const updateOperationSpec$2 = {
4301
+ const updateOperationSpec$1 = {
4276
4302
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4277
4303
  httpMethod: "PATCH",
4278
4304
  responses: {
@@ -4296,7 +4322,7 @@ const updateOperationSpec$2 = {
4296
4322
  mediaType: "json",
4297
4323
  serializer: serializer$3
4298
4324
  };
4299
- const deleteOperationSpec$3 = {
4325
+ const deleteOperationSpec$1 = {
4300
4326
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}",
4301
4327
  httpMethod: "DELETE",
4302
4328
  responses: {
@@ -4317,7 +4343,7 @@ const deleteOperationSpec$3 = {
4317
4343
  headerParameters: [accept],
4318
4344
  serializer: serializer$3
4319
4345
  };
4320
- const listByAccountNextOperationSpec$2 = {
4346
+ const listByAccountNextOperationSpec$1 = {
4321
4347
  path: "{nextLink}",
4322
4348
  httpMethod: "GET",
4323
4349
  responses: {
@@ -4414,7 +4440,7 @@ class FirewallRulesImpl {
4414
4440
  * @param options The options parameters.
4415
4441
  */
4416
4442
  _listByAccount(resourceGroupName, accountName, options) {
4417
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec$3);
4443
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec);
4418
4444
  }
4419
4445
  /**
4420
4446
  * Creates or updates the specified firewall rule. During update, the firewall rule with the specified
@@ -4426,7 +4452,7 @@ class FirewallRulesImpl {
4426
4452
  * @param options The options parameters.
4427
4453
  */
4428
4454
  createOrUpdate(resourceGroupName, accountName, firewallRuleName, parameters, options) {
4429
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec$1);
4455
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec);
4430
4456
  }
4431
4457
  /**
4432
4458
  * Gets the specified Data Lake Analytics firewall rule.
@@ -4436,7 +4462,7 @@ class FirewallRulesImpl {
4436
4462
  * @param options The options parameters.
4437
4463
  */
4438
4464
  get(resourceGroupName, accountName, firewallRuleName, options) {
4439
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, getOperationSpec$4);
4465
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, getOperationSpec);
4440
4466
  }
4441
4467
  /**
4442
4468
  * Updates the specified firewall rule.
@@ -4446,7 +4472,7 @@ class FirewallRulesImpl {
4446
4472
  * @param options The options parameters.
4447
4473
  */
4448
4474
  update(resourceGroupName, accountName, firewallRuleName, options) {
4449
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, updateOperationSpec$3);
4475
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, updateOperationSpec);
4450
4476
  }
4451
4477
  /**
4452
4478
  * Deletes the specified firewall rule from the specified Data Lake Analytics account
@@ -4456,7 +4482,7 @@ class FirewallRulesImpl {
4456
4482
  * @param options The options parameters.
4457
4483
  */
4458
4484
  delete(resourceGroupName, accountName, firewallRuleName, options) {
4459
- return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, deleteOperationSpec$4);
4485
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, firewallRuleName, options }, deleteOperationSpec);
4460
4486
  }
4461
4487
  /**
4462
4488
  * ListByAccountNext
@@ -4466,12 +4492,12 @@ class FirewallRulesImpl {
4466
4492
  * @param options The options parameters.
4467
4493
  */
4468
4494
  _listByAccountNext(resourceGroupName, accountName, nextLink, options) {
4469
- return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec$3);
4495
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec);
4470
4496
  }
4471
4497
  }
4472
4498
  // Operation Specifications
4473
- const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
4474
- const listByAccountOperationSpec$3 = {
4499
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4500
+ const listByAccountOperationSpec = {
4475
4501
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules",
4476
4502
  httpMethod: "GET",
4477
4503
  responses: {
@@ -4490,9 +4516,9 @@ const listByAccountOperationSpec$3 = {
4490
4516
  accountName
4491
4517
  ],
4492
4518
  headerParameters: [accept],
4493
- serializer: serializer$4
4519
+ serializer: serializer$2
4494
4520
  };
4495
- const createOrUpdateOperationSpec$1 = {
4521
+ const createOrUpdateOperationSpec = {
4496
4522
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4497
4523
  httpMethod: "PUT",
4498
4524
  responses: {
@@ -4514,9 +4540,9 @@ const createOrUpdateOperationSpec$1 = {
4514
4540
  ],
4515
4541
  headerParameters: [accept, contentType],
4516
4542
  mediaType: "json",
4517
- serializer: serializer$4
4543
+ serializer: serializer$2
4518
4544
  };
4519
- const getOperationSpec$4 = {
4545
+ const getOperationSpec = {
4520
4546
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4521
4547
  httpMethod: "GET",
4522
4548
  responses: {
@@ -4536,9 +4562,9 @@ const getOperationSpec$4 = {
4536
4562
  firewallRuleName
4537
4563
  ],
4538
4564
  headerParameters: [accept],
4539
- serializer: serializer$4
4565
+ serializer: serializer$2
4540
4566
  };
4541
- const updateOperationSpec$3 = {
4567
+ const updateOperationSpec = {
4542
4568
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4543
4569
  httpMethod: "PATCH",
4544
4570
  responses: {
@@ -4560,9 +4586,9 @@ const updateOperationSpec$3 = {
4560
4586
  ],
4561
4587
  headerParameters: [accept, contentType],
4562
4588
  mediaType: "json",
4563
- serializer: serializer$4
4589
+ serializer: serializer$2
4564
4590
  };
4565
- const deleteOperationSpec$4 = {
4591
+ const deleteOperationSpec = {
4566
4592
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/firewallRules/{firewallRuleName}",
4567
4593
  httpMethod: "DELETE",
4568
4594
  responses: {
@@ -4581,9 +4607,9 @@ const deleteOperationSpec$4 = {
4581
4607
  firewallRuleName
4582
4608
  ],
4583
4609
  headerParameters: [accept],
4584
- serializer: serializer$4
4610
+ serializer: serializer$2
4585
4611
  };
4586
- const listByAccountNextOperationSpec$3 = {
4612
+ const listByAccountNextOperationSpec = {
4587
4613
  path: "{nextLink}",
4588
4614
  httpMethod: "GET",
4589
4615
  responses: {
@@ -4603,7 +4629,7 @@ const listByAccountNextOperationSpec$3 = {
4603
4629
  nextLink
4604
4630
  ],
4605
4631
  headerParameters: [accept],
4606
- serializer: serializer$4
4632
+ serializer: serializer$2
4607
4633
  };
4608
4634
 
4609
4635
  /*
@@ -4627,12 +4653,12 @@ class OperationsImpl {
4627
4653
  * @param options The options parameters.
4628
4654
  */
4629
4655
  list(options) {
4630
- return this.client.sendOperationRequest({ options }, listOperationSpec$1);
4656
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
4631
4657
  }
4632
4658
  }
4633
4659
  // Operation Specifications
4634
- const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
4635
- const listOperationSpec$1 = {
4660
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4661
+ const listOperationSpec = {
4636
4662
  path: "/providers/Microsoft.DataLakeAnalytics/operations",
4637
4663
  httpMethod: "GET",
4638
4664
  responses: {
@@ -4646,7 +4672,7 @@ const listOperationSpec$1 = {
4646
4672
  queryParameters: [apiVersion],
4647
4673
  urlParameters: [$host],
4648
4674
  headerParameters: [accept],
4649
- serializer: serializer$5
4675
+ serializer: serializer$1
4650
4676
  };
4651
4677
 
4652
4678
  /*
@@ -4676,7 +4702,7 @@ class LocationsImpl {
4676
4702
  }
4677
4703
  }
4678
4704
  // Operation Specifications
4679
- const serializer$6 = coreClient.createSerializer(Mappers, /* isXml */ false);
4705
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4680
4706
  const getCapabilityOperationSpec = {
4681
4707
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/capability",
4682
4708
  httpMethod: "GET",
@@ -4696,7 +4722,7 @@ const getCapabilityOperationSpec = {
4696
4722
  location
4697
4723
  ],
4698
4724
  headerParameters: [accept],
4699
- serializer: serializer$6
4725
+ serializer
4700
4726
  };
4701
4727
 
4702
4728
  /*
@@ -4706,7 +4732,7 @@ const getCapabilityOperationSpec = {
4706
4732
  * Code generated by Microsoft (R) AutoRest Code Generator.
4707
4733
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4708
4734
  */
4709
- class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient {
4735
+ class DataLakeAnalyticsAccountManagementClient extends coreClient__namespace.ServiceClient {
4710
4736
  /**
4711
4737
  * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
4712
4738
  * @param credentials Subscription credentials which uniquely identify client subscription.