@azure/arm-postgresql-flexible 8.0.0-beta.2 → 8.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +290 -1
  2. package/dist/index.js +82 -87
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +2 -3
  7. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -1
  8. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -3
  9. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -1
  10. package/dist-esm/samples-dev/migrationsCreateSample.js +4 -6
  11. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
  12. package/dist-esm/samples-dev/migrationsDeleteSample.js +2 -3
  13. package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -1
  14. package/dist-esm/samples-dev/migrationsGetSample.js +2 -3
  15. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
  16. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +2 -3
  17. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
  18. package/dist-esm/samples-dev/migrationsUpdateSample.js +4 -6
  19. package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/serversCreateSample.js +2 -2
  21. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/serversUpdateSample.js +2 -2
  23. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  24. package/dist-esm/src/models/index.d.ts +1 -1
  25. package/dist-esm/src/models/index.d.ts.map +1 -1
  26. package/dist-esm/src/models/mappers.js +2 -2
  27. package/dist-esm/src/models/mappers.js.map +1 -1
  28. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +2 -1
  29. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  30. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +8 -10
  31. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  32. package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts +4 -0
  33. package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts.map +1 -0
  34. package/dist-esm/test/postgresql_flexible_operations_test.spec.js +55 -0
  35. package/dist-esm/test/postgresql_flexible_operations_test.spec.js.map +1 -0
  36. package/package.json +12 -18
  37. package/review/arm-postgresql-flexible.api.md +3 -2
  38. package/src/models/index.ts +1 -1
  39. package/src/models/mappers.ts +2 -2
  40. package/src/postgreSQLManagementFlexibleServerClient.ts +20 -4
  41. package/types/arm-postgresql-flexible.d.ts +3 -2
  42. package/types/tsdoc-metadata.json +1 -1
  43. package/dist-esm/test/sampleTest.d.ts +0 -2
  44. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  45. package/dist-esm/test/sampleTest.js +0 -38
  46. package/dist-esm/test/sampleTest.js.map +0 -1
  47. package/rollup.config.js +0 -122
package/CHANGELOG.md CHANGED
@@ -1,5 +1,151 @@
1
1
  # Release History
2
2
 
