@azure/arm-mysql 5.0.1-alpha.20220119.1 → 5.0.1-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 +279 -223
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var tslib = require('tslib');
|
|
|
6
6
|
var coreClient = require('@azure/core-client');
|
|
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,64 +33,90 @@ 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 IdentityType} that the service accepts. */
|
|
37
|
+
exports.KnownIdentityType = void 0;
|
|
16
38
|
(function (KnownIdentityType) {
|
|
17
39
|
KnownIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
18
40
|
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
41
|
+
/** Known values of {@link SkuTier} that the service accepts. */
|
|
42
|
+
exports.KnownSkuTier = void 0;
|
|
19
43
|
(function (KnownSkuTier) {
|
|
20
44
|
KnownSkuTier["Basic"] = "Basic";
|
|
21
45
|
KnownSkuTier["GeneralPurpose"] = "GeneralPurpose";
|
|
22
46
|
KnownSkuTier["MemoryOptimized"] = "MemoryOptimized";
|
|
23
47
|
})(exports.KnownSkuTier || (exports.KnownSkuTier = {}));
|
|
48
|
+
/** Known values of {@link ServerVersion} that the service accepts. */
|
|
49
|
+
exports.KnownServerVersion = void 0;
|
|
24
50
|
(function (KnownServerVersion) {
|
|
25
51
|
KnownServerVersion["Five6"] = "5.6";
|
|
26
52
|
KnownServerVersion["Five7"] = "5.7";
|
|
27
53
|
KnownServerVersion["Eight0"] = "8.0";
|
|
28
54
|
})(exports.KnownServerVersion || (exports.KnownServerVersion = {}));
|
|
55
|
+
/** Known values of {@link MinimalTlsVersionEnum} that the service accepts. */
|
|
56
|
+
exports.KnownMinimalTlsVersionEnum = void 0;
|
|
29
57
|
(function (KnownMinimalTlsVersionEnum) {
|
|
30
58
|
KnownMinimalTlsVersionEnum["TLS10"] = "TLS1_0";
|
|
31
59
|
KnownMinimalTlsVersionEnum["TLS11"] = "TLS1_1";
|
|
32
60
|
KnownMinimalTlsVersionEnum["TLS12"] = "TLS1_2";
|
|
33
61
|
KnownMinimalTlsVersionEnum["TLSEnforcementDisabled"] = "TLSEnforcementDisabled";
|
|
34
62
|
})(exports.KnownMinimalTlsVersionEnum || (exports.KnownMinimalTlsVersionEnum = {}));
|
|
63
|
+
/** Known values of {@link InfrastructureEncryption} that the service accepts. */
|
|
64
|
+
exports.KnownInfrastructureEncryption = void 0;
|
|
35
65
|
(function (KnownInfrastructureEncryption) {
|
|
36
66
|
/** Default value for single layer of encryption for data at rest. */
|
|
37
67
|
KnownInfrastructureEncryption["Enabled"] = "Enabled";
|
|
38
68
|
/** Additional (2nd) layer of encryption for data at rest */
|
|
39
69
|
KnownInfrastructureEncryption["Disabled"] = "Disabled";
|
|
40
70
|
})(exports.KnownInfrastructureEncryption || (exports.KnownInfrastructureEncryption = {}));
|
|
71
|
+
/** Known values of {@link PublicNetworkAccessEnum} that the service accepts. */
|
|
72
|
+
exports.KnownPublicNetworkAccessEnum = void 0;
|
|
41
73
|
(function (KnownPublicNetworkAccessEnum) {
|
|
42
74
|
KnownPublicNetworkAccessEnum["Enabled"] = "Enabled";
|
|
43
75
|
KnownPublicNetworkAccessEnum["Disabled"] = "Disabled";
|
|
44
76
|
})(exports.KnownPublicNetworkAccessEnum || (exports.KnownPublicNetworkAccessEnum = {}));
|
|
77
|
+
/** Known values of {@link GeoRedundantBackup} that the service accepts. */
|
|
78
|
+
exports.KnownGeoRedundantBackup = void 0;
|
|
45
79
|
(function (KnownGeoRedundantBackup) {
|
|
46
80
|
KnownGeoRedundantBackup["Enabled"] = "Enabled";
|
|
47
81
|
KnownGeoRedundantBackup["Disabled"] = "Disabled";
|
|
48
82
|
})(exports.KnownGeoRedundantBackup || (exports.KnownGeoRedundantBackup = {}));
|
|
83
|
+
/** Known values of {@link StorageAutogrow} that the service accepts. */
|
|
84
|
+
exports.KnownStorageAutogrow = void 0;
|
|
49
85
|
(function (KnownStorageAutogrow) {
|
|
50
86
|
KnownStorageAutogrow["Enabled"] = "Enabled";
|
|
51
87
|
KnownStorageAutogrow["Disabled"] = "Disabled";
|
|
52
88
|
})(exports.KnownStorageAutogrow || (exports.KnownStorageAutogrow = {}));
|
|
89
|
+
/** Known values of {@link CreateMode} that the service accepts. */
|
|
90
|
+
exports.KnownCreateMode = void 0;
|
|
53
91
|
(function (KnownCreateMode) {
|
|
54
92
|
KnownCreateMode["Default"] = "Default";
|
|
55
93
|
KnownCreateMode["PointInTimeRestore"] = "PointInTimeRestore";
|
|
56
94
|
KnownCreateMode["GeoRestore"] = "GeoRestore";
|
|
57
95
|
KnownCreateMode["Replica"] = "Replica";
|
|
58
96
|
})(exports.KnownCreateMode || (exports.KnownCreateMode = {}));
|
|
97
|
+
/** Known values of {@link ServerState} that the service accepts. */
|
|
98
|
+
exports.KnownServerState = void 0;
|
|
59
99
|
(function (KnownServerState) {
|
|
60
100
|
KnownServerState["Ready"] = "Ready";
|
|
61
101
|
KnownServerState["Dropping"] = "Dropping";
|
|
62
102
|
KnownServerState["Disabled"] = "Disabled";
|
|
63
103
|
KnownServerState["Inaccessible"] = "Inaccessible";
|
|
64
104
|
})(exports.KnownServerState || (exports.KnownServerState = {}));
|
|
105
|
+
/** Known values of {@link PrivateLinkServiceConnectionStateStatus} that the service accepts. */
|
|
106
|
+
exports.KnownPrivateLinkServiceConnectionStateStatus = void 0;
|
|
65
107
|
(function (KnownPrivateLinkServiceConnectionStateStatus) {
|
|
66
108
|
KnownPrivateLinkServiceConnectionStateStatus["Approved"] = "Approved";
|
|
67
109
|
KnownPrivateLinkServiceConnectionStateStatus["Pending"] = "Pending";
|
|
68
110
|
KnownPrivateLinkServiceConnectionStateStatus["Rejected"] = "Rejected";
|
|
69
111
|
KnownPrivateLinkServiceConnectionStateStatus["Disconnected"] = "Disconnected";
|
|
70
112
|
})(exports.KnownPrivateLinkServiceConnectionStateStatus || (exports.KnownPrivateLinkServiceConnectionStateStatus = {}));
|
|
113
|
+
/** Known values of {@link PrivateLinkServiceConnectionStateActionsRequire} that the service accepts. */
|
|
114
|
+
exports.KnownPrivateLinkServiceConnectionStateActionsRequire = void 0;
|
|
71
115
|
(function (KnownPrivateLinkServiceConnectionStateActionsRequire) {
|
|
72
116
|
KnownPrivateLinkServiceConnectionStateActionsRequire["None"] = "None";
|
|
73
117
|
})(exports.KnownPrivateLinkServiceConnectionStateActionsRequire || (exports.KnownPrivateLinkServiceConnectionStateActionsRequire = {}));
|
|
118
|
+
/** Known values of {@link PrivateEndpointProvisioningState} that the service accepts. */
|
|
119
|
+
exports.KnownPrivateEndpointProvisioningState = void 0;
|
|
74
120
|
(function (KnownPrivateEndpointProvisioningState) {
|
|
75
121
|
KnownPrivateEndpointProvisioningState["Approving"] = "Approving";
|
|
76
122
|
KnownPrivateEndpointProvisioningState["Ready"] = "Ready";
|
|
@@ -78,6 +124,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
78
124
|
KnownPrivateEndpointProvisioningState["Failed"] = "Failed";
|
|
79
125
|
KnownPrivateEndpointProvisioningState["Rejecting"] = "Rejecting";
|
|
80
126
|
})(exports.KnownPrivateEndpointProvisioningState || (exports.KnownPrivateEndpointProvisioningState = {}));
|
|
127
|
+
/** Known values of {@link VirtualNetworkRuleState} that the service accepts. */
|
|
128
|
+
exports.KnownVirtualNetworkRuleState = void 0;
|
|
81
129
|
(function (KnownVirtualNetworkRuleState) {
|
|
82
130
|
KnownVirtualNetworkRuleState["Initializing"] = "Initializing";
|
|
83
131
|
KnownVirtualNetworkRuleState["InProgress"] = "InProgress";
|
|
@@ -85,18 +133,26 @@ var coreLro = require('@azure/core-lro');
|
|
|
85
133
|
KnownVirtualNetworkRuleState["Deleting"] = "Deleting";
|
|
86
134
|
KnownVirtualNetworkRuleState["Unknown"] = "Unknown";
|
|
87
135
|
})(exports.KnownVirtualNetworkRuleState || (exports.KnownVirtualNetworkRuleState = {}));
|
|
136
|
+
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
137
|
+
exports.KnownOperationOrigin = void 0;
|
|
88
138
|
(function (KnownOperationOrigin) {
|
|
89
139
|
KnownOperationOrigin["NotSpecified"] = "NotSpecified";
|
|
90
140
|
KnownOperationOrigin["User"] = "user";
|
|
91
141
|
KnownOperationOrigin["System"] = "system";
|
|
92
142
|
})(exports.KnownOperationOrigin || (exports.KnownOperationOrigin = {}));
|
|
143
|
+
/** Known values of {@link SecurityAlertPolicyName} that the service accepts. */
|
|
144
|
+
exports.KnownSecurityAlertPolicyName = void 0;
|
|
93
145
|
(function (KnownSecurityAlertPolicyName) {
|
|
94
146
|
KnownSecurityAlertPolicyName["Default"] = "Default";
|
|
95
147
|
})(exports.KnownSecurityAlertPolicyName || (exports.KnownSecurityAlertPolicyName = {}));
|
|
148
|
+
/** Known values of {@link QueryPerformanceInsightResetDataResultState} that the service accepts. */
|
|
149
|
+
exports.KnownQueryPerformanceInsightResetDataResultState = void 0;
|
|
96
150
|
(function (KnownQueryPerformanceInsightResetDataResultState) {
|
|
97
151
|
KnownQueryPerformanceInsightResetDataResultState["Succeeded"] = "Succeeded";
|
|
98
152
|
KnownQueryPerformanceInsightResetDataResultState["Failed"] = "Failed";
|
|
99
153
|
})(exports.KnownQueryPerformanceInsightResetDataResultState || (exports.KnownQueryPerformanceInsightResetDataResultState = {}));
|
|
154
|
+
/** Known values of {@link ServerKeyType} that the service accepts. */
|
|
155
|
+
exports.KnownServerKeyType = void 0;
|
|
100
156
|
(function (KnownServerKeyType) {
|
|
101
157
|
KnownServerKeyType["AzureKeyVault"] = "AzureKeyVault";
|
|
102
158
|
})(exports.KnownServerKeyType || (exports.KnownServerKeyType = {}));
|
|
@@ -2950,7 +3006,7 @@ class ServersImpl {
|
|
|
2950
3006
|
}
|
|
2951
3007
|
};
|
|
2952
3008
|
});
|
|
2953
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec);
|
|
3009
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec$6);
|
|
2954
3010
|
return new coreLro.LroEngine(lro, {
|
|
2955
3011
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2956
3012
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -2976,7 +3032,7 @@ class ServersImpl {
|
|
|
2976
3032
|
* @param options The options parameters.
|
|
2977
3033
|
*/
|
|
2978
3034
|
get(resourceGroupName, serverName, options) {
|
|
2979
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec);
|
|
3035
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$g);
|
|
2980
3036
|
}
|
|
2981
3037
|
/**
|
|
2982
3038
|
* List all the servers in a given resource group.
|
|
@@ -2991,7 +3047,7 @@ class ServersImpl {
|
|
|
2991
3047
|
* @param options The options parameters.
|
|
2992
3048
|
*/
|
|
2993
3049
|
_list(options) {
|
|
2994
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
3050
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$6);
|
|
2995
3051
|
}
|
|
2996
3052
|
/**
|
|
2997
3053
|
* Restarts a server.
|
|
@@ -3193,7 +3249,7 @@ class ServersImpl {
|
|
|
3193
3249
|
}
|
|
3194
3250
|
}
|
|
3195
3251
|
// Operation Specifications
|
|
3196
|
-
const serializer =
|
|
3252
|
+
const serializer$p = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3197
3253
|
const createOperationSpec = {
|
|
3198
3254
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
3199
3255
|
httpMethod: "PUT",
|
|
@@ -3224,7 +3280,7 @@ const createOperationSpec = {
|
|
|
3224
3280
|
],
|
|
3225
3281
|
headerParameters: [contentType, accept],
|
|
3226
3282
|
mediaType: "json",
|
|
3227
|
-
serializer
|
|
3283
|
+
serializer: serializer$p
|
|
3228
3284
|
};
|
|
3229
3285
|
const updateOperationSpec = {
|
|
3230
3286
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
@@ -3256,9 +3312,9 @@ const updateOperationSpec = {
|
|
|
3256
3312
|
],
|
|
3257
3313
|
headerParameters: [contentType, accept],
|
|
3258
3314
|
mediaType: "json",
|
|
3259
|
-
serializer
|
|
3315
|
+
serializer: serializer$p
|
|
3260
3316
|
};
|
|
3261
|
-
const deleteOperationSpec = {
|
|
3317
|
+
const deleteOperationSpec$6 = {
|
|
3262
3318
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
3263
3319
|
httpMethod: "DELETE",
|
|
3264
3320
|
responses: {
|
|
@@ -3278,9 +3334,9 @@ const deleteOperationSpec = {
|
|
|
3278
3334
|
serverName
|
|
3279
3335
|
],
|
|
3280
3336
|
headerParameters: [accept],
|
|
3281
|
-
serializer
|
|
3337
|
+
serializer: serializer$p
|
|
3282
3338
|
};
|
|
3283
|
-
const getOperationSpec = {
|
|
3339
|
+
const getOperationSpec$g = {
|
|
3284
3340
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}",
|
|
3285
3341
|
httpMethod: "GET",
|
|
3286
3342
|
responses: {
|
|
@@ -3299,7 +3355,7 @@ const getOperationSpec = {
|
|
|
3299
3355
|
serverName
|
|
3300
3356
|
],
|
|
3301
3357
|
headerParameters: [accept],
|
|
3302
|
-
serializer
|
|
3358
|
+
serializer: serializer$p
|
|
3303
3359
|
};
|
|
3304
3360
|
const listByResourceGroupOperationSpec = {
|
|
3305
3361
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers",
|
|
@@ -3319,9 +3375,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
3319
3375
|
resourceGroupName
|
|
3320
3376
|
],
|
|
3321
3377
|
headerParameters: [accept],
|
|
3322
|
-
serializer
|
|
3378
|
+
serializer: serializer$p
|
|
3323
3379
|
};
|
|
3324
|
-
const listOperationSpec = {
|
|
3380
|
+
const listOperationSpec$6 = {
|
|
3325
3381
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers",
|
|
3326
3382
|
httpMethod: "GET",
|
|
3327
3383
|
responses: {
|
|
@@ -3335,7 +3391,7 @@ const listOperationSpec = {
|
|
|
3335
3391
|
queryParameters: [apiVersion],
|
|
3336
3392
|
urlParameters: [$host, subscriptionId],
|
|
3337
3393
|
headerParameters: [accept],
|
|
3338
|
-
serializer
|
|
3394
|
+
serializer: serializer$p
|
|
3339
3395
|
};
|
|
3340
3396
|
const restartOperationSpec = {
|
|
3341
3397
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/restart",
|
|
@@ -3357,7 +3413,7 @@ const restartOperationSpec = {
|
|
|
3357
3413
|
serverName
|
|
3358
3414
|
],
|
|
3359
3415
|
headerParameters: [accept],
|
|
3360
|
-
serializer
|
|
3416
|
+
serializer: serializer$p
|
|
3361
3417
|
};
|
|
3362
3418
|
const startOperationSpec = {
|
|
3363
3419
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/start",
|
|
@@ -3379,7 +3435,7 @@ const startOperationSpec = {
|
|
|
3379
3435
|
serverName
|
|
3380
3436
|
],
|
|
3381
3437
|
headerParameters: [accept],
|
|
3382
|
-
serializer
|
|
3438
|
+
serializer: serializer$p
|
|
3383
3439
|
};
|
|
3384
3440
|
const stopOperationSpec = {
|
|
3385
3441
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/stop",
|
|
@@ -3401,7 +3457,7 @@ const stopOperationSpec = {
|
|
|
3401
3457
|
serverName
|
|
3402
3458
|
],
|
|
3403
3459
|
headerParameters: [accept],
|
|
3404
|
-
serializer
|
|
3460
|
+
serializer: serializer$p
|
|
3405
3461
|
};
|
|
3406
3462
|
const upgradeOperationSpec = {
|
|
3407
3463
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/upgrade",
|
|
@@ -3425,7 +3481,7 @@ const upgradeOperationSpec = {
|
|
|
3425
3481
|
],
|
|
3426
3482
|
headerParameters: [contentType, accept],
|
|
3427
3483
|
mediaType: "json",
|
|
3428
|
-
serializer
|
|
3484
|
+
serializer: serializer$p
|
|
3429
3485
|
};
|
|
3430
3486
|
|
|
3431
3487
|
/*
|
|
@@ -3496,12 +3552,12 @@ class ReplicasImpl {
|
|
|
3496
3552
|
* @param options The options parameters.
|
|
3497
3553
|
*/
|
|
3498
3554
|
_listByServer(resourceGroupName, serverName, options) {
|
|
3499
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec);
|
|
3555
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$d);
|
|
3500
3556
|
}
|
|
3501
3557
|
}
|
|
3502
3558
|
// Operation Specifications
|
|
3503
|
-
const serializer$
|
|
3504
|
-
const listByServerOperationSpec = {
|
|
3559
|
+
const serializer$o = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3560
|
+
const listByServerOperationSpec$d = {
|
|
3505
3561
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas",
|
|
3506
3562
|
httpMethod: "GET",
|
|
3507
3563
|
responses: {
|
|
@@ -3520,7 +3576,7 @@ const listByServerOperationSpec = {
|
|
|
3520
3576
|
serverName
|
|
3521
3577
|
],
|
|
3522
3578
|
headerParameters: [accept],
|
|
3523
|
-
serializer: serializer$
|
|
3579
|
+
serializer: serializer$o
|
|
3524
3580
|
};
|
|
3525
3581
|
|
|
3526
3582
|
/*
|
|
@@ -3616,7 +3672,7 @@ class FirewallRulesImpl {
|
|
|
3616
3672
|
}
|
|
3617
3673
|
};
|
|
3618
3674
|
});
|
|
3619
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec);
|
|
3675
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec$7);
|
|
3620
3676
|
return new coreLro.LroEngine(lro, {
|
|
3621
3677
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3622
3678
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3668,7 +3724,7 @@ class FirewallRulesImpl {
|
|
|
3668
3724
|
}
|
|
3669
3725
|
};
|
|
3670
3726
|
});
|
|
3671
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, options }, deleteOperationSpec$
|
|
3727
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, options }, deleteOperationSpec$5);
|
|
3672
3728
|
return new coreLro.LroEngine(lro, {
|
|
3673
3729
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3674
3730
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3696,7 +3752,7 @@ class FirewallRulesImpl {
|
|
|
3696
3752
|
* @param options The options parameters.
|
|
3697
3753
|
*/
|
|
3698
3754
|
get(resourceGroupName, serverName, firewallRuleName, options) {
|
|
3699
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, firewallRuleName, options }, getOperationSpec$
|
|
3755
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, firewallRuleName, options }, getOperationSpec$f);
|
|
3700
3756
|
}
|
|
3701
3757
|
/**
|
|
3702
3758
|
* List all the firewall rules in a given server.
|
|
@@ -3705,12 +3761,12 @@ class FirewallRulesImpl {
|
|
|
3705
3761
|
* @param options The options parameters.
|
|
3706
3762
|
*/
|
|
3707
3763
|
_listByServer(resourceGroupName, serverName, options) {
|
|
3708
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
3764
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$c);
|
|
3709
3765
|
}
|
|
3710
3766
|
}
|
|
3711
3767
|
// Operation Specifications
|
|
3712
|
-
const serializer$
|
|
3713
|
-
const createOrUpdateOperationSpec = {
|
|
3768
|
+
const serializer$n = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3769
|
+
const createOrUpdateOperationSpec$7 = {
|
|
3714
3770
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
3715
3771
|
httpMethod: "PUT",
|
|
3716
3772
|
responses: {
|
|
@@ -3741,9 +3797,9 @@ const createOrUpdateOperationSpec = {
|
|
|
3741
3797
|
],
|
|
3742
3798
|
headerParameters: [contentType, accept],
|
|
3743
3799
|
mediaType: "json",
|
|
3744
|
-
serializer: serializer$
|
|
3800
|
+
serializer: serializer$n
|
|
3745
3801
|
};
|
|
3746
|
-
const deleteOperationSpec$
|
|
3802
|
+
const deleteOperationSpec$5 = {
|
|
3747
3803
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
3748
3804
|
httpMethod: "DELETE",
|
|
3749
3805
|
responses: {
|
|
@@ -3764,9 +3820,9 @@ const deleteOperationSpec$1 = {
|
|
|
3764
3820
|
firewallRuleName
|
|
3765
3821
|
],
|
|
3766
3822
|
headerParameters: [accept],
|
|
3767
|
-
serializer: serializer$
|
|
3823
|
+
serializer: serializer$n
|
|
3768
3824
|
};
|
|
3769
|
-
const getOperationSpec$
|
|
3825
|
+
const getOperationSpec$f = {
|
|
3770
3826
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
3771
3827
|
httpMethod: "GET",
|
|
3772
3828
|
responses: {
|
|
@@ -3786,9 +3842,9 @@ const getOperationSpec$1 = {
|
|
|
3786
3842
|
firewallRuleName
|
|
3787
3843
|
],
|
|
3788
3844
|
headerParameters: [accept],
|
|
3789
|
-
serializer: serializer$
|
|
3845
|
+
serializer: serializer$n
|
|
3790
3846
|
};
|
|
3791
|
-
const listByServerOperationSpec$
|
|
3847
|
+
const listByServerOperationSpec$c = {
|
|
3792
3848
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules",
|
|
3793
3849
|
httpMethod: "GET",
|
|
3794
3850
|
responses: {
|
|
@@ -3807,7 +3863,7 @@ const listByServerOperationSpec$1 = {
|
|
|
3807
3863
|
serverName
|
|
3808
3864
|
],
|
|
3809
3865
|
headerParameters: [accept],
|
|
3810
|
-
serializer: serializer$
|
|
3866
|
+
serializer: serializer$n
|
|
3811
3867
|
};
|
|
3812
3868
|
|
|
3813
3869
|
/*
|
|
@@ -3885,7 +3941,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3885
3941
|
* @param options The options parameters.
|
|
3886
3942
|
*/
|
|
3887
3943
|
get(resourceGroupName, serverName, virtualNetworkRuleName, options) {
|
|
3888
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, virtualNetworkRuleName, options }, getOperationSpec$
|
|
3944
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, virtualNetworkRuleName, options }, getOperationSpec$e);
|
|
3889
3945
|
}
|
|
3890
3946
|
/**
|
|
3891
3947
|
* Creates or updates an existing virtual network rule.
|
|
@@ -3925,7 +3981,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3925
3981
|
virtualNetworkRuleName,
|
|
3926
3982
|
parameters,
|
|
3927
3983
|
options
|
|
3928
|
-
}, createOrUpdateOperationSpec$
|
|
3984
|
+
}, createOrUpdateOperationSpec$6);
|
|
3929
3985
|
return new coreLro.LroEngine(lro, {
|
|
3930
3986
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3931
3987
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3977,7 +4033,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3977
4033
|
}
|
|
3978
4034
|
};
|
|
3979
4035
|
});
|
|
3980
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, virtualNetworkRuleName, options }, deleteOperationSpec$
|
|
4036
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, virtualNetworkRuleName, options }, deleteOperationSpec$4);
|
|
3981
4037
|
return new coreLro.LroEngine(lro, {
|
|
3982
4038
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3983
4039
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4004,7 +4060,7 @@ class VirtualNetworkRulesImpl {
|
|
|
4004
4060
|
* @param options The options parameters.
|
|
4005
4061
|
*/
|
|
4006
4062
|
_listByServer(resourceGroupName, serverName, options) {
|
|
4007
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
4063
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$b);
|
|
4008
4064
|
}
|
|
4009
4065
|
/**
|
|
4010
4066
|
* ListByServerNext
|
|
@@ -4014,12 +4070,12 @@ class VirtualNetworkRulesImpl {
|
|
|
4014
4070
|
* @param options The options parameters.
|
|
4015
4071
|
*/
|
|
4016
4072
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
4017
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec);
|
|
4073
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$8);
|
|
4018
4074
|
}
|
|
4019
4075
|
}
|
|
4020
4076
|
// Operation Specifications
|
|
4021
|
-
const serializer$
|
|
4022
|
-
const getOperationSpec$
|
|
4077
|
+
const serializer$m = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4078
|
+
const getOperationSpec$e = {
|
|
4023
4079
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
4024
4080
|
httpMethod: "GET",
|
|
4025
4081
|
responses: {
|
|
@@ -4037,9 +4093,9 @@ const getOperationSpec$2 = {
|
|
|
4037
4093
|
virtualNetworkRuleName
|
|
4038
4094
|
],
|
|
4039
4095
|
headerParameters: [accept],
|
|
4040
|
-
serializer: serializer$
|
|
4096
|
+
serializer: serializer$m
|
|
4041
4097
|
};
|
|
4042
|
-
const createOrUpdateOperationSpec$
|
|
4098
|
+
const createOrUpdateOperationSpec$6 = {
|
|
4043
4099
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
4044
4100
|
httpMethod: "PUT",
|
|
4045
4101
|
responses: {
|
|
@@ -4068,9 +4124,9 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
4068
4124
|
],
|
|
4069
4125
|
headerParameters: [contentType, accept],
|
|
4070
4126
|
mediaType: "json",
|
|
4071
|
-
serializer: serializer$
|
|
4127
|
+
serializer: serializer$m
|
|
4072
4128
|
};
|
|
4073
|
-
const deleteOperationSpec$
|
|
4129
|
+
const deleteOperationSpec$4 = {
|
|
4074
4130
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
4075
4131
|
httpMethod: "DELETE",
|
|
4076
4132
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -4082,9 +4138,9 @@ const deleteOperationSpec$2 = {
|
|
|
4082
4138
|
serverName,
|
|
4083
4139
|
virtualNetworkRuleName
|
|
4084
4140
|
],
|
|
4085
|
-
serializer: serializer$
|
|
4141
|
+
serializer: serializer$m
|
|
4086
4142
|
};
|
|
4087
|
-
const listByServerOperationSpec$
|
|
4143
|
+
const listByServerOperationSpec$b = {
|
|
4088
4144
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules",
|
|
4089
4145
|
httpMethod: "GET",
|
|
4090
4146
|
responses: {
|
|
@@ -4101,9 +4157,9 @@ const listByServerOperationSpec$2 = {
|
|
|
4101
4157
|
serverName
|
|
4102
4158
|
],
|
|
4103
4159
|
headerParameters: [accept],
|
|
4104
|
-
serializer: serializer$
|
|
4160
|
+
serializer: serializer$m
|
|
4105
4161
|
};
|
|
4106
|
-
const listByServerNextOperationSpec = {
|
|
4162
|
+
const listByServerNextOperationSpec$8 = {
|
|
4107
4163
|
path: "{nextLink}",
|
|
4108
4164
|
httpMethod: "GET",
|
|
4109
4165
|
responses: {
|
|
@@ -4121,7 +4177,7 @@ const listByServerNextOperationSpec = {
|
|
|
4121
4177
|
nextLink
|
|
4122
4178
|
],
|
|
4123
4179
|
headerParameters: [accept],
|
|
4124
|
-
serializer: serializer$
|
|
4180
|
+
serializer: serializer$m
|
|
4125
4181
|
};
|
|
4126
4182
|
|
|
4127
4183
|
/*
|
|
@@ -4217,7 +4273,7 @@ class DatabasesImpl {
|
|
|
4217
4273
|
}
|
|
4218
4274
|
};
|
|
4219
4275
|
});
|
|
4220
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, databaseName, parameters, options }, createOrUpdateOperationSpec$
|
|
4276
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, databaseName, parameters, options }, createOrUpdateOperationSpec$5);
|
|
4221
4277
|
return new coreLro.LroEngine(lro, {
|
|
4222
4278
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4223
4279
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4297,7 +4353,7 @@ class DatabasesImpl {
|
|
|
4297
4353
|
* @param options The options parameters.
|
|
4298
4354
|
*/
|
|
4299
4355
|
get(resourceGroupName, serverName, databaseName, options) {
|
|
4300
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, databaseName, options }, getOperationSpec$
|
|
4356
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, databaseName, options }, getOperationSpec$d);
|
|
4301
4357
|
}
|
|
4302
4358
|
/**
|
|
4303
4359
|
* List all the databases in a given server.
|
|
@@ -4306,12 +4362,12 @@ class DatabasesImpl {
|
|
|
4306
4362
|
* @param options The options parameters.
|
|
4307
4363
|
*/
|
|
4308
4364
|
_listByServer(resourceGroupName, serverName, options) {
|
|
4309
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
4365
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$a);
|
|
4310
4366
|
}
|
|
4311
4367
|
}
|
|
4312
4368
|
// Operation Specifications
|
|
4313
|
-
const serializer$
|
|
4314
|
-
const createOrUpdateOperationSpec$
|
|
4369
|
+
const serializer$l = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4370
|
+
const createOrUpdateOperationSpec$5 = {
|
|
4315
4371
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}",
|
|
4316
4372
|
httpMethod: "PUT",
|
|
4317
4373
|
responses: {
|
|
@@ -4342,7 +4398,7 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
4342
4398
|
],
|
|
4343
4399
|
headerParameters: [contentType, accept],
|
|
4344
4400
|
mediaType: "json",
|
|
4345
|
-
serializer: serializer$
|
|
4401
|
+
serializer: serializer$l
|
|
4346
4402
|
};
|
|
4347
4403
|
const deleteOperationSpec$3 = {
|
|
4348
4404
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}",
|
|
@@ -4365,9 +4421,9 @@ const deleteOperationSpec$3 = {
|
|
|
4365
4421
|
databaseName
|
|
4366
4422
|
],
|
|
4367
4423
|
headerParameters: [accept],
|
|
4368
|
-
serializer: serializer$
|
|
4424
|
+
serializer: serializer$l
|
|
4369
4425
|
};
|
|
4370
|
-
const getOperationSpec$
|
|
4426
|
+
const getOperationSpec$d = {
|
|
4371
4427
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}",
|
|
4372
4428
|
httpMethod: "GET",
|
|
4373
4429
|
responses: {
|
|
@@ -4387,9 +4443,9 @@ const getOperationSpec$3 = {
|
|
|
4387
4443
|
databaseName
|
|
4388
4444
|
],
|
|
4389
4445
|
headerParameters: [accept],
|
|
4390
|
-
serializer: serializer$
|
|
4446
|
+
serializer: serializer$l
|
|
4391
4447
|
};
|
|
4392
|
-
const listByServerOperationSpec$
|
|
4448
|
+
const listByServerOperationSpec$a = {
|
|
4393
4449
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases",
|
|
4394
4450
|
httpMethod: "GET",
|
|
4395
4451
|
responses: {
|
|
@@ -4408,7 +4464,7 @@ const listByServerOperationSpec$3 = {
|
|
|
4408
4464
|
serverName
|
|
4409
4465
|
],
|
|
4410
4466
|
headerParameters: [accept],
|
|
4411
|
-
serializer: serializer$
|
|
4467
|
+
serializer: serializer$l
|
|
4412
4468
|
};
|
|
4413
4469
|
|
|
4414
4470
|
/*
|
|
@@ -4504,7 +4560,7 @@ class ConfigurationsImpl {
|
|
|
4504
4560
|
}
|
|
4505
4561
|
};
|
|
4506
4562
|
});
|
|
4507
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, configurationName, parameters, options }, createOrUpdateOperationSpec$
|
|
4563
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, configurationName, parameters, options }, createOrUpdateOperationSpec$4);
|
|
4508
4564
|
return new coreLro.LroEngine(lro, {
|
|
4509
4565
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4510
4566
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4533,7 +4589,7 @@ class ConfigurationsImpl {
|
|
|
4533
4589
|
* @param options The options parameters.
|
|
4534
4590
|
*/
|
|
4535
4591
|
get(resourceGroupName, serverName, configurationName, options) {
|
|
4536
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, configurationName, options }, getOperationSpec$
|
|
4592
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, configurationName, options }, getOperationSpec$c);
|
|
4537
4593
|
}
|
|
4538
4594
|
/**
|
|
4539
4595
|
* List all the configurations in a given server.
|
|
@@ -4542,12 +4598,12 @@ class ConfigurationsImpl {
|
|
|
4542
4598
|
* @param options The options parameters.
|
|
4543
4599
|
*/
|
|
4544
4600
|
_listByServer(resourceGroupName, serverName, options) {
|
|
4545
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
4601
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$9);
|
|
4546
4602
|
}
|
|
4547
4603
|
}
|
|
4548
4604
|
// Operation Specifications
|
|
4549
|
-
const serializer$
|
|
4550
|
-
const createOrUpdateOperationSpec$
|
|
4605
|
+
const serializer$k = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4606
|
+
const createOrUpdateOperationSpec$4 = {
|
|
4551
4607
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}",
|
|
4552
4608
|
httpMethod: "PUT",
|
|
4553
4609
|
responses: {
|
|
@@ -4578,9 +4634,9 @@ const createOrUpdateOperationSpec$3 = {
|
|
|
4578
4634
|
],
|
|
4579
4635
|
headerParameters: [contentType, accept],
|
|
4580
4636
|
mediaType: "json",
|
|
4581
|
-
serializer: serializer$
|
|
4637
|
+
serializer: serializer$k
|
|
4582
4638
|
};
|
|
4583
|
-
const getOperationSpec$
|
|
4639
|
+
const getOperationSpec$c = {
|
|
4584
4640
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}",
|
|
4585
4641
|
httpMethod: "GET",
|
|
4586
4642
|
responses: {
|
|
@@ -4600,9 +4656,9 @@ const getOperationSpec$4 = {
|
|
|
4600
4656
|
configurationName
|
|
4601
4657
|
],
|
|
4602
4658
|
headerParameters: [accept],
|
|
4603
|
-
serializer: serializer$
|
|
4659
|
+
serializer: serializer$k
|
|
4604
4660
|
};
|
|
4605
|
-
const listByServerOperationSpec$
|
|
4661
|
+
const listByServerOperationSpec$9 = {
|
|
4606
4662
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations",
|
|
4607
4663
|
httpMethod: "GET",
|
|
4608
4664
|
responses: {
|
|
@@ -4621,7 +4677,7 @@ const listByServerOperationSpec$4 = {
|
|
|
4621
4677
|
serverName
|
|
4622
4678
|
],
|
|
4623
4679
|
headerParameters: [accept],
|
|
4624
|
-
serializer: serializer$
|
|
4680
|
+
serializer: serializer$k
|
|
4625
4681
|
};
|
|
4626
4682
|
|
|
4627
4683
|
/*
|
|
@@ -4694,7 +4750,7 @@ class ServerParametersImpl {
|
|
|
4694
4750
|
}
|
|
4695
4751
|
}
|
|
4696
4752
|
// Operation Specifications
|
|
4697
|
-
const serializer$
|
|
4753
|
+
const serializer$j = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4698
4754
|
const listUpdateConfigurationsOperationSpec = {
|
|
4699
4755
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/updateConfigurations",
|
|
4700
4756
|
httpMethod: "POST",
|
|
@@ -4725,7 +4781,7 @@ const listUpdateConfigurationsOperationSpec = {
|
|
|
4725
4781
|
],
|
|
4726
4782
|
headerParameters: [contentType, accept],
|
|
4727
4783
|
mediaType: "json",
|
|
4728
|
-
serializer: serializer$
|
|
4784
|
+
serializer: serializer$j
|
|
4729
4785
|
};
|
|
4730
4786
|
|
|
4731
4787
|
/*
|
|
@@ -4796,12 +4852,12 @@ class LogFilesImpl {
|
|
|
4796
4852
|
* @param options The options parameters.
|
|
4797
4853
|
*/
|
|
4798
4854
|
_listByServer(resourceGroupName, serverName, options) {
|
|
4799
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
4855
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$8);
|
|
4800
4856
|
}
|
|
4801
4857
|
}
|
|
4802
4858
|
// Operation Specifications
|
|
4803
|
-
const serializer$
|
|
4804
|
-
const listByServerOperationSpec$
|
|
4859
|
+
const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4860
|
+
const listByServerOperationSpec$8 = {
|
|
4805
4861
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/logFiles",
|
|
4806
4862
|
httpMethod: "GET",
|
|
4807
4863
|
responses: {
|
|
@@ -4820,7 +4876,7 @@ const listByServerOperationSpec$5 = {
|
|
|
4820
4876
|
serverName
|
|
4821
4877
|
],
|
|
4822
4878
|
headerParameters: [accept],
|
|
4823
|
-
serializer: serializer$
|
|
4879
|
+
serializer: serializer$i
|
|
4824
4880
|
};
|
|
4825
4881
|
|
|
4826
4882
|
/*
|
|
@@ -4891,7 +4947,7 @@ class ServerAdministratorsImpl {
|
|
|
4891
4947
|
* @param options The options parameters.
|
|
4892
4948
|
*/
|
|
4893
4949
|
get(resourceGroupName, serverName, options) {
|
|
4894
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$
|
|
4950
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$b);
|
|
4895
4951
|
}
|
|
4896
4952
|
/**
|
|
4897
4953
|
* Creates or update active directory administrator on an existing server. The update action will
|
|
@@ -4925,7 +4981,7 @@ class ServerAdministratorsImpl {
|
|
|
4925
4981
|
}
|
|
4926
4982
|
};
|
|
4927
4983
|
});
|
|
4928
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, properties, options }, createOrUpdateOperationSpec$
|
|
4984
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, properties, options }, createOrUpdateOperationSpec$3);
|
|
4929
4985
|
return new coreLro.LroEngine(lro, {
|
|
4930
4986
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4931
4987
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4976,7 +5032,7 @@ class ServerAdministratorsImpl {
|
|
|
4976
5032
|
}
|
|
4977
5033
|
};
|
|
4978
5034
|
});
|
|
4979
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec$
|
|
5035
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec$2);
|
|
4980
5036
|
return new coreLro.LroEngine(lro, {
|
|
4981
5037
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4982
5038
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5002,12 +5058,12 @@ class ServerAdministratorsImpl {
|
|
|
5002
5058
|
* @param options The options parameters.
|
|
5003
5059
|
*/
|
|
5004
5060
|
_list(resourceGroupName, serverName, options) {
|
|
5005
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$
|
|
5061
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$5);
|
|
5006
5062
|
}
|
|
5007
5063
|
}
|
|
5008
5064
|
// Operation Specifications
|
|
5009
|
-
const serializer$
|
|
5010
|
-
const getOperationSpec$
|
|
5065
|
+
const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5066
|
+
const getOperationSpec$b = {
|
|
5011
5067
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/administrators/activeDirectory",
|
|
5012
5068
|
httpMethod: "GET",
|
|
5013
5069
|
responses: {
|
|
@@ -5026,9 +5082,9 @@ const getOperationSpec$5 = {
|
|
|
5026
5082
|
serverName
|
|
5027
5083
|
],
|
|
5028
5084
|
headerParameters: [accept],
|
|
5029
|
-
serializer: serializer$
|
|
5085
|
+
serializer: serializer$h
|
|
5030
5086
|
};
|
|
5031
|
-
const createOrUpdateOperationSpec$
|
|
5087
|
+
const createOrUpdateOperationSpec$3 = {
|
|
5032
5088
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/administrators/activeDirectory",
|
|
5033
5089
|
httpMethod: "PUT",
|
|
5034
5090
|
responses: {
|
|
@@ -5058,9 +5114,9 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
5058
5114
|
],
|
|
5059
5115
|
headerParameters: [contentType, accept],
|
|
5060
5116
|
mediaType: "json",
|
|
5061
|
-
serializer: serializer$
|
|
5117
|
+
serializer: serializer$h
|
|
5062
5118
|
};
|
|
5063
|
-
const deleteOperationSpec$
|
|
5119
|
+
const deleteOperationSpec$2 = {
|
|
5064
5120
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/administrators/activeDirectory",
|
|
5065
5121
|
httpMethod: "DELETE",
|
|
5066
5122
|
responses: {
|
|
@@ -5080,9 +5136,9 @@ const deleteOperationSpec$4 = {
|
|
|
5080
5136
|
serverName
|
|
5081
5137
|
],
|
|
5082
5138
|
headerParameters: [accept],
|
|
5083
|
-
serializer: serializer$
|
|
5139
|
+
serializer: serializer$h
|
|
5084
5140
|
};
|
|
5085
|
-
const listOperationSpec$
|
|
5141
|
+
const listOperationSpec$5 = {
|
|
5086
5142
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/administrators",
|
|
5087
5143
|
httpMethod: "GET",
|
|
5088
5144
|
responses: {
|
|
@@ -5101,7 +5157,7 @@ const listOperationSpec$1 = {
|
|
|
5101
5157
|
serverName
|
|
5102
5158
|
],
|
|
5103
5159
|
headerParameters: [accept],
|
|
5104
|
-
serializer: serializer$
|
|
5160
|
+
serializer: serializer$h
|
|
5105
5161
|
};
|
|
5106
5162
|
|
|
5107
5163
|
/*
|
|
@@ -5127,12 +5183,12 @@ class RecoverableServersImpl {
|
|
|
5127
5183
|
* @param options The options parameters.
|
|
5128
5184
|
*/
|
|
5129
5185
|
get(resourceGroupName, serverName, options) {
|
|
5130
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$
|
|
5186
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$a);
|
|
5131
5187
|
}
|
|
5132
5188
|
}
|
|
5133
5189
|
// Operation Specifications
|
|
5134
|
-
const serializer$
|
|
5135
|
-
const getOperationSpec$
|
|
5190
|
+
const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5191
|
+
const getOperationSpec$a = {
|
|
5136
5192
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/recoverableServers",
|
|
5137
5193
|
httpMethod: "GET",
|
|
5138
5194
|
responses: {
|
|
@@ -5151,7 +5207,7 @@ const getOperationSpec$6 = {
|
|
|
5151
5207
|
serverName
|
|
5152
5208
|
],
|
|
5153
5209
|
headerParameters: [accept],
|
|
5154
|
-
serializer: serializer$
|
|
5210
|
+
serializer: serializer$g
|
|
5155
5211
|
};
|
|
5156
5212
|
|
|
5157
5213
|
/*
|
|
@@ -5222,12 +5278,12 @@ class ServerBasedPerformanceTierImpl {
|
|
|
5222
5278
|
* @param options The options parameters.
|
|
5223
5279
|
*/
|
|
5224
5280
|
_list(resourceGroupName, serverName, options) {
|
|
5225
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$
|
|
5281
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$4);
|
|
5226
5282
|
}
|
|
5227
5283
|
}
|
|
5228
5284
|
// Operation Specifications
|
|
5229
|
-
const serializer$
|
|
5230
|
-
const listOperationSpec$
|
|
5285
|
+
const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5286
|
+
const listOperationSpec$4 = {
|
|
5231
5287
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/performanceTiers",
|
|
5232
5288
|
httpMethod: "GET",
|
|
5233
5289
|
responses: {
|
|
@@ -5246,7 +5302,7 @@ const listOperationSpec$2 = {
|
|
|
5246
5302
|
serverName
|
|
5247
5303
|
],
|
|
5248
5304
|
headerParameters: [accept],
|
|
5249
|
-
serializer: serializer$
|
|
5305
|
+
serializer: serializer$f
|
|
5250
5306
|
};
|
|
5251
5307
|
|
|
5252
5308
|
/*
|
|
@@ -5319,7 +5375,7 @@ class LocationBasedPerformanceTierImpl {
|
|
|
5319
5375
|
}
|
|
5320
5376
|
}
|
|
5321
5377
|
// Operation Specifications
|
|
5322
|
-
const serializer$
|
|
5378
|
+
const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5323
5379
|
const listOperationSpec$3 = {
|
|
5324
5380
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers",
|
|
5325
5381
|
httpMethod: "GET",
|
|
@@ -5338,7 +5394,7 @@ const listOperationSpec$3 = {
|
|
|
5338
5394
|
locationName
|
|
5339
5395
|
],
|
|
5340
5396
|
headerParameters: [accept],
|
|
5341
|
-
serializer: serializer$
|
|
5397
|
+
serializer: serializer$e
|
|
5342
5398
|
};
|
|
5343
5399
|
|
|
5344
5400
|
/*
|
|
@@ -5367,7 +5423,7 @@ class CheckNameAvailabilityImpl {
|
|
|
5367
5423
|
}
|
|
5368
5424
|
}
|
|
5369
5425
|
// Operation Specifications
|
|
5370
|
-
const serializer$
|
|
5426
|
+
const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5371
5427
|
const executeOperationSpec = {
|
|
5372
5428
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability",
|
|
5373
5429
|
httpMethod: "POST",
|
|
@@ -5384,7 +5440,7 @@ const executeOperationSpec = {
|
|
|
5384
5440
|
urlParameters: [$host, subscriptionId],
|
|
5385
5441
|
headerParameters: [contentType, accept],
|
|
5386
5442
|
mediaType: "json",
|
|
5387
|
-
serializer: serializer$
|
|
5443
|
+
serializer: serializer$d
|
|
5388
5444
|
};
|
|
5389
5445
|
|
|
5390
5446
|
/*
|
|
@@ -5408,12 +5464,12 @@ class OperationsImpl {
|
|
|
5408
5464
|
* @param options The options parameters.
|
|
5409
5465
|
*/
|
|
5410
5466
|
list(options) {
|
|
5411
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
5467
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
5412
5468
|
}
|
|
5413
5469
|
}
|
|
5414
5470
|
// Operation Specifications
|
|
5415
|
-
const serializer$
|
|
5416
|
-
const listOperationSpec$
|
|
5471
|
+
const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5472
|
+
const listOperationSpec$2 = {
|
|
5417
5473
|
path: "/providers/Microsoft.DBforMySQL/operations",
|
|
5418
5474
|
httpMethod: "GET",
|
|
5419
5475
|
responses: {
|
|
@@ -5427,7 +5483,7 @@ const listOperationSpec$4 = {
|
|
|
5427
5483
|
queryParameters: [apiVersion],
|
|
5428
5484
|
urlParameters: [$host],
|
|
5429
5485
|
headerParameters: [accept],
|
|
5430
|
-
serializer: serializer$
|
|
5486
|
+
serializer: serializer$c
|
|
5431
5487
|
};
|
|
5432
5488
|
|
|
5433
5489
|
/*
|
|
@@ -5505,7 +5561,7 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
5505
5561
|
* @param options The options parameters.
|
|
5506
5562
|
*/
|
|
5507
5563
|
get(resourceGroupName, serverName, securityAlertPolicyName, options) {
|
|
5508
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, securityAlertPolicyName, options }, getOperationSpec$
|
|
5564
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, securityAlertPolicyName, options }, getOperationSpec$9);
|
|
5509
5565
|
}
|
|
5510
5566
|
/**
|
|
5511
5567
|
* Creates or updates a threat detection policy.
|
|
@@ -5545,7 +5601,7 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
5545
5601
|
securityAlertPolicyName,
|
|
5546
5602
|
parameters,
|
|
5547
5603
|
options
|
|
5548
|
-
}, createOrUpdateOperationSpec$
|
|
5604
|
+
}, createOrUpdateOperationSpec$2);
|
|
5549
5605
|
return new coreLro.LroEngine(lro, {
|
|
5550
5606
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5551
5607
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5573,7 +5629,7 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
5573
5629
|
* @param options The options parameters.
|
|
5574
5630
|
*/
|
|
5575
5631
|
_listByServer(resourceGroupName, serverName, options) {
|
|
5576
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
5632
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$7);
|
|
5577
5633
|
}
|
|
5578
5634
|
/**
|
|
5579
5635
|
* ListByServerNext
|
|
@@ -5583,12 +5639,12 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
5583
5639
|
* @param options The options parameters.
|
|
5584
5640
|
*/
|
|
5585
5641
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
5586
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$
|
|
5642
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$7);
|
|
5587
5643
|
}
|
|
5588
5644
|
}
|
|
5589
5645
|
// Operation Specifications
|
|
5590
|
-
const serializer$
|
|
5591
|
-
const getOperationSpec$
|
|
5646
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5647
|
+
const getOperationSpec$9 = {
|
|
5592
5648
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}",
|
|
5593
5649
|
httpMethod: "GET",
|
|
5594
5650
|
responses: {
|
|
@@ -5606,9 +5662,9 @@ const getOperationSpec$7 = {
|
|
|
5606
5662
|
securityAlertPolicyName
|
|
5607
5663
|
],
|
|
5608
5664
|
headerParameters: [accept],
|
|
5609
|
-
serializer: serializer$
|
|
5665
|
+
serializer: serializer$b
|
|
5610
5666
|
};
|
|
5611
|
-
const createOrUpdateOperationSpec$
|
|
5667
|
+
const createOrUpdateOperationSpec$2 = {
|
|
5612
5668
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}",
|
|
5613
5669
|
httpMethod: "PUT",
|
|
5614
5670
|
responses: {
|
|
@@ -5637,9 +5693,9 @@ const createOrUpdateOperationSpec$5 = {
|
|
|
5637
5693
|
],
|
|
5638
5694
|
headerParameters: [contentType, accept],
|
|
5639
5695
|
mediaType: "json",
|
|
5640
|
-
serializer: serializer$
|
|
5696
|
+
serializer: serializer$b
|
|
5641
5697
|
};
|
|
5642
|
-
const listByServerOperationSpec$
|
|
5698
|
+
const listByServerOperationSpec$7 = {
|
|
5643
5699
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies",
|
|
5644
5700
|
httpMethod: "GET",
|
|
5645
5701
|
responses: {
|
|
@@ -5656,9 +5712,9 @@ const listByServerOperationSpec$6 = {
|
|
|
5656
5712
|
serverName
|
|
5657
5713
|
],
|
|
5658
5714
|
headerParameters: [accept],
|
|
5659
|
-
serializer: serializer$
|
|
5715
|
+
serializer: serializer$b
|
|
5660
5716
|
};
|
|
5661
|
-
const listByServerNextOperationSpec$
|
|
5717
|
+
const listByServerNextOperationSpec$7 = {
|
|
5662
5718
|
path: "{nextLink}",
|
|
5663
5719
|
httpMethod: "GET",
|
|
5664
5720
|
responses: {
|
|
@@ -5676,7 +5732,7 @@ const listByServerNextOperationSpec$1 = {
|
|
|
5676
5732
|
nextLink
|
|
5677
5733
|
],
|
|
5678
5734
|
headerParameters: [accept],
|
|
5679
|
-
serializer: serializer$
|
|
5735
|
+
serializer: serializer$b
|
|
5680
5736
|
};
|
|
5681
5737
|
|
|
5682
5738
|
/*
|
|
@@ -5765,7 +5821,7 @@ class QueryTextsImpl {
|
|
|
5765
5821
|
* @param options The options parameters.
|
|
5766
5822
|
*/
|
|
5767
5823
|
_listByServer(resourceGroupName, serverName, queryIds, options) {
|
|
5768
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, queryIds, options }, listByServerOperationSpec$
|
|
5824
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, queryIds, options }, listByServerOperationSpec$6);
|
|
5769
5825
|
}
|
|
5770
5826
|
/**
|
|
5771
5827
|
* ListByServerNext
|
|
@@ -5776,11 +5832,11 @@ class QueryTextsImpl {
|
|
|
5776
5832
|
* @param options The options parameters.
|
|
5777
5833
|
*/
|
|
5778
5834
|
_listByServerNext(resourceGroupName, serverName, queryIds, nextLink, options) {
|
|
5779
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, queryIds, nextLink, options }, listByServerNextOperationSpec$
|
|
5835
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, queryIds, nextLink, options }, listByServerNextOperationSpec$6);
|
|
5780
5836
|
}
|
|
5781
5837
|
}
|
|
5782
5838
|
// Operation Specifications
|
|
5783
|
-
const serializer$
|
|
5839
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5784
5840
|
const getOperationSpec$8 = {
|
|
5785
5841
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts/{queryId}",
|
|
5786
5842
|
httpMethod: "GET",
|
|
@@ -5801,9 +5857,9 @@ const getOperationSpec$8 = {
|
|
|
5801
5857
|
queryId
|
|
5802
5858
|
],
|
|
5803
5859
|
headerParameters: [accept],
|
|
5804
|
-
serializer: serializer$
|
|
5860
|
+
serializer: serializer$a
|
|
5805
5861
|
};
|
|
5806
|
-
const listByServerOperationSpec$
|
|
5862
|
+
const listByServerOperationSpec$6 = {
|
|
5807
5863
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts",
|
|
5808
5864
|
httpMethod: "GET",
|
|
5809
5865
|
responses: {
|
|
@@ -5822,9 +5878,9 @@ const listByServerOperationSpec$7 = {
|
|
|
5822
5878
|
serverName
|
|
5823
5879
|
],
|
|
5824
5880
|
headerParameters: [accept],
|
|
5825
|
-
serializer: serializer$
|
|
5881
|
+
serializer: serializer$a
|
|
5826
5882
|
};
|
|
5827
|
-
const listByServerNextOperationSpec$
|
|
5883
|
+
const listByServerNextOperationSpec$6 = {
|
|
5828
5884
|
path: "{nextLink}",
|
|
5829
5885
|
httpMethod: "GET",
|
|
5830
5886
|
responses: {
|
|
@@ -5844,7 +5900,7 @@ const listByServerNextOperationSpec$2 = {
|
|
|
5844
5900
|
nextLink
|
|
5845
5901
|
],
|
|
5846
5902
|
headerParameters: [accept],
|
|
5847
|
-
serializer: serializer$
|
|
5903
|
+
serializer: serializer$a
|
|
5848
5904
|
};
|
|
5849
5905
|
|
|
5850
5906
|
/*
|
|
@@ -5923,7 +5979,7 @@ class TopQueryStatisticsImpl {
|
|
|
5923
5979
|
* @param options The options parameters.
|
|
5924
5980
|
*/
|
|
5925
5981
|
get(resourceGroupName, serverName, queryStatisticId, options) {
|
|
5926
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, queryStatisticId, options }, getOperationSpec$
|
|
5982
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, queryStatisticId, options }, getOperationSpec$7);
|
|
5927
5983
|
}
|
|
5928
5984
|
/**
|
|
5929
5985
|
* Retrieve the Query-Store top queries for specified metric and aggregation.
|
|
@@ -5933,7 +5989,7 @@ class TopQueryStatisticsImpl {
|
|
|
5933
5989
|
* @param options The options parameters.
|
|
5934
5990
|
*/
|
|
5935
5991
|
_listByServer(resourceGroupName, serverName, parameters, options) {
|
|
5936
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, parameters, options }, listByServerOperationSpec$
|
|
5992
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, parameters, options }, listByServerOperationSpec$5);
|
|
5937
5993
|
}
|
|
5938
5994
|
/**
|
|
5939
5995
|
* ListByServerNext
|
|
@@ -5944,12 +6000,12 @@ class TopQueryStatisticsImpl {
|
|
|
5944
6000
|
* @param options The options parameters.
|
|
5945
6001
|
*/
|
|
5946
6002
|
_listByServerNext(resourceGroupName, serverName, parameters, nextLink, options) {
|
|
5947
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, parameters, nextLink, options }, listByServerNextOperationSpec$
|
|
6003
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, parameters, nextLink, options }, listByServerNextOperationSpec$5);
|
|
5948
6004
|
}
|
|
5949
6005
|
}
|
|
5950
6006
|
// Operation Specifications
|
|
5951
|
-
const serializer$
|
|
5952
|
-
const getOperationSpec$
|
|
6007
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6008
|
+
const getOperationSpec$7 = {
|
|
5953
6009
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}",
|
|
5954
6010
|
httpMethod: "GET",
|
|
5955
6011
|
responses: {
|
|
@@ -5969,9 +6025,9 @@ const getOperationSpec$9 = {
|
|
|
5969
6025
|
queryStatisticId
|
|
5970
6026
|
],
|
|
5971
6027
|
headerParameters: [accept],
|
|
5972
|
-
serializer: serializer$
|
|
6028
|
+
serializer: serializer$9
|
|
5973
6029
|
};
|
|
5974
|
-
const listByServerOperationSpec$
|
|
6030
|
+
const listByServerOperationSpec$5 = {
|
|
5975
6031
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics",
|
|
5976
6032
|
httpMethod: "GET",
|
|
5977
6033
|
responses: {
|
|
@@ -5991,9 +6047,9 @@ const listByServerOperationSpec$8 = {
|
|
|
5991
6047
|
],
|
|
5992
6048
|
headerParameters: [contentType, accept],
|
|
5993
6049
|
mediaType: "json",
|
|
5994
|
-
serializer: serializer$
|
|
6050
|
+
serializer: serializer$9
|
|
5995
6051
|
};
|
|
5996
|
-
const listByServerNextOperationSpec$
|
|
6052
|
+
const listByServerNextOperationSpec$5 = {
|
|
5997
6053
|
path: "{nextLink}",
|
|
5998
6054
|
httpMethod: "GET",
|
|
5999
6055
|
responses: {
|
|
@@ -6014,7 +6070,7 @@ const listByServerNextOperationSpec$3 = {
|
|
|
6014
6070
|
],
|
|
6015
6071
|
headerParameters: [contentType, accept],
|
|
6016
6072
|
mediaType: "json",
|
|
6017
|
-
serializer: serializer$
|
|
6073
|
+
serializer: serializer$9
|
|
6018
6074
|
};
|
|
6019
6075
|
|
|
6020
6076
|
/*
|
|
@@ -6093,7 +6149,7 @@ class WaitStatisticsImpl {
|
|
|
6093
6149
|
* @param options The options parameters.
|
|
6094
6150
|
*/
|
|
6095
6151
|
get(resourceGroupName, serverName, waitStatisticsId, options) {
|
|
6096
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, waitStatisticsId, options }, getOperationSpec$
|
|
6152
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, waitStatisticsId, options }, getOperationSpec$6);
|
|
6097
6153
|
}
|
|
6098
6154
|
/**
|
|
6099
6155
|
* Retrieve wait statistics for specified aggregation window.
|
|
@@ -6103,7 +6159,7 @@ class WaitStatisticsImpl {
|
|
|
6103
6159
|
* @param options The options parameters.
|
|
6104
6160
|
*/
|
|
6105
6161
|
_listByServer(resourceGroupName, serverName, parameters, options) {
|
|
6106
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, parameters, options }, listByServerOperationSpec$
|
|
6162
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, parameters, options }, listByServerOperationSpec$4);
|
|
6107
6163
|
}
|
|
6108
6164
|
/**
|
|
6109
6165
|
* ListByServerNext
|
|
@@ -6118,8 +6174,8 @@ class WaitStatisticsImpl {
|
|
|
6118
6174
|
}
|
|
6119
6175
|
}
|
|
6120
6176
|
// Operation Specifications
|
|
6121
|
-
const serializer$
|
|
6122
|
-
const getOperationSpec$
|
|
6177
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6178
|
+
const getOperationSpec$6 = {
|
|
6123
6179
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics/{waitStatisticsId}",
|
|
6124
6180
|
httpMethod: "GET",
|
|
6125
6181
|
responses: {
|
|
@@ -6139,9 +6195,9 @@ const getOperationSpec$a = {
|
|
|
6139
6195
|
waitStatisticsId
|
|
6140
6196
|
],
|
|
6141
6197
|
headerParameters: [accept],
|
|
6142
|
-
serializer: serializer$
|
|
6198
|
+
serializer: serializer$8
|
|
6143
6199
|
};
|
|
6144
|
-
const listByServerOperationSpec$
|
|
6200
|
+
const listByServerOperationSpec$4 = {
|
|
6145
6201
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics",
|
|
6146
6202
|
httpMethod: "GET",
|
|
6147
6203
|
responses: {
|
|
@@ -6161,7 +6217,7 @@ const listByServerOperationSpec$9 = {
|
|
|
6161
6217
|
],
|
|
6162
6218
|
headerParameters: [contentType, accept],
|
|
6163
6219
|
mediaType: "json",
|
|
6164
|
-
serializer: serializer$
|
|
6220
|
+
serializer: serializer$8
|
|
6165
6221
|
};
|
|
6166
6222
|
const listByServerNextOperationSpec$4 = {
|
|
6167
6223
|
path: "{nextLink}",
|
|
@@ -6184,7 +6240,7 @@ const listByServerNextOperationSpec$4 = {
|
|
|
6184
6240
|
],
|
|
6185
6241
|
headerParameters: [contentType, accept],
|
|
6186
6242
|
mediaType: "json",
|
|
6187
|
-
serializer: serializer$
|
|
6243
|
+
serializer: serializer$8
|
|
6188
6244
|
};
|
|
6189
6245
|
|
|
6190
6246
|
/*
|
|
@@ -6262,7 +6318,7 @@ class AdvisorsImpl {
|
|
|
6262
6318
|
* @param options The options parameters.
|
|
6263
6319
|
*/
|
|
6264
6320
|
get(resourceGroupName, serverName, advisorName, options) {
|
|
6265
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, advisorName, options }, getOperationSpec$
|
|
6321
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, advisorName, options }, getOperationSpec$5);
|
|
6266
6322
|
}
|
|
6267
6323
|
/**
|
|
6268
6324
|
* List recommendation action advisors.
|
|
@@ -6271,7 +6327,7 @@ class AdvisorsImpl {
|
|
|
6271
6327
|
* @param options The options parameters.
|
|
6272
6328
|
*/
|
|
6273
6329
|
_listByServer(resourceGroupName, serverName, options) {
|
|
6274
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
6330
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$3);
|
|
6275
6331
|
}
|
|
6276
6332
|
/**
|
|
6277
6333
|
* ListByServerNext
|
|
@@ -6281,12 +6337,12 @@ class AdvisorsImpl {
|
|
|
6281
6337
|
* @param options The options parameters.
|
|
6282
6338
|
*/
|
|
6283
6339
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
6284
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$
|
|
6340
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$3);
|
|
6285
6341
|
}
|
|
6286
6342
|
}
|
|
6287
6343
|
// Operation Specifications
|
|
6288
|
-
const serializer$
|
|
6289
|
-
const getOperationSpec$
|
|
6344
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6345
|
+
const getOperationSpec$5 = {
|
|
6290
6346
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}",
|
|
6291
6347
|
httpMethod: "GET",
|
|
6292
6348
|
responses: {
|
|
@@ -6303,9 +6359,9 @@ const getOperationSpec$b = {
|
|
|
6303
6359
|
advisorName
|
|
6304
6360
|
],
|
|
6305
6361
|
headerParameters: [accept],
|
|
6306
|
-
serializer: serializer$
|
|
6362
|
+
serializer: serializer$7
|
|
6307
6363
|
};
|
|
6308
|
-
const listByServerOperationSpec$
|
|
6364
|
+
const listByServerOperationSpec$3 = {
|
|
6309
6365
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors",
|
|
6310
6366
|
httpMethod: "GET",
|
|
6311
6367
|
responses: {
|
|
@@ -6321,9 +6377,9 @@ const listByServerOperationSpec$a = {
|
|
|
6321
6377
|
serverName
|
|
6322
6378
|
],
|
|
6323
6379
|
headerParameters: [accept],
|
|
6324
|
-
serializer: serializer$
|
|
6380
|
+
serializer: serializer$7
|
|
6325
6381
|
};
|
|
6326
|
-
const listByServerNextOperationSpec$
|
|
6382
|
+
const listByServerNextOperationSpec$3 = {
|
|
6327
6383
|
path: "{nextLink}",
|
|
6328
6384
|
httpMethod: "GET",
|
|
6329
6385
|
responses: {
|
|
@@ -6340,7 +6396,7 @@ const listByServerNextOperationSpec$5 = {
|
|
|
6340
6396
|
nextLink
|
|
6341
6397
|
],
|
|
6342
6398
|
headerParameters: [accept],
|
|
6343
|
-
serializer: serializer$
|
|
6399
|
+
serializer: serializer$7
|
|
6344
6400
|
};
|
|
6345
6401
|
|
|
6346
6402
|
/*
|
|
@@ -6426,7 +6482,7 @@ class RecommendedActionsImpl {
|
|
|
6426
6482
|
advisorName,
|
|
6427
6483
|
recommendedActionName,
|
|
6428
6484
|
options
|
|
6429
|
-
}, getOperationSpec$
|
|
6485
|
+
}, getOperationSpec$4);
|
|
6430
6486
|
}
|
|
6431
6487
|
/**
|
|
6432
6488
|
* Retrieve recommended actions from the advisor.
|
|
@@ -6436,7 +6492,7 @@ class RecommendedActionsImpl {
|
|
|
6436
6492
|
* @param options The options parameters.
|
|
6437
6493
|
*/
|
|
6438
6494
|
_listByServer(resourceGroupName, serverName, advisorName, options) {
|
|
6439
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, advisorName, options }, listByServerOperationSpec$
|
|
6495
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, advisorName, options }, listByServerOperationSpec$2);
|
|
6440
6496
|
}
|
|
6441
6497
|
/**
|
|
6442
6498
|
* ListByServerNext
|
|
@@ -6447,12 +6503,12 @@ class RecommendedActionsImpl {
|
|
|
6447
6503
|
* @param options The options parameters.
|
|
6448
6504
|
*/
|
|
6449
6505
|
_listByServerNext(resourceGroupName, serverName, advisorName, nextLink, options) {
|
|
6450
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, advisorName, nextLink, options }, listByServerNextOperationSpec$
|
|
6506
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, advisorName, nextLink, options }, listByServerNextOperationSpec$2);
|
|
6451
6507
|
}
|
|
6452
6508
|
}
|
|
6453
6509
|
// Operation Specifications
|
|
6454
|
-
const serializer$
|
|
6455
|
-
const getOperationSpec$
|
|
6510
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6511
|
+
const getOperationSpec$4 = {
|
|
6456
6512
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}",
|
|
6457
6513
|
httpMethod: "GET",
|
|
6458
6514
|
responses: {
|
|
@@ -6470,9 +6526,9 @@ const getOperationSpec$c = {
|
|
|
6470
6526
|
recommendedActionName
|
|
6471
6527
|
],
|
|
6472
6528
|
headerParameters: [accept],
|
|
6473
|
-
serializer: serializer$
|
|
6529
|
+
serializer: serializer$6
|
|
6474
6530
|
};
|
|
6475
|
-
const listByServerOperationSpec$
|
|
6531
|
+
const listByServerOperationSpec$2 = {
|
|
6476
6532
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions",
|
|
6477
6533
|
httpMethod: "GET",
|
|
6478
6534
|
responses: {
|
|
@@ -6489,9 +6545,9 @@ const listByServerOperationSpec$b = {
|
|
|
6489
6545
|
advisorName
|
|
6490
6546
|
],
|
|
6491
6547
|
headerParameters: [accept],
|
|
6492
|
-
serializer: serializer$
|
|
6548
|
+
serializer: serializer$6
|
|
6493
6549
|
};
|
|
6494
|
-
const listByServerNextOperationSpec$
|
|
6550
|
+
const listByServerNextOperationSpec$2 = {
|
|
6495
6551
|
path: "{nextLink}",
|
|
6496
6552
|
httpMethod: "GET",
|
|
6497
6553
|
responses: {
|
|
@@ -6509,7 +6565,7 @@ const listByServerNextOperationSpec$6 = {
|
|
|
6509
6565
|
advisorName
|
|
6510
6566
|
],
|
|
6511
6567
|
headerParameters: [accept],
|
|
6512
|
-
serializer: serializer$
|
|
6568
|
+
serializer: serializer$6
|
|
6513
6569
|
};
|
|
6514
6570
|
|
|
6515
6571
|
/*
|
|
@@ -6535,12 +6591,12 @@ class LocationBasedRecommendedActionSessionsOperationStatusImpl {
|
|
|
6535
6591
|
* @param options The options parameters.
|
|
6536
6592
|
*/
|
|
6537
6593
|
get(locationName, operationId, options) {
|
|
6538
|
-
return this.client.sendOperationRequest({ locationName, operationId, options }, getOperationSpec$
|
|
6594
|
+
return this.client.sendOperationRequest({ locationName, operationId, options }, getOperationSpec$3);
|
|
6539
6595
|
}
|
|
6540
6596
|
}
|
|
6541
6597
|
// Operation Specifications
|
|
6542
|
-
const serializer$
|
|
6543
|
-
const getOperationSpec$
|
|
6598
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6599
|
+
const getOperationSpec$3 = {
|
|
6544
6600
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/recommendedActionSessionsAzureAsyncOperation/{operationId}",
|
|
6545
6601
|
httpMethod: "GET",
|
|
6546
6602
|
responses: {
|
|
@@ -6556,7 +6612,7 @@ const getOperationSpec$d = {
|
|
|
6556
6612
|
operationId
|
|
6557
6613
|
],
|
|
6558
6614
|
headerParameters: [accept],
|
|
6559
|
-
serializer: serializer$
|
|
6615
|
+
serializer: serializer$5
|
|
6560
6616
|
};
|
|
6561
6617
|
|
|
6562
6618
|
/*
|
|
@@ -6633,7 +6689,7 @@ class LocationBasedRecommendedActionSessionsResultImpl {
|
|
|
6633
6689
|
* @param options The options parameters.
|
|
6634
6690
|
*/
|
|
6635
6691
|
_list(locationName, operationId, options) {
|
|
6636
|
-
return this.client.sendOperationRequest({ locationName, operationId, options }, listOperationSpec$
|
|
6692
|
+
return this.client.sendOperationRequest({ locationName, operationId, options }, listOperationSpec$1);
|
|
6637
6693
|
}
|
|
6638
6694
|
/**
|
|
6639
6695
|
* ListNext
|
|
@@ -6643,12 +6699,12 @@ class LocationBasedRecommendedActionSessionsResultImpl {
|
|
|
6643
6699
|
* @param options The options parameters.
|
|
6644
6700
|
*/
|
|
6645
6701
|
_listNext(locationName, operationId, nextLink, options) {
|
|
6646
|
-
return this.client.sendOperationRequest({ locationName, operationId, nextLink, options }, listNextOperationSpec);
|
|
6702
|
+
return this.client.sendOperationRequest({ locationName, operationId, nextLink, options }, listNextOperationSpec$1);
|
|
6647
6703
|
}
|
|
6648
6704
|
}
|
|
6649
6705
|
// Operation Specifications
|
|
6650
|
-
const serializer$
|
|
6651
|
-
const listOperationSpec$
|
|
6706
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6707
|
+
const listOperationSpec$1 = {
|
|
6652
6708
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/recommendedActionSessionsOperationResults/{operationId}",
|
|
6653
6709
|
httpMethod: "GET",
|
|
6654
6710
|
responses: {
|
|
@@ -6667,9 +6723,9 @@ const listOperationSpec$5 = {
|
|
|
6667
6723
|
operationId
|
|
6668
6724
|
],
|
|
6669
6725
|
headerParameters: [accept],
|
|
6670
|
-
serializer: serializer$
|
|
6726
|
+
serializer: serializer$4
|
|
6671
6727
|
};
|
|
6672
|
-
const listNextOperationSpec = {
|
|
6728
|
+
const listNextOperationSpec$1 = {
|
|
6673
6729
|
path: "{nextLink}",
|
|
6674
6730
|
httpMethod: "GET",
|
|
6675
6731
|
responses: {
|
|
@@ -6689,7 +6745,7 @@ const listNextOperationSpec = {
|
|
|
6689
6745
|
operationId
|
|
6690
6746
|
],
|
|
6691
6747
|
headerParameters: [accept],
|
|
6692
|
-
serializer: serializer$
|
|
6748
|
+
serializer: serializer$4
|
|
6693
6749
|
};
|
|
6694
6750
|
|
|
6695
6751
|
/*
|
|
@@ -6767,7 +6823,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
6767
6823
|
* @param options The options parameters.
|
|
6768
6824
|
*/
|
|
6769
6825
|
get(resourceGroupName, serverName, privateEndpointConnectionName, options) {
|
|
6770
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, privateEndpointConnectionName, options }, getOperationSpec$
|
|
6826
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, privateEndpointConnectionName, options }, getOperationSpec$2);
|
|
6771
6827
|
}
|
|
6772
6828
|
/**
|
|
6773
6829
|
* Approve or reject a private endpoint connection with a given name.
|
|
@@ -6807,7 +6863,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
6807
6863
|
privateEndpointConnectionName,
|
|
6808
6864
|
parameters,
|
|
6809
6865
|
options
|
|
6810
|
-
}, createOrUpdateOperationSpec$
|
|
6866
|
+
}, createOrUpdateOperationSpec$1);
|
|
6811
6867
|
return new coreLro.LroEngine(lro, {
|
|
6812
6868
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6813
6869
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -6859,7 +6915,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
6859
6915
|
}
|
|
6860
6916
|
};
|
|
6861
6917
|
});
|
|
6862
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, privateEndpointConnectionName, options }, deleteOperationSpec$
|
|
6918
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, privateEndpointConnectionName, options }, deleteOperationSpec$1);
|
|
6863
6919
|
return new coreLro.LroEngine(lro, {
|
|
6864
6920
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6865
6921
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -6945,7 +7001,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
6945
7001
|
* @param options The options parameters.
|
|
6946
7002
|
*/
|
|
6947
7003
|
_listByServer(resourceGroupName, serverName, options) {
|
|
6948
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
7004
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$1);
|
|
6949
7005
|
}
|
|
6950
7006
|
/**
|
|
6951
7007
|
* ListByServerNext
|
|
@@ -6955,12 +7011,12 @@ class PrivateEndpointConnectionsImpl {
|
|
|
6955
7011
|
* @param options The options parameters.
|
|
6956
7012
|
*/
|
|
6957
7013
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
6958
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$
|
|
7014
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$1);
|
|
6959
7015
|
}
|
|
6960
7016
|
}
|
|
6961
7017
|
// Operation Specifications
|
|
6962
|
-
const serializer$
|
|
6963
|
-
const getOperationSpec$
|
|
7018
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7019
|
+
const getOperationSpec$2 = {
|
|
6964
7020
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6965
7021
|
httpMethod: "GET",
|
|
6966
7022
|
responses: {
|
|
@@ -6980,9 +7036,9 @@ const getOperationSpec$e = {
|
|
|
6980
7036
|
privateEndpointConnectionName
|
|
6981
7037
|
],
|
|
6982
7038
|
headerParameters: [accept],
|
|
6983
|
-
serializer: serializer$
|
|
7039
|
+
serializer: serializer$3
|
|
6984
7040
|
};
|
|
6985
|
-
const createOrUpdateOperationSpec$
|
|
7041
|
+
const createOrUpdateOperationSpec$1 = {
|
|
6986
7042
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6987
7043
|
httpMethod: "PUT",
|
|
6988
7044
|
responses: {
|
|
@@ -7013,9 +7069,9 @@ const createOrUpdateOperationSpec$6 = {
|
|
|
7013
7069
|
],
|
|
7014
7070
|
headerParameters: [contentType, accept],
|
|
7015
7071
|
mediaType: "json",
|
|
7016
|
-
serializer: serializer$
|
|
7072
|
+
serializer: serializer$3
|
|
7017
7073
|
};
|
|
7018
|
-
const deleteOperationSpec$
|
|
7074
|
+
const deleteOperationSpec$1 = {
|
|
7019
7075
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
7020
7076
|
httpMethod: "DELETE",
|
|
7021
7077
|
responses: {
|
|
@@ -7036,7 +7092,7 @@ const deleteOperationSpec$5 = {
|
|
|
7036
7092
|
privateEndpointConnectionName
|
|
7037
7093
|
],
|
|
7038
7094
|
headerParameters: [accept],
|
|
7039
|
-
serializer: serializer$
|
|
7095
|
+
serializer: serializer$3
|
|
7040
7096
|
};
|
|
7041
7097
|
const updateTagsOperationSpec = {
|
|
7042
7098
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -7069,9 +7125,9 @@ const updateTagsOperationSpec = {
|
|
|
7069
7125
|
],
|
|
7070
7126
|
headerParameters: [contentType, accept],
|
|
7071
7127
|
mediaType: "json",
|
|
7072
|
-
serializer: serializer$
|
|
7128
|
+
serializer: serializer$3
|
|
7073
7129
|
};
|
|
7074
|
-
const listByServerOperationSpec$
|
|
7130
|
+
const listByServerOperationSpec$1 = {
|
|
7075
7131
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections",
|
|
7076
7132
|
httpMethod: "GET",
|
|
7077
7133
|
responses: {
|
|
@@ -7090,9 +7146,9 @@ const listByServerOperationSpec$c = {
|
|
|
7090
7146
|
serverName
|
|
7091
7147
|
],
|
|
7092
7148
|
headerParameters: [accept],
|
|
7093
|
-
serializer: serializer$
|
|
7149
|
+
serializer: serializer$3
|
|
7094
7150
|
};
|
|
7095
|
-
const listByServerNextOperationSpec$
|
|
7151
|
+
const listByServerNextOperationSpec$1 = {
|
|
7096
7152
|
path: "{nextLink}",
|
|
7097
7153
|
httpMethod: "GET",
|
|
7098
7154
|
responses: {
|
|
@@ -7112,7 +7168,7 @@ const listByServerNextOperationSpec$7 = {
|
|
|
7112
7168
|
nextLink
|
|
7113
7169
|
],
|
|
7114
7170
|
headerParameters: [accept],
|
|
7115
|
-
serializer: serializer$
|
|
7171
|
+
serializer: serializer$3
|
|
7116
7172
|
};
|
|
7117
7173
|
|
|
7118
7174
|
/*
|
|
@@ -7189,7 +7245,7 @@ class PrivateLinkResourcesImpl {
|
|
|
7189
7245
|
* @param options The options parameters.
|
|
7190
7246
|
*/
|
|
7191
7247
|
_listByServer(resourceGroupName, serverName, options) {
|
|
7192
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec
|
|
7248
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec);
|
|
7193
7249
|
}
|
|
7194
7250
|
/**
|
|
7195
7251
|
* Gets a private link resource for MySQL server.
|
|
@@ -7199,7 +7255,7 @@ class PrivateLinkResourcesImpl {
|
|
|
7199
7255
|
* @param options The options parameters.
|
|
7200
7256
|
*/
|
|
7201
7257
|
get(resourceGroupName, serverName, groupName, options) {
|
|
7202
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, groupName, options }, getOperationSpec$
|
|
7258
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, groupName, options }, getOperationSpec$1);
|
|
7203
7259
|
}
|
|
7204
7260
|
/**
|
|
7205
7261
|
* ListByServerNext
|
|
@@ -7209,12 +7265,12 @@ class PrivateLinkResourcesImpl {
|
|
|
7209
7265
|
* @param options The options parameters.
|
|
7210
7266
|
*/
|
|
7211
7267
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
7212
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec
|
|
7268
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec);
|
|
7213
7269
|
}
|
|
7214
7270
|
}
|
|
7215
7271
|
// Operation Specifications
|
|
7216
|
-
const serializer$
|
|
7217
|
-
const listByServerOperationSpec
|
|
7272
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7273
|
+
const listByServerOperationSpec = {
|
|
7218
7274
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources",
|
|
7219
7275
|
httpMethod: "GET",
|
|
7220
7276
|
responses: {
|
|
@@ -7233,9 +7289,9 @@ const listByServerOperationSpec$d = {
|
|
|
7233
7289
|
serverName
|
|
7234
7290
|
],
|
|
7235
7291
|
headerParameters: [accept],
|
|
7236
|
-
serializer: serializer$
|
|
7292
|
+
serializer: serializer$2
|
|
7237
7293
|
};
|
|
7238
|
-
const getOperationSpec$
|
|
7294
|
+
const getOperationSpec$1 = {
|
|
7239
7295
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}",
|
|
7240
7296
|
httpMethod: "GET",
|
|
7241
7297
|
responses: {
|
|
@@ -7255,9 +7311,9 @@ const getOperationSpec$f = {
|
|
|
7255
7311
|
groupName
|
|
7256
7312
|
],
|
|
7257
7313
|
headerParameters: [accept],
|
|
7258
|
-
serializer: serializer$
|
|
7314
|
+
serializer: serializer$2
|
|
7259
7315
|
};
|
|
7260
|
-
const listByServerNextOperationSpec
|
|
7316
|
+
const listByServerNextOperationSpec = {
|
|
7261
7317
|
path: "{nextLink}",
|
|
7262
7318
|
httpMethod: "GET",
|
|
7263
7319
|
responses: {
|
|
@@ -7277,7 +7333,7 @@ const listByServerNextOperationSpec$8 = {
|
|
|
7277
7333
|
nextLink
|
|
7278
7334
|
],
|
|
7279
7335
|
headerParameters: [accept],
|
|
7280
|
-
serializer: serializer$
|
|
7336
|
+
serializer: serializer$2
|
|
7281
7337
|
};
|
|
7282
7338
|
|
|
7283
7339
|
/*
|
|
@@ -7354,7 +7410,7 @@ class ServerKeysImpl {
|
|
|
7354
7410
|
* @param options The options parameters.
|
|
7355
7411
|
*/
|
|
7356
7412
|
_list(resourceGroupName, serverName, options) {
|
|
7357
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec
|
|
7413
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec);
|
|
7358
7414
|
}
|
|
7359
7415
|
/**
|
|
7360
7416
|
* Gets a MySQL Server key.
|
|
@@ -7364,7 +7420,7 @@ class ServerKeysImpl {
|
|
|
7364
7420
|
* @param options The options parameters.
|
|
7365
7421
|
*/
|
|
7366
7422
|
get(resourceGroupName, serverName, keyName, options) {
|
|
7367
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, keyName, options }, getOperationSpec
|
|
7423
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, keyName, options }, getOperationSpec);
|
|
7368
7424
|
}
|
|
7369
7425
|
/**
|
|
7370
7426
|
* Creates or updates a MySQL Server key.
|
|
@@ -7398,7 +7454,7 @@ class ServerKeysImpl {
|
|
|
7398
7454
|
}
|
|
7399
7455
|
};
|
|
7400
7456
|
});
|
|
7401
|
-
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, parameters, options }, createOrUpdateOperationSpec
|
|
7457
|
+
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, parameters, options }, createOrUpdateOperationSpec);
|
|
7402
7458
|
return new coreLro.LroEngine(lro, {
|
|
7403
7459
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7404
7460
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -7450,7 +7506,7 @@ class ServerKeysImpl {
|
|
|
7450
7506
|
}
|
|
7451
7507
|
};
|
|
7452
7508
|
});
|
|
7453
|
-
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, options }, deleteOperationSpec
|
|
7509
|
+
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, options }, deleteOperationSpec);
|
|
7454
7510
|
return new coreLro.LroEngine(lro, {
|
|
7455
7511
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7456
7512
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -7478,12 +7534,12 @@ class ServerKeysImpl {
|
|
|
7478
7534
|
* @param options The options parameters.
|
|
7479
7535
|
*/
|
|
7480
7536
|
_listNext(resourceGroupName, serverName, nextLink, options) {
|
|
7481
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listNextOperationSpec
|
|
7537
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listNextOperationSpec);
|
|
7482
7538
|
}
|
|
7483
7539
|
}
|
|
7484
7540
|
// Operation Specifications
|
|
7485
|
-
const serializer$
|
|
7486
|
-
const listOperationSpec
|
|
7541
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7542
|
+
const listOperationSpec = {
|
|
7487
7543
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys",
|
|
7488
7544
|
httpMethod: "GET",
|
|
7489
7545
|
responses: {
|
|
@@ -7502,9 +7558,9 @@ const listOperationSpec$6 = {
|
|
|
7502
7558
|
serverName
|
|
7503
7559
|
],
|
|
7504
7560
|
headerParameters: [accept],
|
|
7505
|
-
serializer: serializer$
|
|
7561
|
+
serializer: serializer$1
|
|
7506
7562
|
};
|
|
7507
|
-
const getOperationSpec
|
|
7563
|
+
const getOperationSpec = {
|
|
7508
7564
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}",
|
|
7509
7565
|
httpMethod: "GET",
|
|
7510
7566
|
responses: {
|
|
@@ -7524,9 +7580,9 @@ const getOperationSpec$g = {
|
|
|
7524
7580
|
keyName
|
|
7525
7581
|
],
|
|
7526
7582
|
headerParameters: [accept],
|
|
7527
|
-
serializer: serializer$
|
|
7583
|
+
serializer: serializer$1
|
|
7528
7584
|
};
|
|
7529
|
-
const createOrUpdateOperationSpec
|
|
7585
|
+
const createOrUpdateOperationSpec = {
|
|
7530
7586
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}",
|
|
7531
7587
|
httpMethod: "PUT",
|
|
7532
7588
|
responses: {
|
|
@@ -7557,9 +7613,9 @@ const createOrUpdateOperationSpec$7 = {
|
|
|
7557
7613
|
],
|
|
7558
7614
|
headerParameters: [contentType, accept],
|
|
7559
7615
|
mediaType: "json",
|
|
7560
|
-
serializer: serializer$
|
|
7616
|
+
serializer: serializer$1
|
|
7561
7617
|
};
|
|
7562
|
-
const deleteOperationSpec
|
|
7618
|
+
const deleteOperationSpec = {
|
|
7563
7619
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}",
|
|
7564
7620
|
httpMethod: "DELETE",
|
|
7565
7621
|
responses: {
|
|
@@ -7580,9 +7636,9 @@ const deleteOperationSpec$6 = {
|
|
|
7580
7636
|
keyName
|
|
7581
7637
|
],
|
|
7582
7638
|
headerParameters: [accept],
|
|
7583
|
-
serializer: serializer$
|
|
7639
|
+
serializer: serializer$1
|
|
7584
7640
|
};
|
|
7585
|
-
const listNextOperationSpec
|
|
7641
|
+
const listNextOperationSpec = {
|
|
7586
7642
|
path: "{nextLink}",
|
|
7587
7643
|
httpMethod: "GET",
|
|
7588
7644
|
responses: {
|
|
@@ -7602,7 +7658,7 @@ const listNextOperationSpec$1 = {
|
|
|
7602
7658
|
nextLink
|
|
7603
7659
|
],
|
|
7604
7660
|
headerParameters: [accept],
|
|
7605
|
-
serializer: serializer$
|
|
7661
|
+
serializer: serializer$1
|
|
7606
7662
|
};
|
|
7607
7663
|
|
|
7608
7664
|
/*
|
|
@@ -7612,7 +7668,7 @@ const listNextOperationSpec$1 = {
|
|
|
7612
7668
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7613
7669
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7614
7670
|
*/
|
|
7615
|
-
class MySQLManagementClient extends
|
|
7671
|
+
class MySQLManagementClient extends coreClient__namespace.ServiceClient {
|
|
7616
7672
|
/**
|
|
7617
7673
|
* Initializes a new instance of the MySQLManagementClient class.
|
|
7618
7674
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -7739,7 +7795,7 @@ class MySQLManagementClient extends coreClient.ServiceClient {
|
|
|
7739
7795
|
}
|
|
7740
7796
|
}
|
|
7741
7797
|
// Operation Specifications
|
|
7742
|
-
const serializer
|
|
7798
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7743
7799
|
const resetQueryPerformanceInsightDataOperationSpec = {
|
|
7744
7800
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/resetQueryPerformanceInsightData",
|
|
7745
7801
|
httpMethod: "POST",
|
|
@@ -7759,7 +7815,7 @@ const resetQueryPerformanceInsightDataOperationSpec = {
|
|
|
7759
7815
|
serverName
|
|
7760
7816
|
],
|
|
7761
7817
|
headerParameters: [accept],
|
|
7762
|
-
serializer
|
|
7818
|
+
serializer
|
|
7763
7819
|
};
|
|
7764
7820
|
const createRecommendedActionSessionOperationSpec = {
|
|
7765
7821
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/createRecommendedActionSession",
|
|
@@ -7773,7 +7829,7 @@ const createRecommendedActionSessionOperationSpec = {
|
|
|
7773
7829
|
serverName,
|
|
7774
7830
|
advisorName
|
|
7775
7831
|
],
|
|
7776
|
-
serializer
|
|
7832
|
+
serializer
|
|
7777
7833
|
};
|
|
7778
7834
|
|
|
7779
7835
|
exports.MySQLManagementClient = MySQLManagementClient;
|