@azure/arm-postgresql-flexible 8.0.0-alpha.20230524.2 → 8.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -13
- package/dist/index.js +54 -30
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/migrationsCreateSample.js +42 -0
- package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsUpdateSample.js +22 -1
- package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +59 -48
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +20 -20
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +32 -8
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/package.json +3 -3
- package/review/arm-postgresql-flexible.api.md +23 -19
- package/src/models/index.ts +59 -48
- package/src/models/mappers.ts +32 -8
- package/types/arm-postgresql-flexible.d.ts +66 -55
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
## 8.0.0-beta.2 (
|
|
4
|
-
|
|
5
|
-
### Features Added
|
|
6
|
-
|
|
7
|
-
### Breaking Changes
|
|
8
|
-
|
|
9
|
-
### Bugs Fixed
|
|
10
|
-
|
|
11
|
-
### Other Changes
|
|
12
|
-
|
|
13
|
-
## 8.0.0-beta.1 (2023-05-22)
|
|
2
|
+
|
|
3
|
+
## 8.0.0-beta.2 (2023-05-26)
|
|
14
4
|
|
|
15
5
|
**Features**
|
|
16
6
|
|
|
@@ -62,7 +52,7 @@
|
|
|
62
52
|
- Added Interface ServerCapabilitiesListNextOptionalParams
|
|
63
53
|
- Added Interface ServerCapabilitiesListOptionalParams
|
|
64
54
|
- Added Interface ServerSku
|
|
65
|
-
- Added Interface
|
|
55
|
+
- Added Interface ServerSkuCapability
|
|
66
56
|
- Added Interface StorageMbCapability
|
|
67
57
|
- Added Type Alias AzureManagedDiskPerformanceTiers
|
|
68
58
|
- Added Type Alias CancelEnum
|
|
@@ -111,11 +101,13 @@
|
|
|
111
101
|
- Interface FastProvisioningEditionCapability has a new optional parameter supportedTier
|
|
112
102
|
- Interface FlexibleServerEditionCapability has a new optional parameter defaultSkuName
|
|
113
103
|
- Interface FlexibleServerEditionCapability has a new optional parameter supportedServerSkus
|
|
104
|
+
- Interface ServerForUpdate has a new optional parameter network
|
|
114
105
|
- Interface Storage_2 has a new optional parameter autoGrow
|
|
115
106
|
- Interface Storage_2 has a new optional parameter iops
|
|
116
107
|
- Interface Storage_2 has a new optional parameter iopsTier
|
|
117
108
|
- Interface StorageEditionCapability has a new optional parameter defaultStorageSizeMb
|
|
118
109
|
- Interface StorageEditionCapability has a new optional parameter supportedStorageMb
|
|
110
|
+
- Interface UserAssignedIdentity has a new optional parameter tenantId
|
|
119
111
|
- Added Enum KnownAzureManagedDiskPerformanceTiers
|
|
120
112
|
- Added Enum KnownCancelEnum
|
|
121
113
|
- Added Enum KnownExecutionStatus
|
package/dist/index.js
CHANGED
|
@@ -432,42 +432,42 @@ exports.KnownMigrationMode = void 0;
|
|
|
432
432
|
/** Known values of {@link LogicalReplicationOnSourceDbEnum} that the service accepts. */
|
|
433
433
|
exports.KnownLogicalReplicationOnSourceDbEnum = void 0;
|
|
434
434
|
(function (KnownLogicalReplicationOnSourceDbEnum) {
|
|
435
|
-
/**
|
|
436
|
-
KnownLogicalReplicationOnSourceDbEnum["
|
|
437
|
-
/**
|
|
438
|
-
KnownLogicalReplicationOnSourceDbEnum["
|
|
435
|
+
/** True */
|
|
436
|
+
KnownLogicalReplicationOnSourceDbEnum["True"] = "True";
|
|
437
|
+
/** False */
|
|
438
|
+
KnownLogicalReplicationOnSourceDbEnum["False"] = "False";
|
|
439
439
|
})(exports.KnownLogicalReplicationOnSourceDbEnum || (exports.KnownLogicalReplicationOnSourceDbEnum = {}));
|
|
440
440
|
/** Known values of {@link OverwriteDbsInTargetEnum} that the service accepts. */
|
|
441
441
|
exports.KnownOverwriteDbsInTargetEnum = void 0;
|
|
442
442
|
(function (KnownOverwriteDbsInTargetEnum) {
|
|
443
|
-
/**
|
|
444
|
-
KnownOverwriteDbsInTargetEnum["
|
|
445
|
-
/**
|
|
446
|
-
KnownOverwriteDbsInTargetEnum["
|
|
443
|
+
/** True */
|
|
444
|
+
KnownOverwriteDbsInTargetEnum["True"] = "True";
|
|
445
|
+
/** False */
|
|
446
|
+
KnownOverwriteDbsInTargetEnum["False"] = "False";
|
|
447
447
|
})(exports.KnownOverwriteDbsInTargetEnum || (exports.KnownOverwriteDbsInTargetEnum = {}));
|
|
448
448
|
/** Known values of {@link StartDataMigrationEnum} that the service accepts. */
|
|
449
449
|
exports.KnownStartDataMigrationEnum = void 0;
|
|
450
450
|
(function (KnownStartDataMigrationEnum) {
|
|
451
|
-
/**
|
|
452
|
-
KnownStartDataMigrationEnum["
|
|
453
|
-
/**
|
|
454
|
-
KnownStartDataMigrationEnum["
|
|
451
|
+
/** True */
|
|
452
|
+
KnownStartDataMigrationEnum["True"] = "True";
|
|
453
|
+
/** False */
|
|
454
|
+
KnownStartDataMigrationEnum["False"] = "False";
|
|
455
455
|
})(exports.KnownStartDataMigrationEnum || (exports.KnownStartDataMigrationEnum = {}));
|
|
456
456
|
/** Known values of {@link TriggerCutoverEnum} that the service accepts. */
|
|
457
457
|
exports.KnownTriggerCutoverEnum = void 0;
|
|
458
458
|
(function (KnownTriggerCutoverEnum) {
|
|
459
|
-
/**
|
|
460
|
-
KnownTriggerCutoverEnum["
|
|
461
|
-
/**
|
|
462
|
-
KnownTriggerCutoverEnum["
|
|
459
|
+
/** True */
|
|
460
|
+
KnownTriggerCutoverEnum["True"] = "True";
|
|
461
|
+
/** False */
|
|
462
|
+
KnownTriggerCutoverEnum["False"] = "False";
|
|
463
463
|
})(exports.KnownTriggerCutoverEnum || (exports.KnownTriggerCutoverEnum = {}));
|
|
464
464
|
/** Known values of {@link CancelEnum} that the service accepts. */
|
|
465
465
|
exports.KnownCancelEnum = void 0;
|
|
466
466
|
(function (KnownCancelEnum) {
|
|
467
|
-
/**
|
|
468
|
-
KnownCancelEnum["
|
|
469
|
-
/**
|
|
470
|
-
KnownCancelEnum["
|
|
467
|
+
/** True */
|
|
468
|
+
KnownCancelEnum["True"] = "True";
|
|
469
|
+
/** False */
|
|
470
|
+
KnownCancelEnum["False"] = "False";
|
|
471
471
|
})(exports.KnownCancelEnum || (exports.KnownCancelEnum = {}));
|
|
472
472
|
/** Known values of {@link MigrationListFilter} that the service accepts. */
|
|
473
473
|
exports.KnownMigrationListFilter = void 0;
|
|
@@ -1086,6 +1086,13 @@ const UserAssignedIdentity = {
|
|
|
1086
1086
|
type: {
|
|
1087
1087
|
name: "String"
|
|
1088
1088
|
}
|
|
1089
|
+
},
|
|
1090
|
+
tenantId: {
|
|
1091
|
+
serializedName: "tenantId",
|
|
1092
|
+
readOnly: true,
|
|
1093
|
+
type: {
|
|
1094
|
+
name: "String"
|
|
1095
|
+
}
|
|
1089
1096
|
}
|
|
1090
1097
|
}
|
|
1091
1098
|
}
|
|
@@ -1263,14 +1270,12 @@ const Network = {
|
|
|
1263
1270
|
}
|
|
1264
1271
|
},
|
|
1265
1272
|
delegatedSubnetResourceId: {
|
|
1266
|
-
defaultValue: "",
|
|
1267
1273
|
serializedName: "delegatedSubnetResourceId",
|
|
1268
1274
|
type: {
|
|
1269
1275
|
name: "String"
|
|
1270
1276
|
}
|
|
1271
1277
|
},
|
|
1272
1278
|
privateDnsZoneArmResourceId: {
|
|
1273
|
-
defaultValue: "",
|
|
1274
1279
|
serializedName: "privateDnsZoneArmResourceId",
|
|
1275
1280
|
type: {
|
|
1276
1281
|
name: "String"
|
|
@@ -1435,6 +1440,13 @@ const ServerForUpdate = {
|
|
|
1435
1440
|
type: {
|
|
1436
1441
|
name: "String"
|
|
1437
1442
|
}
|
|
1443
|
+
},
|
|
1444
|
+
network: {
|
|
1445
|
+
serializedName: "properties.network",
|
|
1446
|
+
type: {
|
|
1447
|
+
name: "Composite",
|
|
1448
|
+
className: "Network"
|
|
1449
|
+
}
|
|
1438
1450
|
}
|
|
1439
1451
|
}
|
|
1440
1452
|
}
|
|
@@ -1537,16 +1549,16 @@ const DbServerMetadata = {
|
|
|
1537
1549
|
serializedName: "sku",
|
|
1538
1550
|
type: {
|
|
1539
1551
|
name: "Composite",
|
|
1540
|
-
className: "
|
|
1552
|
+
className: "ServerSku"
|
|
1541
1553
|
}
|
|
1542
1554
|
}
|
|
1543
1555
|
}
|
|
1544
1556
|
}
|
|
1545
1557
|
};
|
|
1546
|
-
const
|
|
1558
|
+
const ServerSku = {
|
|
1547
1559
|
type: {
|
|
1548
1560
|
name: "Composite",
|
|
1549
|
-
className: "
|
|
1561
|
+
className: "ServerSku",
|
|
1550
1562
|
modelProperties: {
|
|
1551
1563
|
name: {
|
|
1552
1564
|
serializedName: "name",
|
|
@@ -1576,6 +1588,18 @@ const MigrationSecretParameters = {
|
|
|
1576
1588
|
name: "Composite",
|
|
1577
1589
|
className: "AdminCredentials"
|
|
1578
1590
|
}
|
|
1591
|
+
},
|
|
1592
|
+
sourceServerUsername: {
|
|
1593
|
+
serializedName: "sourceServerUsername",
|
|
1594
|
+
type: {
|
|
1595
|
+
name: "String"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
targetServerUsername: {
|
|
1599
|
+
serializedName: "targetServerUsername",
|
|
1600
|
+
type: {
|
|
1601
|
+
name: "String"
|
|
1602
|
+
}
|
|
1579
1603
|
}
|
|
1580
1604
|
}
|
|
1581
1605
|
}
|
|
@@ -2293,10 +2317,10 @@ const StorageEditionCapability = {
|
|
|
2293
2317
|
} })
|
|
2294
2318
|
}
|
|
2295
2319
|
};
|
|
2296
|
-
const
|
|
2320
|
+
const ServerSkuCapability = {
|
|
2297
2321
|
type: {
|
|
2298
2322
|
name: "Composite",
|
|
2299
|
-
className: "
|
|
2323
|
+
className: "ServerSkuCapability",
|
|
2300
2324
|
modelProperties: Object.assign(Object.assign({}, CapabilityBase.type.modelProperties), { name: {
|
|
2301
2325
|
serializedName: "name",
|
|
2302
2326
|
readOnly: true,
|
|
@@ -2382,7 +2406,7 @@ const FlexibleServerEditionCapability = {
|
|
|
2382
2406
|
element: {
|
|
2383
2407
|
type: {
|
|
2384
2408
|
name: "Composite",
|
|
2385
|
-
className: "
|
|
2409
|
+
className: "ServerSkuCapability"
|
|
2386
2410
|
}
|
|
2387
2411
|
}
|
|
2388
2412
|
}
|
|
@@ -3397,7 +3421,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3397
3421
|
MigrationStatus: MigrationStatus,
|
|
3398
3422
|
MigrationSubStateDetails: MigrationSubStateDetails,
|
|
3399
3423
|
DbServerMetadata: DbServerMetadata,
|
|
3400
|
-
|
|
3424
|
+
ServerSku: ServerSku,
|
|
3401
3425
|
MigrationSecretParameters: MigrationSecretParameters,
|
|
3402
3426
|
AdminCredentials: AdminCredentials,
|
|
3403
3427
|
MigrationResourceForPatch: MigrationResourceForPatch,
|
|
@@ -3422,7 +3446,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3422
3446
|
StorageTierCapability: StorageTierCapability,
|
|
3423
3447
|
StorageMbCapability: StorageMbCapability,
|
|
3424
3448
|
StorageEditionCapability: StorageEditionCapability,
|
|
3425
|
-
|
|
3449
|
+
ServerSkuCapability: ServerSkuCapability,
|
|
3426
3450
|
FlexibleServerEditionCapability: FlexibleServerEditionCapability,
|
|
3427
3451
|
ServerVersionCapability: ServerVersionCapability,
|
|
3428
3452
|
FastProvisioningEditionCapability: FastProvisioningEditionCapability,
|