3
+ ## 8.0.0-beta.3 (2023-10-16)
4
+
5
+ **Features**
6
+
7
+ - Added operation group FlexibleServer
8
+ - Added operation group LogFiles
9
+ - Added operation group LtrBackupOperations
10
+ - Added operation group Migrations
11
+ - Added operation group ServerCapabilities
12
+ - Added Interface AdminCredentials
13
+ - Added Interface BackupRequestBase
14
+ - Added Interface BackupSettings
15
+ - Added Interface BackupStoreDetails
16
+ - Added Interface CapabilityBase
17
+ - Added Interface CheckMigrationNameAvailabilityOptionalParams
18
+ - Added Interface DbServerMetadata
19
+ - Added Interface FlexibleServerCapability
20
+ - Added Interface FlexibleServerStartLtrBackupExceptionHeaders
21
+ - Added Interface FlexibleServerStartLtrBackupHeaders
22
+ - Added Interface FlexibleServerStartLtrBackupOptionalParams
23
+ - Added Interface FlexibleServerTriggerLtrPreBackupExceptionHeaders
24
+ - Added Interface FlexibleServerTriggerLtrPreBackupHeaders
25
+ - Added Interface FlexibleServerTriggerLtrPreBackupOptionalParams
26
+ - Added Interface LogFile
27
+ - Added Interface LogFileListResult
28
+ - Added Interface LogFilesListByServerNextOptionalParams
29
+ - Added Interface LogFilesListByServerOptionalParams
30
+ - Added Interface LtrBackupOperationsGetOptionalParams
31
+ - Added Interface LtrBackupOperationsListByServerNextOptionalParams
32
+ - Added Interface LtrBackupOperationsListByServerOptionalParams
33
+ - Added Interface LtrBackupRequest
34
+ - Added Interface LtrBackupResponse
35
+ - Added Interface LtrPreBackupRequest
36
+ - Added Interface LtrPreBackupResponse
37
+ - Added Interface LtrServerBackupOperation
38
+ - Added Interface LtrServerBackupOperationList
39
+ - Added Interface MigrationNameAvailabilityResource
40
+ - Added Interface MigrationResource
41
+ - Added Interface MigrationResourceForPatch
42
+ - Added Interface MigrationResourceListResult
43
+ - Added Interface MigrationsCreateOptionalParams
44
+ - Added Interface MigrationsDeleteOptionalParams
45
+ - Added Interface MigrationSecretParameters
46
+ - Added Interface MigrationsGetOptionalParams
47
+ - Added Interface MigrationsListByTargetServerNextOptionalParams
48
+ - Added Interface MigrationsListByTargetServerOptionalParams
49
+ - Added Interface MigrationStatus
50
+ - Added Interface MigrationSubStateDetails
51
+ - Added Interface MigrationsUpdateOptionalParams
52
+ - Added Interface ServerCapabilitiesListNextOptionalParams
53
+ - Added Interface ServerCapabilitiesListOptionalParams
54
+ - Added Interface ServerSku
55
+ - Added Interface ServerSkuCapability
56
+ - Added Interface StorageMbCapability
57
+ - Added Type Alias AzureManagedDiskPerformanceTiers
58
+ - Added Type Alias CancelEnum
59
+ - Added Type Alias CapabilityStatus
60
+ - Added Type Alias CheckMigrationNameAvailabilityResponse
61
+ - Added Type Alias ExecutionStatus
62
+ - Added Type Alias FastProvisioningSupportedEnum
63
+ - Added Type Alias FlexibleServerStartLtrBackupResponse
64
+ - Added Type Alias FlexibleServerTriggerLtrPreBackupResponse
65
+ - Added Type Alias GeoBackupSupportedEnum
66
+ - Added Type Alias HaMode
67
+ - Added Type Alias KeyStatusEnum
68
+ - Added Type Alias LogFilesListByServerNextResponse
69
+ - Added Type Alias LogFilesListByServerResponse
70
+ - Added Type Alias LogicalReplicationOnSourceDbEnum
71
+ - Added Type Alias LtrBackupOperationsGetResponse
72
+ - Added Type Alias LtrBackupOperationsListByServerNextResponse
73
+ - Added Type Alias LtrBackupOperationsListByServerResponse
74
+ - Added Type Alias MigrationDetailsLevel
75
+ - Added Type Alias MigrationListFilter
76
+ - Added Type Alias MigrationMode
77
+ - Added Type Alias MigrationNameAvailabilityReason
78
+ - Added Type Alias MigrationsCreateResponse
79
+ - Added Type Alias MigrationsGetResponse
80
+ - Added Type Alias MigrationsListByTargetServerNextResponse
81
+ - Added Type Alias MigrationsListByTargetServerResponse
82
+ - Added Type Alias MigrationState
83
+ - Added Type Alias MigrationSubState
84
+ - Added Type Alias MigrationsUpdateResponse
85
+ - Added Type Alias OnlineResizeSupportedEnum
86
+ - Added Type Alias OverwriteDbsInTargetEnum
87
+ - Added Type Alias RestrictedEnum
88
+ - Added Type Alias ServerCapabilitiesListNextResponse
89
+ - Added Type Alias ServerCapabilitiesListResponse
90
+ - Added Type Alias StartDataMigrationEnum
91
+ - Added Type Alias StorageAutoGrow
92
+ - Added Type Alias StorageAutoGrowthSupportedEnum
93
+ - Added Type Alias TriggerCutoverEnum
94
+ - Added Type Alias ZoneRedundantHaAndGeoBackupSupportedEnum
95
+ - Added Type Alias ZoneRedundantHaSupportedEnum
96
+ - Interface DataEncryption has a new optional parameter geoBackupEncryptionKeyStatus
97
+ - Interface DataEncryption has a new optional parameter geoBackupKeyURI
98
+ - Interface DataEncryption has a new optional parameter geoBackupUserAssignedIdentityId
99
+ - Interface DataEncryption has a new optional parameter primaryEncryptionKeyStatus
100
+ - Interface FastProvisioningEditionCapability has a new optional parameter serverCount
101
+ - Interface FastProvisioningEditionCapability has a new optional parameter supportedTier
102
+ - Interface FlexibleServerEditionCapability has a new optional parameter defaultSkuName
103
+ - Interface FlexibleServerEditionCapability has a new optional parameter supportedServerSkus
104
+ - Interface ServerForUpdate has a new optional parameter network
105
+ - Interface Storage_2 has a new optional parameter autoGrow
106
+ - Interface Storage_2 has a new optional parameter iops
107
+ - Interface Storage_2 has a new optional parameter tier
108
+ - Interface StorageEditionCapability has a new optional parameter defaultStorageSizeMb
109
+ - Interface StorageEditionCapability has a new optional parameter supportedStorageMb
110
+ - Interface UserAssignedIdentity has a new optional parameter tenantId
111
+ - Added Enum KnownAzureManagedDiskPerformanceTiers
112
+ - Added Enum KnownCancelEnum
113
+ - Added Enum KnownExecutionStatus
114
+ - Added Enum KnownFastProvisioningSupportedEnum
115
+ - Added Enum KnownGeoBackupSupportedEnum
116
+ - Added Enum KnownHaMode
117
+ - Added Enum KnownKeyStatusEnum
118
+ - Added Enum KnownLogicalReplicationOnSourceDbEnum
119
+ - Added Enum KnownMigrationDetailsLevel
120
+ - Added Enum KnownMigrationListFilter
121
+ - Added Enum KnownMigrationMode
122
+ - Added Enum KnownMigrationNameAvailabilityReason
123
+ - Added Enum KnownMigrationState
124
+ - Added Enum KnownMigrationSubState
125
+ - Added Enum KnownOnlineResizeSupportedEnum
126
+ - Added Enum KnownOverwriteDbsInTargetEnum
127
+ - Added Enum KnownRestrictedEnum
128
+ - Added Enum KnownStartDataMigrationEnum
129
+ - Added Enum KnownStorageAutoGrow
130
+ - Added Enum KnownStorageAutoGrowthSupportedEnum
131
+ - Added Enum KnownTriggerCutoverEnum
132
+ - Added Enum KnownZoneRedundantHaAndGeoBackupSupportedEnum
133
+ - Added Enum KnownZoneRedundantHaSupportedEnum
134
+ - Enum KnownCreateMode has a new value ReviveDropped
135
+ - Enum KnownServerVersion has a new value Fifteen
136
+ - Class PostgreSQLManagementFlexibleServerClient has a new signature
137
+
138
+ **Breaking Changes**
139
+
140
+ - Interface FlexibleServerEditionCapability no longer has parameter supportedServerVersions
141
+ - Interface ServerVersionCapability no longer has parameter supportedVcores
142
+ - Interface StorageEditionCapability no longer has parameter supportedStorageMB
143
+ - Interface StorageTierCapability no longer has parameter isBaseline
144
+ - Interface StorageTierCapability no longer has parameter tierName
145
+ - Type of parameter value of interface CapabilitiesListResult is changed from CapabilityProperties[] to FlexibleServerCapability[]
146
+ - Enum KnownIdentityType no longer has value SystemAssigned
147
+
148
+
3
149
  ## 8.0.0-beta.2 (2023-05-26)
4
150
 
5
151
  **Features**
@@ -143,8 +289,151 @@
143
289
  - Interface StorageTierCapability no longer has parameter tierName
144
290
  - Type of parameter value of interface CapabilitiesListResult is changed from CapabilityProperties[] to FlexibleServerCapability[]
145
291
  - Enum KnownIdentityType no longer has value SystemAssigned
292
+
293
+
294
+ ## 8.0.0-beta.1 (2023-05-22)
146
295
 
296
+ **Features**
297
+
298
+ - Added operation group FlexibleServer
299
+ - Added operation group LogFiles
300
+ - Added operation group LtrBackupOperations
301
+ - Added operation group Migrations
302
+ - Added operation group ServerCapabilities
303
+ - Added Interface AdminCredentials
304
+ - Added Interface BackupRequestBase
305
+ - Added Interface BackupSettings
306
+ - Added Interface BackupStoreDetails
307
+ - Added Interface CapabilityBase
308
+ - Added Interface CheckMigrationNameAvailabilityOptionalParams
309
+ - Added Interface DbServerMetadata
310
+ - Added Interface FlexibleServerCapability
311
+ - Added Interface FlexibleServerStartLtrBackupExceptionHeaders
312
+ - Added Interface FlexibleServerStartLtrBackupHeaders
313
+ - Added Interface FlexibleServerStartLtrBackupOptionalParams
314
+ - Added Interface FlexibleServerTriggerLtrPreBackupExceptionHeaders
315
+ - Added Interface FlexibleServerTriggerLtrPreBackupHeaders
316
+ - Added Interface FlexibleServerTriggerLtrPreBackupOptionalParams
317
+ - Added Interface LogFile
318
+ - Added Interface LogFileListResult
319
+ - Added Interface LogFilesListByServerNextOptionalParams
320
+ - Added Interface LogFilesListByServerOptionalParams
321
+ - Added Interface LtrBackupOperationsGetOptionalParams
322
+ - Added Interface LtrBackupOperationsListByServerNextOptionalParams
323
+ - Added Interface LtrBackupOperationsListByServerOptionalParams
324
+ - Added Interface LtrBackupRequest
325
+ - Added Interface LtrBackupResponse
326
+ - Added Interface LtrPreBackupRequest
327
+ - Added Interface LtrPreBackupResponse
328
+ - Added Interface LtrServerBackupOperation
329
+ - Added Interface LtrServerBackupOperationList
330
+ - Added Interface MigrationNameAvailabilityResource
331
+ - Added Interface MigrationResource
332
+ - Added Interface MigrationResourceForPatch
333
+ - Added Interface MigrationResourceListResult
334
+ - Added Interface MigrationsCreateOptionalParams
335
+ - Added Interface MigrationsDeleteOptionalParams
336
+ - Added Interface MigrationSecretParameters
337
+ - Added Interface MigrationsGetOptionalParams
338
+ - Added Interface MigrationsListByTargetServerNextOptionalParams
339
+ - Added Interface MigrationsListByTargetServerOptionalParams
340
+ - Added Interface MigrationStatus
341
+ - Added Interface MigrationSubStateDetails
342
+ - Added Interface MigrationsUpdateOptionalParams
343
+ - Added Interface ServerCapabilitiesListNextOptionalParams
344
+ - Added Interface ServerCapabilitiesListOptionalParams
345
+ - Added Interface ServerSku
346
+ - Added Interface ServerSkuAutoGenerated
347
+ - Added Interface StorageMbCapability
348
+ - Added Type Alias AzureManagedDiskPerformanceTiers
349
+ - Added Type Alias CancelEnum
350
+ - Added Type Alias CapabilityStatus
351
+ - Added Type Alias CheckMigrationNameAvailabilityResponse
352
+ - Added Type Alias ExecutionStatus
353
+ - Added Type Alias FastProvisioningSupportedEnum
354
+ - Added Type Alias FlexibleServerStartLtrBackupResponse
355
+ - Added Type Alias FlexibleServerTriggerLtrPreBackupResponse
356
+ - Added Type Alias GeoBackupSupportedEnum
357
+ - Added Type Alias HaMode
358
+ - Added Type Alias KeyStatusEnum
359
+ - Added Type Alias LogFilesListByServerNextResponse
360
+ - Added Type Alias LogFilesListByServerResponse
361
+ - Added Type Alias LogicalReplicationOnSourceDbEnum
362
+ - Added Type Alias LtrBackupOperationsGetResponse
363
+ - Added Type Alias LtrBackupOperationsListByServerNextResponse
364
+ - Added Type Alias LtrBackupOperationsListByServerResponse
365
+ - Added Type Alias MigrationDetailsLevel
366
+ - Added Type Alias MigrationListFilter
367
+ - Added Type Alias MigrationMode
368
+ - Added Type Alias MigrationNameAvailabilityReason
369
+ - Added Type Alias MigrationsCreateResponse
370
+ - Added Type Alias MigrationsGetResponse
371
+ - Added Type Alias MigrationsListByTargetServerNextResponse
372
+ - Added Type Alias MigrationsListByTargetServerResponse
373
+ - Added Type Alias MigrationState
374
+ - Added Type Alias MigrationSubState
375
+ - Added Type Alias MigrationsUpdateResponse
376
+ - Added Type Alias OnlineResizeSupportedEnum
377
+ - Added Type Alias OverwriteDbsInTargetEnum
378
+ - Added Type Alias RestrictedEnum
379
+ - Added Type Alias ServerCapabilitiesListNextResponse
380
+ - Added Type Alias ServerCapabilitiesListResponse
381
+ - Added Type Alias StartDataMigrationEnum
382
+ - Added Type Alias StorageAutoGrow
383
+ - Added Type Alias StorageAutoGrowthSupportedEnum
384
+ - Added Type Alias TriggerCutoverEnum
385
+ - Added Type Alias ZoneRedundantHaAndGeoBackupSupportedEnum
386
+ - Added Type Alias ZoneRedundantHaSupportedEnum
387
+ - Interface DataEncryption has a new optional parameter geoBackupEncryptionKeyStatus
388
+ - Interface DataEncryption has a new optional parameter geoBackupKeyURI
389
+ - Interface DataEncryption has a new optional parameter geoBackupUserAssignedIdentityId
390
+ - Interface DataEncryption has a new optional parameter primaryEncryptionKeyStatus
391
+ - Interface FastProvisioningEditionCapability has a new optional parameter serverCount
392
+ - Interface FastProvisioningEditionCapability has a new optional parameter supportedTier
393
+ - Interface FlexibleServerEditionCapability has a new optional parameter defaultSkuName
394
+ - Interface FlexibleServerEditionCapability has a new optional parameter supportedServerSkus
395
+ - Interface Storage_2 has a new optional parameter autoGrow
396
+ - Interface Storage_2 has a new optional parameter iops
397
+ - Interface Storage_2 has a new optional parameter iopsTier
398
+ - Interface StorageEditionCapability has a new optional parameter defaultStorageSizeMb
399
+ - Interface StorageEditionCapability has a new optional parameter supportedStorageMb
400
+ - Added Enum KnownAzureManagedDiskPerformanceTiers
401
+ - Added Enum KnownCancelEnum
402
+ - Added Enum KnownExecutionStatus
403
+ - Added Enum KnownFastProvisioningSupportedEnum
404
+ - Added Enum KnownGeoBackupSupportedEnum
405
+ - Added Enum KnownHaMode
406
+ - Added Enum KnownKeyStatusEnum
407
+ - Added Enum KnownLogicalReplicationOnSourceDbEnum
408
+ - Added Enum KnownMigrationDetailsLevel
409
+ - Added Enum KnownMigrationListFilter
410
+ - Added Enum KnownMigrationMode
411
+ - Added Enum KnownMigrationNameAvailabilityReason
412
+ - Added Enum KnownMigrationState
413
+ - Added Enum KnownMigrationSubState
414
+ - Added Enum KnownOnlineResizeSupportedEnum
415
+ - Added Enum KnownOverwriteDbsInTargetEnum
416
+ - Added Enum KnownRestrictedEnum
417
+ - Added Enum KnownStartDataMigrationEnum
418
+ - Added Enum KnownStorageAutoGrow
419
+ - Added Enum KnownStorageAutoGrowthSupportedEnum
420
+ - Added Enum KnownTriggerCutoverEnum
421
+ - Added Enum KnownZoneRedundantHaAndGeoBackupSupportedEnum
422
+ - Added Enum KnownZoneRedundantHaSupportedEnum
423
+ - Enum KnownCreateMode has a new value ReviveDropped
424
+ - Enum KnownServerVersion has a new value Fifteen
425
+
426
+ **Breaking Changes**
427
+
428
+ - Interface FlexibleServerEditionCapability no longer has parameter supportedServerVersions
429
+ - Interface ServerVersionCapability no longer has parameter supportedVcores
430
+ - Interface StorageEditionCapability no longer has parameter supportedStorageMB
431
+ - Interface StorageTierCapability no longer has parameter isBaseline
432
+ - Interface StorageTierCapability no longer has parameter tierName
433
+ - Type of parameter value of interface CapabilitiesListResult is changed from CapabilityProperties[] to FlexibleServerCapability[]
434
+ - Enum KnownIdentityType no longer has value SystemAssigned
147
435
 
436
+
148
437
  ## 7.1.0 (2023-04-10)
149
438
 
150
439
  **Features**
@@ -307,4 +596,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
307
596
 
308
597
  To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
309
598
 
310
- To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
599
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
package/dist/index.js CHANGED
@@ -1,14 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var tslib = require('tslib');
6
4
  var coreClient = require('@azure/core-client');
7
5
  var coreRestPipeline = require('@azure/core-rest-pipeline');
8
6
  var coreLro = require('@azure/core-lro');
9
7
 
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
8
+ function _interopNamespaceDefault(e) {
12
9
  var n = Object.create(null);
13
10
  if (e) {
14
11
  Object.keys(e).forEach(function (k) {
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
21
18
  }
22
19
  });
23
20
  }
24
- n["default"] = e;
21
+ n.default = e;
25
22
  return Object.freeze(n);
26
23
  }
27
24
 
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
25
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
26
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
27
 
31
28
  /*
32
29
  * Copyright (c) Microsoft Corporation.
@@ -1134,8 +1131,8 @@ const Storage = {
1134
1131
  name: "String"
1135
1132
  }
1136
1133
  },
1137
- iopsTier: {
1138
- serializedName: "iopsTier",
1134
+ tier: {
1135
+ serializedName: "tier",
1139
1136
  type: {
1140
1137
  name: "String"
1141
1138
  }
@@ -3390,97 +3387,97 @@ const FlexibleServerStartLtrBackupExceptionHeaders = {
3390
3387
 
3391
3388
  var Mappers = /*#__PURE__*/Object.freeze({
3392
3389
  __proto__: null,
3390
+ ActiveDirectoryAdministrator: ActiveDirectoryAdministrator,
3393
3391
  ActiveDirectoryAdministratorAdd: ActiveDirectoryAdministratorAdd,
3394
- Resource: Resource,
3395
- SystemData: SystemData,
3396
- ErrorResponse: ErrorResponse,
3397
- ErrorDetail: ErrorDetail,
3398
- ErrorAdditionalInfo: ErrorAdditionalInfo,
3392
+ AdminCredentials: AdminCredentials,
3399
3393
  AdministratorListResult: AdministratorListResult,
3400
- ServerBackupListResult: ServerBackupListResult,
3394
+ AdministratorsCreateHeaders: AdministratorsCreateHeaders,
3395
+ AdministratorsDeleteHeaders: AdministratorsDeleteHeaders,
3396
+ AuthConfig: AuthConfig,
3397
+ Backup: Backup,
3398
+ BackupRequestBase: BackupRequestBase,
3399
+ BackupSettings: BackupSettings,
3400
+ BackupStoreDetails: BackupStoreDetails,
3401
3401
  CapabilitiesListResult: CapabilitiesListResult,
3402
3402
  CapabilityBase: CapabilityBase,
3403
3403
  CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
3404
3404
  CheckNameAvailabilityResponse: CheckNameAvailabilityResponse,
3405
- ConfigurationListResult: ConfigurationListResult,
3405
+ Configuration: Configuration,
3406
3406
  ConfigurationForUpdate: ConfigurationForUpdate,
3407
+ ConfigurationListResult: ConfigurationListResult,
3408
+ ConfigurationsPutHeaders: ConfigurationsPutHeaders,
3409
+ ConfigurationsUpdateHeaders: ConfigurationsUpdateHeaders,
3410
+ DataEncryption: DataEncryption,
3411
+ Database: Database,
3407
3412
  DatabaseListResult: DatabaseListResult,
3413
+ DatabasesCreateHeaders: DatabasesCreateHeaders,
3414
+ DatabasesDeleteHeaders: DatabasesDeleteHeaders,
3415
+ DbServerMetadata: DbServerMetadata,
3416
+ DelegatedSubnetUsage: DelegatedSubnetUsage,
3417
+ ErrorAdditionalInfo: ErrorAdditionalInfo,
3418
+ ErrorDetail: ErrorDetail,
3419
+ ErrorResponse: ErrorResponse,
3420
+ FastProvisioningEditionCapability: FastProvisioningEditionCapability,
3421
+ FirewallRule: FirewallRule,
3408
3422
  FirewallRuleListResult: FirewallRuleListResult,
3409
- Sku: Sku,
3410
- UserAssignedIdentity: UserAssignedIdentity,
3411
- UserIdentity: UserIdentity,
3412
- Storage: Storage,
3413
- AuthConfig: AuthConfig,
3414
- DataEncryption: DataEncryption,
3415
- Backup: Backup,
3416
- Network: Network,
3423
+ FirewallRulesCreateOrUpdateHeaders: FirewallRulesCreateOrUpdateHeaders,
3424
+ FirewallRulesDeleteHeaders: FirewallRulesDeleteHeaders,
3425
+ FlexibleServerCapability: FlexibleServerCapability,
3426
+ FlexibleServerEditionCapability: FlexibleServerEditionCapability,
3427
+ FlexibleServerStartLtrBackupExceptionHeaders: FlexibleServerStartLtrBackupExceptionHeaders,
3428
+ FlexibleServerStartLtrBackupHeaders: FlexibleServerStartLtrBackupHeaders,
3429
+ FlexibleServerTriggerLtrPreBackupExceptionHeaders: FlexibleServerTriggerLtrPreBackupExceptionHeaders,
3430
+ FlexibleServerTriggerLtrPreBackupHeaders: FlexibleServerTriggerLtrPreBackupHeaders,
3417
3431
  HighAvailability: HighAvailability,
3432
+ LogFile: LogFile,
3433
+ LogFileListResult: LogFileListResult,
3434
+ LtrBackupRequest: LtrBackupRequest,
3435
+ LtrBackupResponse: LtrBackupResponse,
3436
+ LtrPreBackupRequest: LtrPreBackupRequest,
3437
+ LtrPreBackupResponse: LtrPreBackupResponse,
3438
+ LtrServerBackupOperation: LtrServerBackupOperation,
3439
+ LtrServerBackupOperationList: LtrServerBackupOperationList,
3418
3440
  MaintenanceWindow: MaintenanceWindow,
3419
- ServerForUpdate: ServerForUpdate,
3420
- ServerListResult: ServerListResult,
3421
- MigrationStatus: MigrationStatus,
3422
- MigrationSubStateDetails: MigrationSubStateDetails,
3423
- DbServerMetadata: DbServerMetadata,
3424
- ServerSku: ServerSku,
3425
- MigrationSecretParameters: MigrationSecretParameters,
3426
- AdminCredentials: AdminCredentials,
3441
+ MigrationNameAvailabilityResource: MigrationNameAvailabilityResource,
3442
+ MigrationResource: MigrationResource,
3427
3443
  MigrationResourceForPatch: MigrationResourceForPatch,
3428
3444
  MigrationResourceListResult: MigrationResourceListResult,
3429
- MigrationNameAvailabilityResource: MigrationNameAvailabilityResource,
3430
- OperationListResult: OperationListResult,
3445
+ MigrationSecretParameters: MigrationSecretParameters,
3446
+ MigrationStatus: MigrationStatus,
3447
+ MigrationSubStateDetails: MigrationSubStateDetails,
3448
+ NameAvailability: NameAvailability,
3449
+ Network: Network,
3431
3450
  Operation: Operation,
3432
3451
  OperationDisplay: OperationDisplay,
3433
- LogFileListResult: LogFileListResult,
3434
- RestartParameter: RestartParameter,
3435
- VirtualNetworkSubnetUsageParameter: VirtualNetworkSubnetUsageParameter,
3436
- VirtualNetworkSubnetUsageResult: VirtualNetworkSubnetUsageResult,
3437
- DelegatedSubnetUsage: DelegatedSubnetUsage,
3438
- BackupRequestBase: BackupRequestBase,
3439
- BackupSettings: BackupSettings,
3440
- LtrPreBackupResponse: LtrPreBackupResponse,
3441
- BackupStoreDetails: BackupStoreDetails,
3442
- LtrBackupResponse: LtrBackupResponse,
3443
- LtrServerBackupOperationList: LtrServerBackupOperationList,
3452
+ OperationListResult: OperationListResult,
3444
3453
  ProxyResource: ProxyResource,
3445
- TrackedResource: TrackedResource,
3446
- StorageTierCapability: StorageTierCapability,
3447
- StorageMbCapability: StorageMbCapability,
3448
- StorageEditionCapability: StorageEditionCapability,
3454
+ Resource: Resource,
3455
+ RestartParameter: RestartParameter,
3456
+ Server: Server,
3457
+ ServerBackup: ServerBackup,
3458
+ ServerBackupListResult: ServerBackupListResult,
3459
+ ServerForUpdate: ServerForUpdate,
3460
+ ServerListResult: ServerListResult,
3461
+ ServerSku: ServerSku,
3449
3462
  ServerSkuCapability: ServerSkuCapability,
3450
- FlexibleServerEditionCapability: FlexibleServerEditionCapability,
3451
3463
  ServerVersionCapability: ServerVersionCapability,
3452
- FastProvisioningEditionCapability: FastProvisioningEditionCapability,
3453
- FlexibleServerCapability: FlexibleServerCapability,
3454
- NameAvailability: NameAvailability,
3455
- LtrPreBackupRequest: LtrPreBackupRequest,
3456
- LtrBackupRequest: LtrBackupRequest,
3457
- ActiveDirectoryAdministrator: ActiveDirectoryAdministrator,
3458
- ServerBackup: ServerBackup,
3459
- Configuration: Configuration,
3460
- Database: Database,
3461
- FirewallRule: FirewallRule,
3462
- LogFile: LogFile,
3463
- LtrServerBackupOperation: LtrServerBackupOperation,
3464
- Server: Server,
3465
- MigrationResource: MigrationResource,
3466
- AdministratorsCreateHeaders: AdministratorsCreateHeaders,
3467
- AdministratorsDeleteHeaders: AdministratorsDeleteHeaders,
3468
- ConfigurationsUpdateHeaders: ConfigurationsUpdateHeaders,
3469
- ConfigurationsPutHeaders: ConfigurationsPutHeaders,
3470
- DatabasesCreateHeaders: DatabasesCreateHeaders,
3471
- DatabasesDeleteHeaders: DatabasesDeleteHeaders,
3472
- FirewallRulesCreateOrUpdateHeaders: FirewallRulesCreateOrUpdateHeaders,
3473
- FirewallRulesDeleteHeaders: FirewallRulesDeleteHeaders,
3474
3464
  ServersCreateHeaders: ServersCreateHeaders,
3475
- ServersUpdateHeaders: ServersUpdateHeaders,
3476
3465
  ServersDeleteHeaders: ServersDeleteHeaders,
3477
3466
  ServersRestartHeaders: ServersRestartHeaders,
3478
3467
  ServersStartHeaders: ServersStartHeaders,
3479
3468
  ServersStopHeaders: ServersStopHeaders,
3480
- FlexibleServerTriggerLtrPreBackupHeaders: FlexibleServerTriggerLtrPreBackupHeaders,
3481
- FlexibleServerTriggerLtrPreBackupExceptionHeaders: FlexibleServerTriggerLtrPreBackupExceptionHeaders,
3482
- FlexibleServerStartLtrBackupHeaders: FlexibleServerStartLtrBackupHeaders,
3483
- FlexibleServerStartLtrBackupExceptionHeaders: FlexibleServerStartLtrBackupExceptionHeaders
3469
+ ServersUpdateHeaders: ServersUpdateHeaders,
3470
+ Sku: Sku,
3471
+ Storage: Storage,
3472
+ StorageEditionCapability: StorageEditionCapability,
3473
+ StorageMbCapability: StorageMbCapability,
3474
+ StorageTierCapability: StorageTierCapability,
3475
+ SystemData: SystemData,
3476
+ TrackedResource: TrackedResource,
3477
+ UserAssignedIdentity: UserAssignedIdentity,
3478
+ UserIdentity: UserIdentity,
3479
+ VirtualNetworkSubnetUsageParameter: VirtualNetworkSubnetUsageParameter,
3480
+ VirtualNetworkSubnetUsageResult: VirtualNetworkSubnetUsageResult
3484
3481
  });
3485
3482
 
3486
3483
  /*
@@ -7703,19 +7700,17 @@ const listByServerNextOperationSpec = {
7703
7700
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7704
7701
  */
7705
7702
  class PostgreSQLManagementFlexibleServerClient extends coreClient__namespace.ServiceClient {
7706
- /**
7707
- * Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
7708
- * @param credentials Subscription credentials which uniquely identify client subscription.
7709
- * @param subscriptionId The ID of the target subscription.
7710
- * @param options The parameter options
7711
- */
7712
- constructor(credentials, subscriptionId, options) {
7703
+ constructor(credentials, subscriptionIdOrOptions, options) {
7713
7704
  var _a, _b, _c;
7714
7705
  if (credentials === undefined) {
7715
7706
  throw new Error("'credentials' cannot be null");
7716
7707
  }
7717
- if (subscriptionId === undefined) {
7718
- throw new Error("'subscriptionId' cannot be null");
7708
+ let subscriptionId;
7709
+ if (typeof subscriptionIdOrOptions === "string") {
7710
+ subscriptionId = subscriptionIdOrOptions;
7711
+ }
7712
+ else if (typeof subscriptionIdOrOptions === "object") {
7713
+ options = subscriptionIdOrOptions;
7719
7714
  }
7720
7715
  // Initializing default values for options
7721
7716
  if (!options) {
@@ -7725,7 +7720,7 @@ class PostgreSQLManagementFlexibleServerClient extends coreClient__namespace.Ser
7725
7720
  requestContentType: "application/json; charset=utf-8",
7726
7721
  credential: credentials
7727
7722
  };
7728
- const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.2`;
7723
+ const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.3`;
7729
7724
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7730
7725
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
7731
7726
  : `${packageDetails}`;